pyface.viewer.table_label_provider module

Base class for all table label providers.

class pyface.viewer.table_label_provider.TableLabelProvider[source]

Bases: pyface.viewer.label_provider.LabelProvider

Base class for all table label providers.

By default an item has no icon, and ‘str’ is used to generate its label.

get_image(viewer, element, column_index=0)[source]

Returns the filename of the label image for an element.

get_text(viewer, element, column_index=0)[source]

Returns the label text for an element.