Method

GtkUIManagerset_add_tearoffs

deprecated: 3.4 since: 2.4

Declaration [src]

void
gtk_ui_manager_set_add_tearoffs (
  GtkUIManager* manager,
  gboolean add_tearoffs
)

Description [src]

Sets the “add_tearoffs” property, which controls whether menus generated by this GtkUIManager will have tearoff menu items.

Note that this only affects regular menus. Generated popup menus never have tearoff menu items.

Available since: 2.4

Deprecated since: 3.4

Tearoff menus are deprecated and should not be used in newly written code.

Parameters

add_tearoffs

Type: gboolean

Whether tearoff menu items are added.