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 gtk:action-gicon function gets the icon of the action. The (setf gtk:action-gicon) function 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 gtk:action-gicon function has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2024-9-26