@@ -15,7 +15,7 @@ \section{\module{EasyDialogs} ---
1515The \module {EasyDialogs} module defines the following functions:
1616
1717
18- \begin {funcdesc }{Message}{str\optional {, id\optional {, ok=None }}}
18+ \begin {funcdesc }{Message}{str\optional {, id\optional {, ok}}}
1919Displays a modal dialog with the message text \var {str}, which should be
2020at most 255 characters long. The button text defaults to `` OK'' , but is
2121set to the string argument \var {ok} if the latter is supplied. Control
@@ -30,8 +30,8 @@ \section{\module{EasyDialogs} ---
3030initial value for the string (otherwise \code {""} is used). The text of
3131the `` OK'' and `` Cancel'' buttons can be changed with the \var {ok} and
3232\var {cancel} arguments. All strings can be at most 255 bytes long.
33- \function {AskString()} returns the string entered or \code {None} in case
34- the user cancelled.
33+ \function {AskString()} returns the string entered or \constant {None}
34+ in case the user cancelled.
3535\end {funcdesc }
3636
3737
@@ -128,23 +128,23 @@ \section{\module{EasyDialogs} ---
128128 \optional {, wanted}
129129 }
130130Post a dialog asking the user for a file to open, and return the file
131- selected or \var {None} if the user cancelled.
131+ selected or \constant {None} if the user cancelled.
132132\var {message} is a text message to display,
133133\var {typeList} is a list of 4-char filetypes allowable,
134- \var {defaultLocation} is the pathname, FSSpec or FSRef of the folder
135- to show initially,
134+ \var {defaultLocation} is the pathname, \class { FSSpec} or \class { FSRef}
135+ of the folder to show initially,
136136\var {location} is the \code {(x, y)} position on the screen where the
137137dialog is shown,
138138\var {actionButtonLabel} is a string to show in stead of `` Open'' in the
139139OK button,
140140\var {cancelButtonLabel} is a string to show in stead of `` Cancel'' in the
141141cancel button,
142- \var {wanted} is the type of value wanted as a return: \class {string },
142+ \var {wanted} is the type of value wanted as a return: \class {str },
143143\class {unicode}, \class {FSSpec}, \class {FSRef} and subtypes thereof are
144144acceptable.
145145
146146For a description of the other arguments please see the Apple Navigation
147- Services documentation and the EasyDialogs sourcecode .
147+ Services documentation and the \module { EasyDialogs} source code .
148148\end {funcdesc }
149149
150150\begin {funcdesc }{AskFileForSave}{
@@ -164,10 +164,11 @@ \section{\module{EasyDialogs} ---
164164 \optional {, eventProc}
165165 \optional {, wanted}
166166 }
167- Post a dialog asking the user for a file to save to, and return the file
168- selected or \var {None} if the user cancelled. \var {savedFileName} is the
169- default for the file name to save to (the return value). See AskFileForOpen
170- for a description of the other arguments.
167+ Post a dialog asking the user for a file to save to, and return the
168+ file selected or \constant {None} if the user cancelled.
169+ \var {savedFileName} is the default for the file name to save to (the
170+ return value). See \function {AskFileForOpen()} for a description of
171+ the other arguments.
171172\end {funcdesc }
172173
173174\begin {funcdesc }{AskFolder}{
@@ -185,9 +186,9 @@ \section{\module{EasyDialogs} ---
185186 \optional {, filterProc}
186187 \optional {, wanted}
187188 }
188- Post a dialog asking the user to select a folder, and return the folder
189- selected or \var {None} if the user cancelled. See AskFileForOpen
190- for a description of the arguments.
189+ Post a dialog asking the user to select a folder, and return the
190+ folder selected or \constant {None} if the user cancelled. See
191+ \function {AskFileForOpen()} for a description of the arguments.
191192\end {funcdesc }
192193
193194\subsection {ProgressBar Objects \label {progressbar-objects } }
0 commit comments