[Glade-users] Glade-3 with python



I used to use Glade-2 to build my python application but since the  upgrade to Glade-3, it seems that it 
doesn't work. 
I create a simple example to show how I used to use glade : 
 
import sys 
import pygtk 
import gtk 
import gtk.glade 
 
class appgui: 
 def __init__: 
   self.wTree = gtk.glade.XML('ui.glade','fMain') 
 
app = appgui() 
gtk.main() 
 
this work with a glade-2 file but not with glade-3... 
Is it a glade error or my python code wich is wrong ? 
                
---------------------------------
 D?couvrez une nouvelle fa?on d'obtenir des r?ponses ? toutes vos questions ! Profitez des connaissances, des 
opinions et des exp?riences des internautes sur Yahoo! Questions/R?ponses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20061030/14ec2345/attachment.html 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]