Method

GtkMenuset_tearoff_state

deprecated: 3.10 

Declaration [src]

void
gtk_menu_set_tearoff_state (
  GtkMenu* menu,
  gboolean torn_off
)

Description [src]

Changes the tearoff state of the menu. A menu is normally displayed as drop down menu which persists as long as the menu is active. It can also be displayed as a tearoff menu which persists until it is closed or reattached.

Deprecated since: 3.10

Please do not use it in newly written code.

Sets propertyGtk.Menu:tearoff-state

Parameters

torn_off

Type: gboolean

If TRUE, menu is displayed as a tearoff menu.