Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/file_Browse_dialog.html
Дата изменения: Fri Apr 8 12:46:14 2016
Дата индексирования: Mon Apr 11 05:14:26 2016
Кодировка:

Поисковые слова: annular solar eclipse
Python: module file_Browse_dialog
 
 
file_Browse_dialog (version 6/16/06)
index
file_Browse_dialog.py

PURPOSE --
  Builds a popup dialog box for browsing for files.
 
DEVELOPER --
K. Clark
 
MODIFICATION HISTORY --
 
o Initial implementation 12/09/02
o minor mods.  dc 6/19/03
o Make dialog box grab focus by using Pmw.pushgrab and Pmw.popgrab.
  dc 7/21/03
o Fix cancel to delete to focus grab. dc 8/5/03
o guard against browse_dir being an empty list. dc 6/16/06

 
Modules
       
Tix
os
re
string
sys
_tkinter

 
Classes
       
file_Browse_dialog

 
class file_Browse_dialog
     Methods defined here:
__init__(self, browse_dir='~', file_pattern='', allowed_names=(('', 'All files.'),), selection_value=None)
Create an initially empty Tix ExFileSelectDialog widget.
This saves on the overhead of creating a new widget.
append_history(self, dir_paths)
appends to the directory history list
cancel(self)
Delete the dialog box and delete the focus grab.
create(self)
Now actually create the File Browse popup dialog.
select_file_cmd(self)
Save the selected file into the pickle_selection_menu variable and
delete the popup file_browse_menu window.

 
Data
        ACTIVE = 'active'
ALL = 'all'
ANCHOR = 'anchor'
ARC = 'arc'
BASELINE = 'baseline'
BEVEL = 'bevel'
BOTH = 'both'
BOTTOM = 'bottom'
BROWSE = 'browse'
BUTT = 'butt'
CASCADE = 'cascade'
CENTER = 'center'
CHAR = 'char'
CHECKBUTTON = 'checkbutton'
CHORD = 'chord'
COMMAND = 'command'
CURRENT = 'current'
DISABLED = 'disabled'
DOTBOX = 'dotbox'
E = 'e'
END = 'end'
EW = 'ew'
EXCEPTION = 8
EXTENDED = 'extended'
FALSE = 0
FIRST = 'first'
FLAT = 'flat'
GROOVE = 'groove'
HIDDEN = 'hidden'
HORIZONTAL = 'horizontal'
INSERT = 'insert'
INSIDE = 'inside'
LAST = 'last'
LEFT = 'left'
MITER = 'miter'
MOVETO = 'moveto'
MULTIPLE = 'multiple'
N = 'n'
NE = 'ne'
NO = 0
NONE = 'none'
NORMAL = 'normal'
NS = 'ns'
NSEW = 'nsew'
NUMERIC = 'numeric'
NW = 'nw'
OFF = 0
ON = 1
OUTSIDE = 'outside'
PAGES = 'pages'
PIESLICE = 'pieslice'
PROJECTING = 'projecting'
Pmw = <Pmw.Pmw_1_3_3.lib.PmwLoader.PmwLoader instance>
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'
StringTypes = (<type 'str'>, <type 'unicode'>)
TOP = 'top'
TRUE = 1
TclVersion = 8.6
TkVersion = 8.6
UNDERLINE = 'underline'
UNITS = 'units'
VERTICAL = 'vertical'
W = 'w'
WORD = 'word'
WRITABLE = 4
X = 'x'
Y = 'y'
YES = 1
__version__ = '6/16/06'
wantobjects = 1