GtkListStore
Data model for list data.
Object Hierarchy
Implemented Interfaces
Description
The GtkListStore object is a list model for use with a GtkTreeView widget. It can be used to store any number of tabular data.
On creation, you have to determine how many columns the store will have, and what type they shall be able to contain. After that, you will fill the model with data by using the set() , append() or prepend() methods.
After you have done that, you can use the list store object as data source for a GtkTreeView by using the set_model() method.
Constructors
-- Create a new list store with a number of columns.
Methods
append() Append one row to the end of the list. clear() Remove all rows. insert() Insert a row of data at a certain position. insert_after() FIXME: Code should be changed insert_before() FIXME: Code should be changed iter_is_valid() Checks if the given iterator is valid. move_after() Moves the given row after a specified one. move_before() Moves the given row before a specified one. prepend() Add a row at the beginning of the list. remove() Remove a specific row. set() Change certains columns of a row. swap() Swaps two rows.