Re: glade and C code



On Tue, May 28, 2013 at 4:59 AM, Thomas A. Moulton <tom moulton us> wrote:
ok here's a simple question...

If I have c code that creates all the widgets I can get the pointers to them
as needed.

How can I get the GtkNotebook *pointer when I create things with glade?

If there a function I can call to scan the created objects by name?

After parsing the xml input with GtkBuilder, just call gtk_builder_get_object()

https://developer.gnome.org/gtk3/unstable/GtkBuilder.html#gtk-builder-get-object

Cheers,
    -Tristan


Tom
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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