kiwi.ui.objectlist.SequentialColumn(Column)
class documentationkiwi.ui.objectlist
(View In Hierarchy)
I am a column which will display a sequence of numbers, which represent the row number. The value is independent of the data in the other columns, so no matter what I will always display 1 in the first column, unless you reverse it by clicking on the column header.
If you don't give me any argument I'll have the title of a hash (#) and right justify the sequences.
Method | __init__ | Creates a new Column, which describes how a column in a ObjectList should be rendered. |
Method | cell_data_func | Undocumented |
Inherited from PropertyObject (via Column):
Class Method | __class_init__ | Undocumented |
Method | __post_init__ | No summary |
Method | get_attribute_names | Undocumented |
Method | is_default_value | Undocumented |
Method | do_set_property | Undocumented |
Method | do_get_property | Undocumented |
Method | _set | Undocumented |
Method | _get | Undocumented |
Inherited from PropertyObject (via Column):
Class Method | __class_init__ | Undocumented |
Method | __post_init__ | No summary |
Method | get_attribute_names | Undocumented |
Method | is_default_value | Undocumented |
Method | do_set_property | Undocumented |
Method | do_get_property | Undocumented |
Method | _set | Undocumented |
Method | _get | Undocumented |
Creates a new Column, which describes how a column in a ObjectList should be rendered.
Parameters | attribute | a string with the name of the instance attribute the column represents. |
title | the title of the column, defaulting to the capitalized form of the attribute. | |
data_type | the type of the attribute that will be inserted into the column. | |
Note | title_pixmap: (TODO) if set to a filename a pixmap will be used *instead* of the title set. The title string will still be used to identify the column in the column selection and in a tooltip, if a tooltip is not set. |