mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 08:51:57 +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:
parent
5806630cf4
commit
cf866cc75a
Notes:
sideshowbarker
2024-07-18 21:30:02 +09:00
Author: https://github.com/thankyouverycool
Commit: cf866cc75a
Pull-request: https://github.com/SerenityOS/serenity/pull/5741
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/emanuele6
5 changed files with 48 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue