Re: RFC GnomeGoal #3

A good API for saving window state is probably something like:

 gtk_window_save_state(GtkWindow *window, const char *window_key);

which would magically know which things to save (including _NET_WM_STATE), would magically save a different state per screen size, etc.

There's no way apps will get this right without something on that level...

At the same time an API like this punts the hard issue on the gtk level (when are two windows "the same" so state should be restored?) - the app has to provide the same window_key for any two "the same" windows.


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