diff --git a/src/button.h b/src/button.h index 01b9106..ec09379 100644 --- a/src/button.h +++ b/src/button.h @@ -54,6 +54,11 @@ struct Button : Widget { auto set_auto_repeat(int64_t repeat_millies, int64_t repeat_start = 500) -> void; auto disable_auto_repeat() -> void; + auto set_can_focus(bool new_state) -> std::shared_ptr