Lines Matching +full:cancel +full:- +full:in +full:- +full:progress
2 :mod:`EasyDialogs` --- Basic Macintosh dialogs
12 The dialogs get launched in a separate application which appears in the dock and
16 type and item number) to those in the default :const:`DLOG` resource. See source
21 This module has been removed in Python 3.x.
35 .. function:: AskString(prompt[, default[, id[, ok[, cancel]]]])
39 (otherwise ``""`` is used). The text of the "OK" and "Cancel" buttons can be
40 changed with the *ok* and *cancel* arguments. All strings can be at most 255
41 bytes long. :func:`AskString` returns the string entered or :const:`None` in
45 .. function:: AskPassword(prompt[, default[, id[, ok[, cancel]]]])
52 .. function:: AskYesNoCancel(question[, default[, yes[, no[, cancel[, id]]]]])
55 and "Cancel". Returns ``1`` for "Yes", ``0`` for "No" and ``-1`` for "Cancel".
58 the *yes*, *no*, and *cancel* arguments; to prevent a button from appearing,
64 Displays a modeless progress-bar dialog. This is the constructor for the
66 (default "Working..."), *maxval* is the value at which progress is complete
68 done), and *label* is the text that is displayed above the progress bar itself.
73 Displays a dialog which aids the user in constructing a command-line argument
74 list. Returns the list in ``sys.argv`` format, suitable for passing as an
77 command line paths to an existing file, a (possibly) not-yet-existent file, and
78 a folder, respectively. (Note: Option arguments must appear in the command line
79 before file and folder arguments in order to be recognized by
82 raised if the user presses the "Cancel" button.
87 is displayed in the dialog while this option is selected in the popup menu. The
88 correspondence between *optstr*\s and command-line arguments is:
90 +----------------------+------------------------------------------+
91 | *optstr* format | Command-line format |
93 | ``x`` | :option:`!-x` (short option) |
94 +----------------------+------------------------------------------+
95 | ``x:`` or ``x=`` | :option:`!-x` (short option with value) |
96 +----------------------+------------------------------------------+
97 | ``xyz`` | :option:`!--xyz` (long option) |
98 +----------------------+------------------------------------------+
99 | ``xyz:`` or ``xyz=`` | :option:`!--xyz` (long option with value)|
100 +----------------------+------------------------------------------+
103 where *descr* is as above. The *cmdstr*\ s will appear in a popup menu. When
114 *typeList* is a list of 4-char filetypes allowable, *defaultLocation* is the
117 *actionButtonLabel* is a string to show instead of "Open" in the OK button,
118 *cancelButtonLabel* is a string to show instead of "Cancel" in the cancel
151 .. _progressbar-objects:
154 -------------------
156 :class:`ProgressBar` objects provide support for modeless progress-bar dialogs.
157 Both determinate (thermometer style) and indeterminate (barber-pole style)
158 progress bars are supported. The bar will be determinate if its maximum value
162 Support for indeterminate-style progress bars was added.
164 The dialog is displayed immediately after creation. If the dialog's "Cancel"
165 button is pressed, or if :kbd:`Cmd-.` or :kbd:`ESC` is typed, the dialog window
167 does not occur until the progress bar is next updated, typically via a call to
176 The current value (of type integer or long integer) of the progress bar. The
183 The maximum value (of type integer or long integer) of the progress bar; the
184 progress bar (thermometer style) is full when :attr:`curval` equals
186 (barber-pole). This attribute should not be altered directly.
191 Sets the text in the title bar of the progress dialog to *newstr*.
196 Sets the text in the progress box of the progress dialog to *newstr*.
201 Sets the progress bar's :attr:`curval` to *value*, and also :attr:`maxval` to
209 Increments the progress bar's :attr:`curval` by *n*, or by ``1`` if *n* is not
210 provided. (Note that *n* may be negative, in which case the effect is a
211 decrement.) The progress bar is updated to reflect the change. If the bar is