ShortcutsGroup

A GtkShortcutsGroup 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 [class@Gtk.ShortcutsWindow].

Constructors

this
this(GtkShortcutsGroup* gtkShortcutsGroup, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getShortcutsGroupStruct
GtkShortcutsGroup* getShortcutsGroupStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gtkShortcutsGroup
GtkShortcutsGroup* gtkShortcutsGroup;

the main Gtk struct

Inherited Members

From Box

gtkBox
GtkBox* gtkBox;

the main Gtk struct

getBoxStruct
GtkBox* getBoxStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

__anonymous
mixin OrientableT!(GtkBox)
Undocumented in source.
getType
GType getType()
append
void append(Widget child)

Adds @child as the last child to @box.

getBaselinePosition
GtkBaselinePosition getBaselinePosition()

Gets the value set by gtk_box_set_baseline_position().

getHomogeneous
bool getHomogeneous()

Returns whether the box is homogeneous (all children are the same size).

getSpacing
int getSpacing()

Gets the value set by gtk_box_set_spacing().

insertChildAfter
void insertChildAfter(Widget child, Widget sibling)

Inserts @child in the position after @sibling in the list of @box children.

prepend
void prepend(Widget child)

Adds @child as the first child to @box.

remove
void remove(Widget child)

Removes a child widget from @box.

reorderChildAfter
void reorderChildAfter(Widget child, Widget sibling)

Moves @child to the position after @sibling in the list of @box children.

setBaselinePosition
void setBaselinePosition(GtkBaselinePosition position)

Sets the baseline position of a box.

setHomogeneous
void setHomogeneous(bool homogeneous)

Sets whether or not all children of @box are given equal space in the box.

setSpacing
void setSpacing(int spacing)

Sets the number of pixels to place between children of @box.

Meta