Re: Preserved Window Placement




On Sun 28 Oct 2012 05:00:15 PM CDT, Alberto Ruiz wrote:
2012/10/28 Federico Mena Quintero <federico gnome org
<mailto: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 :)

Sounds great. Who do I gotta pay to implement it?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]