Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
Lesson1Wx.SelectOne Class Reference
Inheritance diagram for Lesson1Wx.SelectOne:

Public Member Functions

def __init__
 

Detailed Description

Definition at line 291 of file Lesson1Wx.py.

Constructor & Destructor Documentation

def Lesson1Wx.SelectOne.__init__ (   self,
  parent,
  myTitle,
  myList 
)

Definition at line 292 of file Lesson1Wx.py.

293  def __init__(self, parent, myTitle, myList):
294  wx.RadioBox.__init__(self, parent, -1, myTitle, wx.DefaultPosition,
295  wx.DefaultSize, myList, 3, wx.RA_SPECIFY_ROWS)
296 # self.Bind(wx.EVT_RADIOBOX, self.Selected)
297  self.SetToolTip(wx.ToolTip("Select one"))
298  self.SetSelection(0)
299 # used only to test Bind and getValue
300 # def Selected(self, event):
301 # self.selected = event.GetString()
302 
303 
304 # used to %3.3f floating point number
305 # energy and length unit is given by unitList which must be a dictionary
306 # with units of Python objects and their name as their keys

The documentation for this class was generated from the following file: