diff options
author | Stefano Karapetsas <[email protected]> | 2011-12-14 10:13:54 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2011-12-14 10:13:54 +0100 |
commit | ef0467789bfc8406b57ba553e4d59f4d6c3f9be8 (patch) | |
tree | 09d541636a16cb38448fe6183289ebdc3080c1bf /baobab/src/baobab-treeview.h | |
download | mate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.bz2 mate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.xz |
Moved from Mate-Extra repository
Diffstat (limited to 'baobab/src/baobab-treeview.h')
-rw-r--r-- | baobab/src/baobab-treeview.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/baobab/src/baobab-treeview.h b/baobab/src/baobab-treeview.h new file mode 100644 index 00000000..38aca412 --- /dev/null +++ b/baobab/src/baobab-treeview.h @@ -0,0 +1,47 @@ +/* + * baobab-treeview.h + * This file is part of baobab + * + * Copyright (C) 2005-2006 Fabio Marzocca <[email protected]> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef __BAOBAB_TV_H__ +#define __BAOBAB_TV_H__ + +#include <gtk/gtk.h> + +/* tree model columns (_H_ are hidden) */ +enum +{ + COL_DIR_NAME, + COL_H_PARSENAME, + COL_H_PERC, + COL_DIR_SIZE, + COL_H_SIZE, + COL_H_ALLOCSIZE, + COL_ELEMENTS, + COL_H_ELEMENTS, + COL_HARDLINK, + COL_H_HARDLINK, + NUM_TREE_COLUMNS +}; + +GtkWidget *create_directory_treeview (void); +void baobab_treeview_show_allocated_size (GtkWidget *tv, gboolean show_allocated); + +#endif /* __BAOBAB_TV_H__ */ |