diff options
author | Kristian Rietveld <kris@imendio.com> | 2006-06-12 18:17:35 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2006-06-12 18:17:35 +0000 |
commit | 7a6a6ebcff6cbf7850b818b8fc7bdebe6c5e5090 (patch) | |
tree | 0bbc252fd3bb7f5c1dc5a1161ad567e12a35dc34 /gtk/gtkenums.h | |
parent | 75a88982a458b6583964d2423b234ab0425e28bf (diff) | |
download | gtk+-7a6a6ebcff6cbf7850b818b8fc7bdebe6c5e5090.tar.gz |
Introduce grid and tree lines in GtkTreeView. (#106406, Martyn Russell).
2006-06-12 Kristian Rietveld <kris@imendio.com>
Introduce grid and tree lines in GtkTreeView. (#106406,
Martyn Russell).
* gtk/gtktreeprivate.h: add new fields to GtkTreePrivate.
* gtk/gtkenums.h: add GtkTreeViewGridLines.
* gtk/gtktreeview.[ch] (gtk_tree_view_set_grid_lines),
(gtk_tree_view_get_grid_lines),
(gtk_tree_view_set_enable_tree_lines),
(gtk_tree_view_get_enable_tree_lines): new API,
(gtk_tree_view_class_init): new properties,
(gtk_tree_view_init), (gtk_tree_view_{get,set}_property),
(gtk_tree_view_realize), (gtk_tree_view_draw_grid_lines),
(gtk_tree_view_bin_expose): implement.
* gtk/gtk.symbols: update.
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r-- | gtk/gtkenums.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 89de9fa91c..85bfd38f82 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -507,6 +507,13 @@ typedef enum { GTK_UNIT_MM } GtkUnit; +typedef enum { + GTK_TREE_VIEW_GRID_LINES_NONE, + GTK_TREE_VIEW_GRID_LINES_HORIZONTAL, + GTK_TREE_VIEW_GRID_LINES_VERTICAL, + GTK_TREE_VIEW_GRID_LINES_BOTH +} GtkTreeViewGridLines; + G_END_DECLS #endif /* __GTK_ENUMS_H__ */ |