parameters: (self)
docstring: Generates the widgets representing this attribute.
docstring_summary: Generates the widgets representing this attribute.
docstring_tokens: Generates the widgets representing this attribute .
function: def define_widgetset(self):
          """
          Generates the widgets representing this attribute.
          """
          if self._attrconf.has_unit() & self._attrconf.is_writable():
              return [('name',    self.create_namewidget(),  wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL),
                      ('value',   self.create_valuewidget(), wx.EXPAND),
                      ('unit',   self.create_unitwidget(), wx.ALIGN_LEFT | wx.ALIGN_CENTER_VERTICAL), ]
          else:
              return [('name',    self.create_namewidget(),  wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL),
                      ('value',   self.create_valuewidget(), wx.EXPAND)]
function_tokens: def define_widgetset ( self ) : if self . _attrconf . has_unit ( ) & self . _attrconf . is_writable ( ) : return [ ( 'name' , self . create_namewidget ( ) , wx . ALIGN_RIGHT | wx . ALIGN_CENTER_VERTICAL ) , ( 'value' , self . create_valuewidget ( ) , wx . EXPAND ) , ( 'unit' , self . create_unitwidget ( ) , wx . ALIGN_LEFT | wx . ALIGN_CENTER_VERTICAL ) , ] else : return [ ( 'name' , self . create_namewidget ( ) , wx . ALIGN_RIGHT | wx . ALIGN_CENTER_VERTICAL ) , ( 'value' , self . create_valuewidget ( ) , wx . EXPAND ) ]