Browse Source

init actions

CPP-GTK4
yggverse 4 months ago
parent
commit
8aab10c53e
  1. 14
      src/main.cpp

14
src/main.cpp

@ -10,6 +10,20 @@ int main( @@ -10,6 +10,20 @@ int main(
APPLICATION_ID
);
// Init actions
app->add_action(
"quit",
sigc::mem_fun(
*app,
&Gtk::Application::quit
)
);
app->set_accel_for_action(
"app.quit",
"<Primary>q"
);
// Launch browser component
return app->make_window_and_run<app::Browser>(
argc,

Loading…
Cancel
Save