wx.NumberEntryDialog

Inheritance diagram for wx.NumberEntryDialog:



Description

A dialog with spin control, OK and Cancel buttons.

Methods Summary

Properties Summary

Class API

Methods

__init__(parent, message, prompt, caption, value, min, max, pos=wx.DefaultPosition)

Constructor. Use 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


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


ShowModal()

Shows the dialog, returning one of wx.ID_OK or wx.ID_CANCEL.


Returns:

int


Properties

Value
See GetValue