If you use gnome features in your glade file, you must import gnome.ui
before creating the GladeXML object.  That should fix the problem.

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


On Mon, 17 Apr 2000, MOULET Xavier FTRD/DMR/ISS wrote:

> Hello all pygtkers, 
> firstly, I would like to thank all people whitout which I wouldn't program
> with this marvellous tool : the combination of python & Gnome. (who said
> "who cares about your programs ?")
> Well, I am a newcomer, and please only flame me with the flamethrower set on
> "not too crisp." if I bother you with inapt questions.
> My question is : is gnome-libglade (I mean the latest one from Helix for
> ex.) stable or followed ? I tried libglade without gnome support, which
> works fine, but gnome support initialisation, I always have a segfault, the
> reason should be that a parameter (appname) is a NULL pointer in libglade.
> Is this a known bug ? Do I something bad ?
> I don't see any working example of working gnome support for libglade with
> gnome, so please could someone give me a "Hello, libglade-gnome" : hello.py
> & hello.glade ?
> 
> I work with gnomelibs 1.0.58 & glade 5.0.7 (with gnome enabled)
> 
> I could of course investigate to give more information, but I would  like to
> have some instructions about it (what to display ?)
> 
> If this is a module that is "developper-only", well, let me know and I'll
> wait until I could give some help before asking other questions.
> 
> -
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
> 

-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to