Re: [Vala] Exit out of a Vala OpenGL program by using the ESC key
- From: Simon Kågedal Reimer <skagedal gmail com>
- To: Evan Nemerson <evan coeus-group com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Exit out of a Vala OpenGL program by using the ESC key
- Date: Thu, 4 Jul 2013 19:31:29 +0200
If this uses freeglut, you couldalao use glutLeaveMainLoop:
http://freeglut.sourceforge.net/docs/api.php#EventProcessing
You might also consider embedding your OpenGL in a GTK+ program, instead of
using glut. Some pointers here:
http://stackoverflow.com/questions/3815806/gtk-and-opengl-bindings
/simon
Den 4 jul 2013 19.10, "Evan Nemerson" <evan coeus-group com> skrev:
On Thu, 2013-07-04 at 11:32 -0500, Thomas F Steinhauer wrote:
Ok,
This is a tough one to figu...
exit is bound as GLib.Process.exit. And Posix.exit.
-Evan
_______________________________________________
vala-list mailing list
vala-list gnome org
https://...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]