Re: gtk_gl_area repaint function
- From: JParker coinstar com
- To: learfox furry ao net
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_gl_area repaint function
- Date: Fri, 20 Oct 2000 15:27:30 -0700
G'Day !
My examples are using GLUT which has a built-in redraw function. I got by
keyboard events to work by calling gtk_widget_draw( ).
This works well, but the "quit" button on the bottom flashes like it is being
pressed. Also I'm not sure if I am using double-buffering, I can not find
anything in the GTK reference about this.
cheers,
Jim Parker
Sailboat racing is not a matter of life and death .... It is far more important
than that !!!
learfox furry
.ao.net To: JParker coinstar com
cc:
10/20/00 Subject: Re: gtk_gl_area repaint function
03:12 PM
Please
respond to
learfox
I have now gotten rid of all my segfaults :-)))) Looks like the g_print ( )
calls were the culprits, so I'm using a label I added to the window.
And I have gotten it to respond to keyboard events ... sort of :-( What
is
happening, is that I can play with the keyboard presses Im interested in, but
the glarea does not refresh unless I change the screen size.
Do you mean refresh as in redraw? If redrawing you chould just call your
redraw function.
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
..__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]