Re: GtkPlug doesn't get mapped
- From: Braden McDaniel <braden endoframe com>
- To: gtk-list gnome org
- Subject: Re: GtkPlug doesn't get mapped
- Date: Sun, 14 Sep 2008 15:50:59 -0400
On Sun, 2008-09-14 at 21:32 +0300, natan yellin wrote:
> I've done the same thing in an app of mine and it works fine.
> Have you called gtk_widget_show() on both widgets?
> Also, out of curiosity, what are you trying to do?
Thanks for the response; but I've figured out the problem by now,
The problem was that I wasn't _show'ing the plug at the right time--the
right time being after realize. Part of the reason I ran into this is
that the time at which the plug gets realized can vary. If the plug is
constructed with a socket_id, the plug is "embedded" and then realized.
If the plug is constructed with no socket_id and you subsequently add
the plug to the socket, the plug gets realized before it is "embedded".
So the solution I settled on was to realize the plug explicitly and then
Braden McDaniel e-mail: <braden endoframe com>
<http://endoframe.com> Jabber: <braden jabber org>
] [Thread Prev