diff options
author | Timm Bäder <mail@baedert.org> | 2017-06-16 18:08:04 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:14 -0400 |
commit | b17d998eb593a3e0564dafc131ae63d200f9d5a0 (patch) | |
tree | abf6df610e24c206d35387dccd189f86305c2f37 /gtk/gtkwidgetprivate.h | |
parent | 15cacf485a62bbd685bf283911b2c2e6ab4a07bc (diff) | |
download | gtk+-b17d998eb593a3e0564dafc131ae63d200f9d5a0.tar.gz |
widget: Add new allocation accessors
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r-- | gtk/gtkwidgetprivate.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h index 6702c8653f..18f7dc4a73 100644 --- a/gtk/gtkwidgetprivate.h +++ b/gtk/gtkwidgetprivate.h @@ -324,7 +324,13 @@ void gtk_widget_get_border_allocation (GtkWidget *wi GtkAllocation *allocation); void gtk_widget_get_margin_allocation (GtkWidget *widget, GtkAllocation *allocation); - +void gtk_widget_get_outer_allocation (GtkWidget *widget, + GtkAllocation *allocation); +void gtk_widget_get_own_allocation (GtkWidget *widget, + GtkAllocation *allocation); +void gtk_widget_get_content_size (GtkWidget *widget, + int *width, + int *height); GtkWidget * gtk_widget_common_ancestor (GtkWidget *widget_a, GtkWidget *widget_b); |