1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

LibGUI: Support cycling through focusable widgets with Tab and Shift-Tab.

This commit is contained in:
Andreas Kling 2019-05-15 02:39:58 +02:00
parent 01ffcdfa31
commit ad731cc08f
10 changed files with 82 additions and 8 deletions

View file

@ -40,6 +40,7 @@ public:
void set_action(GAction&);
virtual const char* class_name() const override { return "GButton"; }
virtual bool accepts_focus() const override { return true; }
protected:
virtual void paint_event(GPaintEvent&) override;