Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/lib-tk/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/lib-tk/FileDialog.pyc |
³ò h”Rc @ s¢ d Z d d k Td d k l Z d d k Z d d k Z h Z d d d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d „ Z e d j o e ƒ n d S( sZ File selection dialog classes. Classes: - FileDialog - LoadFileDialog - SaveFileDialog iÿÿÿÿ( t *( t DialogNt FileDialogc B s¶ e Z d Z d Z d d „ Z e i d d d d „ Z d d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d d „ Z d „ Z d „ Z d d „ Z d „ Z d „ Z RS( së Standard file selection dialog -- no checks on selected file. Usage: d = FileDialog(master) fname = d.go(dir_or_file, pattern, default, key) if fname is None: ...canceled... else: ...open file... All arguments to go() are optional. The 'key' argument specifies a key in the global dictionary 'dialogstates', which keeps track of the values for the directory and pattern arguments, overriding the values passed in (it does not keep track of the default argument!). If no key is specified, the dialog keeps no memory of previous state. Note that memory is kept even when the dialog is canceled. (All this emulates the behavior of the Macintosh file selection dialogs.) s File Selection Dialogc C sã | d j o | i } n | | _ d | _ t | ƒ | _ | i i | ƒ | i i | ƒ t | i ƒ | _ | i i d t d t ƒ t | i ƒ | _ | i i d t d t ƒ | i i d | i ƒ t | i ƒ | _ | i i d t d t ƒ | i i d | i ƒ t | i ƒ | _ | i i d t d t ƒ t | i ƒ | _ | i i d t d t ƒ t | i d d d | i d f ƒ| _ | i i d t d t d t ƒ | i i ƒ } | i i | d | d ƒ | i i d | i ƒ | i i d | i ƒ | i i d | i d f ƒ t | i ƒ | _ | i i d t! d t ƒ t | i d d d | i d f ƒ| _"