struct Gtk::IconView::ItemActivatedSignal

Overview

The ::item-activated signal is emitted when the method gtk_icon_view_item_activated() is called, when the user double clicks an item with the "activate-on-single-click" property set to false, or when the user single clicks an item when the "activate-on-single-click" property set to true. It is also emitted when a non-editable item is selected and one of the keys: Space, Return or Enter is pressed.

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 : Nil | String = nil) new

Instance Method Detail

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

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

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

[View source]
def emit(path : Gtk::TreePath) : Nil #

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

The signal name


[View source]