struct Gtk::IconView::ToggleCursorItemSignal

Overview

A [keybinding signal]Gtk::SignalAction which gets emitted when the user toggles whether the currently focused item is selected or not. The exact effect of this depend on the selection mode.

Applications should not connect to it, but may emit it with g_signal_emit_by_name() if they need to control selection programmatically.

There is no default binding for this signal is Ctrl-Space.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/icon_view.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 : String? = nil) new

Instance Method Detail

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

def connect(handler : Proc(Nil), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Gtk::IconView, Nil), *, after : Bool = false) : GObject::SignalConnection #

def emit : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name