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