UIManager.setAddTearoffs

void setAddTearoffs(bool addTearoffs)

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.

Parameters

addTearoffswhether tearoff menu items are added

Deprecated

Tearoff menus are deprecated and should not

be used in newly written code.