ShortcutsShortcutGidBuilderImpl.icon

Set icon property.

class ShortcutsShortcutGidBuilderImpl(T)
T
icon

Parameters

propval gio.icon.Icon

An icon to represent the shortcut or gesture. This property is used if #GtkShortcutsShortcut:shortcut-type is set to #GTK_SHORTCUT_GESTURE. For the other predefined gesture types, GTK+ provides an icon on its own.

Return Value

Type: T

Builder instance for fluent chaining