ShortcutTooltip

Constructors

this
this(DzlShortcutTooltip* dzlShortcutTooltip, bool ownedRef = false)

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

this
this()

Create a new #DzlShortcutTooltip.

Members

Functions

getAccel
string getAccel()

Gets the #DzlShortcutTooltip:accel property, which can be used to override the commands accel.

getCommandId
string getCommandId()

Gets the #DzlShortcutTooltip:command-id property.

getShortcutTooltipStruct
DzlShortcutTooltip* getShortcutTooltipStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getTitle
string getTitle()

Gets the #DzlShortcutTooltip:title property, if set.

getWidget
Widget getWidget()

Gets the #GtkWidget that the shortcut-tooltip is wrapping.

setAccel
void setAccel(string accel)

Allows overriding the accel that is used.

setCommandId
void setCommandId(string commandId)

This sets the #DzlShortcutTooltip:command-id property which denotes which shortcut registered with libdazzle to display when a tooltip request is received.

setTitle
void setTitle(string title)

Sets the #DzlShortcutTooltip:title property, which can be used to override the default title for the tooltip as discovered from the shortcut manager.

setWidget
void setWidget(Widget widget)

Sets the widget to connect to the #GtkWidget::query-tooltip signal.

Static functions

getType
GType getType()

Variables

dzlShortcutTooltip
DzlShortcutTooltip* dzlShortcutTooltip;

the main Gtk struct

Meta