Lines Matching defs:alloc
397 GtkAllocation alloc;
408 gtk_widget_get_allocation (GTK_WIDGET (object), &alloc);
412 rel_x = x - alloc.x;
413 rel_y = y - alloc.y;
419 if (rel_x > 0 && rel_x < alloc.width &&
420 rel_y > 0 && rel_y < alloc.height) {
433 my_request.rect.width = alloc.width - 2*bw;
434 my_request.rect.height = alloc.height - 2*bw;
443 } else if (rel_x > alloc.width - (gint)bw) {
452 } else if (rel_y > alloc.height - (gint)bw) {
483 if (rel_y < alloc.height / 2) {
494 if (rel_x < alloc.width / 2) {
518 my_request.rect.x += alloc.x;
519 my_request.rect.y += alloc.y;