Re: RFC GnomeGoal #3
- From: Havoc Pennington <hp redhat com>
- To: David Trowbridge <trowbrds gmail com>
- Cc: Shaun McCance <shaunm gnome org>, desktop-devel-list gnome org
- Subject: Re: RFC GnomeGoal #3
- Date: Fri, 11 Aug 2006 14:53:58 -0400
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.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]