Package: gtk

Accessor gtk-ui-manager-add-tearoffs

Lambda List

gtk-ui-manager-add-tearoffs (object)

Syntax

(gtk-ui-manager-add-tearoffs object) => tearoffs
(setf (gtk-ui-manager-add-tearoffs object) tearoffs)

Arguments

object -- a gtk-ui-manager object
tearoffs -- a boolean whether tearoff menu items are added

Details

Accessor of the add-tearoffs slot of the gtk-ui-manager class.

The slot access function gtk-ui-manager-add-tearoffs returns whether menus generated by the UI manager will have tearoff menu items. The slot access function (setf gtk-ui-manager-add-tearoffs) sets the add-tearoffs property.

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

Warning

The function gtk-ui-manager-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.
 

See also

2021-7-20