******************** wx.NumberEntryDialog ******************** Inheritance diagram for `wx.NumberEntryDialog`: | .. inheritance-diagram:: wx.NumberEntryDialog | Description =========== A dialog with spin control, ``OK`` and ``Cancel`` buttons. Derived From ^^^^^^^^^^^^^ * `wx.Dialog `_ * `wx.TopLevelWindow `_ * `wx.Window `_ * `wx.EvtHandler `_ * `wx.Object `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `GetValue <#GetValue>`_ * `ShowModal <#ShowModal>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Value <#Value>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(parent, message, prompt, caption, value, min, max, pos=wx.DefaultPosition) Constructor. Use `ShowModal <#ShowModal>`_ method to show the dialog. **Parameters:** * `parent` (`wx.Window `_) * `message` (string) * `prompt` (string) * `caption` (string) * `value` (long) * `min` (long) * `max` (long) * `pos` (`wx.Point `_) | **Returns:** `wx.NumberEntryDialog `_ -------- .. method:: GetValue() Returns the number that the user has entered if the user has pressed ``OK``, or the original value if the user has pressed ``Cancel``. | **Returns:** `string` -------- .. method:: ShowModal() Shows the dialog, returning one of ``wx.ID_OK`` or ``wx.ID_CANCEL``. | **Returns:** `int` -------- Properties ^^^^^^^^^^ .. attribute:: Value See `GetValue <#GetValue>`_