Re: Redrawing a widget
- From: Neil Bird <neil fnxweb com>
- To: Ignacio Nodal <inodal teleline es>
- Cc: gtk-list gnome org
- Subject: Re: Redrawing a widget
- Date: Thu, 01 Feb 2001 16:00:12 +0000
Ignacio Nodal wrote:
> glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
> gtk_widget_draw(_glarea, &area);
> g_print("Cleared Rectangle:(%d,%d)
> (%d,%d)\n",area.x,area.y,area.width,area.height);
Just a guess, but are you missing a call to XFlush() to actually force
the thing to be drawn?
e.g., XFlush( GDK_DISPLAY() );
--
=====================- http://www.thalesgroup.com/ -=====================
Neil Bird | If this .signature |
work mailto:neil bird rdel co uk | looks pants, then | $> cd /pub
personal mailto:neil fnxweb com | stop using Outlook! | $> more beer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]