deprecated: 3.10 

Declaration [src]

gtk_menu_set_title (
  GtkMenu* menu,
  const gchar* title

Description [src]

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.

Deprecated since: 3.10

Please do not use it in newly written code.



Type: const gchar*

A string containing the title for the menu, or NULL to inherit the title of the parent menu item, if any.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.