struct Gtk::EventControllerLegacy::EventSignal

Overview

Emitted for each GDK event delivered to controller.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/event_controller_legacy.cr

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : Nil | String = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(Gdk::Event, Bool)) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gdk::Event, Bool), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gtk::EventControllerLegacy, Gdk::Event, Bool), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(event : Gdk::Event) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]