UniDec
Universal Deconvolution of Mass and Ion Mobility Spectra
Public Member Functions | Public Attributes | List of all members
UniDec.unidec_modules.IM_windows.IMListCtrl Class Reference
Inheritance diagram for UniDec.unidec_modules.IM_windows.IMListCtrl:
Inheritance graph
[legend]
Collaboration diagram for UniDec.unidec_modules.IM_windows.IMListCtrl:
Collaboration graph
[legend]

Public Member Functions

def __init__
 
def clear_list (self)
 
def add_line
 
def populate
 
def get_list (self)
 
def on_right_click (self, event)
 
def on_delete (self, event)
 

Public Attributes

 popupID1
 

Constructor & Destructor Documentation

def UniDec.unidec_modules.IM_windows.IMListCtrl.__init__ (   self,
  parent,
  id_val,
  pos = wx.DefaultPosition,
  size = wx.DefaultSize,
  style = 0 
)
Create listctrl with 2 columns.
:param parent: Passed to wx.ListCtrl
:param id_val: Passed to wx.ListCtrl
:param pos: Passed to wx.ListCtrl
:param size: Passed to wx.ListCtrl
:param style: Passed to wx.ListCtrl
:return: None

Member Function Documentation

def UniDec.unidec_modules.IM_windows.IMListCtrl.add_line (   self,
  val = 0 
)
Add a new line to the list.
:param val: Value for the first column. Default is 0. Default for second column is 0.
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.IM_windows.IMListCtrl.clear_list (   self)
Clear list.
:return: None
def UniDec.unidec_modules.IM_windows.IMListCtrl.get_list (   self)
Return the list of values in the listctrl.
:return: Nested list of listctrl output
def UniDec.unidec_modules.IM_windows.IMListCtrl.on_delete (   self,
  event 
)
Delete the selected item.
:param event: Unused event.
:return: None

Here is the caller graph for this function:

def UniDec.unidec_modules.IM_windows.IMListCtrl.on_right_click (   self,
  event 
)
Create a right click menu.
:param event: Unused event
:return: None
def UniDec.unidec_modules.IM_windows.IMListCtrl.populate (   self,
  data,
  colors = None 
)
Add data from array or nested list to the listctrl.
:param data: List or array of data values.
:param colors: Background colors list
:return: None

Member Data Documentation

UniDec.unidec_modules.IM_windows.IMListCtrl.popupID1

The documentation for this class was generated from the following file: