LibGUI: Register more GML properties and widgets

Register "placeholder" for TextEditor and ComboBox; "models_only"
for ComboBox; Vertical/HorizontalSeparator for SeparatorWidget
This commit is contained in:
thankyouverycool 2021-03-08 11:38:43 -05:00 committed by Andreas Kling
commit cf866cc75a
Notes: sideshowbarker 2024-07-18 21:30:02 +09:00
5 changed files with 48 additions and 2 deletions

View file

@ -60,6 +60,9 @@ public:
int model_column() const;
void set_model_column(int);
void set_editor_placeholder(const StringView& placeholder);
const String& editor_placeholder() const;
Function<void(const String&, const ModelIndex&)> on_change;
Function<void()> on_return_pressed;