OpenGLContext.fxcontext
index
p:\openglcontext\fxcontext.py

FXPy context functionality based on gltest.py [LGPL, UNFINISHED]
 
Adapted from Lyle Johnson's gltest.py in the FXPy distribution.
As a result, this module is LGPL'd (as differentiated from the
bulk of PyOpenGL, which is BSD licensed).  See FXPy for license
details.

 
Modules
            
Numeric
containersc
OpenGLContext.context
controlsc
dialogsc
dirlistc
FXPy.fox
fox3dc
FXPy.foxc
OpenGLContext.events.fxevents
graphicsc
iconlistc
mdic
menusc
miscc
tablec
textc
traceback
treelistc
windowsc
 
Classes
            
Context
FXContext(FXMainWindow, EventHandlerMixin, Context)
EventHandlerMixin(EventHandlerMixin)
FXContext(FXMainWindow, EventHandlerMixin, Context)
FXMainWindow(FXMainWindowPtr)
FXContext(FXMainWindow, EventHandlerMixin, Context)
 
class FXContext(FXMainWindow, EventHandlerMixin, Context)
      # Test for OpenGL
 
  
Method resolution order:
FXContext
FXMainWindow
FXMainWindowPtr
FX_MainWindowPtr
FX_TopWindowPtr
FX_ShellPtr
FX_CompositePtr
FX_WindowPtr
FX_DrawablePtr
FX_IdPtr
FX_ObjectPtr
EventHandlerMixin
EventHandlerMixin
Context

Methods defined here:
SwapBuffers(self)
__init__(self, app)
# Constructor
create(self)
# Create and initialize
fxOnConfigure(self, sender, sel, ptr)
# Widget was resized
fxOnExpose(self, sender, sel, ptr)
# Expose
setCurrent(self)
setupCallbacks(self)
unsetCurrent(self)

Data and non-method functions defined here:
ID_CANVAS = 53
__doc__ = None
__module__ = 'OpenGLContext.fxcontext'

Methods inherited from FXMainWindowPtr:
__repr__(self)
canFocus(self, *_args, **_kwargs)
contains(self, *_args, **_kwargs)
deiconify(self, *_args, **_kwargs)
destroy(self, *_args, **_kwargs)
detach(self, *_args, **_kwargs)
disable(self, *_args, **_kwargs)
doesSaveUnder(self, *_args, **_kwargs)
enable(self, *_args, **_kwargs)
getDefaultHeight(self, *_args, **_kwargs)
getDefaultWidth(self, *_args, **_kwargs)
getHeightForWidth(self, *_args, **_kwargs)
getWidthForHeight(self, *_args, **_kwargs)
hide(self, *_args, **_kwargs)
iconify(self, *_args, **_kwargs)
isComposite(self, *_args, **_kwargs)
killFocus(self, *_args, **_kwargs)
layout(self, *_args, **_kwargs)
lower(self, *_args, **_kwargs)
move(self, *_args, **_kwargs)
onDefault(self, *_args, **_kwargs)
position(self, *_args, **_kwargs)
recalc(self, *_args, **_kwargs)
reparent(self, *_args, **_kwargs)
resize(self, *_args, **_kwargs)
setBackColor(self, *_args, **_kwargs)
setDefault(self, *_args, **_kwargs)
setFocus(self, *_args, **_kwargs)
show(self, *_args, **_kwargs)
show2(self, *_args, **_kwargs)

Methods inherited from FX_MainWindowPtr:
onClose(self, *_args, **_kwargs)

Methods inherited from FX_TopWindowPtr:
getDecorations(self, *_args, **_kwargs)
getHSpacing(self, *_args, **_kwargs)
getIcon(self, *_args, **_kwargs)
getMiniIcon(self, *_args, **_kwargs)
getPackingHints(self, *_args, **_kwargs)
getPadBottom(self, *_args, **_kwargs)
getPadLeft(self, *_args, **_kwargs)
getPadRight(self, *_args, **_kwargs)
getPadTop(self, *_args, **_kwargs)
getTitle(self, *_args, **_kwargs)
getVSpacing(self, *_args, **_kwargs)
isIconified(self, *_args, **_kwargs)
onCmdDeiconify(self, *_args, **_kwargs)
onCmdIconify(self, *_args, **_kwargs)
onCmdSetStringValue(self, *_args, **_kwargs)
onFocusDown(self, *_args, **_kwargs)
onFocusLeft(self, *_args, **_kwargs)
onFocusRight(self, *_args, **_kwargs)
onFocusUp(self, *_args, **_kwargs)
place(self, *_args, **_kwargs)
setDecorations(self, *_args, **_kwargs)
setHSpacing(self, *_args, **_kwargs)
setIcon(self, *_args, **_kwargs)
setMiniIcon(self, *_args, **_kwargs)
setPackingHints(self, *_args, **_kwargs)
setPadBottom(self, *_args, **_kwargs)
setPadLeft(self, *_args, **_kwargs)
setPadRight(self, *_args, **_kwargs)
setPadTop(self, *_args, **_kwargs)
setTitle(self, *_args, **_kwargs)
setVSpacing(self, *_args, **_kwargs)

Data and non-method functions inherited from FX_TopWindowPtr:
ID_DEICONIFY = 51
ID_ICONIFY = 50
ID_LAST = 53
ID_QUERY_DOCK = 52

Methods inherited from FX_ShellPtr:
onConfigure(self, *_args, **_kwargs)
onFocusNext(self, *_args, **_kwargs)
onFocusPrev(self, *_args, **_kwargs)
onKeyPress(self, *_args, **_kwargs)
onKeyRelease(self, *_args, **_kwargs)

Methods inherited from FX_CompositePtr:
maxChildHeight(self, *_args, **_kwargs)
maxChildWidth(self, *_args, **_kwargs)
onCmdUpdate(self, *_args, **_kwargs)

Methods inherited from FX_WindowPtr:
acceptDrop(self, *_args, **_kwargs)
acquireClipboard(self, *_args, **_kwargs)
acquireSelection(self, *_args, **_kwargs)
addHotKey(self, *_args, **_kwargs)
beginDrag(self, *_args, **_kwargs)
childAtIndex(self, *_args, **_kwargs)
clearDragRectangle(self, *_args, **_kwargs)
containsChild(self, *_args, **_kwargs)
didAccept(self, *_args, **_kwargs)
dropDisable(self, *_args, **_kwargs)
dropEnable(self, *_args, **_kwargs)
endDrag(self, *_args, **_kwargs)
forceRefresh(self, *_args, **_kwargs)
getAccelTable(self, *_args, **_kwargs)
getBackColor(self, *_args, **_kwargs)
getChildAt(self, *_args, **_kwargs)
getCursorPosition(self, *_args, **_kwargs)
getDNDData(self, *_args, **_kwargs)
getDefaultCursor(self, *_args, **_kwargs)
getDragCursor(self, *_args, **_kwargs)
getFirst(self, *_args, **_kwargs)
getFocus(self, *_args, **_kwargs)
getKey(self, *_args, **_kwargs)
getLast(self, *_args, **_kwargs)
getLayoutHints(self, *_args, **_kwargs)
getNext(self, *_args, **_kwargs)
getOwner(self, *_args, **_kwargs)
getParent(self, *_args, **_kwargs)
getPrev(self, *_args, **_kwargs)
getRoot(self, *_args, **_kwargs)
getSelector(self, *_args, **_kwargs)
getShell(self, *_args, **_kwargs)
getTarget(self, *_args, **_kwargs)
getX(self, *_args, **_kwargs)
getY(self, *_args, **_kwargs)
grab(self, *_args, **_kwargs)
grabKeyboard(self, *_args, **_kwargs)
grabbed(self, *_args, **_kwargs)
grabbedKeyboard(self, *_args, **_kwargs)
handleDrag(self, *_args, **_kwargs)
hasClipboard(self, *_args, **_kwargs)
hasFocus(self, *_args, **_kwargs)
hasSelection(self, *_args, **_kwargs)
indexOfChild(self, *_args, **_kwargs)
inquireDNDAction(self, *_args, **_kwargs)
inquireDNDTypes(self, *_args, **_kwargs)
isActive(self, *_args, **_kwargs)
isChildOf(self, *_args, **_kwargs)
isDefault(self, *_args, **_kwargs)
isDragging(self, *_args, **_kwargs)
isDropEnabled(self, *_args, **_kwargs)
isDropTarget(self, *_args, **_kwargs)
isEnabled(self, *_args, **_kwargs)
isInitial(self, *_args, **_kwargs)
isShell(self, *_args, **_kwargs)
linkAfter(self, *_args, **_kwargs)
linkBefore(self, *_args, **_kwargs)
numChildren(self, *_args, **_kwargs)
offeredDNDType(self, *_args, **_kwargs)
onBeginDrag(self, *_args, **_kwargs)
onClipboardGained(self, *_args, **_kwargs)
onClipboardLost(self, *_args, **_kwargs)
onClipboardRequest(self, *_args, **_kwargs)
onCmdDelete(self, *_args, **_kwargs)
onCmdDisable(self, *_args, **_kwargs)
onCmdEnable(self, *_args, **_kwargs)
onCmdHide(self, *_args, **_kwargs)
onCmdLower(self, *_args, **_kwargs)
onCmdRaise(self, *_args, **_kwargs)
onCmdShow(self, *_args, **_kwargs)
onCmdToggleShown(self, *_args, **_kwargs)
onDNDDrop(self, *_args, **_kwargs)
onDNDEnter(self, *_args, **_kwargs)
onDNDLeave(self, *_args, **_kwargs)
onDNDMotion(self, *_args, **_kwargs)
onDNDRequest(self, *_args, **_kwargs)
onDestroy(self, *_args, **_kwargs)
onDragged(self, *_args, **_kwargs)
onEndDrag(self, *_args, **_kwargs)
onEnter(self, *_args, **_kwargs)
onFocusIn(self, *_args, **_kwargs)
onFocusOut(self, *_args, **_kwargs)
onFocusSelf(self, *_args, **_kwargs)
onLeave(self, *_args, **_kwargs)
onLeftBtnPress(self, *_args, **_kwargs)
onLeftBtnRelease(self, *_args, **_kwargs)
onMap(self, *_args, **_kwargs)
onMiddleBtnPress(self, *_args, **_kwargs)
onMiddleBtnRelease(self, *_args, **_kwargs)
onMotion(self, *_args, **_kwargs)
onMouseWheel(self, *_args, **_kwargs)
onPaint(self, *_args, **_kwargs)
onRightBtnPress(self, *_args, **_kwargs)
onRightBtnRelease(self, *_args, **_kwargs)
onSelectionGained(self, *_args, **_kwargs)
onSelectionLost(self, *_args, **_kwargs)
onSelectionRequest(self, *_args, **_kwargs)
onUngrabbed(self, *_args, **_kwargs)
onUnmap(self, *_args, **_kwargs)
onUpdToggleShown(self, *_args, **_kwargs)
onUpdYes(self, *_args, **_kwargs)
onUpdate(self, *_args, **_kwargs)
releaseClipboard(self, *_args, **_kwargs)
releaseSelection(self, *_args, **_kwargs)
remHotKey(self, *_args, **_kwargs)
repaint(self, *_args, **_kwargs)
repaint2(self, *_args, **_kwargs)
scroll(self, *_args, **_kwargs)
setAccelTable(self, *_args, **_kwargs)
setCursorPosition(self, *_args, **_kwargs)
setDNDData(self, *_args, **_kwargs)
setDefaultCursor(self, *_args, **_kwargs)
setDragCursor(self, *_args, **_kwargs)
setDragRectangle(self, *_args, **_kwargs)
setHeight(self, *_args, **_kwargs)
setInitial(self, *_args, **_kwargs)
setKey(self, *_args, **_kwargs)
setLayoutHints(self, *_args, **_kwargs)
setSelector(self, *_args, **_kwargs)
setTarget(self, *_args, **_kwargs)
setWidth(self, *_args, **_kwargs)
setX(self, *_args, **_kwargs)
setY(self, *_args, **_kwargs)
shown(self, *_args, **_kwargs)
translateCoordinatesFrom(self, *_args, **_kwargs)
translateCoordinatesTo(self, *_args, **_kwargs)
underCursor(self, *_args, **_kwargs)
ungrab(self, *_args, **_kwargs)
ungrabKeyboard(self, *_args, **_kwargs)
update(self, *_args, **_kwargs)
update2(self, *_args, **_kwargs)

Data and non-method functions inherited from FX_WindowPtr:
ID_ACCEL = 31
ID_AUTOSCROLL = 13
ID_CHECK = 10
ID_CLOSE_ALL_DOCUMENTS = 49
ID_CLOSE_DOCUMENT = 48
ID_DELETE = 6
ID_DISABLE = 7
ID_ENABLE = 8
ID_GETINTRANGE = 25
ID_GETINTVALUE = 22
ID_GETREALRANGE = 26
ID_GETREALVALUE = 23
ID_GETSTRINGVALUE = 24
ID_HIDE = 1
ID_HOTKEY = 30
ID_HSCROLLED = 14
ID_LOWER = 4
ID_MDI_CASCADE = 36
ID_MDI_CLOSE = 40
ID_MDI_MAXIMIZE = 37
ID_MDI_MENUCLOSE = 45
ID_MDI_MENUMINIMIZE = 43
ID_MDI_MENURESTORE = 44
ID_MDI_MENUWINDOW = 42
ID_MDI_MINIMIZE = 38
ID_MDI_NEXT = 46
ID_MDI_PREV = 47
ID_MDI_RESTORE = 39
ID_MDI_TILEHORIZONTAL = 34
ID_MDI_TILEVERTICAL = 35
ID_MDI_WINDOW = 41
ID_NONE = 0
ID_POST = 33
ID_QUERY_HELP = 28
ID_QUERY_MENU = 29
ID_QUERY_TIP = 27
ID_RAISE = 5
ID_SETINTRANGE = 20
ID_SETINTVALUE = 17
ID_SETREALRANGE = 21
ID_SETREALVALUE = 18
ID_SETSTRINGVALUE = 19
ID_SETVALUE = 16
ID_SHOW = 2
ID_TOGGLESHOWN = 3
ID_UNCHECK = 9
ID_UNKNOWN = 11
ID_UNPOST = 32
ID_UPDATE = 12
ID_VSCROLLED = 15

Methods inherited from FX_DrawablePtr:
getHeight(self, *_args, **_kwargs)
getVisual(self, *_args, **_kwargs)
getWidth(self, *_args, **_kwargs)
setVisual(self, *_args, **_kwargs)

Methods inherited from FX_IdPtr:
getApp(self, *_args, **_kwargs)
getUserData(self, *_args, **_kwargs)
id(self, *_args, **_kwargs)
setUserData(self, *_args, **_kwargs)

Methods inherited from FX_ObjectPtr:
_search(self, key)
getClassName(self, *_args, **_kwargs)
handle(self, *_args, **_kwargs)
load(self, *_args, **_kwargs)
save(self, *_args, **_kwargs)

Methods inherited from EventHandlerMixin:
fxOnCharacter(self, event)
Convert character (non-control) press to context event
fxOnKeyDown(self, event)
Convert a key-press to a context-style event
fxOnKeyUp(self, event)
Convert a key-press to a context-style event
fxOnMouseButton(self, canvas, ID, event)
### MOUSE Interaction
fxOnMouseMove(self, canvas, ID, event)

Methods inherited from EventHandlerMixin:
DoEventCascade(self)
Do pre-rendering event cascade
 
Returns the total number of events generated by
timesensors and/or processed from the event cascade queue
ProcessEvent(self, event)
Primary dispatch point for events.
 
ProcessEvent uses the event's type attribute to determine the
appropriate manager for processing, then dispatches to that manager's
ProcessEvent method.
addEventHandler(self, eventType, *arguments, **namedarguments)
Add a new event handler function for the given event type
 
This is the primary client API for dealing with the event system.
Each event class will define a particular set of data values
required to form the routing key for the event.  Each event handler
class will define a registerCallback function which converts
its arguments into a matching key.
 
This function merely determines the appropriate handler then
dispatches to the handler's registerCallback method (without the
eventType argument).
 
See: mouseevents, keyboardevents
addEventManager(self, eventType, manager=None)
Add an event manager to the internal table of managers.
 
The return value is the previous manager or None if there was
no previous manager.
captureEvents(self, eventType, manager=None)
Temporarily capture events of a particular type.
 
This temporarily replaces a particular manager within the
dispatch set with provided manager.  This will normally be
used to create "modal" interfaces such as active drag
functions (where the interface is in a different "interaction
mode", so that actions have different meaning than in the
"default mode").
 
Passing None as the manager will restore the previous manager
to functioning.
 
Note: this function does not perform a "system capture"
of input (that is, mouse movements are only available if they
occur over the context's window and that window has focus).
 
Note: for capturing mouse input, you will likely want to
capture both movement and button events, it should be possible
to define a single handler to deal with both event types,
and pass that handler twice, once for each event type.
getEventManager(self, eventType)
Retrieve an event manager from the internal table of managers
 
Returns the appropriate manager, or None if there was no
manager registered for the given event type.
getTimeManager(self)
initializeEventManagers(self)
Initialize the event manager classes for this context.
 
This implementation iterates over self.EventManagerClasses
(a list of (eventType, managerClass) values) and calls
addEventManager for each item.

Data and non-method functions inherited from EventHandlerMixin:
EventManagerClasses = []
TimeManagerClass = None

Methods inherited from Context:
Background(self, mode=None)
Customization point for clearing/drawing the background.
 
The default implementation clears the color and depth
buffers, using solid white for the clear color.
 
Note: This method is only called if there is no scene graph,
and if there is no SetupBindables( mode ) method
available on the Context.
DoInit(self)
Call the OnInit method at a time when the context is valid
 
This method provides a customization point where
contexts which do not completely initialize during
their __init__ method can arrange to have the OnInit
method processed after their initialization has
completed.  The default implementation here simply
calls OnInit directly w/ appropriate setCurrent
and unsetCurrent calls.
 
Note:
        The only context currently known to require
        this customization is the wxPython-on-GTK context,
        everything else completes context initialization
        before calling Context.__init__.
Lights(self, mode=None)
Customization point for setting up global illumination parameters
Depending on the mode, should either enable or disable
lighting for all of those lights in the scene.
 
The default implementation enables lighting and light 0
if render mode is not select, disables them otherwise.
 
Note: This method is only called if there is no scene graph,
and if there is no SetupBindables( mode ) method
available on the Context.
OnDraw(self, force=1, *arguments)
Callback for the rendering/drawing mechanism
 
force -- if true, force a redraw.  If false, then only
        do a redraw if the event cascade has generated events.
 
return value is whether a visible change occured
 
This implementation does the following:
 
        * calls lockScenegraph()
                o calls DoEventCascade()
        * calls unlockScenegraph()
        * calls setCurrent()
        * calls renderPasses( self )
                See: visitor.py, rendervisitor.py, renderpass.py,
                shadow/passes.py for examples of render-pass-sets
                which can be triggered.
 
                The RenderPasses define the core of the rendering
                mechanism.  The default rendering passes will defer
                most rendering options to the scenegraph returned by
                getSceneGraph().  If that value is None (default)
                then the pass will use the Context's callbacks.
 
                You can define new RenderPasses to replace the
                rendering algorithm, override the Context's various
                callbacks to write raw OpenGL code, or work by
                customizing the scene graph library.
        * if there was a visible change (which is the return value
                from the render-pass-set), calls SwapBuffers()
        * calls unsetCurrent()
OnIdle(self, *arguments)
 Override to perform actions when the rendering loop is idle
OnInit(self)
Customization point for scene set up and initial processing
 
You override this method to do housekeeping chores such as
loading images and generating textures, loading pre-established
geometry, spawning new threads, etc.
 
This method is called after the completion of the Context.__init__
method for the rendering context.  GUI implementers:
        Wherever possible, this should be the very last function
        called in the initialization of the context to allow user
        code to use all the functionality of the context.
OnResize(self, *arguments)
Resize the window when the windowing library says to
Render(self, mode=None)
Customization point for geometry rendering
 
This method is called by the default render passes to
render the geometry for the system.  Wherever possible,
you should pay attention to the rendering modes to allow
for optimization of your geometry (for instance,
selection passes do not require lighting).
 
The default implementation merely ensures that matrix mode
is currently model view.
 
See: visitor.py, rendervisitor.py, renderpass.py,
shadow/passes.py for definitions of the properties of the
mode.
ViewPort(self, width, height)
Set the size of the OpenGL rendering viewport for the context
 
This implementation assumes that the context takes up the entire
underlying window (i.e. that it starts at 0,0 and that width, height
will represent the entire size of the window).
Viewpoint(self, mode=None)
Customization point for setting up the projection matrix
 
The default implementation calls glFrustrum with fairly
generic values to establish a camera similar to a 35mm.
 
Note: Most real-world contexts use a ViewPlatformMixin
sub-class of Context, which uses a ViewPlatform object to
manage the viewpoint set up, so the default implementation
is seldom used.
 
Note: This method is currently called by just about every
rendering pass set regardless of whether there is a scene
graph (the scene graph rendering code doesn't yet have
camera support, so it simply calls this method).  However,
if you define a SetupBindables( mode ) method on your
Context this customization point will not be called.
 
Eventually the scene graph may grow its own camera handling
code, at which point it will probably stop calling this
customization point.
addPickEvent(self, event)
Add event to list of events to be processed by selection-render-mode
 
This is a method of the Context, rather than the
rendering pass (which might seem more elegant given
that it is the rendering pass which deals with the
events being registered) because the requests to
render a pick event occur outside of the rendering
loop.  As a result, there is (almost) never an
active context when the pick-event-request comes in.
drawPoll(self, timeout=None)
Wait timeout seconds for a redraw request
 
timeout -- timeout in seconds, if None, use
        self.drawPollTimeout
 
returns 0 if timeout, 1 if true
getPickEvents(self)
Get the currently active pick-events
getSceneGraph(self)
Get the scene graph for the context (or None)
 
Overriding this method is the primary customization
point for those wishing to use the scene graph APIs
of OpenGLContext.  You must return an instance of:
 
        OpenGLContext.scenegraph.scenegraph.SceneGraph
 
Normally you would create that using either a loader
from OpenGLContext.loader:
 
        from OpenGLContext.loader import vrml97
        def OnInit( self ):
                self.sg = vrml97.load( 'c:\somefile\world.wrl' )
        def getSceneGraph( self ):
                return self.sg
 
or by using the classes in OpenGLContext.scenegraph.basenodes:
 
        from OpenGLContext.scenegraph import basenodes
        def OnInit( self ):
                self.sg = basenodes.sceneGraph(
                        children = [
                                basenodes.Transform(...)
                        ],
                )
 
to define the scenegraph in Python code.
getTTFFiles(self)
Get TrueType font-file registry object
getViewPort(self)
Method to retrieve the current dimensions of the context
 
Return value is a width, height tuple. See Context.ViewPort
for setting of this value.
lockScenegraph(self, blocking=1)
Lock scenegraph locks to prevent other update/rendering actions
 
Potentially this could be called from a thread other than the
GUI thread, allowing the other thread to update structures in
the scenegraph without mucking up any active rendering pass.
renderedChildren(self, types=None)
Get the rendered children of the scenegraph
setupCache(self)
Setup caching strutures for content
 
This includes the general compiled-geometry caches
and the texture cache
setupDefaultEventCallbacks(self)
Setup common callbacks for the context
 
This will normally be done in the GUI-lib's sub-class of
context.  You might override it to provide other default
callbacks, but you'll normally want to call the base-class
implementation somewhere in that overridden method.
setupExtensionManager(self)
Create an extension manager for this context
setupFontProviders(self)
Load font providers for the context
 
See the OpenGLContext.scenegraph.text package for the
available font providers.
setupRedrawRequest(self)
Setup the redraw-request (threading) event
setupScenegraphLock(self)
Setup lock to protect scenegraph from updates during rendering
setupThreading(self)
Setup primitives (locks, events) for threading
shouldRedraw(self)
Return whether or not the context contents need to be redrawn
suppressRedraw(self)
Indicate to the context that there is no need to re-render
 
This method signals to the context that there are no updates
currently requiring redrawing of the context's contents.
 
See:
        Context.shouldRedraw and Context.triggerRedraw
triggerPick(self)
Trigger a selection rendering pass
 
If the context is not currently drawing, the selection render will
occur immediately, otherwise it will occur the next time the
rendering loop reaches the selection stage.
triggerRedraw(self, force=0)
Indicate to the context that it should redraw when possible
 
If force is true, the rendering will begin immediately if the
context is not already drawing.  Otherwise only the indicator flag
will be set.
unlockScenegraph(self)
Unlock scenegraph locks to allow other update/rendering actions
 
Potentially this could be called from a thread other than the
GUI thread, allowing the other thread to update structures in
the scenegraph without mucking up any active rendering pass.

Class methods inherited from Context:
getApplicationName(cls) from __builtin__.class
Retrieve the application name for configuration purposes
getUserAppDataDirectory(cls) from __builtin__.class
Retrieve user-specific configuration directory
 
Default implementation gives a directory-name in the
user's (system-specific) "application data" directory
named

Data and non-method functions inherited from Context:
APPLICATION_NAME = 'OpenGLContext'
DEF = '#Context'
PROTO = 'Context'
allContexts = []
alreadyDrawn = None
currentContext = None
drawPollTimeout = 0.01
drawing = None
renderPasses = [<class 'OpenGLContext.renderpass.OpaqueRenderPa...ass 'OpenGLContext.renderpass.SelectRenderPass'>]
Callable list of sub-passes with associated OverallPass
 
The PassSet is called once per render-cycle,
and is responsible for creating the OverallPass
which does the actual rendering.  It simply
creates the OverallPass with the given sub-passes
and calls the OverallPass, returning the result.
ttfFileRegistry = None
viewportDimensions = (0, 0)
 
Functions
            
FXALPHAVAL(...)
FXBITREVERSE(...)
FXBLUEVAL(...)
FXGREENVAL(...)
FXPyRegister(...)
FXPySetDict(...)
FXREDVAL(...)
FXRGB(...)
FXRGBA(...)
FXRGBACOMPVAL(...)
FX_DirList_cmpFName(...)
FX_DirList_cmpRName(...)
FX_FileDialog_getOpenDirectory(...)
FX_FileDialog_getOpenFilename(...)
FX_FileDialog_getOpenFilenames(...)
FX_FileDialog_getSaveFilename(...)
FX_InputDialog_getInteger(...)
FX_InputDialog_getReal(...)
FX_InputDialog_getString(...)
FX_Stream_isLittleEndian(...)
MKUINT(...)
SELID(...)
SELTYPE(...)
fxcolorfromname(...)
fxfilematch(...)
fxfindhotkeyoffset(...)
fxgetgroupname(...)
fxgetpermissions(...)
fxgetpid(...)
fxgetusername(...)
fxhsv_to_rgb(...)
fxparseaccel(...)
fxparsefontdesc(...)
fxparsehotkey(...)
fxrgb_to_hsv(...)
fxsleep(...)
fxstrhash(...)
fxunparsefontdesc(...)
makeHiliteColor(...)
makeShadowColor(...)
setErrorObject(...)
showModalErrorBox(...)
showModalInformationBox(...)
showModalQuestionBox(...)
showModalWarningBox(...)
 
Data
             ALTMASK = 8
ARROW_AUTOGRAY = 16777216
ARROW_AUTOHIDE = 33554432
ARROW_DOWN = 1048576
ARROW_LEFT = 2097152
ARROW_NONE = 0
ARROW_NORMAL = 548864
ARROW_REPEAT = 8388608
ARROW_RIGHT = 4194304
ARROW_TOOLBAR = 67108864
ARROW_UP = 524288
BITMAP_KEEP = 1
BITMAP_OWNED = 2
BITMAP_SHMI = 32
BITMAP_SHMP = 64
BLT_CLR = 0
BLT_DST = 5
BLT_NOT_DST = 10
BLT_NOT_SRC = 12
BLT_NOT_SRC_AND_DST = 4
BLT_NOT_SRC_AND_NOT_DST = 8
BLT_NOT_SRC_OR_DST = 13
BLT_NOT_SRC_OR_NOT_DST = 14
BLT_NOT_SRC_XOR_DST = 9
BLT_SET = 15
BLT_SRC = 3
BLT_SRC_AND_DST = 1
BLT_SRC_AND_NOT_DST = 2
BLT_SRC_OR_DST = 7
BLT_SRC_OR_NOT_DST = 11
BLT_SRC_XOR_DST = 6
BUTTON_AUTOGRAY = 8388608
BUTTON_AUTOHIDE = 16777216
BUTTON_DEFAULT = 67108864
BUTTON_INITIAL = 134217728
BUTTON_NORMAL = 1073152
BUTTON_TOOLBAR = 33554432
CAPSLOCKMASK = 2
CAP_BUTT = 1
CAP_NOT_LAST = 0
CAP_PROJECTING = 3
CAP_ROUND = 2
CHECKBUTTON_AUTOGRAY = 8388608
CHECKBUTTON_AUTOHIDE = 16777216
CHECKBUTTON_NORMAL = 1048576
COLORBAR_HORIZONTAL = 0
COLORBAR_VERTICAL = 32768
COLORWELL_NORMAL = 0
COLORWELL_OPAQUEONLY = 32768
COLORWELL_SOURCEONLY = 65536
COMBOBOX_INSERT_AFTER = 393216
COMBOBOX_INSERT_BEFORE = 262144
COMBOBOX_INSERT_FIRST = 524288
COMBOBOX_INSERT_LAST = 589824
COMBOBOX_NORMAL = 0
COMBOBOX_NO_REPLACE = 0
COMBOBOX_REPLACE = 131072
COMBOBOX_STATIC = 1048576
CONTROLMASK = 4
CROSSINGGRAB = 1
CROSSINGNORMAL = 0
CROSSINGUNGRAB = 2
CURSOR_ARROW = 1
CURSOR_CROSS = 5
CURSOR_IBEAM = 3
CURSOR_LEFTRIGHT = 7
CURSOR_MOVE = 8
CURSOR_RARROW = 2
CURSOR_UPDOWN = 6
CURSOR_WATCH = 4
DECOR_ALL = 16646144
DECOR_BORDER = 2097152
DECOR_CLOSE = 1048576
DECOR_MAXIMIZE = 524288
DECOR_MENU = 8388608
DECOR_MINIMIZE = 262144
DECOR_NONE = 0
DECOR_RESIZE = 4194304
DECOR_TITLE = 131072
DEFAULT_MARGIN = 2
DEFAULT_PAD = 2
DEFAULT_SPACING = 4
DEF_ARROW_CURSOR = 0
DEF_CORNERNE_CURSOR = 17
DEF_CORNERNW_CURSOR = 18
DEF_CORNERSE_CURSOR = 19
DEF_CORNERSW_CURSOR = 20
DEF_CROSSHAIR_CURSOR = 16
DEF_DNDCOPY_CURSOR = 13
DEF_DNDLINK_CURSOR = 15
DEF_DNDMOVE_CURSOR = 14
DEF_DNDSTOP_CURSOR = 12
DEF_DRAGBL_CURSOR = 11
DEF_DRAGBR_CURSOR = 10
DEF_DRAGH_CURSOR = 8
DEF_DRAGTL_CURSOR = 10
DEF_DRAGTR_CURSOR = 11
DEF_DRAGV_CURSOR = 9
DEF_HSPLIT_CURSOR = 3
DEF_MOVE_CURSOR = 7
DEF_RARROW_CURSOR = 1
DEF_ROTATE_CURSOR = 21
DEF_SWATCH_CURSOR = 6
DEF_TEXT_CURSOR = 2
DEF_VSPLIT_CURSOR = 4
DEF_XSPLIT_CURSOR = 5
DIAL_CYCLIC = 65536
DIAL_HAS_NOTCH = 131072
DIAL_HORIZONTAL = 32768
DIAL_NORMAL = 0
DIAL_VERTICAL = 0
DIRLIST_NO_OWN_ASSOC = 536870912
DIRLIST_SHOWFILES = 134217728
DIRLIST_SHOWHIDDEN = 268435456
DRAG_ACCEPT = 1
DRAG_COPY = 2
DRAG_LINK = 4
DRAG_MOVE = 3
DRAG_PRIVATE = 5
DRAG_REJECT = 0
EXP_ALWAYS = 1
EXP_AUTO = 2
EXP_NEVER = 0
FACECULLING_OFF = 0
FACECULLING_ON = 8
FILELIST_NO_OWN_ASSOC = 268435456
FILELIST_SHOWDIRS = 134217728
FILELIST_SHOWHIDDEN = 67108864
FILEMATCH_CASEFOLD = 16
FILEMATCH_FILE_NAME = 1
FILEMATCH_LEADING_DIR = 8
FILEMATCH_NOESCAPE = 2
FILEMATCH_PERIOD = 4
FILL_OPAQUESTIPPLED = 3
FILL_SOLID = 0
FILL_STIPPLED = 2
FILL_TILED = 1
FONTENCODING_ARABIC = 6
FONTENCODING_BALTIC = 13
FONTENCODING_CELTIC = 14
FONTENCODING_CYRILLIC = 5
FONTENCODING_DEFAULT = 0
FONTENCODING_EASTEUROPE = 2
FONTENCODING_GREEK = 7
FONTENCODING_HEBREW = 8
FONTENCODING_ISO_8859_1 = 1
FONTENCODING_ISO_8859_10 = 10
FONTENCODING_ISO_8859_11 = 11
FONTENCODING_ISO_8859_13 = 13
FONTENCODING_ISO_8859_14 = 14
FONTENCODING_ISO_8859_15 = 15
FONTENCODING_ISO_8859_16 = 16
FONTENCODING_ISO_8859_2 = 2
FONTENCODING_ISO_8859_3 = 3
FONTENCODING_ISO_8859_4 = 4
FONTENCODING_ISO_8859_5 = 5
FONTENCODING_ISO_8859_6 = 6
FONTENCODING_ISO_8859_7 = 7
FONTENCODING_ISO_8859_8 = 8
FONTENCODING_ISO_8859_9 = 9
FONTENCODING_KOI8 = 17
FONTENCODING_KOI8_R = 18
FONTENCODING_KOI8_U = 19
FONTENCODING_KOI8_UNIFIED = 20
FONTENCODING_LATIN1 = 1
FONTENCODING_LATIN10 = 16
FONTENCODING_LATIN2 = 2
FONTENCODING_LATIN3 = 3
FONTENCODING_LATIN4 = 4
FONTENCODING_LATIN5 = 9
FONTENCODING_LATIN6 = 10
FONTENCODING_LATIN7 = 13
FONTENCODING_LATIN8 = 14
FONTENCODING_LATIN9 = 15
FONTENCODING_NORDIC = 10
FONTENCODING_NORTHEUROPE = 4
FONTENCODING_RUSSIAN = 17
FONTENCODING_SOUTHEUROPE = 3
FONTENCODING_THAI = 11
FONTENCODING_TURKISH = 9
FONTENCODING_USASCII = 1
FONTENCODING_WESTEUROPE = 1
FONTHINT_DECORATIVE = 4
FONTHINT_DONTCARE = 0
FONTHINT_MODERN = 8
FONTHINT_POLYMORPHIC = 1024
FONTHINT_ROMAN = 16
FONTHINT_SCALABLE = 512
FONTHINT_SCRIPT = 32
FONTHINT_SWISS = 64
FONTHINT_SYSTEM = 128
FONTHINT_X11 = 256
FONTPITCH_DEFAULT = 0
FONTPITCH_FIXED = 1
FONTPITCH_VARIABLE = 2
FONTSETWIDTH_COMPRESSED = 30
FONTSETWIDTH_CONDENSED = 30
FONTSETWIDTH_DONTCARE = 0
FONTSETWIDTH_EXPANDED = 70
FONTSETWIDTH_EXTRACONDENSED = 20
FONTSETWIDTH_EXTRAEXPANDED = 80
FONTSETWIDTH_MEDIUM = 50
FONTSETWIDTH_NARROW = 30
FONTSETWIDTH_NORMAL = 50
FONTSETWIDTH_REGULAR = 50
FONTSETWIDTH_SEMICONDENSED = 40
FONTSETWIDTH_SEMIEXPANDED = 60
FONTSETWIDTH_ULTRACONDENSED = 10
FONTSETWIDTH_ULTRAEXPANDED = 90
FONTSETWIDTH_WIDE = 80
FONTSLANT_DONTCARE = 0
FONTSLANT_ITALIC = 2
FONTSLANT_OBLIQUE = 3
FONTSLANT_REGULAR = 1
FONTSLANT_REVERSE_ITALIC = 4
FONTSLANT_REVERSE_OBLIQUE = 5
FONTWEIGHT_BLACK = 900
FONTWEIGHT_BOLD = 700
FONTWEIGHT_DEMIBOLD = 600
FONTWEIGHT_DONTCARE = 0
FONTWEIGHT_EXTRABOLD = 800
FONTWEIGHT_EXTRALIGHT = 200
FONTWEIGHT_HEAVY = 900
FONTWEIGHT_LIGHT = 300
FONTWEIGHT_MEDIUM = 500
FONTWEIGHT_NORMAL = 400
FONTWEIGHT_REGULAR = 400
FONTWEIGHT_THIN = 100
FOURSPLITTER_NORMAL = 0
FOURSPLITTER_TRACKING = 32768
FRAME_GROOVE = 16384
FRAME_LINE = 12288
FRAME_NONE = 0
FRAME_NORMAL = 20480
FRAME_RAISED = 8192
FRAME_RIDGE = 28672
FRAME_SUNKEN = 4096
FRAME_THICK = 16384
FROM_CLIPBOARD = 1
FROM_DRAGNDROP = 2
FROM_SELECTION = 0
FXStreamAlloc = 7
FXStreamDead = 0
FXStreamEnd = 1
FXStreamFormat = 5
FXStreamFull = 2
FXStreamLoad = 2
FXStreamNoRead = 4
FXStreamNoWrite = 3
FXStreamOK = 0
FXStreamSave = 1
FXStreamUnknown = 6
GROUPBOX_NORMAL = 0
GROUPBOX_TITLE_CENTER = 131072
GROUPBOX_TITLE_LEFT = 0
GROUPBOX_TITLE_RIGHT = 262144
HEADER_BUTTON = 32768
HEADER_HORIZONTAL = 0
HEADER_NORMAL = 20480
HEADER_TRACKING = 131072
HEADER_VERTICAL = 65536
HSCROLLER_ALWAYS = 32768
HSCROLLER_NEVER = 65536
HSCROLLING_OFF = 98304
HSCROLLING_ON = 0
ICONLIST_AUTOSIZE = 4194304
ICONLIST_BIG_ICONS = 16777216
ICONLIST_BROWSESELECT = 2097152
ICONLIST_COLUMNS = 33554432
ICONLIST_DETAILED = 0
ICONLIST_EXTENDEDSELECT = 0
ICONLIST_MINI_ICONS = 8388608
ICONLIST_MULTIPLESELECT = 3145728
ICONLIST_NORMAL = 0
ICONLIST_ROWS = 0
ICONLIST_SINGLESELECT = 1048576
ICON_ABOVE_TEXT = 2097152
ICON_AFTER_TEXT = 524288
ICON_BEFORE_TEXT = 1048576
ICON_BELOW_TEXT = 4194304
ICON_UNDER_TEXT = 0
IMAGE_ALPHA = 8
IMAGE_ALPHACOLOR = 32
IMAGE_ALPHAGUESS = 256
IMAGE_DITHER = 0
IMAGE_KEEP = 1
IMAGE_NEAREST = 4
IMAGE_OPAQUE = 16
IMAGE_OWNED = 2
IMAGE_SHMI = 64
IMAGE_SHMP = 128
INPUTDIALOG_INTEGER = 16777216
INPUTDIALOG_PASSWORD = 67108864
INPUTDIALOG_REAL = 33554432
INPUTDIALOG_STRING = 0
INPUT_EXCEPT = 4
INPUT_NONE = 0
INPUT_READ = 1
INPUT_WRITE = 2
JOIN_BEVEL = 2
JOIN_MITER = 0
JOIN_ROUND = 1
JUSTIFY_BOTTOM = 262144
JUSTIFY_CENTER_X = 0
JUSTIFY_CENTER_Y = 0
JUSTIFY_HZ_APART = 98304
JUSTIFY_LEFT = 32768
JUSTIFY_NORMAL = 0
JUSTIFY_RIGHT = 65536
JUSTIFY_TOP = 131072
JUSTIFY_VT_APART = 393216
LABEL_NORMAL = 1048576
LAYOUT_BOTTOM = 16
LAYOUT_CENTER_X = 8
LAYOUT_CENTER_Y = 32
LAYOUT_EXPLICIT = 828
LAYOUT_FILL_COLUMN = 1
LAYOUT_FILL_ROW = 2
LAYOUT_FILL_X = 1024
LAYOUT_FILL_Y = 2048
LAYOUT_FIX_HEIGHT = 512
LAYOUT_FIX_WIDTH = 256
LAYOUT_FIX_X = 12
LAYOUT_FIX_Y = 48
LAYOUT_LEFT = 0
LAYOUT_MIN_HEIGHT = 0
LAYOUT_MIN_WIDTH = 0
LAYOUT_NORMAL = 0
LAYOUT_RESERVED_1 = 64
LAYOUT_RESERVED_2 = 128
LAYOUT_RIGHT = 4
LAYOUT_SIDE_BOTTOM = 1
LAYOUT_SIDE_LEFT = 2
LAYOUT_SIDE_RIGHT = 3
LAYOUT_SIDE_TOP = 0
LAYOUT_TOP = 0
LEFTBUTTON = 1
LEFTBUTTONMASK = 256
LINE_DOUBLE_DASH = 2
LINE_ONOFF_DASH = 1
LINE_SOLID = 0
LISTBOX_NORMAL = 0
LIST_AUTOSELECT = 4194304
LIST_BROWSESELECT = 2097152
LIST_EXTENDEDSELECT = 0
LIST_MULTIPLESELECT = 3145728
LIST_NORMAL = 0
LIST_SINGLESELECT = 1048576
MATRIX_BY_COLUMNS = 131072
MATRIX_BY_ROWS = 0
MAXKEY = 65535
MAXTYPE = 65535
MBOX_CLICKED_CANCEL = 4
MBOX_CLICKED_NO = 2
MBOX_CLICKED_OK = 3
MBOX_CLICKED_QUIT = 5
MBOX_CLICKED_SAVE = 6
MBOX_CLICKED_YES = 1
MBOX_OK = 268435456
MBOX_OK_CANCEL = 536870912
MBOX_QUIT_CANCEL = 1342177280
MBOX_QUIT_SAVE_CANCEL = 1610612736
MBOX_YES_NO = 805306368
MBOX_YES_NO_CANCEL = 1073741824
MDI_MAXIMIZED = 4096
MDI_MINIMIZED = 8192
MDI_NORMAL = 0
MEDIA_A4 = 3
MEDIA_CUSTOM = 0
MEDIA_ENVELOPE = 4
MEDIA_LEGAL = 2
MEDIA_USLETTER = 1
MENUBUTTON_ATTACH_BOTH = 1610612736
MENUBUTTON_ATTACH_BOTTOM = 536870912
MENUBUTTON_ATTACH_CENTER = 1073741824
MENUBUTTON_ATTACH_LEFT = 0
MENUBUTTON_ATTACH_RIGHT = 536870912
MENUBUTTON_ATTACH_TOP = 0
MENUBUTTON_AUTOGRAY = 8388608
MENUBUTTON_AUTOHIDE = 16777216
MENUBUTTON_DOWN = 0
MENUBUTTON_LEFT = 134217728
MENUBUTTON_NOARROWS = 268435456
MENUBUTTON_RIGHT = 201326592
MENUBUTTON_TOOLBAR = 33554432
MENUBUTTON_UP = 67108864
MENUSTATE_CHECKED = 1
MENUSTATE_NORMAL = 0
MENUSTATE_RCHECKED = 2
MENU_AUTOGRAY = 32768
MENU_AUTOHIDE = 65536
MIDDLEBUTTON = 2
MIDDLEBUTTONMASK = 512
MINKEY = 0
MINTYPE = 0
MODAL_FOR_NONE = 0
MODAL_FOR_POPUP = 2
MODAL_FOR_WINDOW = 1
NULL = <FXPy.fox.NullObj instance at 0x05430510>
NUMLOCKMASK = 16
PACK_NORMAL = 0
PACK_UNIFORM_HEIGHT = 32768
PACK_UNIFORM_WIDTH = 65536
PICK_TOL = 3
PLACEMENT_CURSOR = 2
PLACEMENT_DEFAULT = 0
PLACEMENT_MAXIMIZED = 5
PLACEMENT_OWNER = 3
PLACEMENT_SCREEN = 4
PLACEMENT_VISIBLE = 1
POPUP_HORIZONTAL = 131072
POPUP_SHRINKWRAP = 262144
POPUP_VERTICAL = 0
PRINT_BLACKANDWHITE = 0
PRINT_COLLATE_NORMAL = 0
PRINT_COLLATE_REVERSED = 16
PRINT_COLOR = 64
PRINT_DEST_FILE = 1
PRINT_DEST_PAPER = 0
PRINT_LANDSCAPE = 32
PRINT_NOBOUNDS = 128
PRINT_PAGES_ALL = 0
PRINT_PAGES_EVEN = 2
PRINT_PAGES_ODD = 4
PRINT_PAGES_RANGE = 8
PRINT_PORTRAIT = 0
PROGRESSBAR_DIAL = 131072
PROGRESSBAR_HORIZONTAL = 0
PROGRESSBAR_NORMAL = 20480
PROGRESSBAR_PERCENTAGE = 65536
PROGRESSBAR_VERTICAL = 32768
RADIOBUTTON_AUTOGRAY = 8388608
RADIOBUTTON_AUTOHIDE = 16777216
RADIOBUTTON_NORMAL = 1048576
RIGHTBUTTON = 3
RIGHTBUTTONMASK = 1024
RULE_EVEN_ODD = 0
RULE_WINDING = 1
SCROLLBAR_HORIZONTAL = 131072
SCROLLBAR_VERTICAL = 0
SCROLLERS_DONT_TRACK = 524288
SCROLLERS_NORMAL = 0
SCROLLERS_TRACK = 0
SCROLLLOCKMASK = 224
SEARCH_BACKWARD = 1
SEARCH_EXACT = 0
SEARCH_FORWARD = 0
SEARCH_IGNORECASE = 4
SEARCH_NOWRAP = 0
SEARCH_PREFIX = 16
SEARCH_REGEX = 8
SEARCH_WRAP = 2
SELECTFILE_ANY = 0
SELECTFILE_DIRECTORY = 4
SELECTFILE_EXISTING = 1
SELECTFILE_MULTIPLE = 2
SELECT_CHARS = 0
SELECT_LINES = 2
SELECT_WORDS = 1
SEL_BEGINDRAG = 50
SEL_CHANGED = 39
SEL_CHORE = 59
SEL_CLICKED = 35
SEL_CLIPBOARD_GAINED = 57
SEL_CLIPBOARD_LOST = 56
SEL_CLIPBOARD_REQUEST = 58
SEL_CLOSE = 27
SEL_CLOSEALL = 28
SEL_CLOSED = 47
SEL_COLLAPSED = 49
SEL_COMMAND = 34
SEL_CONFIGURE = 21
SEL_CREATE = 17
SEL_DELETE = 29
SEL_DELETED = 45
SEL_DESELECTED = 41
SEL_DESTROY = 18
SEL_DND_DROP = 69
SEL_DND_ENTER = 67
SEL_DND_LEAVE = 68
SEL_DND_MOTION = 70
SEL_DND_REQUEST = 71
SEL_DOUBLECLICKED = 36
SEL_DRAGGED = 52
SEL_ENDDRAG = 51
SEL_ENTER = 10
SEL_EXPANDED = 48
SEL_FOCUSIN = 12
SEL_FOCUSOUT = 13
SEL_FOCUS_DOWN = 63
SEL_FOCUS_LEFT = 62
SEL_FOCUS_NEXT = 65
SEL_FOCUS_PREV = 66
SEL_FOCUS_RIGHT = 61
SEL_FOCUS_SELF = 60
SEL_FOCUS_UP = 64
SEL_INSERTED = 43
SEL_IO_EXCEPT = 76
SEL_IO_READ = 74
SEL_IO_WRITE = 75
SEL_KEYMAP = 14
SEL_KEYPRESS = 1
SEL_KEYRELEASE = 2
SEL_LASSOED = 53
SEL_LAST = 78
SEL_LEAVE = 11
SEL_LEFTBUTTONPRESS = 3
SEL_LEFTBUTTONRELEASE = 4
SEL_LOWERED = 26
SEL_MAP = 20
SEL_MAXIMIZE = 32
SEL_MIDDLEBUTTONPRESS = 5
SEL_MIDDLEBUTTONRELEASE = 6
SEL_MINIMIZE = 30
SEL_MOTION = 9
SEL_MOUSEWHEEL = 38
SEL_NONE = 0
SEL_OPENED = 46
SEL_PAINT = 16
SEL_PICKED = 77
SEL_RAISED = 25
SEL_REPLACED = 44
SEL_RESTORE = 31
SEL_RIGHTBUTTONPRESS = 7
SEL_RIGHTBUTTONRELEASE = 8
SEL_SELECTED = 42
SEL_SELECTION_GAINED = 23
SEL_SELECTION_LOST = 22
SEL_SELECTION_REQUEST = 24
SEL_SIGNAL = 55
SEL_TIMEOUT = 54
SEL_TRIPLECLICKED = 37
SEL_UNCHECK_OTHER = 72
SEL_UNCHECK_RADIO = 73
SEL_UNGRABBED = 15
SEL_UNMAP = 19
SEL_UPDATE = 33
SEL_VERIFY = 40
SEPARATOR_GROOVE = 32768
SEPARATOR_LINE = 131072
SEPARATOR_NONE = 0
SEPARATOR_RIDGE = 65536
SHADING_FLAT = 4
SHADING_NONE = 0
SHADING_SMOOTH = 2
SHIFTMASK = 1
SLIDERBAR_SIZE = 5
SLIDERHEAD_SIZE = 7
SLIDER_ARROW_DOWN = 131072
SLIDER_ARROW_LEFT = 65536
SLIDER_ARROW_RIGHT = 131072
SLIDER_ARROW_UP = 65536
SLIDER_HORIZONTAL = 0
SLIDER_INSIDE_BAR = 262144
SLIDER_NORMAL = 0
SLIDER_TICKS_BOTTOM = 1048576
SLIDER_TICKS_LEFT = 524288
SLIDER_TICKS_RIGHT = 1048576
SLIDER_TICKS_TOP = 524288
SLIDER_VERTICAL = 32768
SPIN_CYCLIC = 131072
SPIN_NOMAX = 524288
SPIN_NOMIN = 1048576
SPIN_NORMAL = 0
SPIN_NOTEXT = 262144
SPLITTER_HORIZONTAL = 0
SPLITTER_NORMAL = 0
SPLITTER_REVERSED = 65536
SPLITTER_TRACKING = 131072
SPLITTER_VERTICAL = 32768
STATE_CHECKED = 2
STATE_DOWN = 1
STATE_ENGAGED = 2
STATE_UNCHECKED = 0
STATE_UP = 0
STATUSBAR_WITH_DRAGCORNER = 131072
STIPPLE_0 = 0
STIPPLE_1 = 1
STIPPLE_10 = 10
STIPPLE_11 = 11
STIPPLE_12 = 12
STIPPLE_13 = 13
STIPPLE_14 = 14
STIPPLE_15 = 15
STIPPLE_16 = 16
STIPPLE_2 = 2
STIPPLE_3 = 3
STIPPLE_4 = 4
STIPPLE_5 = 5
STIPPLE_6 = 6
STIPPLE_7 = 7
STIPPLE_8 = 8
STIPPLE_9 = 9
STIPPLE_BLACK = 0
STIPPLE_CROSS = 19
STIPPLE_CROSSDIAG = 22
STIPPLE_DIAG = 20
STIPPLE_GRAY = 8
STIPPLE_HORZ = 17
STIPPLE_NONE = 0
STIPPLE_REVDIAG = 21
STIPPLE_VERT = 18
STIPPLE_WHITE = 16
STYLE_BOUNDBOX = 128
STYLE_POINTS = 64
STYLE_SURFACE = 16
STYLE_WIREFRAME = 32
SURFACE_DUALSIDED = 1
SURFACE_SINGLESIDED = 0
SWITCHER_HCOLLAPSE = 131072
SWITCHER_VCOLLAPSE = 262144
TABBOOK_BOTTOMTABS = 131072
TABBOOK_LEFTTABS = 262144
TABBOOK_NORMAL = 0
TABBOOK_RIGHTTABS = 393216
TABBOOK_SIDEWAYS = 262144
TABBOOK_TOPTABS = 0
TABLE_COL_SIZABLE = 1048576
TABLE_NO_COLSELECT = 4194304
TABLE_NO_ROWSELECT = 8388608
TABLE_ROW_SIZABLE = 2097152
TAB_BOTTOM = 25165824
TAB_BOTTOM_NORMAL = 26238976
TAB_LEFT = 8388608
TAB_LEFT_NORMAL = 9494528
TAB_RIGHT = 16777216
TAB_RIGHT_NORMAL = 17883136
TAB_TOP = 0
TAB_TOP_NORMAL = 1073152
TEXTFIELD_ENTER_ONLY = 134217728
TEXTFIELD_INTEGER = 16777216
TEXTFIELD_LIMITED = 268435456
TEXTFIELD_NORMAL = 20480
TEXTFIELD_OVERSTRIKE = 536870912
TEXTFIELD_PASSWD = 8388608
TEXTFIELD_READONLY = 67108864
TEXTFIELD_REAL = 33554432
TEXT_ABOVE_ICON = 4194304
TEXT_AFTER_ICON = 1048576
TEXT_AUTOINDENT = 33554432
TEXT_BEFORE_ICON = 524288
TEXT_BELOW_ICON = 2097152
TEXT_FIXEDWRAP = 8388608
TEXT_NO_TABS = 16777216
TEXT_OVERSTRIKE = 4194304
TEXT_OVER_ICON = 0
TEXT_READONLY = 1048576
TEXT_SHOWACTIVE = 67108864
TEXT_WORDWRAP = 2097152
TOGGLEBUTTON_AUTOGRAY = 8388608
TOGGLEBUTTON_AUTOHIDE = 16777216
TOGGLEBUTTON_NORMAL = 1073152
TOGGLEBUTTON_TOOLBAR = 33554432
TOOLBARGRIP_DOUBLE = 32768
TOOLBARGRIP_SEPARATOR = 65536
TOOLBARGRIP_SINGLE = 0
TOOLBARTAB_HORIZONTAL = 0
TOOLBARTAB_VERTICAL = 32768
TOOLTIP_NORMAL = 0
TOOLTIP_PERMANENT = 131072
TOOLTIP_VARIABLE = 262144
TREELISTBOX_NORMAL = 0
TREELIST_AUTOSELECT = 4194304
TREELIST_BROWSESELECT = 2097152
TREELIST_EXTENDEDSELECT = 0
TREELIST_MULTIPLESELECT = 3145728
TREELIST_NORMAL = 0
TREELIST_ROOT_BOXES = 33554432
TREELIST_SHOWS_BOXES = 16777216
TREELIST_SHOWS_LINES = 8388608
TREELIST_SINGLESELECT = 1048576
VIEWER_DITHER = 262144
VIEWER_FOG = 131072
VIEWER_LIGHTING = 65536
VIEWER_LOCKED = 32768
VISIBILITYNONE = 2
VISIBILITYPARTIAL = 1
VISIBILITYTOTAL = 0
VISUALTYPE_GRAY = 4
VISUALTYPE_INDEX = 3
VISUALTYPE_MONO = 1
VISUALTYPE_TRUE = 2
VISUALTYPE_UNKNOWN = 0
VISUAL_BEST = 2
VISUAL_DEFAULT = 0
VISUAL_DOUBLEBUFFER = 64
VISUAL_GRAYSCALE = 8
VISUAL_INDEXCOLOR = 4
VISUAL_MONOCHROME = 1
VISUAL_NOACCEL = 256
VISUAL_OWNCOLORMAP = 32
VISUAL_STEREO = 128
VISUAL_TRUECOLOR = 16
VSCROLLER_ALWAYS = 131072
VSCROLLER_NEVER = 262144
VSCROLLING_OFF = 393216
VSCROLLING_ON = 0
cvar = <Global variables>