1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 11:25:09 +00:00

GWindow: Add SerenityKeys minimum functionality

This commit is contained in:
faissaloo 2019-06-03 16:02:49 +01:00
parent 9ac95d1867
commit 72264661fd
6 changed files with 109 additions and 4 deletions

View file

@ -64,6 +64,10 @@ void GButton::click()
on_click(*this);
}
/*bool GButton::accepts_keyboard_select() const {
return is_enabled();
}*/
void GButton::set_action(GAction& action)
{
m_action = action.make_weak_ptr();