Geant4.10
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Lesson2Wx
SelectOne
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
.
317
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
Lesson2Wx.SelectOne.__init__
def __init__
Definition:
Lesson2Wx.py:317
The documentation for this class was generated from the following file:
Lesson2Wx.py
Generated on Wed Apr 30 2014 15:57:41 for Geant4.10 by
1.8.7