gtk_gl_area_begingl

Langue: en

Version: 294396 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME gtk_gl_area_begingl - begin rendering into OpenGL widget

SYNOPSIS

gint gtk_gl_area_begingl(GtkGLArea *gl_area )
gl_area
Specifies a gtkglarea widget.

DESCRIPTION

*** Deprecated, use gtk_gl_area_make_current instead ***

gtk_gl_area_begingl must be called before rendering into OpenGL widget, it returns TRUE if rendering to widget is possible. Rendering is not possible if widget is not GtkGLArea widget or widget is not realized. gtk_gl_area_endgl is called to end opengl rendering.

The GtkGLArea widget is derived from GtkDrawingArea widget. For an example, see examples/simple.c as a good starting point.

LIBRARY USE

Use -lgtkgl as a flag to the loader.

SEE ALSO

gtk_gl_area_make_current(3) gtk_gl_area_endgl(3)

AUTHORS

The author of the GTKGLArea library is Janne Löf.

This manpage was created by Morten Kjeldgaard for the Debian project