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