- width
GLfloat width;
Undocumented in source.
- height
GLfloat height;
Undocumented in source.
- getGLWidth
GLfloat getGLWidth()
Undocumented in source. Be warned that the author may not have intended to support it.
- getGLHeight
GLfloat getGLHeight()
Undocumented in source. Be warned that the author may not have intended to support it.
- setGLCapability
bool setGLCapability(GLConfig glConfig, int renderType)
Sets the GL capabilities for the widget
- setGLCapability
bool setGLCapability(Widget widget, GLConfig glConfig, GLContext shareList, bool direct, int renderType)
Set the GL capabilities for the widget
- drawFrame
bool drawFrame()
The widget should use this method to redraw it self at any time
- alreadyRealized
bool alreadyRealized;
Undocumented in source.
- getAlreadyRealized
bool getAlreadyRealized()
Undocumented in source. Be warned that the author may not have intended to support it.
- realizeFrame
void realizeFrame(Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawFrame
bool drawFrame(Context cr, Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- configureFrame
bool configureFrame(Event event, Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- mapFrame
void mapFrame(Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- unmapFrame
void unmapFrame(Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- visibilityFrame
bool visibilityFrame(Event event, Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
- onMap
void onMap()
Undocumented in source. Be warned that the author may not have intended to support it.
- onUnmap
void onUnmap()
Undocumented in source. Be warned that the author may not have intended to support it.
- onVisibility
bool onVisibility(Event event)
Undocumented in source. Be warned that the author may not have intended to support it.
This is a Simple class extending the DrawingArea widget. A really simple Demo illustrating OpenGL with GtkD It uses the GLCapability mixin to add the GL capabilities to the widget. This example is provided under the terms of the GPL License. Note the initialization of the GLCapabilities on the constructor.
@author pac@tuxfamily.org