diff options
author | Jonathan Blandford <jrb@webwynk.net> | 2001-05-09 13:18:46 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-05-09 13:18:46 +0000 |
commit | 3340826a509dbdfba834381f3f2cdb2fa53f839d (patch) | |
tree | 3f85c513c97b9505a64c8a1b09fe4f5f181be8d3 /gtk/gtktreeprivate.h | |
parent | ad13833f355afd13f43241a64c13f4788f1bf6c4 (diff) | |
download | gtk+-3340826a509dbdfba834381f3f2cdb2fa53f839d.tar.gz |
New "columns_changed" signal.
Wed May 9 09:08:44 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtktreeview.c (gtk_tree_view_class_init): New
"columns_changed" signal.
(gtk_tree_view_motion_draw_column_motion_arrow): Change column
motion code to draw arrows to the side if indicator is outside the
widget.
(gtk_tree_view_map_expanded_rows): Implement.
Diffstat (limited to 'gtk/gtktreeprivate.h')
-rw-r--r-- | gtk/gtktreeprivate.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gtk/gtktreeprivate.h b/gtk/gtktreeprivate.h index c0889e0b7e..26370adf92 100644 --- a/gtk/gtktreeprivate.h +++ b/gtk/gtktreeprivate.h @@ -45,6 +45,15 @@ typedef enum GTK_TREE_VIEW_IN_COLUMN_DRAG = 1 << 7, } GtkTreeViewFlags; +enum +{ + DRAG_COLUMN_WINDOW_STATE_UNSET = 0, + DRAG_COLUMN_WINDOW_STATE_ORIGINAL = 1, + DRAG_COLUMN_WINDOW_STATE_ARROW = 2, + DRAG_COLUMN_WINDOW_STATE_ARROW_LEFT = 3, + DRAG_COLUMN_WINDOW_STATE_ARROW_RIGHT = 4, + +}; #define GTK_TREE_VIEW_SET_FLAG(tree_view, flag) G_STMT_START{ (tree_view->priv->flags|=flag); }G_STMT_END #define GTK_TREE_VIEW_UNSET_FLAG(tree_view, flag) G_STMT_START{ (tree_view->priv->flags&=~(flag)); }G_STMT_END #define GTK_TREE_VIEW_FLAG_SET(tree_view, flag) ((tree_view->priv->flags&flag)==flag) @@ -95,7 +104,6 @@ struct _GtkTreeViewPrivate gint expander_column; /* Focus code */ - gboolean header_has_focus; GtkTreeViewColumn *focus_column; GtkTreeViewColumn *scroll_column; @@ -143,6 +151,8 @@ struct _GtkTreeViewPrivate gfloat scroll_to_row_align; gfloat scroll_to_col_align; + guint header_has_focus : 1; + guint drag_column_window_state : 3; /* hint to display rows in alternating colors */ guint has_rules : 1; }; |