diff options
author | Michael Natterer <mitch@gimp.org> | 2009-07-14 01:45:03 +0200 |
---|---|---|
committer | Michael Natterer <mitch@gimp.org> | 2009-07-14 01:45:03 +0200 |
commit | dffc1bf19da9d2f071ee692478e8fca2a77ac600 (patch) | |
tree | adff5c0ae36e36470c65c43125117b02e1fcd8ba /gtk/gtkcellrenderer.h | |
parent | 9e5b3a46b118c25e7a3d646af775b55f7339a6cc (diff) | |
download | gtk+-dffc1bf19da9d2f071ee692478e8fca2a77ac600.tar.gz |
Add API for sealed members xpad, ypad, xalign, yalign and sensitive
Diffstat (limited to 'gtk/gtkcellrenderer.h')
-rw-r--r-- | gtk/gtkcellrenderer.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h index 8b54292692..3d4b1ee401 100644 --- a/gtk/gtkcellrenderer.h +++ b/gtk/gtkcellrenderer.h @@ -152,6 +152,7 @@ GtkCellEditable *gtk_cell_renderer_start_editing (GtkCellRenderer *cell, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags); + void gtk_cell_renderer_set_fixed_size (GtkCellRenderer *cell, gint width, gint height); @@ -159,6 +160,24 @@ void gtk_cell_renderer_get_fixed_size (GtkCellRenderer *cell, gint *width, gint *height); +void gtk_cell_renderer_set_alignment (GtkCellRenderer *cell, + gfloat xalign, + gfloat yalign); +void gtk_cell_renderer_get_alignment (GtkCellRenderer *cell, + gfloat *xalign, + gfloat *yalign); + +void gtk_cell_renderer_set_padding (GtkCellRenderer *cell, + gint xpad, + gint ypad); +void gtk_cell_renderer_get_padding (GtkCellRenderer *cell, + gint *xpad, + gint *ypad); + +void gtk_cell_renderer_set_sensitive (GtkCellRenderer *cell, + gboolean sensitive); +gboolean gtk_cell_renderer_get_sensitive (GtkCellRenderer *cell); + /* For use by cell renderer implementations only */ #ifndef GTK_DISABLE_DEPRECATED void gtk_cell_renderer_editing_canceled (GtkCellRenderer *cell); |