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(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()
Undocumented in source. Be warned that the author may not have intended to support it.
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.

Meta