UIManager.setAddTearoffs

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

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

More...
class UIManager
void
setAddTearoffs

Parameters

addTearoffs bool

whether tearoff menu items are added

Detailed Description

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

Meta