Share and Money Management 0.18devel
Static Public Attributes | Private Member Functions | List of all members
gui.controls.ExchangeChoice Class Reference

Choice widget to select a exchange. More...

Inheritance diagram for gui.controls.ExchangeChoice:

Static Public Attributes

bool addEmpty = True
 
- Static Public Attributes inherited from gui.controls.BaseChoice
bool addEmpty = False
 Add an empty entry to the widget during initialisation. More...
 

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...
 

Detailed Description

Choice widget to select a exchange.

Member Function Documentation

◆ _formatElement()

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

Function to format a single object.

Reimplemented from gui.controls.BaseChoice.

◆ _getElements()

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

Function to query all objects of unique type.

Reimplemented from gui.controls.BaseChoice.

Member Data Documentation

◆ addEmpty

bool gui.controls.ExchangeChoice.addEmpty = True
static

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