Lines Matching defs:allocation
69 GtkAllocation *allocation);
563 GtkAllocation *allocation)
576 gtk_widget_set_allocation (widget, allocation);
578 /* reduce allocation by border width */
579 allocation->x += border_width;
580 allocation->y += border_width;
581 allocation->width = MAX (1, allocation->width - 2 * border_width);
582 allocation->height = MAX (1, allocation->height - 2 * border_width);
585 gtk_widget_size_allocate (GTK_WIDGET (dock->root), allocation);
796 /* we get (x,y) in our allocation coordinates system */
804 /* Get coordinates relative to our allocation area. */
849 /* give them allocation coordinates (we are a
1056 GtkAllocation allocation;
1060 gtk_widget_get_allocation (GTK_WIDGET (dock), &allocation);
1062 g_return_val_if_fail (allocation.width > 0, placement);
1063 g_return_val_if_fail (allocation.height > 0, placement);
1069 if (allocation.width/2 > object_size.width) {
1074 if (allocation.height/2 > object_size.height) {