get_menu_label_text


Description:

public unowned string? get_menu_label_text (Widget child)

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

Parameters:

this

a `GtkNotebook`

child

the child widget of a page of the notebook.

Returns:

the text of the tab label, or null if the widget does not have a menu label other than the default menu label, or the menu label widget is not a `GtkLabel`. The string is owned by the widget and must not be freed.




2022 vala-language.org