CtkShortcutsGroup

CtkShortcutsGroup — Represents a group of shortcuts in a CtkShortcutsWindow

Properties

CtkSizeGroup * accel-size-group Write
guint height Read
char * title Read / Write
CtkSizeGroup * title-size-group Write
char * view Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── CtkWidget
            ╰── CtkContainer
                ╰── CtkBox
                    ╰── CtkShortcutsGroup

Implemented Interfaces

CtkShortcutsGroup implements AtkImplementorIface, CtkBuildable and CtkOrientable.

Includes

#include <ctk/ctk.h>

Description

A CtkShortcutsGroup 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 CtkShortcutsWindow.

Functions

Types and Values

CtkShortcutsGroup

typedef struct _CtkShortcutsGroup CtkShortcutsGroup;

Property Details

The “accel-size-group” property

  “accel-size-group”         CtkSizeGroup *

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

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

Owner: CtkShortcutsGroup

Flags: Write


The “height” property

  “height”                   guint

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

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

Owner: CtkShortcutsGroup

Flags: Read

Default value: 1


The “title” property

  “title”                    char *

The title for this group of shortcuts.

Owner: CtkShortcutsGroup

Flags: Read / Write

Default value: ""


The “title-size-group” property

  “title-size-group”         CtkSizeGroup *

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

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

Owner: CtkShortcutsGroup

Flags: Write


The “view” property

  “view”                     char *

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

Set this to NULL to make the group always visible.

Owner: CtkShortcutsGroup

Flags: Read / Write

Default value: NULL