| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
GTK2
GTK2.Menu

# Method GTK2.Menu()->set_tearoff_state()

Method set_tearoff_state

  `GTK2.Menu set_tearoff_state(int torn_off)`

Description

  Changes the tearoff state of the menu. A menu is normally displayed as a 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.