mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
LibGUI: Add a GRadioButton widget.
Radio buttons are automagically exclusive with other radio button children of the same parent. :^)
This commit is contained in:
parent
00075b1c8a
commit
36d8b9e89b
8 changed files with 157 additions and 0 deletions
|
@ -184,6 +184,8 @@ public:
|
|||
void register_local_shortcut_action(Badge<GAction>, GAction&);
|
||||
void unregister_local_shortcut_action(Badge<GAction>, GAction&);
|
||||
|
||||
virtual bool is_radio_button() const { return false; }
|
||||
|
||||
private:
|
||||
virtual bool is_widget() const final { return true; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue