[pygtk] user-controllable treeview column suppression
Gustavo J. A. M. Carneiro
gjc at inescporto.pt
Thu Jul 22 22:22:15 WST 2004
A Qui, 2004-07-22 às 15:09, Doug Quale escreveu:
> "Gustavo J. A. M. Carneiro" <gjc at inescporto.pt> writes:
>
> > BonoboUI stores toolbar state in GConf. But the programmer has to
> > specify the GConf key, so it isn't 100% automatic (thankfully).
>
> Isn't the gconf key set up automatically when you call
> gnome.program_init()? I don't know, but it seemed to work that way
> when I played around with it.
Nope. You need some code like this:
window.get_ui_engine().config_set_path(UICONFIG_KEY)
>
> (Some of the GNOME libraries are probably the most underdocumented
> part of the entire GNOME system. I think a lot of people are looking
> forward to the time when a few of them will go away, maybe starting
> with gnome.ui.)
gnome.ui will be gone soon. Large parts of it are already
deprecated. Most widgets are moving to gtk+.
--
Gustavo João Alves Marques Carneiro
<gjc at inescporto.pt> <gustavo at users.sourceforge.net>
The universe is always one step beyond logic.
More information about the pygtk
mailing list