API: widget: Add gtk_widget_get_allocated_size()

See docs for what this is.
This commit is contained in:
Benjamin Otte
2015-09-14 06:11:36 +02:00
parent ab2d236d3d
commit d3d9f52365
4 changed files with 48 additions and 0 deletions

View File

@ -130,6 +130,8 @@ struct _GtkWidgetPrivate
GtkStyleContext *context;
/* The widget's allocated size */
GtkAllocation allocated_size;
gint allocated_size_baseline;
GtkAllocation allocation;
GtkAllocation clip;
gint allocated_baseline;