gtk_gl_area_make_current

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME gtk_gl_area_make_current - prepare rendering in widget

SYNOPSIS

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

DESCRIPTION

gtk_gl_area_make_current 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.

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

AUTHORS

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

This manpage was created by Morten Kjeldgaard for the Debian project