kiwi.datatypes.BaseConverter(object)
class documentationkiwi.datatypes
(View In Hierarchy)
Known subclasses: kiwi.datatypes._BaseDateTimeConverter, kiwi.datatypes._BoolConverter, kiwi.datatypes._EnumConverter, kiwi.datatypes._FloatConverter, kiwi.datatypes._IntConverter, kiwi.datatypes._ObjectConverter, kiwi.datatypes._StringConverter, kiwi.datatypes._UnicodeConverter, kiwi.ui.proxywidget._PixbufConverter
Abstract converter used by all datatypes @cvar type: @cvar name: The name of the datatype. @cvar align: The alignment of the datatype. Normally right for numbers and dates, left for others. Default is left.
Method | get_compare_function | This can be overriden by a subclass to provide a custom comparison function. @returns: cmp |
Method | as_string | No summary |
Method | from_string | Convert a value from a string. @param value: @returns: |
Method | get_mask | Returns the mask of the entry or None if not specified. @returns: the mask or None. |
This can be overriden by a subclass to provide a custom comparison function. @returns: cmp
Convert the value to a string using the specificed format. @param value: @param format: @returns:
Convert a value from a string. @param value: @returns:
Returns the mask of the entry or None if not specified. @returns: the mask or None.