widget is not a #GtkLabel. The string is owned by the widget and must not be freed.
Notebook.getTabLabelText
string getTabLabelText(gtk.widget.Widget child)Retrieves the text of the tab label for the page containing child.
Parameters
child | a widget contained in a page of notebook |
Returns
the text of the tab label, or null if the tab label