Hello,

I'm trying to pick up Python and GNOME development at the same time.
Obviously PyGnome is the way to go.  However, in attempting to try out
some simple apps, I keep getting:

Unknown widget class "GnomeApp'

Here's the code:

__________________________

from gtk import *
from gnome.ui import *
from GDK import *
import libglade

def main():
    widgets = libglade.GladeXML('foo.glade')
    app1 = widgets.get_widget('app1')
    label1 = widgets.get_widget('label1')
    label2 = widgets.get_widget('label2')
    label3 = widgets.get_widget('label3')
    mainloop()

if __name__ == '__main__':
    main()

_________________________

What's going on?  From interactively importing just gtk and gnome.ui and
calling dir() I can see GnomeApp listed.  Yet the system refuses to
cooperate.

Any tips?  Thanks!

Michael Coddington
[EMAIL PROTECTED]

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

Reply via email to