Share and Money Management  0.16
Public Member Functions | List of all members
gui.controls.PositionListSmall Class Reference

Class to simpilfy creating and controlling of Position lists. More...

Inheritance diagram for gui.controls.PositionListSmall:

Public Member Functions

def createHeader (self)
 Creates a header only list. More...
 
def add (self, position)
 Add a single smm.objects.Position object to the list. More...
 
- Public Member Functions inherited from gui.controls.BaseListSmall
def __init__ (self, control)
 Create the list header and enable the column sorter. More...
 
def clean (self)
 Clean the list. More...
 
def createPopupMenu (self)
 Create the popup menu. More...
 
def populate (self, element_list)
 Creates a list of smm.objects.Position objects. More...
 
def OnShowPopup (self, event)
 Display the pop-up menu. More...
 

Additional Inherited Members

- Static Public Attributes inherited from gui.controls.BaseListSmall
 control = None
 Reference to a SortedListCtrl. More...
 
bool hasPopup = False
 List has a popup menu. More...
 
 popupmenu = None
 

Detailed Description

Class to simpilfy creating and controlling of Position lists.

Wrapper class to consolidates code to maintain Position lists.

Member Function Documentation

◆ add()

def gui.controls.PositionListSmall.add (   self,
  position 
)

Add a single smm.objects.Position object to the list.

Parameters
selfThe object instance itself
positionA single smm.objects.Position

Reimplemented from gui.controls.BaseListSmall.

References gui.controls.BaseListSmall.control.

◆ createHeader()

def gui.controls.PositionListSmall.createHeader (   self)

Creates a header only list.

Reimplemented from gui.controls.BaseListSmall.

References gui.controls.BaseListSmall.control.


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