ActionRow

Constructors

this
this(HdyActionRow* hdyActionRow, bool ownedRef = false)

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

this
this()

Creates a new #HdyActionRow.

Members

Functions

activate
void activate()
addAction
void addAction(Widget widget)

Adds an action widget to @self.

addPrefix
void addPrefix(Widget widget)

Adds a prefix widget to @self.

getActionRowStruct
HdyActionRow* getActionRowStruct(bool transferOwnership = false)

Get the main Gtk struct

getActivatableWidget
Widget getActivatableWidget()

Gets the widget activated when @self is activated.

getIconName
string getIconName()

Gets the icon name for @self.

getStruct
void* getStruct()

the main Gtk struct as a void*

getSubtitle
string getSubtitle()

Gets the subtitle for @self.

getTitle
string getTitle()

Gets the title for @self.

getUseUnderline
bool getUseUnderline()

Gets whether an embedded underline in the text of the title and subtitle labels indicates a mnemonic. See hdy_action_row_set_use_underline().

setActivatableWidget
void setActivatableWidget(Widget widget)

Sets the widget to activate when @self is activated, either by clicking on it, by calling hdy_action_row_activate(), or via mnemonics in the title or the subtitle. See the “use_underline” property to enable mnemonics.

setIconName
void setIconName(string iconName)

Sets the icon name for @self.

setSubtitle
void setSubtitle(string subtitle)

Sets the subtitle for @self.

setTitle
void setTitle(string title)

Sets the title for @self.

setUseUnderline
void setUseUnderline(bool useUnderline)

If true, an underline in the text of the title and subtitle labels indicates the next character should be used for the mnemonic accelerator key.

Static functions

getType
GType getType()

Variables

hdyActionRow
HdyActionRow* hdyActionRow;

the main Gtk struct

Inherited Members

From PreferencesRow

hdyPreferencesRow
HdyPreferencesRow* hdyPreferencesRow;

the main Gtk struct

getPreferencesRowStruct
HdyPreferencesRow* getPreferencesRowStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getTitle
string getTitle()

Gets the title of the preference represented by @self.

getUseUnderline
bool getUseUnderline()

Gets whether an embedded underline in the text of the title indicates a mnemonic. See hdy_preferences_row_set_use_underline().

setTitle
void setTitle(string title)

Sets the title of the preference represented by @self.

setUseUnderline
void setUseUnderline(bool useUnderline)

If true, an underline in the text of the title indicates the next character should be used for the mnemonic accelerator key.

Meta