struct Gtk::EntryCompletion::MatchSelectedSignal

Overview

Emitted when a match from the list is selected.

The default behaviour is to replace the contents of the entry with the contents of the text column in the row pointed to by @iter.

Note that @model is the model that was passed to Gtk::EntryCompletion#model=.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/entry_completion.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, detail = nil) new

Instance Method Detail

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

def connect(handler : Proc(Gtk::TreeModel, Gtk::TreeIter, Bool), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Gtk::EntryCompletion, Gtk::TreeModel, Gtk::TreeIter, Bool), *, after : Bool = false) : GObject::SignalConnection #

def emit(model : Gtk::TreeModel, iter : Gtk::TreeIter) : Nil #

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

The signal name