diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-10-23 17:01:58 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-10-23 17:01:58 +0900 |
commit | 741d10ca4fcb835e134a4ab84c7833dd2577b2c5 (patch) | |
tree | 05391110b4f30de81f2c86795f7bd65ed9d0c10a /gtk/gtkcellarea.h | |
parent | 8885320d211aa55bcfa63e43ee4583b5533364ce (diff) | |
download | gtk+-741d10ca4fcb835e134a4ab84c7833dd2577b2c5.tar.gz |
Adding initial code skeleton for GtkCellAreaBox.
Diffstat (limited to 'gtk/gtkcellarea.h')
-rw-r--r-- | gtk/gtkcellarea.h | 110 |
1 files changed, 55 insertions, 55 deletions
diff --git a/gtk/gtkcellarea.h b/gtk/gtkcellarea.h index 20da8c41d3..5da27720d9 100644 --- a/gtk/gtkcellarea.h +++ b/gtk/gtkcellarea.h @@ -88,33 +88,33 @@ struct _GtkCellAreaClass /* vtable - not signals */ /* Basic methods */ - void (* add) (GtkCellArea *area, - GtkCellRenderer *renderer); - void (* remove) (GtkCellArea *area, - GtkCellRenderer *renderer); - void (* forall) (GtkCellArea *area, - GtkCellCallback callback, - gpointer callback_data); - gint (* event) (GtkCellArea *area, - GtkWidget *widget, - GdkEvent *event, - const GdkRectangle *cell_area); - void (* render) (GtkCellArea *area, - cairo_t *cr, - GtkWidget *widget, - const GdkRectangle *cell_area); + void (* add) (GtkCellArea *area, + GtkCellRenderer *renderer); + void (* remove) (GtkCellArea *area, + GtkCellRenderer *renderer); + void (* forall) (GtkCellArea *area, + GtkCellCallback callback, + gpointer callback_data); + gint (* event) (GtkCellArea *area, + GtkWidget *widget, + GdkEvent *event, + const GdkRectangle *cell_area); + void (* render) (GtkCellArea *area, + cairo_t *cr, + GtkWidget *widget, + const GdkRectangle *cell_area); /* Attributes */ - void (* attribute_connect) (GtkCellArea *area, - GtkCellRenderer *renderer, - const gchar *attribute, - gint id); - void (* attribute_disconnect) (GtkCellArea *area, - GtkCellRenderer *renderer, - const gchar *attribute, - gint id); - void (* attribute_apply) (GtkCellArea *area, - gint id, + void (* attribute_connect) (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *attribute, + gint id); + void (* attribute_disconnect) (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *attribute, + gint id); + void (* attribute_apply) (GtkCellArea *area, + gint id, GValue *value); void (* attribute_forall) (GtkCellArea *area, GtkCellRenderer *renderer, @@ -122,25 +122,25 @@ struct _GtkCellAreaClass gpointer user_data); /* Geometry */ - GtkSizeRequestMode (* get_request_mode) (GtkCellArea *area); - void (* get_preferred_width) (GtkCellArea *area, - GtkWidget *widget, - gint *minimum_size, - gint *natural_size); - void (* get_preferred_height_for_width) (GtkCellArea *area, - GtkWidget *widget, - gint width, - gint *minimum_height, - gint *natural_height); - void (* get_preferred_height) (GtkCellArea *area, - GtkWidget *widget, - gint *minimum_size, - gint *natural_size); - void (* get_preferred_width_for_height) (GtkCellArea *area, - GtkWidget *widget, - gint height, - gint *minimum_width, - gint *natural_width); + GtkSizeRequestMode (* get_request_mode) (GtkCellArea *area); + void (* get_preferred_width) (GtkCellArea *area, + GtkWidget *widget, + gint *minimum_size, + gint *natural_size); + void (* get_preferred_height_for_width) (GtkCellArea *area, + GtkWidget *widget, + gint width, + gint *minimum_height, + gint *natural_height); + void (* get_preferred_height) (GtkCellArea *area, + GtkWidget *widget, + gint *minimum_size, + gint *natural_size); + void (* get_preferred_width_for_height) (GtkCellArea *area, + GtkWidget *widget, + gint height, + gint *minimum_width, + gint *natural_width); /* Padding for future expansion */ @@ -174,17 +174,17 @@ void gtk_cell_area_render (GtkCellArea const GdkRectangle *cell_area); /* Attributes */ -void gtk_cell_area_attribute_connect (GtkCellArea *area, - GtkCellRenderer *renderer, - const gchar *attribute, - gint id); -void gtk_cell_area_attribute_disconnect (GtkCellArea *area, - GtkCellRenderer *renderer, - const gchar *attribute, - gint id); -void gtk_cell_area_attribute_apply (GtkCellArea *area, - gint id, - GValue *value); +void gtk_cell_area_attribute_connect (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *attribute, + gint id); +void gtk_cell_area_attribute_disconnect (GtkCellArea *area, + GtkCellRenderer *renderer, + const gchar *attribute, + gint id); +void gtk_cell_area_attribute_apply (GtkCellArea *area, + gint id, + GValue *value); void gtk_cell_area_attribute_forall (GtkCellArea *area, GtkCellRenderer *renderer, GtkCellAttributeCallback callback, |