This class represents a dialog that requests a numeric input from the user.
Currently it is implemented as a generic wxWidgets dialog under all platforms.
You can use a convenience wx.GetNumberFromUser
function instead of using this dialog.
See also
NumberEntryDialog Overview
Class Hierarchy¶Inheritance diagram for class
NumberEntryDialog:
Methods Summary¶ Properties Summary¶ Class API¶Possible constructors:
NumberEntryDialog() -> None NumberEntryDialog(parent, message, prompt, caption, value, min, max, pos=DefaultPosition) -> None
This class represents a dialog that requests a numeric input from the user.
__init__ (self)
Default constructor.
Call Create
to really create the dialog later.
None
__init__ (self, parent, message, prompt, caption, value, min, max, pos=DefaultPosition)
Constructor.
Use ShowModal
to show the dialog.
See Create
method for parameter description.
None
parent (wx.Window) â Parent window.
message (string) â Message to show on the dialog.
prompt (string) â The prompt of the dialog.
caption (string) â The caption of the dialog.
value (long) â The default value.
min (long) â The minimal value.
max (long) â The maximal value.
pos (wx.Point) â Dialog position.
bool
variant (WindowVariant)
Returns the value that the user has entered if the user has pressed wx.OK
, or the original value if the user has pressed Cancel.
int
See GetValue
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4