Hi Agro,

There's a function which is set on an idle timer that processes through
all the dirty UI nodes in the UIManager, and it is the function that
will emit your "add_widget" signal.  Since the timer runs off of the
main loop, the signal won't be emitted after you call
UIManager.AddUIFromString.  It should be emitted sometime soon after you
do Application.Run().

/ Cody

On Fri, 2006-05-26 at 19:05 +0700, Agro Rachmatullah wrote:
> I'm curious...
> 
> When will the UIManager.AddWidget event be emitted? In other words,
> what action triggers it?
> 
> It certainly doesn't happen after/on the invocation of
> UIManager.AddUIFromString. Is it guaranteed to happen before my Window
> gets shown to the user?
> 
> Thanks a lot
> _______________________________________________
> Gtk-sharp-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
-- 
Cody Russell ([EMAIL PROTECTED])
http://www.gnome.org/~bratsche/

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to