EventControllerKeyRef

public struct EventControllerKeyRef : EventControllerKeyProtocol, GWeakCapturing

GtkEventControllerKey is an event controller that provides access to key events.

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