EventPadGroupModeProtocol
public protocol EventPadGroupModeProtocol
The EventPadGroupModeProtocol protocol exposes the methods and properties of an underlying GdkEventPadGroupMode instance.
The default implementation of these can be found in the protocol extension below.
For a concrete class that implements these methods and properties, see EventPadGroupMode.
Alternatively, use EventPadGroupModeRef as a lighweight, unowned reference if you already have an instance you just want to use.
Generated during GDK_SOURCE_TABLET_PAD mode switches in a group.
-
Untyped pointer to the underlying
GdkEventPadGroupModeinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
GdkEventPadGroupModeinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GdkEventPadGroupModeinstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GdkEventPadGroupMode>! { get } -
Required Initialiser for types conforming to
EventPadGroupModeProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
-
typeExtension methodthe type of the event (
GDK_PAD_GROUP_MODE).Declaration
Swift
@inlinable var type: GdkEventType { get set } -
windowExtension methodthe window which received the event.
Declaration
Swift
@inlinable var window: WindowRef! { get set } -
sendEventExtension methodtrueif the event was sent explicitly.Declaration
Swift
@inlinable var sendEvent: gint8 { get set } -
timeExtension methodthe time of the event in milliseconds.
Declaration
Swift
@inlinable var time: guint32 { get set } -
groupExtension methodthe pad group that is switching mode. A
GDK_SOURCE_TABLET_PADdevice may have one or more groups containing a set of buttons/rings/strips each.Declaration
Swift
@inlinable var group: guint { get set } -
modeExtension methodThe new mode of
group. Different groups in aGDK_SOURCE_TABLET_PADdevice may have different current modes.Declaration
Swift
@inlinable var mode: guint { get set }
View on GitHub
Install in Dash
EventPadGroupModeProtocol Protocol Reference