[pygtk] user-controllable treeview column suppression
Doug Quale
quale1 at charter.net
Thu Jul 22 23:43:03 WST 2004
"Gustavo J. A. M. Carneiro" <gjc at inescporto.pt> writes:
> 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)
Sorry, I got that wrong again. If you use GnomeApp, I think calling
gnome.ui.App(appname, title) is all that's required to setup the gconf
key appname, but I've been wrong a couple of times recently, so ...
More information about the pygtk
mailing list