Re: signal/properties/enums/flags defs

On Thu, 2001-10-11 at 02:05, James Henstridge wrote:
> On 10 Oct 2001, Murray Cumming wrote:
> > > The program needs to be linked against the library being scanned (in the
> > > above example, gtk+), and possibly call an initialisation function (the
> > > above example should have a gtk_init() call at the top).
> >
> > And you can't do that within python? Surely you link to gtk+ for pygtk.
> For gtk, yes you can.  However, this kind of tool would be most useful
> _before_ a binding for a library has been written (it is used to output
> information used to write a binding for the library ...).

I'm just asking whether you can use C/C++ libraries from Python. Do you
need a whole language binding just to link to gtk and call gtk_init()?
Maybe the answer is yes - I know nothing about Python.

Murray Cumming
murrayc usa net

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