k.u.o.SummaryLabel(ListLabel) : class documentation

Part of kiwi.ui.objectlist View In Hierarchy

I am a subclass of ListLabel which you can use if you want to summarize all the values of a specific column. Please note that I only know how to handle number column data types and I will complain if you give me something else.
Method __init__ Constructor.
Method update_total Recalculate the total value of all columns
Method _on_klist__cell_edited Undocumented

Inherited from ListLabel:

Method set_value Sets the value of the label.
Method get_value_widget Undocumented
Method get_label_widget Undocumented
Method _create_ui Undocumented
Method _resize Undocumented
Method _on_treeview_column_button__size_allocate Undocumented
Method _on_treeview_column__notify_width Undocumented
Method _on_list__size_allocate Undocumented
def __init__(self, klist, column, label=_('Total:'), value_format='%s', font_desc=None):
Constructor.
Parametersklistlist to follow (type: kiwi.ui.objectlist.ObjectList )
columnname of a column in a klist (type: string )
labellabel (type: string )
value_formatformat string used to format value (type: string )
def update_total(self):
Recalculate the total value of all columns
def _on_klist__cell_edited(self, klist, object, attribute):
Undocumented
API Documentation for Kiwi, generated by pydoctor at 2010-05-20 02:10:57.