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
Lesson1Wx
SelectOne
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
.
292
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
Lesson1Wx.SelectOne.__init__
def __init__
Definition:
Lesson1Wx.py:292
The documentation for this class was generated from the following file:
Lesson1Wx.py
Generated on Wed Apr 30 2014 15:57:41 for Geant4.10 by
1.8.7