RGtk2 (version 2.20.31)

gtkUIManagerSetAddTearoffs: gtkUIManagerSetAddTearoffs

Description

Sets the "add_tearoffs" property, which controls whether menus generated by this GtkUIManager will have tearoff menu items.

Usage

gtkUIManagerSetAddTearoffs(object, add.tearoffs)

Arguments

object
add.tearoffs
whether tearoff menu items are added

Details

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