Package: gtk

Accessor gtk:shortcuts-shortcut-icon

Lambda List

gtk:shortcuts-shortcut-icon (object)

Syntax

(gtk:shortcuts-shortcut-icon object) => icon
(setf (gtk:shortcuts-shortcut-icon object) icon)

Arguments

object -- a gtk:shortcuts-shortcut widget
icon -- a g:icon object

Details

The accessor for the icon slot gets or sets the icon to represent the shortcut or gesture. This property is used if the shortcut-type property is set to the :gesture value. For the other predefined gesture types, GTK provides an icon on its own.

Warning

This function is deprecated since 4.18. This widget will be removed in GTK 5.
 

See also

2026-08-28