[Glade-users] Best Practice for Glade.XML - open/close new window

Tristan Van Berkom tristan.van.berkom at gmail.com
Thu Jun 15 12:39:41 EDT 2006


Travis Staloch wrote:
[...]

>3. When I want to show a window, using:
>  wnd = (Gtk.Window)gxml.GetWidget(sWindowName);
>  gxml.Autoconnect(this);
>  wnd.Visible = true;
>  
>
I might be reading your code wrong, but it looks like you
are connecting signals every time you show the window...
remember that the signals arent disconnected just because
you close a window... so handlers could start to be called
more than once for a given event...

Cheers,
                                -Tristan



More information about the Glade-users mailing list