diff options
author | Michael Mann <mmann78@netscape.net> | 2013-10-23 14:24:17 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-10-23 14:24:17 +0000 |
commit | bb25fad9de068caf872f883c55fdbda988b3b899 (patch) | |
tree | 8614d8bb9ab5645483b7e97bb56706837750b354 /ui/gtk/gui_utils.h | |
parent | f4306bb0cdd397b2054a705521dfcf121c069c9c (diff) | |
download | wireshark-bb25fad9de068caf872f883c55fdbda988b3b899.tar.gz |
Add the ability to collapse subtrees with Shift+Left + additional menu items. Bug 9008 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9008).
Currently this is only for GTK, but allows users to test it to see if its worth adding to Qt (my personal opinion is yes).
From Jiří Engelthaler
svn path=/trunk/; revision=52790
Diffstat (limited to 'ui/gtk/gui_utils.h')
-rw-r--r-- | ui/gtk/gui_utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/gtk/gui_utils.h b/ui/gtk/gui_utils.h index eb9d524e5b..95248f18f3 100644 --- a/ui/gtk/gui_utils.h +++ b/ui/gtk/gui_utils.h @@ -311,6 +311,13 @@ extern gchar *create_user_window_title(const gchar *caption); */ extern void set_window_title(GtkWidget *win, const gchar *caption); +/** Collapses tree item and his expanded children + * + * @param tree_view A GtkTreeView + * @param path Path to the field + */ +extern void tree_collapse_path_all(GtkTreeView *tree_view, GtkTreePath *path); + /** Renders a float with two decimals precission, called from gtk_tree_view_column_set_cell_data_func(). * the user data must be the column number. * Present floats with two decimals |