struct Gtk::EntryCompletion::InsertPrefixSignal
- Gtk::EntryCompletion::InsertPrefixSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted when the inline autocompletion is triggered.
The default behaviour is to make the entry display the whole prefix and select the newly inserted part.
Applications may connect to this signal in order to insert only a
smaller part of the @prefix into the entry - e.g. the entry used in
the Gtk::FileChooser
inserts only the part of the prefix up to the
next '/'.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/entry_completion.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(String, Bool)) : GObject::SignalConnection
- #connect(handler : Proc(String, Bool), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::EntryCompletion, String, Bool), *, after : Bool = false) : GObject::SignalConnection
- #emit(prefix : String) : 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(handler : Proc(Gtk::EntryCompletion, String, Bool), *, after : Bool = false) : GObject::SignalConnection
#