[IronPython] Glade
Lloyd Dupont
ld at galador.net
Thu Sep 23 03:26:22 CEST 2004
you shoul first losad library before importing namespaces
there is a command style : sys.LoadFomFile(aDllName)
I'm not of it exact name, but that's the idea!
----- Original Message -----
From: "Phillip Neumann" <bob at sofsis.cl>
To: <users-ironpython.com at lists.ironpython.com>
Sent: Tuesday, September 21, 2004 3:44 AM
Subject: [IronPython] Glade
> Hello!..
>
>
> IronPython seems greate... but i cannot use Glade with it.. 8(
>
> (yes, with C# i can use it...)
>
>
> why does this happend?
>
>
> killfill at book /> uname -a
> FreeBSD book.sofsis.cl 5.3-BETA5 FreeBSD 5.3-BETA5 #0: Sun Sep 19
> 20:01:12 UTC 2004 root at book.sofsis.cl:/usr/obj/usr/src/sys/GENERIC
> i386
> killfill at book /> ironpython
>>>> import Gtk
>>>> import Glade
> IronPython.Objects.PythonImportError: can't load Glade
> in <0x00074> IronPython.Objects.module:Import (string,bool)
> in <0x00024> IronPython.Objects.Ops:Import
> (IronPython.Objects.module,string)
> in <0x0002f> input_1:Run (IronPython.Objects.Frame)
> in <0x001c5> IronPythonConsole.IronPython:DoInteractive ()
>
>>>> import Gtk.Glade
> IronPython.Objects.PythonAttributeError: 'package#' object has no
> attribute 'Glade'
> in <0x001e6> IronPython.Objects.Ops:GetAttr (object,string)
> in <0x00066> IronPython.Objects.Importer:ImportFrom (object,string)
> in <0x000fd> IronPython.Objects.Importer:ImportOne (string,bool)
> in <0x00025> IronPython.Objects.module:Import (string,bool)
> in <0x00024> IronPython.Objects.Ops:Import
> (IronPython.Objects.module,string)
> in <0x0002f> input_2:Run (IronPython.Objects.Frame)
> in <0x001c5> IronPythonConsole.IronPython:DoInteractive ()
>
>
> killfill at book /usr/local/lib/mono/gtk-sharp> ls
> art-sharp.dll gdk-sharp.dll gtk-sharp.dll
> atk-sharp.dll glade-sharp.dll gtkhtml-sharp.dll
> gconf-sharp-peditors.dll glib-sharp.dll pango-sharp.dll
> gconf-sharp.dll gnome-sharp.dll rsvg-sharp.dll
> gda-sharp.dll gnomedb-sharp.dll vte-sharp.dll
>
>
> --
> Phillip Neumann <bob at sofsis.cl>
>
> _______________________________________________
> users-ironpython.com mailing list
> users-ironpython.com at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
More information about the Ironpython-users
mailing list