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

@ -918,6 +918,10 @@ GDK_AVAILABLE_IN_ALL
int gtk_widget_get_allocated_height (GtkWidget *widget);
GDK_AVAILABLE_IN_3_10
int gtk_widget_get_allocated_baseline (GtkWidget *widget);
GDK_AVAILABLE_IN_3_20
void gtk_widget_get_allocated_size (GtkWidget *widget,
GtkAllocation *allocation,
int *baseline);
GDK_AVAILABLE_IN_ALL
void gtk_widget_get_allocation (GtkWidget *widget,