1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

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
parent 5806630cf4
commit cf866cc75a
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;