GTK2.UiManager set_add_tearoffs(int setting)
Sets the "add-tearoffs" property, which controls whether menus generated by this manager will have tearoff menu items.
Note that this only affects regular menus. Generated popup menus never have tearoff menu items.