Re: Finding a widget in a Glade interface



for future reference, this could easily have been pulled out
of the docs/header files: glade_xml_get_widget()

type libglade and "feel lucky" its right there.

-Tristan

note, remember to unref your GladeXML object early (unlike
shown in said example).

On Wed, Jul 30, 2008 at 7:10 AM, dhk <dhkuhl optonline net> wrote:
How do you look up a widget when the interface is created with
glade_xml_new()?

There use to be a lookup_widget() function that worked if you called one of
the two glade macros:  GLADE_HOOKUP_OBJECT() or
GLADE_HOOKUP_OBJECT_NO_REF().  Now unless you build the interface yourself
and hook up each object it doesn't work.

Is there another function embedded somewhere that will find an object after
calling glade_xml_new()?

Thanks,

dave
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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