#include "ntw.h"
Go to the source code of this file.
Data Structures | |
struct | ntw_tree_model_node |
struct | ntw_tree_model |
Functions | |
int | ntw_tree_model_data_send (struct ntw_tree_model *tm, FILE *file) |
int | ntw_tree_model_get_column_type (ntwWidget *widget, int32 column) |
Get the type of a particular column in a tree model. | |
ntw_tree_model_node * | ntw_tree_model_get_node_from_path (ntwWidget *widget, char *path_string) |
Find a node in a tree_model. | |
int | ntw_tree_model_insert_node (struct ntw_tree_model *tm, struct ntw_tree_model_node *parent_node, struct ntw_tree_model_node *node, int32 row) |
int | ntw_tree_model_clear (ntwWidget *widget) |
Delete all data nodes from a tree model. | |
int | ntw_tree_model_delete_row (ntwWidget *widget, struct ntw_tree_model_node *tmn) |
Delete a row from a tree model. | |
ntw_tree_model_node * | ntw_tree_model_insert_row (ntwWidget *widget, struct ntw_tree_model_node *parent_node, int32 row,...) |
Add row to tree_model. | |
ntwWidget * | ntw_tree_model_new (int32 columns,...) |
Create a tree model. | |
void | ntw_tree_model_initialize_callback () |
A tree_model is an abstract widget that's used with various viewer widgets that display the tree_model's data. The tree_model data is stored in rows that have a specified number of columns. Each column contains the same type of data. The tree_model stores data in a hierarchy. There may be any number of nodes on the same level, and any node may have children on a lower level.
|
Delete all data nodes from a tree model.
|
|
Delete a row from a tree model.
|
|
Get the type of a particular column in a tree model.
|
|
Find a node in a tree_model.
|
|
Add row to tree_model.
Example
|
|
Create a tree model.
|