diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-11-25 17:41:26 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-11-25 17:41:26 +0900 |
commit | 2dd2c7ce054313a3e31b162ce78507c295926e0b (patch) | |
tree | e03608c8ec7887f3292ffbf729923b466c804e3f /gtk/gtkcellarea.h | |
parent | 5f7787ab2ead2cdd11ebe17b16dd9498daaaf9c5 (diff) | |
download | gtk+-2dd2c7ce054313a3e31b162ce78507c295926e0b.tar.gz |
Added gtk_cell_renderer_get_aligned_area() and class vfunc.
Since a cell renderer might use more space than the natural
size when recieving expand space it's impossible to know how
much space is actually used to render content.
Adding this virtual method to allow text renderers to implement
it, the base default method uses height-for-width apis and aligns
the cell assuming the renderer uses a fixed size.
This commit removes the similar code from gtkcellarea and
subclasses.
Diffstat (limited to 'gtk/gtkcellarea.h')
-rw-r--r-- | gtk/gtkcellarea.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gtk/gtkcellarea.h b/gtk/gtkcellarea.h index d457d81e21..5611e65845 100644 --- a/gtk/gtkcellarea.h +++ b/gtk/gtkcellarea.h @@ -333,14 +333,6 @@ void gtk_cell_area_inner_cell_area (GtkCellArea const GdkRectangle *cell_area, GdkRectangle *inner_area); -/* Aligns a cell renderer into cell_area by requesting it's size ... used for focus and cell edit areas */ -void gtk_cell_area_aligned_cell_area (GtkCellArea *area, - GtkWidget *widget, - GtkCellRenderer *renderer, - const GdkRectangle *cell_area, - GdkRectangle *aligned_area); - - /* Request the size of a cell while respecting the cell margins (requests are margin inclusive) */ void gtk_cell_area_request_renderer (GtkCellArea *area, GtkCellRenderer *renderer, |