diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-13 14:24:25 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-13 14:24:25 +0100 |
commit | 951ad51cd45ba2e5f49fab169ccbabc8f98a5185 (patch) | |
tree | 02b09d86bc9477e42e8c6c81bb77a02d844ba9ad /desktop/treeview.h | |
parent | 653cf8fa1fe9796b48988ac8fd726056a55c70f4 (diff) | |
download | netsurf-951ad51cd45ba2e5f49fab169ccbabc8f98a5185.tar.gz netsurf-951ad51cd45ba2e5f49fab169ccbabc8f98a5185.tar.bz2 |
Add functions to get first selected hotlist/global_history node data.
Diffstat (limited to 'desktop/treeview.h')
-rw-r--r-- | desktop/treeview.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/treeview.h b/desktop/treeview.h index 6fe6521dc..8f5c44ebd 100644 --- a/desktop/treeview.h +++ b/desktop/treeview.h @@ -376,6 +376,14 @@ void treeview_mouse_action(treeview *tree, bool treeview_has_selection(treeview *tree); /** + * Get the first selected node + * + * \param tree Treeview object to get selected node in + * \param node_data Client data for the selected treeview node, or NULL + */ +void treeview_get_selection(treeview *tree, void **node_data); + +/** * Edit the first selected node * * \param tree Treeview object to edit selected node in |