Share and Money Management 0.18devel
Private Member Functions | List of all members
gui.controls.ShareChoice Class Reference

Choice widget to select a share. More...

Inheritance diagram for gui.controls.ShareChoice:

Private Member Functions

def _formatElement (self, obj)
 Function to format a single object. More...
 
def _getElements (self)
 Function to query all objects of unique type. More...
 

Additional Inherited Members

- Public Member Functions inherited from gui.controls.BaseChoice
def __init__ (self, *args, **kwargs)
 Constructor. More...
 
def addEmptyChoice (self)
 Add an empty choice to the widget. More...
 
def GetSelection (self)
 Returns the selected object or None. More...
 
def SetSelection (self, obj)
 Select another object. More...
 
def SelectFirst (self)
 Select the first (non-empty) element. More...
 
def Select (self, obj)
 Selecting an element specified by the given object. More...
 
- Public Attributes inherited from gui.controls.BaseChoice
 addEmpty
 
 idx_obj
 Dictionary to lookup relations between position and object. More...
 
- Static Public Attributes inherited from gui.controls.BaseChoice
bool addEmpty = False
 Add an empty entry to the widget during initialisation. More...
 

Detailed Description

Choice widget to select a share.

Member Function Documentation

◆ _formatElement()

def gui.controls.ShareChoice._formatElement (   self,
  obj 
)
private

Function to format a single object.

Reimplemented from gui.controls.BaseChoice.

◆ _getElements()

def gui.controls.ShareChoice._getElements (   self)
private

Function to query all objects of unique type.

Reimplemented from gui.controls.BaseChoice.


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