be used in newly written code.
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
addTearoffs | whether tearoff menu items are added |
Deprecated
Tearoff menus are deprecated and should not