Re: strait access to Xlib in a GTK app



kobyleski thierry <thierry.kobyleski@worldonline.fr> writes:
> Is it possible and safe, in a GTK application, to get hand on the Xlib
> window which stands behind a GTK widget ( a GTK drawing area) for
> example, and then draw in this window using Xlib ?
> 

Yes, you can use the stuff in gdk/gdkx.h to do this. However note that 
in GTK 1.4 there will be tricky issues with this (because windows have
a backing store and scroll offsets, and by accessing them directly you
bypass this).

Havoc




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