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

Choice widget to select the share type. More...

Inheritance diagram for gui.controls.ShareKindChoice:

Public Member Functions

def __init__ (self, *args, **kwargs)
 Constructor. More...
 
- 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

 idx_obj
 
- Public Attributes inherited from gui.controls.BaseChoice
 addEmpty
 
 idx_obj
 Dictionary to lookup relations between position and object. More...
 

Additional Inherited Members

- 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 the share type.

The entries are set directly without usage of _getElements and _formatElement.

See also
smm.objects.Share.kind

Constructor & Destructor Documentation

◆ __init__()

def gui.controls.ShareKindChoice.__init__ (   self,
args,
**  kwargs 
)

Constructor.

Reimplemented from gui.controls.BaseChoice.

Member Data Documentation

◆ idx_obj

gui.controls.ShareKindChoice.idx_obj

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