ShortcutsShortcutGidBuilderImpl.icon
T icon(gio.icon.Icon propval)Set icon property.
Parameters
propval | An icon to represent the shortcut or gesture. This property is used if gtk.shortcuts_shortcut.ShortcutsShortcut.shortcutType is set to gtk.types.ShortcutType.Gesture. For the other predefined gesture types, GTK provides an icon on its own. |
Returns
Builder instance for fluent chaining