ShapesGL

A GL toggle button

Constructors

this
this(TestGL testGL)
Undocumented in source.

Members

Functions

activateItemCallback
void activateItemCallback(MenuItem menuItem)
Undocumented in source. Be warned that the author may not have intended to support it.
addIdle
void addIdle()
Undocumented in source. Be warned that the author may not have intended to support it.
createPopupMenu
Menu createPopupMenu()
Undocumented in source. Be warned that the author may not have intended to support it.
drawGL
bool drawGL()
Undocumented in source. Be warned that the author may not have intended to support it.
idleCallback
bool idleCallback()
Undocumented in source. Be warned that the author may not have intended to support it.
initGL
void initGL()
Undocumented in source. Be warned that the author may not have intended to support it.
mapCallback
void mapCallback(Widget drawable)
Undocumented in source. Be warned that the author may not have intended to support it.
motionNotifyCallback
bool motionNotifyCallback(Event event, Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
mouseButtonPressCallback
bool mouseButtonPressCallback(Event event, Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
mouseButtonReleaseCallback
bool mouseButtonReleaseCallback(Event event, Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
removeIdle
void removeIdle()
Undocumented in source. Be warned that the author may not have intended to support it.
resizeGL
bool resizeGL(Event e)
Undocumented in source. Be warned that the author may not have intended to support it.
toggleAnimation
void toggleAnimation()
Undocumented in source. Be warned that the author may not have intended to support it.
unmapCallback
void unmapCallback(Widget drawable)
Undocumented in source. Be warned that the author may not have intended to support it.
visibilityCallback
bool visibilityCallback(Event e, Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin GLCapability

need to include the mixin to add GL capabilities to this widget

Variables

animate
bool animate;
Undocumented in source.
begin_x
float begin_x;
Undocumented in source.
begin_y
float begin_y;
Undocumented in source.
dx
float dx;
Undocumented in source.
dy
float dy;
Undocumented in source.
height
GLfloat height;
Undocumented in source.
mainIdle
Idle mainIdle;
Undocumented in source.
menu
Menu menu;
Undocumented in source.
testGL
TestGL testGL;
Undocumented in source.
width
GLfloat width;
Undocumented in source.

Mixed In Members

From mixin GLCapability

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.

Inherited Members

From DrawingArea

gtkDrawingArea
GtkDrawingArea* gtkDrawingArea;

the main Gtk struct

getDrawingAreaStruct
GtkDrawingArea* getDrawingAreaStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
getType
GType getType()

Meta