struct Gtk::ListView::ActivateSignal

Overview

Emitted when a row has been activated by the user, usually via activating the Gtk::ListView|list.activate-item action.

This allows for a convenient way to handle activation in a listview. See Gtk::ListItem#activatable= for details on how to use this signal.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/list_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(UInt32, Nil)) : GObject::SignalConnection #

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

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

[View source]
def emit(position : UInt32) : Nil #

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

The signal name


[View source]