UIManager.setAddTearoffs

Warning gtk_ui_manager_set_add_tearoffs has been deprecated since version 3.4 and should not be used in newly-written code. Tearoff menus are deprecated and should not be used in newly written code. 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. Since 2.4

class UIManager
void
setAddTearoffs

Parameters

addTearoffs int

whether tearoff menu items are added

Meta