[Gambas-user] shared librarry into gambas
Benoît Minisini
gambas at ...1...
Thu Apr 9 15:10:08 CEST 2009
> I always wandered myself how this works.
>
> For instance... in python, you can code something like
>
> import gtk
> import glade
> import pygtk
>
> And use the methods in these modules throughout your app.
> could this be done in gambas somehow?
>
> I have had instances in gambas where I could really use a shared
> library but i'm unable to import it... the Extern method is beyond my
> scope of skills ATM, and the documentation is sort of hard for me to
> understand.
>
Actually, "import" in Python is the same as checking a component in the Gambas
IDE project property dialog.
Note that you can load components at runtime too, with the Component.Load()
method.
Regards,
--
Benoît
More information about the User
mailing list