Re: GtkPlug and Socket
| From: | Anant Narayanan | Date: | Mon, 20 Mar 2006 22:22:23 +0000 |
| Subject: | Re: GtkPlug and Socket | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2658@lists.php.net to get a copy of this message | ||
Hi Florian,
> Why do you think that a GtkSocket should add a GtkPlug in the first, but
> the GtkPlug add the GtkSocket in the second example?
Because that's how Gtk+ behaves.
(http://developer.gnome.org/doc/API/2.0/gtk/GtkSocket.html#gtk-socket-add-id)
And, we're not "adding" the socket to the plug in the second case, but
creating a plug that gets itself added to the socket identified by the
ID passed to the plug's constructor.
Regards,
--
Anant
Find Freedom, Go Open Source!
http://www.kix.in/