struct Gdk::Seat::ToolAddedSignal

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.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::DeviceTool, Nil)) : GObject::SignalConnection #

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

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

[View source]
def emit(tool : Gdk::DeviceTool) : Nil #

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

The signal name


[View source]