Package: gtk

Accessor gtk-menu-tearoff-title

Lambda List

gtk-menu-tearoff-title (object)

Syntax

(gtk-menu-tearoff-title object) => title
(setf (gtk-menu-tearoff-title object) title)

Arguments

object -- a gtk-menu widget
title -- a string containing the title for the menu

Details

Accessor of the tearoff-title slot of the gtk-menu class.

The gtk-menu-tearoff-title slot access function returns the title of the menu. The (setf gtk-menu-tearoff-title) slot access function sets the title.

The title is displayed when the menu is shown as a tearoff menu. If the title argument is nil, the menu will see if it is attached to a parent menu item, and if so it will try to use the same text as that menu label of the item.

Warning

The gtk-menu-tearoff-title function has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2021-11-14