Re: Two toplevels in a glade file causes spurious warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi.

2010/2/15 Gerald Britton <gerald.britton@xxxxxxxxx>:
> In gtk 2.18.3-1ubuntu2.2, I have a problem using gtk.builder on glade
> files with multiple top levels.  What happens is, when I call
> connect_signals on the first top-level, I get warnings that the signal
> handlers from the subsequent toplevels are "missing."   Actually they
> are not missing, they just aren't used by the current top level.

gtk_builder_connect_signals() will try to connect all signals on your
built UI that you marked as "connectable". You cannot instruct it to
only connect signals from one toplevel window. How are you calling
gtk_builder_connect_signals() that makes you think it will only
connect signals from one toplevel?

Tadej


-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro@xxxxxxxxx
tadej.borovsak@xxxxxxxxx
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux