Closed d47081 closed 4 months ago
Sorry, I have provided GtkListStore
not GtkTreeModel
to EntryCompletion
constructor.
https://docs.gtk.org/gtk3/method.EntryCompletion.set_model.html
but don't understand why events has own API, not documented argument types.
maybe php-gtk3
implementation just.
Seems
match-selected
event returns another data types than documented:https://docs.gtk.org/gtk3/vfunc.EntryCompletion.match_selected.html
so I can't get current selection, or how by
GtkEntryCompletion $completion
object returned only?upd.
maybe I must to use
GtkTreeView
as the model, then extract selection using this method:but anyway, strange there is no way to simply get iter by this event..