parameters: (self)
return_statement: return widget
docstring: Return widget to read only numeric value of attribute
          This is effectively the parametrisation of the masked.NumCtrl widget.
docstring_summary: Return widget to read only numeric value of attribute
          This is effectively the parametrisation of the masked.NumCtrl widget.
docstring_tokens: Return widget to read only numeric value of attribute This is effectively the parametrisation of the masked . NumCtrl widget .
function: def get_valuewidget_read(self):
          """
          Return widget to read only numeric value of attribute
          This is effectively the parametrisation of the masked.NumCtrl widget.
          """
          value = self.get_value_obj()
          # print 'ChoiceWidgetContainer.get_valuewidget_read',value,type(value)
          # print '  choices',self._attrconf.choices
  
          if type(self._attrconf.choices) in (OrderedDict, types.DictionaryType):
              #value = self._attrconf.choices[value]
              value = self._choicenames[self._choicevalues.index(value)]
          # print '  value =',value
          widget = wx.TextCtrl(self.parent, -1, value, style=wx.ALIGN_RIGHT)
          widget.Enable(False)
          return widget
function_tokens: def get_valuewidget_read ( self ) : value = self . get_value_obj ( ) # print 'ChoiceWidgetContainer.get_valuewidget_read',value,type(value) # print '  choices',self._attrconf.choices if type ( self . _attrconf . choices ) in ( OrderedDict , types . DictionaryType ) : #value = self._attrconf.choices[value] value = self . _choicenames [ self . _choicevalues . index ( value ) ] # print '  value =',value widget = wx . TextCtrl ( self . parent , - 1 , value , style = wx . ALIGN_RIGHT ) widget . Enable ( False ) return widget