NeverTrigger

A GtkShortcutTrigger that never triggers.

Constructors

this
this(GtkNeverTrigger* gtkNeverTrigger, bool ownedRef)

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

Members

Functions

getNeverTriggerStruct
GtkNeverTrigger* getNeverTriggerStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

get
NeverTrigger get()

Gets the never trigger.

getType
GType getType()

Variables

gtkNeverTrigger
GtkNeverTrigger* gtkNeverTrigger;

the main Gtk struct

Inherited Members

From ShortcutTrigger

gtkShortcutTrigger
GtkShortcutTrigger* gtkShortcutTrigger;

the main Gtk struct

getShortcutTriggerStruct
GtkShortcutTrigger* getShortcutTriggerStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
compare
int compare(ShortcutTrigger trigger2)

The types of @trigger1 and @trigger2 are #gconstpointer only to allow use of this function as a #GCompareFunc.

equal
bool equal(ShortcutTrigger trigger2)

Checks if @trigger1 and @trigger2 trigger under the same conditions.

hash
uint hash()

Generates a hash value for a GtkShortcutTrigger.

print
void print(StringG string_)

Prints the given trigger into a string for the developer. This is meant for debugging and logging.

printLabel
bool printLabel(Display display, StringG string_)

Prints the given trigger into a string.

toLabel
string toLabel(Display display)

Gets textual representation for the given trigger.

toString
string toString()

Prints the given trigger into a human-readable string.

trigger
GdkKeyMatch trigger(Event event, bool enableMnemonics)

Checks if the given @event triggers @self.

Meta