ShortcutsGroup
Superclasses: Box
, Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
, Orientable
- Constructors:
ShortcutsGroup(**properties)
Methods
- class ShortcutsGroup
- add_shortcut(shortcut: ShortcutsShortcut) None
Adds a shortcut to the shortcuts group.
This is the programmatic equivalent to using
Builder
and a<child>
tag to add the child. Adding children with other API is not appropriate asGtkShortcutsGroup
manages its children internally.Added in version 4.14.
- Parameters:
shortcut – the
GtkShortcutsShortcut
to add
Properties
- class ShortcutsGroup
- props.accel_size_group: SizeGroup
The size group for the accelerator portion of shortcuts in this group.
This is used internally by GTK, and must not be modified by applications.
- props.height: int
A rough measure for the number of lines in this group.
This is used internally by GTK, and is not useful for applications.