Menu.setTitle

Warning gtk_menu_set_title is deprecated and should not be used in newly-written code. 3.10 Sets the title string for the menu. The title is displayed when the menu is shown as a tearoff menu. If title is NULL, the menu will see if it is attached to a parent menu item, and if so it will try to use the same text as that menu item's label.

class Menu
void
setTitle
(
string title
)

Parameters

title string

a string containing the title for the menu

Meta