on-configure ( sender event user-data -- result )


Vocabulary
gtk-samples.opengl

Inputs and outputs
senderan object
eventan object
user-dataan object
resultan object


Definition


:: on-configure ( sender event user-data -- result )
sender gtk_widget_get_gl_context :> gl-context sender
gtk_widget_get_gl_window :> gl-drawable gl-drawable
gl-context gdk_gl_drawable_gl_begin dup [
0 0 200 200 glViewport
gl-drawable gdk_gl_drawable_gl_end
] when ;