Gtk.ShortcutsGroup

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Box Gtk.Box Gtk.ShortcutsGroup Gtk.ShortcutsGroup Gtk.Box->Gtk.ShortcutsGroup Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

Virtual Methods

Inherited:

Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)

Name

Type

Flags

Short Description

accel-size-group

Gtk.SizeGroup

w

Accelerator Size Group

height

int

r

Height

title

str

r/w

Title

title-size-group

Gtk.SizeGroup

w

Title Size Group

view

str

r/w

View

Child Properties

Inherited:

Gtk.Box (5)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Class Details

class Gtk.ShortcutsGroup(*args, **kwargs)
Bases:

Gtk.Box

Abstract:

No

Structure:

Gtk.ShortcutsGroupClass

A Gtk.ShortcutsGroup represents a group of related keyboard shortcuts or gestures. The group has a title. It may optionally be associated with a view of the application, which can be used to show only relevant shortcuts depending on the application context.

This widget is only meant to be used with Gtk.ShortcutsWindow.

Property Details

Gtk.ShortcutsGroup.props.accel_size_group
Name:

accel-size-group

Type:

Gtk.SizeGroup

Default Value:

None

Flags:

WRITABLE

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.

Gtk.ShortcutsGroup.props.height
Name:

height

Type:

int

Default Value:

1

Flags:

READABLE

A rough measure for the number of lines in this group.

This is used internally by GTK+, and is not useful for applications.

Gtk.ShortcutsGroup.props.title
Name:

title

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

The title for this group of shortcuts.

Gtk.ShortcutsGroup.props.title_size_group
Name:

title-size-group

Type:

Gtk.SizeGroup

Default Value:

None

Flags:

WRITABLE

The size group for the textual portion of shortcuts in this group.

This is used internally by GTK+, and must not be modified by applications.

Gtk.ShortcutsGroup.props.view
Name:

view

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

An optional view that the shortcuts in this group are relevant for. The group will be hidden if the Gtk.ShortcutsWindow :view-name property does not match the view of this group.

Set this to None to make the group always visible.