diff options
author | Kristian Rietveld <kris@gtk.org> | 2002-04-23 16:39:01 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2002-04-23 16:39:01 +0000 |
commit | cb3c5cc14d4d7f8619ff2742bf6c4e6d7bd6a503 (patch) | |
tree | db8e5f149598ca8a77517aad4cdb439c1278baad /ChangeLog.pre-2-10 | |
parent | 1b771c4428e7528c09b2f0941a9277203f45b4cc (diff) | |
download | gtk+-cb3c5cc14d4d7f8619ff2742bf6c4e6d7bd6a503.tar.gz |
This commit adds a cell_background property for cell renderers. With this
Tue Apr 23 18:35:34 2002 Kristian Rietveld <kris@gtk.org>
This commit adds a cell_background property for cell renderers. With
this property you can make your TreeView look incredibly ugly.
* gtk/gtkcellrenderer.c: add cell_background, cell_background_gdk and
cell_background_set properties,
(set_cell_bg_color): new function,
(gtk_cell_renderer_get_property), (gtk_cell_renderer_set_property):
support for new properties,
(gtk_cell_renderer_render): render a background when set.
* gtk/gtkcellrenderer.h: add cell_background_set and cell_background
fields.
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
when rendering, pass in just the background_area of the cell and not
the background_area of the entire column.
Diffstat (limited to 'ChangeLog.pre-2-10')
-rw-r--r-- | ChangeLog.pre-2-10 | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 5f02ccdd77..cf08577264 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,22 @@ +Tue Apr 23 18:35:34 2002 Kristian Rietveld <kris@gtk.org> + + This commit adds a cell_background property for cell renderers. With + this property you can make your TreeView look incredibly ugly. + + * gtk/gtkcellrenderer.c: add cell_background, cell_background_gdk and + cell_background_set properties, + (set_cell_bg_color): new function, + (gtk_cell_renderer_get_property), (gtk_cell_renderer_set_property): + support for new properties, + (gtk_cell_renderer_render): render a background when set. + + * gtk/gtkcellrenderer.h: add cell_background_set and cell_background + fields. + + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): + when rendering, pass in just the background_area of the cell and not + the background_area of the entire column. + 2002-04-22 Anders Carlsson <andersca@gnu.org> * gtk/gtkentry.c (gtk_entry_drag_data_get): Use @@ -18,7 +37,6 @@ Mon Apr 22 19:24:29 2002 Kristian Rietveld <kris@gtk.org> icon stuff in the cellrendererpixbuf instead of its own stock icon rendering code. - 2002-04-21 Alexander Larsson <alla@lysator.liu.se> * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): |