[Gtk-sharp-list] UIManager.AddWidget event

Cody Russell bratsche at gnome.org
Fri May 26 13:42:37 EDT 2006


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  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
-- 
Cody Russell (bratsche at gnome.org)
http://www.gnome.org/~bratsche/



More information about the Gtk-sharp-list mailing list