diff options
author | Andrew Smith <andrew@alsmith.net> | 2022-03-08 21:07:32 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-05-23 00:12:19 +0200 |
commit | abaecb878b44a7f56fc1d8e1eb6391739f7389ea (patch) | |
tree | 8d7b7ea045e3a3f67497d46f76f16bd13b431a0c /Userland/Libraries/LibGUI/SpinBox.h | |
parent | f9940390a35c2217a159d21699a1030acf707b13 (diff) | |
download | serenity-abaecb878b44a7f56fc1d8e1eb6391739f7389ea.zip |
LibGUI: Add on_return_pressed function to SpinBox
Diffstat (limited to 'Userland/Libraries/LibGUI/SpinBox.h')
-rw-r--r-- | Userland/Libraries/LibGUI/SpinBox.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/SpinBox.h b/Userland/Libraries/LibGUI/SpinBox.h index cdd0849ec4..79a3f80125 100644 --- a/Userland/Libraries/LibGUI/SpinBox.h +++ b/Userland/Libraries/LibGUI/SpinBox.h @@ -26,6 +26,7 @@ public: void set_range(int min, int max, AllowCallback = AllowCallback::Yes); Function<void(int value)> on_change; + Function<void()> on_return_pressed; protected: SpinBox(); |