GtkBuilder and widget names

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

 



I draw an UI in Glade, loaded it in with the GtkBuilder object.
Now I am accessing one widget in this UI:
---
GtkWidget *w = gtk_builder_get_object(builder, "obj1");
g_message(gtk_widget_get_name(w));
----
This prints GtkLabel, instead of obj1. Why? Is it intended behavior?
How can I read "obj1" from the w?

_______________________________________________
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