Re: How to get a GtkNotebook tab label if not explicitly set?
- From: Olexiy Avramchenko <olexiy irtech cn ua>
- To: Shane Butler <shane butler gmail com>
- Cc: gtk-list gnome org
- Subject: Re: How to get a GtkNotebook tab label if not explicitly set?
- Date: Wed, 01 Sep 2004 12:02:35 +0300
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]