struct Gdk::Seat::ToolAddedSignal
- Gdk::Seat::ToolAddedSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted whenever a new tool is made known to the seat.
The tool may later be assigned to a device (i.e. on proximity with a tablet). The device will emit the [signal@Gdk.Device::tool-changed] signal accordingly.
A same tool may be used by several devices.
Defined in:
lib/gi-crystal/src/auto/gdk-4.0/seat.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gdk::DeviceTool, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gdk::DeviceTool, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gdk::Seat, Gdk::DeviceTool, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(tool : Gdk::DeviceTool) : Nil
-
#name : String
The signal name
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 : String? = nil)
new
Instance Method Detail
def connect(*, after : Bool = false, &block : Proc(Gdk::DeviceTool, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Gdk::DeviceTool, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gdk::Seat, Gdk::DeviceTool, Nil), *, after : Bool = false) : GObject::SignalConnection
#