original_docstring:  Info / alert / error button (will change depending on circumstance) 
docstring: Info / alert / error button (will change depending on circumstance)
docstring_tokens: Info / alert / error button ( will change depending on circumstance )
code: def onInfoButton(self, e):
      ''' Info / alert / error button (will change depending on circumstance) '''
      idx = e.GetEventObject().GetParent().index
      item_obj = self.ctr.GetItemData(idx)
      item_type = item_obj.type.type.GetString(item_obj.type_selection)
  
      if item_obj.warning:
        wx.MessageBox(item_obj.info['WARNING'], 'Warning', wx.OK |
                      wx.ICON_EXCLAMATION)
      else:
        wx.MessageBox(item_obj.info[item_type], 'Info', wx.OK |
                      wx.ICON_INFORMATION)
code_tokens: def onInfoButton ( self , e ) : idx = e . GetEventObject ( ) . GetParent ( ) . index item_obj = self . ctr . GetItemData ( idx ) item_type = item_obj . type . type . GetString ( item_obj . type_selection ) if item_obj . warning : wx . MessageBox ( item_obj . info [ 'WARNING' ] , 'Warning' , wx . OK | wx . ICON_EXCLAMATION ) else : wx . MessageBox ( item_obj . info [ item_type ] , 'Info' , wx . OK | wx . ICON_INFORMATION )
short_docstring: Info / alert / error button (will change depending on circumstance)
short_docstring_tokens: Info / alert / error button ( will change depending on circumstance )
comment: ''' Info / alert / error button (will change depending on circumstance) '''