Re: Preserved Window Placement
- From: Alberto Ruiz <aruiz gnome org>
- To: Federico Mena Quintero <federico gnome org>
- Cc: desktop-devel-list gnome org
- Subject: Re: Preserved Window Placement
- Date: Sun, 28 Oct 2012 23:00:15 +0100
2012/10/28 Federico Mena Quintero
<federico gnome org>
Even easier and general-purpose:
gtk_window_set_state_saving_key (window, char *key);
Not easier, if your app has multiple windows, you can just set a property on/off on your app class and have the internals of GtkApplication do what is right and even clever things like storing the relative position to each other and handle that on screen(s) resolution changes on the next application startup.
Call it before realization, and Magic Happens at the right time :)
Federico
--
Cheers,
Alberto Ruiz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]