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 gtk:ui-manager-add-tearoffs function returns whether menus generated by the UI manager will have tearoff menu items. The (setf gtk:ui-manager-add-tearoffs) function sets the add-tearoffs property.

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

Warning

The gtk:ui-manager-add-tearoffs function 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

#2023-3-29