# Class k.u.o.ListLabel(gtk.HBox):

Part of kiwi.ui.objectlist View In Hierarchy

Known subclasses: kiwi.ui.objectlist.SummaryLabel

I am a subclass of a GtkHBox which you can use if you want to vertically align a label with a column

Method | __init__ | Constructor.
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='', value_format='%s', font_desc=None):
overridden in kiwi.ui.objectlist.SummaryLabel
Constructor.

Parameters | klist | list to follow (type: kiwi.ui.objectlist.ObjectList )
| column | name of a column in a klist (type: string )
| label | label (type: string )
| value_format | format string used to format value (type: string )

def set_value(self, value):
Sets the value of the label. Note that it needs to be of the same type as you specified in value_format in the constructor. I also support the GMarkup syntax, so you can use "<b>%d</b>" if you want.

def get_value_widget(self):
Undocumented
def get_label_widget(self):
Undocumented
def _create_ui(self):
Undocumented
def _resize(self, position=-1, width=-1):
Undocumented
def _on_treeview_column_button__size_allocate(self, label, rect):
Undocumented
def _on_treeview_column__notify_width(self, treeview, pspec):
Undocumented
def _on_list__size_allocate(self, list, rect):
Undocumented