EventControllerKeyRef

public struct EventControllerKeyRef : EventControllerKeyProtocol, GWeakCapturing

GtkEventControllerKey is an event controller meant for situations where you need access to key events.

This object was added in 3.24.

The EventControllerKeyRef type acts as a lightweight Swift reference to an underlying GtkEventControllerKey instance. It exposes methods that can operate on this data type through EventControllerKeyProtocol conformance. Use EventControllerKeyRef only as an unowned reference to an existing GtkEventControllerKey instance.

  • ptr
    Untyped pointer to the underlying `GtkEventControllerKey` instance.
    

    For type-safe access, use the generated, typed pointer event_controller_key_ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

EventControllerKey Class