Re: Two toplevels in a glade file causes spurious warnings



hi.

2010/2/15 Gerald Britton <gerald britton gmail com>:
> 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 gmail com
tadej borovsak gmail com


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