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

Public Member Functions

def __init__
 

Detailed Description

Definition at line 316 of file Lesson2Wx.py.

Constructor & Destructor Documentation

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

Definition at line 317 of file Lesson2Wx.py.

318  def __init__(self, parent, myTitle, myList):
319  wx.RadioBox.__init__(self, parent, -1, myTitle, wx.DefaultPosition,
320  wx.DefaultSize, myList, 5, wx.RA_SPECIFY_ROWS)
321 # self.Bind(wx.EVT_RADIOBOX, self.Selected)
322  self.SetToolTip(wx.ToolTip("Select one"))
323  self.SetSelection(0)
324 # used only to test Bind and getValue
325 # def Selected(self, event):
326 # self.selected = event.GetString()
327 
328 
329 # used to %3.3f floating point number
330 # energy and length unit is given by unitList which must be a dictionary
331 # with units of Python objects and their name as their keys

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