Re: Pause and resume GtkApplication
- From: Alexander Koeppe <alexander@koeppe.rocks>
- To: gtk-app-devel-list gnome org
- Subject: Re: Pause and resume GtkApplication
- Date: Sat, 27 Jan 2018 15:34:40 +0100
Hi
just FYI: I solved it.
The trick was that within the second g_application_run(), the app menu
must be attached to the application using gtk_application_set_app_menu()
*before* adding the already existing _window_ using
gtk_application_add_window() to the application.
This way the app-menu is properly (or still) shown in the same window
throughout both GtkApplication instances.
Regards
- Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]