This is the description of standalone Python functions in the persist.persist_handlers module.
CreateFont | Creates a tuple of 7 wx.Font attributes from the font input parameter. |
FindHandler | Finds a suitable handler for the input Persistent Object depending on the |
HasCtrlHandler | Is there a suitable handler for this control |
PyDate2wxDate | Transforms a datetime.date object into a wx.DateTime one. |
wxDate2PyDate | Transforms a wx.DateTime object into a datetime.date one. |
Creates a tuple of 7 wx.Font attributes from the font input parameter.
Parameters: | font – a wx.Font instance. |
---|---|
Returns: | A tuple of 7 wx.Font attributes from the font input parameter. |
Finds a suitable handler for the input Persistent Object depending on the widget kind.
Parameters: | pObject – an instance of PersistentObject class. |
---|
Is there a suitable handler for this control
Parameters: | control – the control instance to check if a handler for it exists. |
---|
Transforms a datetime.date object into a wx.DateTime one.
Parameters: | date – a datetime.date object. |
---|
Transforms a wx.DateTime object into a datetime.date one.
Parameters: | date – a wx.DateTime object. |
---|