Lines Matching defs:allocation
116 GtkAllocation allocation;
124 gtk_widget_get_allocation (widget, &allocation);
127 handle_area.x = allocation.x;
128 handle_area.y = allocation.y;
130 handle_area.height = allocation.height;
132 handle_area.x = allocation.x + allocation.width - DRAG_HANDLE_SIZE;
133 handle_area.y = allocation.y;
135 handle_area.height = allocation.height;
417 GtkAllocation allocation;
423 gtk_widget_get_allocation (grip->_priv->label, &allocation);
425 attributes.x = allocation.x;
426 attributes.y = allocation.y;
427 attributes.width = allocation.width;
428 attributes.height = allocation.height;
539 GtkAllocation *allocation)
548 g_return_if_fail (allocation != NULL);
553 GTK_WIDGET_CLASS (gdl_dock_item_grip_parent_class)->size_allocate (widget, allocation);
565 const gboolean space_for_buttons = (allocation->width >= min_width);
571 child_allocation.x = allocation->width - border_width;
623 child_allocation.width = allocation->width -
624 (child_allocation.x - allocation->x)/* - ALIGN_BORDER*/;
634 child_allocation.height = allocation->height - border_width * 2;
641 allocation->x,
642 allocation->y,
643 allocation->width,
644 allocation->height);