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
commit ad731cc08f
Notes: sideshowbarker 2024-07-19 14:08:48 +09:00
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;