tkCommonDialog
index
/usr/lib/python2.1/lib-tk/tkCommonDialog.py

# Instant Python
# $Id: tkCommonDialog.py,v 1.5 2000/10/23 18:31:14 fdrake Exp $
#
# base class for tk common dialogues
#
# this module provides a base class for accessing the common
# dialogues available in Tk 4.2 and newer.  use tkFileDialog,
# tkColorChooser, and tkMessageBox to access the individual
# dialogs.
#
# written by Fredrik Lundh, May 1997
#

 
Modules
            
os
sys
_tkinter

 
Classes
            
Dialog

 
class Dialog
       
  
__init__(self, master=None, **options)
_fixoptions(self)
_fixresult(self, widget, result)
show(self, **options)

 
Functions
            
getdouble = float(...)
float(x) -> floating point number
 
Convert a string or number to a floating point number, if possible.
getint = int(...)
int(x[, base]) -> integer
 
Convert a string or number to an integer, if possible.  A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!)  When converting a string, use
the optional base.  It is an error to supply a base when converting a
non-string.

 
Data
             ACTIVE = 'active'
ALL = 'all'
ANCHOR = 'anchor'
ARC = 'arc'
BASELINE = 'baseline'
BEVEL = 'bevel'
BOTH = 'both'
BOTTOM = 'bottom'
BROWSE = 'browse'
BUTT = 'butt'
BufferType = <type 'buffer'>
BuiltinFunctionType = <type 'builtin_function_or_method'>
BuiltinMethodType = <type 'builtin_function_or_method'>
CASCADE = 'cascade'
CENTER = 'center'
CHAR = 'char'
CHECKBUTTON = 'checkbutton'
CHORD = 'chord'
COMMAND = 'command'
CURRENT = 'current'
ClassType = <type 'class'>
CodeType = <type 'code'>
ComplexType = <type 'complex'>
DISABLED = 'disabled'
DictType = <type 'dictionary'>
DictionaryType = <type 'dictionary'>
E = 'e'
END = 'end'
EW = 'ew'
EXCEPTION = 8
EXTENDED = 'extended'
EllipsisType = <type 'ellipsis'>
FALSE = 0
FIRST = 'first'
FLAT = 'flat'
FileType = <type 'file'>
FloatType = <type 'float'>
FrameType = <type 'frame'>
FunctionType = <type 'function'>
GROOVE = 'groove'
HORIZONTAL = 'horizontal'
INSERT = 'insert'
INSIDE = 'inside'
InstanceType = <type 'instance'>
IntType = <type 'int'>
LAST = 'last'
LEFT = 'left'
LambdaType = <type 'function'>
ListType = <type 'list'>
LongType = <type 'long int'>
MITER = 'miter'
MOVETO = 'moveto'
MULTIPLE = 'multiple'
MethodType = <type 'instance method'>
ModuleType = <type 'module'>
N = 'n'
NE = 'ne'
NO = 0
NONE = 'none'
NORMAL = 'normal'
NS = 'ns'
NSEW = 'nsew'
NUMERIC = 'numeric'
NW = 'nw'
NoneType = <type 'None'>
OFF = 0
ON = 1
OUTSIDE = 'outside'
PAGES = 'pages'
PIESLICE = 'pieslice'
PROJECTING = 'projecting'
RADIOBUTTON = 'radiobutton'
RAISED = 'raised'
READABLE = 2
RIDGE = 'ridge'
RIGHT = 'right'
ROUND = 'round'
S = 's'
SCROLL = 'scroll'
SE = 'se'
SEL = 'sel'
SEL_FIRST = 'sel.first'
SEL_LAST = 'sel.last'
SEPARATOR = 'separator'
SINGLE = 'single'
SOLID = 'solid'
SUNKEN = 'sunken'
SW = 'sw'
SliceType = <type 'slice'>
StringType = <type 'string'>
TOP = 'top'
TRUE = 1
TclError = 'TclError'
TclVersion = 8.3000000000000007
TkVersion = 8.3000000000000007
TracebackType = <type 'traceback'>
TupleType = <type 'tuple'>
TypeType = <type 'type'>
UNITS = 'units'
UnboundMethodType = <type 'instance method'>
UnicodeType = <type 'unicode'>
VERTICAL = 'vertical'
W = 'w'
WORD = 'word'
WRITABLE = 4
X = 'x'
XRangeType = <type 'xrange'>
Y = 'y'
YES = 1
__file__ = '/usr/lib/python2.1/lib-tk/tkCommonDialog.pyc'
__name__ = 'tkCommonDialog'