struct Gtk::IconView::ItemActivatedSignal
- Gtk::IconView::ItemActivatedSignal
- GObject::Signal
- Struct
- Value
- Object
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.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gtk::TreePath, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::TreePath, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::IconView, Gtk::TreePath, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(path : Gtk::TreePath) : 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(Gtk::TreePath, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::TreePath, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::IconView, Gtk::TreePath, Nil), *, after : Bool = false) : GObject::SignalConnection
#