Re: How to get a GtkNotebook tab label if not explicitly set?

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

 



Shane Butler wrote:

Hello,

Can someone tell me if it is possible to get the GtkLabel from a
GtkNotebook if you have not explicitly set the widget yourself?

It's impossible with a public API.

gtk_notebook_get_tab_label() returns NULL unless you do set your own
widget as the tab label. But I would like to be able to access the
widget for some glade3 stuff...

Notebook use default tab label (and so you get NULL as result of gtk_*get_tab_label) only when you use gtk_container_add() function for appending child. Am I right ? If so, do you have any reason to not use gtk_notebook_append_child() ?

   Olexiy

_______________________________________________

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