Package: gtk

Accessor gtk-action-gicon

Lambda List

gtk-action-gicon (object)

Syntax

(gtk-action-gicon object) => icon
(setf (gtk-action-gicon object) icon)

Arguments

object -- a gtk-action object
icon -- a g-icon object

Details

Accessor of the gicon slot of the gtk-action class.

The slot access function gtk-action-gicon gets the icon of the action. The slot access function (setf gtk-action-gicon) sets the icon.

The icon displayed in the action. Note that the stock icon is preferred, if the stock-id property holds the ID of an existing stock icon. This is an appearance property and thus only applies if the use-action-appearance property is true.

Warning

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

See also

2021-7-20