GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tree-view-utils.h
1 /*
2  * tree-view-utils.c -- some convenience functions for use with
3  * plain GtkTreeViews in situations where a
4  * fully fledged GncTreeView is overkill.
5  * Handy with GtkTreeViews defined in glade files.
6  *
7  * Copyright (C) 2013 Geert Janssens <[email protected]>
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License as
11  * published by the Free Software Foundation; either version 2 of
12  * the License, or (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, contact:
21  *
22  * Free Software Foundation Voice: +1-617-542-5942
23  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
24  * Boston, MA 02110-1301, USA [email protected]
25  */
26 
36 #ifndef TREE_VIEW_UTILS_H_
37 #define TREE_VIEW_UTILS_H_
38 
39 #include "config.h"
40 
41 #include <gtk/gtk.h>
42 #include <string.h>
43 
49 void tree_view_column_set_default_width (GtkTreeView *view,
50  GtkTreeViewColumn *column,
51  const gchar *sizing_text);
52 
56 #endif /* TREE_VIEW_UTILS_H_ */
void tree_view_column_set_default_width(GtkTreeView *view, GtkTreeViewColumn *column, const gchar *sizing_text)