diff options
author | Jonathan Blandford <jrb@gnome.org> | 2003-03-03 04:51:42 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2003-03-03 04:51:42 +0000 |
commit | 0d93b6432dde93cd3294de90ad250de65cb27a91 (patch) | |
tree | 4b4b8d1e59f96d48c13257a3ceff1357c4910479 /gtk/gtktreeviewcolumn.h | |
parent | 770996f94989940311617a58d2c36604081a4e6f (diff) | |
download | gtk+-0d93b6432dde93cd3294de90ad250de65cb27a91.tar.gz |
handle rtl code.
Sun Mar 2 23:35:57 2003 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
handle rtl code.
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto
* gtk/gtktreeview.c: (invalidate_column),
(invalidate_last_column),
(gtk_tree_view_get_real_requested_width_from_column),
(gtk_tree_view_size_allocate_columns),
(gtk_tree_view_size_allocate), (gtk_tree_view_button_press),
(gtk_tree_view_button_release_drag_column),
(gtk_tree_view_update_current_reorder),
(gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose),
(gtk_tree_view_key_press), (gtk_tree_view_header_focus),
(gtk_tree_view_get_background_xrange),
(gtk_tree_view_get_arrow_xrange),
(gtk_tree_view_is_expander_column),
(gtk_tree_view_set_column_drag_info),
(gtk_tree_view_move_cursor_left_right):
Add RTL support.
* gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an
expand flag.
* gtk/gtktreeviewcolumn.c:
(gtk_tree_view_column_class_init),
(gtk_tree_view_column_set_property),
(gtk_tree_view_column_get_property),
(gtk_tree_view_column_set_expand),
(gtk_tree_view_column_get_expand),
(gtk_tree_view_column_cell_process_action):
Add support for expand flag
Diffstat (limited to 'gtk/gtktreeviewcolumn.h')
-rw-r--r-- | gtk/gtktreeviewcolumn.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktreeviewcolumn.h b/gtk/gtktreeviewcolumn.h index 83caa8ad2c..d623268d48 100644 --- a/gtk/gtktreeviewcolumn.h +++ b/gtk/gtktreeviewcolumn.h @@ -104,6 +104,7 @@ struct _GtkTreeViewColumn guint maybe_reordered : 1; guint reorderable : 1; guint use_resized_width : 1; + guint expand : 1; }; struct _GtkTreeViewColumnClass @@ -177,6 +178,9 @@ void gtk_tree_view_column_clicked (GtkTreeViewCol void gtk_tree_view_column_set_title (GtkTreeViewColumn *tree_column, const gchar *title); G_CONST_RETURN gchar *gtk_tree_view_column_get_title (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_expand (GtkTreeViewColumn *tree_column, + gboolean expand); +gboolean gtk_tree_view_column_get_expand (GtkTreeViewColumn *tree_column); void gtk_tree_view_column_set_clickable (GtkTreeViewColumn *tree_column, gboolean clickable); gboolean gtk_tree_view_column_get_clickable (GtkTreeViewColumn *tree_column); |