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

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

Inheritance diagram for gui.controls.TransactionKindChoice:

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

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

See also
smm.objects.Transaction.kind

Constructor & Destructor Documentation

◆ __init__()

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

Constructor.

Reimplemented from gui.controls.BaseChoice.

Member Data Documentation

◆ idx_obj

gui.controls.TransactionKindChoice.idx_obj

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