[pygtk] user-controllable treeview column suppression
Christian Robottom Reis
kiko at async.com.br
Thu Jul 22 07:52:55 WST 2004
On Wed, Jul 21, 2004 at 04:41:23PM -0500, Doug Quale wrote:
> > I think all the API is in-place; what seems to be necessary is a
> > cross-platform (cross-language?) mechanism to persist user preferences.
> > Maybe PyGTK should just go ahead and grow one <wink>.
> Pygtk provides a great opportunity to experiment with an interface.
> Probably what we want is a function to serialize the treeview state to
> an XML string to be saved and another function to load the saved state
> string and set the treeview properties. Some flags would be required
> to tell what parts of the state are wanted. In many applications
> expanded/collapsed node state could be quite large and not
You'd also need to specify a way to discover, store (and restore on
startup/widget construction) these preferences per-user and per-widget
-- or is that up to the application programmer?
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331
More information about the pygtk