Class: Gtk::ShortcutsSection

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#max_heightInteger

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 most cases.

Returns:

  • (Integer)

    max-height

#max_height=(max_height) ⇒ Integer

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 most cases.

Parameters:

  • max_height (Integer)

Returns:

  • (Integer)

    max-height

  • (Integer)

    max-height

#section_nameString

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

Returns:

  • (String)

    section-name

#section_name=(section_name) ⇒ String

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

Parameters:

  • section_name (String)

Returns:

  • (String)

    section-name

  • (String)

    section-name

#titleString

The string to show in the section selector of the GtkShortcutsWindow 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.

Returns:

  • (String)

    title

#title=(title) ⇒ String

The string to show in the section selector of the GtkShortcutsWindow 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.

Parameters:

  • title (String)

Returns:

  • (String)

    title

  • (String)

    title

#view_nameString

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

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

Returns:

  • (String)

    view-name

#view_name=(view_name) ⇒ String

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

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

Parameters:

  • view_name (String)

Returns:

  • (String)

    view-name

  • (String)

    view-name