Re: strait access to Xlib in a GTK app
- From: Havoc Pennington <hp redhat com>
- To: kobyleski thierry <thierry kobyleski worldonline fr>
- Cc: gtk-list gnome org
- Subject: Re: strait access to Xlib in a GTK app
- Date: 20 Jun 2000 14:47:14 -0400
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]