struct Gtk::TreeView::RowActivatedSignal

Overview

The "row-activated" signal is emitted when the method [method@Gtk.TreeView.row_activated] is called.

This signal is emitted when the user double-clicks a treeview row with the [property@Gtk.TreeView:activate-on-single-click] property set to false, or when the user single-clicks a row when that property set to true.

This signal is also emitted when a non-editable row is selected and one of the keys: Space, Shift+Space, Return or Enter is pressed.

For selection handling refer to the tree widget conceptual overview as well as Gtk::TreeSelection.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/tree_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(Gtk::TreePath, Gtk::TreeViewColumn?, Nil)) : GObject::SignalConnection #

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

def connect(handler : Proc(Gtk::TreeView, Gtk::TreePath, Gtk::TreeViewColumn?, Nil), *, after : Bool = false) : GObject::SignalConnection #

def emit(path : Gtk::TreePath, column : Gtk::TreeViewColumn?) : Nil #

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

The signal name