#include "ntw.h"
Go to the source code of this file.
Data Structures | |
| struct | ntw_list_model_node |
| struct | ntw_list_model |
Functions | |
| int | ntw_list_model_data_send (struct ntw_list_model *lm, FILE *file) |
| int | ntw_list_model_get_column_type (ntwWidget *widget, int32 column) |
| Get the type of a particular column in a list model. | |
| int | ntw_list_model_clear (ntwWidget *widget) |
| Delete all rows from list_model. | |
| int32 | ntw_list_model_delete_row (ntwWidget *widget, int row) |
| Delete a single row from list_model. | |
| int32 | ntw_list_model_insert_row (ntwWidget *widget, int row,...) |
| Add row to list_model. | |
| ntwWidget * | ntw_list_model_new (int32 columns,...) |
| Create a list model. | |
| void | ntw_list_model_initialize_callback () |
A list_model is an abstract widget that's used with various viewer widgets that display the list_model's data. The list_model data is stored in rows that have a specified number of columns. Each column contains the same type of data. The list_model stores flat data, so there is no hierarchical structure as would exist in a tree.
|
|
Delete all rows from list_model.
|
|
||||||||||||
|
Delete a single row from list_model.
|
|
||||||||||||
|
Get the type of a particular column in a list model.
|
|
||||||||||||||||
|
Add row to list_model.
Example
|
|
||||||||||||
|
Create a list model.
|
1.4.6