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

Instance Method Detail

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

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

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

[View source]
def emit(path : Gtk::TreePath, column : Gtk::TreeViewColumn | Nil) : Nil #

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

The signal name


[View source]