NetSurf
|
The treeview context. More...
Data Fields | |
uint32_t | view_width |
Viewport horizontal size. More... | |
treeview_flags | flags |
Treeview behaviour settings. More... | |
treeview_node * | root |
Root node. More... | |
struct treeview_field * | fields |
Array of fields. More... | |
int | n_fields |
fields[n_fields] is folder, lower are entry fields More... | |
int | field_width |
Max width of shown field names. More... | |
struct treeview_drag | drag |
Drag state. More... | |
struct treeview_move | move |
Move drag details. More... | |
struct treeview_edit | edit |
Edit details. More... | |
struct treeview_search | search |
Treeview search box. More... | |
const struct treeview_callback_table * | callbacks |
For node events. More... | |
struct core_window * | cw_h |
Core window handle. More... | |
The treeview context.
Definition at line 232 of file treeview.c.
const struct treeview_callback_table* treeview::callbacks |
For node events.
Definition at line 249 of file treeview.c.
Referenced by treeview_create(), treeview_delete_node_walk_cb(), treeview_edit_done(), treeview_node_launch_walk_fwd_cb(), and treeview_node_mouse_action_cb().
struct core_window* treeview::cw_h |
Core window handle.
Definition at line 251 of file treeview.c.
Referenced by treeview__cw_drag_status(), treeview__cw_full_redraw(), treeview__cw_get_window_dimensions(), treeview__cw_invalidate_area(), treeview__cw_scroll_to_node(), treeview__cw_scroll_top(), treeview__cw_update_size(), treeview_create(), treeview_cw_attach(), and treeview_cw_detach().
struct treeview_drag treeview::drag |
Drag state.
Definition at line 243 of file treeview.c.
Referenced by treeview__get_cw_drag_type(), treeview_commit_selection_drag(), treeview_create(), treeview_edit_cancel(), treeview_mouse_action(), treeview_node_mouse_action_cb(), treeview_redraw_search(), treeview_redraw_tree(), treeview_textarea_callback(), and treeview_textarea_search_callback().
struct treeview_edit treeview::edit |
Edit details.
Definition at line 245 of file treeview.c.
Referenced by treeview_create(), treeview_delete_node_walk_cb(), treeview_edit_cancel(), treeview_edit_done(), treeview_edit_node_at_point(), treeview_keypress(), treeview_mouse_action(), treeview_redraw(), and treeview_textarea_callback().
int treeview::field_width |
Max width of shown field names.
Definition at line 241 of file treeview.c.
Referenced by treeview_create(), treeview_node_mouse_action_cb(), treeview_redraw_search(), and treeview_redraw_tree().
struct treeview_field* treeview::fields |
Array of fields.
Definition at line 239 of file treeview.c.
Referenced by treeview__search_walk_cb(), treeview_create(), treeview_create_node_entry(), treeview_destroy(), treeview_edit_node_at_point(), treeview_node_mouse_action_cb(), treeview_node_selection_walk_cb(), treeview_redraw_search(), treeview_redraw_tree(), treeview_update_node_entry(), and treeview_update_node_folder().
treeview_flags treeview::flags |
Treeview behaviour settings.
Definition at line 235 of file treeview.c.
Referenced by treeview__get_search_height(), treeview_create(), treeview_delete_node(), treeview_delete_node_internal(), treeview_keypress(), treeview_node_mouse_action_cb(), treeview_redraw(), and treeview_set_search_string().
struct treeview_move treeview::move |
Move drag details.
Definition at line 244 of file treeview.c.
Referenced by treeview_create(), treeview_mouse_action(), treeview_move_selection(), treeview_node_selection_walk_cb(), treeview_redraw(), and treeview_set_move_indicator().
int treeview::n_fields |
fields[n_fields] is folder, lower are entry fields
Definition at line 240 of file treeview.c.
Referenced by treeview__search_walk_cb(), treeview_create(), treeview_create_node_entry(), treeview_destroy(), treeview_edit_node_at_point(), treeview_node_expand_internal(), treeview_node_mouse_action_cb(), treeview_node_selection_walk_cb(), treeview_redraw_search(), treeview_redraw_tree(), treeview_update_node_entry(), and treeview_update_node_folder().
treeview_node* treeview::root |
Root node.
Definition at line 237 of file treeview.c.
Referenced by treeview__get_display_height(), treeview__search(), treeview_clear_selection(), treeview_commit_selection_drag(), treeview_contract(), treeview_copy_selection(), treeview_create(), treeview_create_node_entry(), treeview_create_node_folder(), treeview_delete_empty_nodes(), treeview_delete_node(), treeview_delete_node_internal(), treeview_delete_selection(), treeview_destroy(), treeview_edit_selection(), treeview_expand(), treeview_get_first_selected(), treeview_get_height(), treeview_get_relation(), treeview_has_selection(), treeview_keyboard_navigation(), treeview_keypress(), treeview_launch_selection(), treeview_mouse_action(), treeview_move_selection(), treeview_move_yank_selection(), treeview_node_nav_cb(), treeview_node_y(), treeview_propagate_selection(), treeview_redraw(), treeview_redraw_search(), treeview_redraw_tree(), treeview_select_all(), treeview_set_move_indicator(), treeview_textarea_search_callback(), treeview_walk(), and treeview_y_node().
struct treeview_search treeview::search |
Treeview search box.
Definition at line 247 of file treeview.c.
Referenced by treeview__get_display_height(), treeview__search(), treeview__search_cancel(), treeview__search_update_display(), treeview_create(), treeview_destroy(), treeview_keyboard_navigation(), treeview_keypress(), treeview_mouse_action(), treeview_node_contract_cb(), treeview_node_expand_internal(), treeview_node_mouse_action_cb(), treeview_redraw(), treeview_set_search_string(), treeview_textarea_search_callback(), and treeview_walk_internal().
uint32_t treeview::view_width |
Viewport horizontal size.
Definition at line 233 of file treeview.c.