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
 Creates a header only list.
def add
 Add a single smm.objects.Position object to the list.
- Public Member Functions inherited from gui.controls.BaseListSmall
def __init__
 Create the list header and enable the column sorter.
def clean
 Clean the list.
def createPopupMenu
 Create the popup menu.
def populate
 Creates a list of smm.objects.Position objects.
def OnShowPopup
 Display the pop-up menu.

Additional Inherited Members

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

Detailed Description

Class to simpilfy creating and controlling of Position lists.

Wrapper class to consolidates code to maintain Position lists.

Member Function Documentation

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.

def gui.controls.PositionListSmall.createHeader (   self)

Creates a header only list.

Reimplemented from gui.controls.BaseListSmall.


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