parameters: (self)
docstring: Layout the control box
docstring_summary: Layout the control box
docstring_tokens: Layout the control box
function: def __DoLayout(self):
          """Layout the control box"""
          ctrlbar = self.CreateControlBar()
          if wx.Platform == '__WXGTK__':
              ctrlbar.SetWindowStyle(eclib.CTRLBAR_STYLE_BORDER_BOTTOM)
  
          self._choice = wx.Choice(ctrlbar, wx.ID_ANY, choices=self._styles)
  
          ctrlbar.AddControl(wx.StaticText(ctrlbar, label=_("Color Scheme:")),
                             wx.ALIGN_LEFT)
          ctrlbar.AddControl(self._choice, wx.ALIGN_LEFT)
          ctrlbar.AddStretchSpacer()
          self._clear = self.AddPlateButton(_("Clear"), ed_glob.ID_DELETE,
                                            wx.ALIGN_RIGHT)
          self.SetWindow(self._shell)
function_tokens: def __DoLayout ( self ) : ctrlbar = self . CreateControlBar ( ) if wx . Platform == '__WXGTK__' : ctrlbar . SetWindowStyle ( eclib . CTRLBAR_STYLE_BORDER_BOTTOM ) self . _choice = wx . Choice ( ctrlbar , wx . ID_ANY , choices = self . _styles ) ctrlbar . AddControl ( wx . StaticText ( ctrlbar , label = _ ( "Color Scheme:" ) ) , wx . ALIGN_LEFT ) ctrlbar . AddControl ( self . _choice , wx . ALIGN_LEFT ) ctrlbar . AddStretchSpacer ( ) self . _clear = self . AddPlateButton ( _ ( "Clear" ) , ed_glob . ID_DELETE , wx . ALIGN_RIGHT ) self . SetWindow ( self . _shell )