On Sat, 2001-09-15 at 11:56, Steven M. Castellotti wrote:
> 
>       This may sound like a trivial question, but it's got me stuck. I'm
> using Glade to create an PyGnome application, and I can't seem to figure
> out how/where to set the version number (all I end up with is either 0.0
> or x.x). There doesn't appear to be a place to enter the info into glade
> itself, and I've tried adding a <version> tag to the appropriate area of
> the .glade file itself.
> 
>       Right now I'm trying something along these lines, and am not sure why
> it's not working:
> 
> about = libglade.GladeXML("CogDevApp.glade","about").get_widget("about")
> about.version = "0.9"
> about.show()
> 
> 
>       There seemed to be no obvious effect. I then tried to build the
> component myself, and was able to do that successfully, but surely
> there's a simple way to do it using glade?

I asked this back in march (hence, it is in the archives):

"""
At your program startup, do the following to import the GNOME libraries:
  import gnome
  gnome.app_version = "version-string"
  import gnome.ui, libglade
"""




_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to