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

Class Variable type
Class Variable name The name of the datatype.
Class Variable 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.
type =
name =
The name of the datatype.
align =
The alignment of the datatype. Normally right for numbers and dates, left for others. Default is left.
def get_compare_function(self):

This can be overriden by a subclass to provide a custom comparison function.

Returnscmp
def get_mask(self):

Returns the mask of the entry or None if not specified.

Returnsthe mask or None.
API Documentation for Kiwi, generated by pydoctor at 2015-12-15 02:02:17.