Dazzle.ShortcutsSection

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget Dazzle.ShortcutsSection Dazzle.ShortcutsSection 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.Box->Dazzle.ShortcutsSection 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

max-height

int

r/w/en

Maximum Height

section-name

str

r/w

Section Name

title

str

r/w

Title

view-name

str

r/w/en

View Name

Child Properties

Inherited:

Gtk.Box (5)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

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

Name

Short Description

change-current-page

Fields

Inherited:

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

Class Details

class Dazzle.ShortcutsSection(*args, **kwargs)
Bases:

Gtk.Box

Abstract:

No

Structure:

Dazzle.ShortcutsSectionClass

Signal Details

Dazzle.ShortcutsSection.signals.change_current_page(shortcuts_section, object)
Signal Name:

change-current-page

Flags:

RUN_LAST, ACTION

Parameters:
Return type:

bool

Property Details

Dazzle.ShortcutsSection.props.max_height
Name:

max-height

Type:

int

Default Value:

15

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The maximum number of lines to allow per column. This property can be used to influence how the groups in this section are distributed across pages and columns. The default value of 15 should work in for most cases.

Dazzle.ShortcutsSection.props.section_name
Name:

section-name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

A unique name to identify this section among the sections added to the Dazzle.ShortcutsWindow. Setting the Dazzle.ShortcutsWindow :section-name property to this string will make this section shown in the Dazzle.ShortcutsWindow.

Dazzle.ShortcutsSection.props.title
Name:

title

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The string to show in the section selector of the Dazzle.ShortcutsWindow for this section. If there is only one section, you don’t need to set a title, since the section selector will not be shown in this case.

Dazzle.ShortcutsSection.props.view_name
Name:

view-name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

A view name to filter the groups in this section by. See Dazzle.ShortcutsGroup :view.

Applications are expected to use the Dazzle.ShortcutsWindow :view-name property for this purpose.