Searched refs:child1_allocation (Results 1 – 5 of 5) sorted by relevance
/dports/graphics/gimageview/gimageview-0.2.27/src/ |
H A D | gimv_vpaned.c | 159 GtkAllocation child1_allocation; in gimv_vpaned_size_allocate() local 235 …child1_allocation.width = child2_allocation.width = MAX (1, (gint) allocation->width - border_widt… in gimv_vpaned_size_allocate() 236 child1_allocation.height = paned->child1_size; in gimv_vpaned_size_allocate() 237 child1_allocation.x = child2_allocation.x = border_width; in gimv_vpaned_size_allocate() 238 child1_allocation.y = border_width; in gimv_vpaned_size_allocate() 240 child2_allocation.y = (child1_allocation.y + child1_allocation.height + gutter_size); in gimv_vpaned_size_allocate() 248 paned->child1->allocation.height < child1_allocation.height) in gimv_vpaned_size_allocate() 253 gtk_widget_size_allocate (paned->child1, &child1_allocation); in gimv_vpaned_size_allocate() 258 &child1_allocation); in gimv_vpaned_size_allocate()
|
H A D | gimv_hpaned.c | 160 GtkAllocation child1_allocation; in gimv_hpaned_size_allocate() local 236 child1_allocation.height = child2_allocation.height in gimv_hpaned_size_allocate() 238 child1_allocation.width = paned->child1_size; in gimv_hpaned_size_allocate() 239 child1_allocation.y = child2_allocation.y = border_width; in gimv_hpaned_size_allocate() 240 child1_allocation.x = border_width; in gimv_hpaned_size_allocate() 243 = child1_allocation.x + child1_allocation.width + gutter_size; in gimv_hpaned_size_allocate() 251 paned->child1->allocation.width < child1_allocation.width) in gimv_hpaned_size_allocate() 255 gtk_widget_size_allocate (paned->child1, &child1_allocation); in gimv_hpaned_size_allocate() 258 gtk_widget_size_allocate (paned->child1, &child1_allocation); in gimv_hpaned_size_allocate()
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/ |
H A D | gtkpaned.c | 833 GtkAllocation child1_allocation; in gtk_paned_size_allocate() local 860 child1_allocation.width = MAX (1, paned->child1_size); in gtk_paned_size_allocate() 861 child1_allocation.x = widget->allocation.x + border_width; in gtk_paned_size_allocate() 862 child1_allocation.y = child2_allocation.y = widget->allocation.y + border_width; in gtk_paned_size_allocate() 870 flip_child (widget, &(child1_allocation)); in gtk_paned_size_allocate() 889 child1_allocation.height = MAX (1, paned->child1_size); in gtk_paned_size_allocate() 891 child1_allocation.y = widget->allocation.y + border_width; in gtk_paned_size_allocate() 936 paned->child1->allocation.width < child1_allocation.width) || in gtk_paned_size_allocate() 939 paned->child1->allocation.height < child1_allocation.height))) in gtk_paned_size_allocate() 942 gtk_widget_size_allocate (paned->child1, &child1_allocation); in gtk_paned_size_allocate() [all …]
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtkpaned.c | 1380 GtkAllocation child1_allocation, window1_allocation; in gtk_paned_allocate() local 1430 child1_allocation.x = child1_allocation.y = 0; in gtk_paned_allocate() 1433 if (child1_width > child1_allocation.width) in gtk_paned_allocate() 1436 child1_allocation.x -= child1_width - child1_allocation.width; in gtk_paned_allocate() 1437 child1_allocation.width = child1_width; in gtk_paned_allocate() 1479 child1_allocation.x = child1_allocation.y = 0; in gtk_paned_allocate() 1482 if (child1_height > child1_allocation.height) in gtk_paned_allocate() 1484 child1_allocation.y -= child1_height - child1_allocation.height; in gtk_paned_allocate() 1485 child1_allocation.height = child1_height; in gtk_paned_allocate() 1544 &child1_allocation); in gtk_paned_allocate() [all …]
|
H A D | gtkcontainer.c | 2830 GtkAllocation child1_allocation, child2_allocation; in tab_compare() local 2836 _gtk_widget_get_allocation ((GtkWidget *) child1, &child1_allocation); in tab_compare() 2839 y1 = child1_allocation.y + child1_allocation.height / 2; in tab_compare() 2844 gint x1 = child1_allocation.x + child1_allocation.width / 2; in tab_compare()
|