Package org.gnome.adw

Class ShortcutsItem

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public final class ShortcutsItem extends GObject
An object representing an individual shortcut in ShortcutsSection.

A shortcut has a title, an optional subtitle, and an accelerator.

Accelerator must be specified in the format ShortcutLabel accepts.

Alternatively, the ShortcutsItem:action-name property can be used to automatically get accelerator associated with the specified action, as set via Application.setAccelsForAction(java.lang.String, java.lang.String[]).

If both are specified, the accelerator will be used if the action couldn't be found or doesn't have an accelerator associated for it.

If ShortcutsItem:direction is set, the shortcut will only be displayed for the specified text direction. This allows to display different shortcuts for different text directions.

Since:
1.8