DropDown search & GtkExpression #125
-
|
I'm trying to use DropDown with search enabled: https://docs.gtk.org/gtk4/method.DropDown.set_enable_search.html This requires setting an expression. I haven't been able to figure out how to use this, and I read that it's not supported in PyGObject. Does anyone know if this is possible in gotk? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
gotk4 has the needed constructors for |
Beta Was this translation helpful? Give feedback.
gotk4 has the needed constructors for
ConstantExpression,PropertyExpressionandObjectExpression. It is only missing a constructor forClosureExpression. It looks like if you're using it with aStringListmodel, you'd wantthis->item->string, which usesPropertyExpressions. Anything else would probably require subclassing.