Imported modules
|
|
import PmwBlt
import PmwColor
import Tkinter
import os
import re
import string
import sys
import time
import traceback
import types
|
Functions
|
|
|
|
__TkinterToplevelDestroy
|
__TkinterToplevelDestroy ( tkWidget )
|
|
__TkinterToplevelTitle
|
__TkinterToplevelTitle ( self, *args )
|
|
__TkinterWidgetDestroy
|
__TkinterWidgetDestroy ( tkWidget )
|
|
__methodDict
|
__methodDict ( cls, dict )
Fill in a flattened method resolution dictionary for a class (attributes are
filtered out). Flattening honours the MI method resolution rules
(depth-first search of bases in order). The dictionary has method names
for keys and functions for values.
|
|
__methods
|
__methods ( cls )
Return all method names for a class.
|
|
__unique
|
__unique ()
|
|
_addRootToToplevelBusyInfo
|
_addRootToToplevelBusyInfo ()
Include the Tk root window in the list of toplevels. This must
not be called before Tkinter has had a chance to be initialised by
the application.
|
|
_addToplevelBusyInfo
|
_addToplevelBusyInfo ( window )
|
|
_cdiv
|
_cdiv ( a, b )
Return a / b as calculated by most C language implementations,
assuming both a and b are integers.
|
|
_changeDate
|
_changeDate (
value,
factor,
increment,
format='ymd',
separator='/',
yyyy=0,
)
|
|
_changeNumber
|
_changeNumber (
text,
factor,
increment,
)
|
|
_changeReal
|
_changeReal (
text,
factor,
increment,
separator='.',
)
|
|
_changeTime
|
_changeTime (
value,
factor,
increment,
separator=':',
time24=0,
)
|
|
_deregisterEntryField
|
_deregisterEntryField ( entry )
|
|
_deregisterScrolledList
|
_deregisterScrolledList ( listbox )
|
|
_font_initialise
|
_font_initialise (
root,
size=None,
fontScheme=None,
)
|
|
_grabtop
|
_grabtop ()
|
|
_handleEvent
|
_handleEvent ( event, eventType )
Forward events for a Listbox to it's ScrolledListBox
|
|
_havebltbusy
|
_havebltbusy ( window )
|
|
_postProcess
|
_postProcess ( event )
Forward postprocess events for an Entry to it's EntryField
|
|
_preProcess
|
_preProcess ( event )
Forward preprocess events for an Entry to it's EntryField
|
|
_registerEntryField
|
_registerEntryField ( entry, entryField )
Register an EntryField widget for an Entry widget
|
|
_registerScrolledList
|
_registerScrolledList ( listbox, scrolledList )
Register an ScrolledList widget for a Listbox widget
|
|
_reporterror
|
_reporterror ( func, args )
|
|
_setTkInterps
|
_setTkInterps ( window, tk )
|
|
aboutcontact
|
aboutcontact ( value )
|
|
aboutcopyright
|
aboutcopyright ( value )
|
|
aboutversion
|
aboutversion ( value )
|
|
aligngrouptags
|
aligngrouptags ( groups )
Adjust the y position of the tags in /groups/ so that they all
have the height of the highest tag.
|
|
alignlabels
|
alignlabels ( widgets, sticky=None )
|
|
alphabeticvalidator
|
alphabeticvalidator ( text )
|
|
alphanumericvalidator
|
alphanumericvalidator ( text )
|
|
busycallback
|
busycallback ( command, updateFunction=None )
Exceptions
|
|
ValueError, 'cannot register non-command busy callback %s %s' %(repr( command ), type( command ) )
|
|
|
clearbusycursor
|
clearbusycursor ()
|
|
datestringtojdn
|
datestringtojdn (
text,
format='ymd',
separator='/',
)
|
|
datevalidator
|
datevalidator (
text,
format='ymd',
separator='/',
)
|
|
displayerror
|
displayerror ( text )
|
|
drawarrow
|
drawarrow (
canvas,
color,
direction,
tag,
baseOffset=0.25,
edgeOffset=0.15,
)
|
|
forwardmethods
|
forwardmethods (
fromClass,
toClass,
toPart,
exclude=(),
)
Forward all methods from one class to another.
Exceptions
|
|
TypeError, 'toPart must be attribute name, function or method'
|
|
|
grabstacktopwindow
|
grabstacktopwindow ()
|
|
hexadecimalvalidator
|
hexadecimalvalidator ( text )
|
|
hidebusycursor
|
hidebusycursor ( forceFocusRestore=0 )
|
|
initialise
|
initialise (
root=None,
size=None,
fontScheme=None,
useTkOptionDb=0,
noBltBusy=0,
disableKeyboardWhileBusy=None,
)
|
|
installedversions
|
installedversions ( alpha=0 )
|
|
integervalidator
|
integervalidator ( text )
|
|
jdntoymd
|
jdntoymd (
jdn,
julian=-1,
papal=1,
)
|
|
logicalfont
|
logicalfont (
name='Helvetica',
sizeIncr=0,
**kw,
)
Exceptions
|
|
ValueError, 'font %s does not exist' % name
|
|
|
logicalfontnames
|
logicalfontnames ()
|
|
numericvalidator
|
numericvalidator ( text )
|
|
popgrab
|
popgrab ( window )
Return the grab to the next window in the grab stack, if any.
|
|
pushgrab
|
pushgrab (
grabWindow,
globalMode,
deactivateFunction,
)
|
|
realvalidator
|
realvalidator ( text, separator='.' )
|
|
releasegrabs
|
releasegrabs ()
Release grab and clear the grab stack.
|
|
reporterrorstofile
|
reporterrorstofile ( file=None )
|
|
setalphaversions
|
setalphaversions ( *alpha_versions )
Exceptions
|
|
ValueError, 'Dynamic versioning not available'
|
|
|
setbusycursorattributes
|
setbusycursorattributes ( window, **kw )
Exceptions
|
|
KeyError, 'Unknown busycursor attribute "' + name + '"'
|
|
|
setgeometryanddeiconify
|
setgeometryanddeiconify ( window, geom )
To avoid flashes on X and to position the window correctly on NT
(caused by Tk bugs).
|
|
setversion
|
setversion ( version )
Exceptions
|
|
ValueError, 'Dynamic versioning not available'
|
|
|
setyearpivot
|
setyearpivot ( pivot, century=None )
|
|
showbusycursor
|
showbusycursor ()
|
|
stringtoreal
|
stringtoreal ( text, separator='.' )
|
|
timestringtoseconds
|
timestringtoseconds ( text, separator=':' )
|
|
timevalidator
|
timevalidator ( text, separator=':' )
|
|
tracetk
|
tracetk (
root=None,
on=1,
withStackTrace=0,
file=None,
)
|
|
version
|
version ( alpha=0 )
|
|
ymdtojdn
|
ymdtojdn (
year,
month,
day,
julian=-1,
papal=1,
)
|
Classes
|
|
|