EventControllerLegacyRef

public struct EventControllerLegacyRef : EventControllerLegacyProtocol, GWeakCapturing

GtkEventControllerLegacy is an event controller that provides raw access to the event stream.

It should only be used as a last resort if none of the other event controllers or gestures do the job.

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

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

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

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

EventControllerLegacy Class