wxPython/wxGlade-0.9.1/widgets/toolbar/toolbar.py
def add_separator(self, event):
        "Event handler called when the Add Separator button is clicked"
        index = self.selected_index + 1
        if not self.items.GetItemCount():
            self._enable_fields()
        if index < 0:
            index = self.items.GetItemCount()
        self._insert_item(index, self.separator_item)
        self._select_item(index, force=True)
Event handler called when the Add Separator button is clicked
Event handler called when the Add Separator button is clicked
Event handler called when the Add Separator button is clicked
def add_separator(self, event):
        index = self.selected_index + 1
        if not self.items.GetItemCount():
            self._enable_fields()
        if index < 0:
            index = self.items.GetItemCount()
        self._insert_item(index, self.separator_item)
        self._select_item(index, force=True)
def add_separator ( self , event ) : index = self . selected_index + 1 if not self . items . GetItemCount ( ) : self . _enable_fields ( ) if index < 0 : index = self . items . GetItemCount ( ) self . _insert_item ( index , self . separator_item ) self . _select_item ( index , force = True )
Event handler called when the Add Separator button is clicked
Event handler called when the Add Separator button is clicked
"Event handler called when the Add Separator button is clicked"
self
event