コード例 #1
0
 def onFacility(self, facility):
     guielement = Base.onFacility(self, facility)
     #guielement.Enable( False )
     return guielement
コード例 #2
0
 def onDiagonalPostCreation(self, trait, guielement ):
     Base.postCreation( self, trait, guielement )
     guielement.SetToolTipString( "[ width, height, thickness ] of vanadium sample" )
     return
コード例 #3
0
 def postCreation(self, trait, guielement):
     if trait.name() == "dataformat": self.onDataformatPostCreation( trait, guielement )
     if trait.name() == "diagonal":  self.onDiagonalPostCreation( trait, guielement )
     else: Base.postCreation( self, trait, guielement )
     return
コード例 #4
0
 def onDataformatPostCreation( self, dataformat, guielement ):
     Base.postCreation( self, dataformat, guielement )
     invDialog = self.parent
     invDialog.Bind(wx.EVT_COMBOBOX, self.OnDataformatChange, guielement)
     guielement.SetToolTipString( dataformat.tip() )
     return