Re: using xlib with gobject-introspection



On 2011-06-14 at 11:53, tomw wrote:
> I'm trying to use xlib via gobject-introspection but I could not find
> any documentation or examples. The xlib-2.0.gir does not provide any
> methods so I was wondering whether and how this is possible at all.

no, it's not possible. Xlib is not GObject-based, so introspection won't
work. you'd have to create a GObject-wrapper around it — or just use
GTK+.

the xlib-2.0.gir is used to fill out the data structures for other
libraries, like GDK.

ciao,
 Emmanuele.

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi


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