- 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(Scoped!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