Method

Gtk.Notebook.get_tab_label_text

Declaration [src]

const char*
gtk_notebook_get_tab_label_text (
  GtkNotebook* notebook,
  GtkWidget* child
)

Description [src]

Retrieves the text of the tab label for the page containing child.

Parameters

child GtkWidget
 

a widget contained in a page of notebook

 Ownership is not transferred to the callee

Return value

Returns: const char*

the text of the tab label, or NULL if the tab label idget is not a GtkLabel. The string is owned by the widget and must not be freed.

Ownership is not transferred to the caller
Can be NULL
The string is a NUL terminated UTF-8 string