Searched refs:child_allocation (Results 1 – 3 of 3) sorted by relevance
52 GtkAllocation child_allocation; in ChildSizeAllocate() local53 child_allocation.width = child_requisition.width; in ChildSizeAllocate()54 child_allocation.height = child_requisition.height; in ChildSizeAllocate()55 if (child_allocation.width < 0 || child_allocation.height < 0) { in ChildSizeAllocate()57 if (child_allocation.width < 0) in ChildSizeAllocate()58 child_allocation.width = child_requisition.width; in ChildSizeAllocate()59 if (child_allocation.height < 0) in ChildSizeAllocate()60 child_allocation.height = child_requisition.height; in ChildSizeAllocate()66 child_allocation.x = x + data->border_width; in ChildSizeAllocate()67 child_allocation.y = y + data->border_width; in ChildSizeAllocate()[all …]
54 GtkAllocation child_allocation = child->allocation; in ChildSizeAllocate() local58 if (child_allocation.width > data->homogeneous_child_width) { in ChildSizeAllocate()59 child_allocation.x += in ChildSizeAllocate()60 (child_allocation.width - data->homogeneous_child_width) / 2; in ChildSizeAllocate()61 child_allocation.width = data->homogeneous_child_width; in ChildSizeAllocate()74 child_allocation.x); in ChildSizeAllocate()76 child_allocation.width -= overflow; in ChildSizeAllocate()77 child_allocation.x += overflow; in ChildSizeAllocate()82 int overflow = (child_allocation.x + child_allocation.width + padding - in ChildSizeAllocate()85 child_allocation.width -= overflow; in ChildSizeAllocate()[all …]
232 GtkAllocation child_allocation; in gtk_floating_container_size_allocate() local241 child_allocation.x = allocation->x + child->x; in gtk_floating_container_size_allocate()242 child_allocation.y = allocation->y + child->y; in gtk_floating_container_size_allocate()243 child_allocation.width = std::max(1, std::min(child_requisition.width, in gtk_floating_container_size_allocate()245 child_allocation.height = std::max(1, std::min(child_requisition.height, in gtk_floating_container_size_allocate()247 gtk_widget_size_allocate(child->widget, &child_allocation); in gtk_floating_container_size_allocate()