Package ch.bailu.gtk.gtk
Class SignalAction
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.gtk.ShortcutAction
ch.bailu.gtk.gtk.SignalAction
- All Implemented Interfaces:
PointerInterface
A `GtkShortcut`Action that emits a signal.
Signals that are used in this way are referred to as keybinding signals,
and they are expected to be defined with the %G_SIGNAL_ACTION flag.
Signals that are used in this way are referred to as keybinding signals,
and they are expected to be defined with the %G_SIGNAL_ACTION flag.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Field Summary
Fields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Constructor Summary
ConstructorDescriptionSignalAction
(PointerContainer pointer) SignalAction
(Str signal_name) Creates an action that when activated, emits the given action signal
on the provided widget.SignalAction
(String signal_name) Creates an action that when activated, emits the given action signal
on the provided widget. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
static int
static long
static TypeSystem.TypeSize
Returns the name of the signal that will be emitted.static long
static TypeSystem.TypeSize
Methods inherited from class ch.bailu.gtk.gtk.ShortcutAction
activate, parseStringShortcutAction, parseStringShortcutAction, print, toStr
Methods inherited from class ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
SignalAction
-
SignalAction
Creates an action that when activated, emits the given action signal
on the provided widget.
It will also unpack the args into arguments passed to the signal.- Parameters:
signal_name
- name of the signal to emit
-
SignalAction
Creates an action that when activated, emits the given action signal
on the provided widget.
It will also unpack the args into arguments passed to the signal.- Parameters:
signal_name
- name of the signal to emit
-
-
Method Details
-
getClassHandler
-
getSignalName
Returns the name of the signal that will be emitted.- Returns:
- the name of the signal to emit
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-