the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Binds buffers to the framebuffer.
Returns whether the area is in auto render mode or not.
Retrieves the GdkGLContext used by @area.
Gets the current error set on the @area.
Returns whether the area has a depth buffer.
Returns whether the area has a stencil buffer.
Retrieves the required version of OpenGL.
Returns whether the GtkGLArea should use OpenGL ES.
Ensures that the GdkGLContext used by @area is associated with the GtkGLArea.
Marks the currently rendered data (if any) as invalid, and queues a redraw of the widget.
Sets whether the GtkGLArea is in auto render mode.
Sets an error on the area which will be shown instead of the GL rendering.
Sets whether the GtkGLArea should use a depth buffer.
Sets whether the GtkGLArea should use a stencil buffer.
Sets the required version of OpenGL to be used when creating the context for the widget.
Sets whether the @area should create an OpenGL or an OpenGL ES context.
Emitted when the widget is being realized.
Emitted every time the contents of the GtkGLArea should be redrawn.
Emitted once when the widget is realized, and then each time the widget is changed while realized.
A really simple Demo illustrating OpenGL core profile with GtkD This example is provided under the terms of the GPL License.
@author sebastien.alaiwan@gmail.com