/inkscape/src/ui/widget/ |
H A D | color-preview.cpp | 101 const Gtk::Allocation& allocation = get_allocation(); local 102 warea.x = allocation.get_x(); 103 warea.y = allocation.get_y(); 104 warea.width = allocation.get_width(); 105 warea.height = allocation.get_height();
|
H A D | color-slider.cpp | 102 Gtk::Allocation allocation = get_allocation(); local 105 attributes.x = allocation.get_x(); 106 attributes.y = allocation.get_y(); 107 attributes.width = allocation.get_width(); 108 attributes.height = allocation.get_height(); 142 void ColorSlider::on_size_allocate(Gtk::Allocation &allocation) argument 144 set_allocation(allocation); 147 _gdk_window->move_resize(allocation.get_x(), allocation.get_y(), allocation 205 Gtk::Allocation allocation = get_allocation(); local 258 Gtk::Allocation allocation = get_allocation(); local 320 Gtk::Allocation allocation = get_allocation(); local 326 Gtk::Allocation allocation = get_allocation(); local 393 Gtk::Allocation allocation = get_allocation(); local [all...] |
H A D | gimpspinscale.c | 429 GtkAllocation allocation; local 436 gtk_widget_get_allocation (widget, &allocation); 465 GtkAllocation allocation; local 495 gtk_widget_get_allocation (widget, &allocation); 508 (allocation.width - minimum_width)); 510 (allocation.width - requisition.width)); 636 GtkAllocation allocation; local 638 gtk_widget_get_allocation (widget, &allocation); 640 *x = -allocation.x; 641 *y = -allocation 695 GtkAllocation allocation; local [all...] |
H A D | gimpcolorwheel.c | 106 GtkAllocation *allocation); 273 GtkAllocation allocation; local 278 gtk_widget_get_allocation (widget, &allocation); 283 attr.x = allocation.x; 284 attr.y = allocation.y; 285 attr.width = allocation.width; 286 attr.height = allocation.height; 376 GtkAllocation *allocation) 383 gtk_widget_set_allocation (widget, allocation); 390 priv->size = MIN (allocation 375 gimp_color_wheel_size_allocate(GtkWidget *widget, GtkAllocation *allocation) argument 492 GtkAllocation allocation; local 498 gtk_widget_get_allocation (GTK_WIDGET (wheel), &allocation); local 522 GtkAllocation allocation; local 528 gtk_widget_get_allocation (GTK_WIDGET (wheel), &allocation); local 551 GtkAllocation allocation; local 557 gtk_widget_get_allocation (GTK_WIDGET (wheel), &allocation); local 659 GtkAllocation allocation; local 665 gtk_widget_get_allocation (GTK_WIDGET (wheel), &allocation); local 886 gtk_widget_get_allocation (GTK_WIDGET (wheel), &allocation); local 1038 GtkAllocation allocation; local 1286 GtkAllocation allocation; local [all...] |
/inkscape/src/widgets/ |
H A D | gradient-image.cpp | 131 GtkAllocation allocation; local 132 gtk_widget_get_allocation(widget, &allocation); 133 cairo_translate(ct, allocation.x, allocation.y); 146 GtkAllocation allocation; local 147 gtk_widget_get_allocation(widget, &allocation); 155 cairo_pattern_t *p = sp_gradient_create_preview_pattern(gr, allocation.width);
|
H A D | sp-widget.cpp | 58 static void sizeAllocate(GtkWidget *widget, GtkAllocation *allocation); 262 void SPWidgetImpl::sizeAllocate(GtkWidget *widget, GtkAllocation *allocation) argument 264 gtk_widget_set_allocation(widget, allocation); 270 gtk_widget_size_allocate(child, allocation);
|
H A D | image-menu-item.c | 72 GtkAllocation *allocation); 502 GtkAllocation *allocation) 517 GTK_WIDGET_CLASS (image_menu_item_parent_class)->size_allocate (widget, allocation); 501 image_menu_item_size_allocate(GtkWidget *widget, GtkAllocation *allocation) argument
|
H A D | eek-preview.cpp | 246 GtkAllocation allocation; local 247 gtk_widget_get_allocation(widget, &allocation); 280 allocation.width, allocation.height); 285 allocation.width, allocation.height); 298 allocation.width, allocation.height); 306 cairo_rectangle(cr, 0, 0, allocation.width, allocation [all...] |
H A D | ruler.cpp | 121 GtkAllocation *allocation); 476 GtkAllocation allocation; local 482 gtk_widget_get_allocation (widget, &allocation); 485 attributes.x = allocation.x; 486 attributes.y = allocation.y; 487 attributes.width = allocation.width; 488 attributes.height = allocation.height; 563 GtkAllocation *allocation) 572 resized = (widget_allocation.width != allocation->width || 573 widget_allocation.height != allocation 562 sp_ruler_size_allocate(GtkWidget *widget, GtkAllocation *allocation) argument 693 GtkAllocation allocation; local 730 GtkAllocation allocation; local 824 GtkAllocation allocation; local 828 gtk_widget_get_allocation (GTK_WIDGET (ruler), &allocation); local 856 GtkAllocation allocation; local 1127 GtkAllocation allocation; local 1413 GtkAllocation allocation; local [all...] |
H A D | desktop-widget.cpp | 107 static void sp_desktop_widget_size_allocate (GtkWidget *widget, GtkAllocation *allocation); 326 GdkRectangle * /*allocation*/, 943 sp_desktop_widget_size_allocate (GtkWidget *widget, GtkAllocation *allocation) argument 949 if ((allocation->x == widg_allocation.x) && 950 (allocation->y == widg_allocation.y) && 951 (allocation->width == widg_allocation.width) && 952 (allocation->height == widg_allocation.height)) { 954 GTK_WIDGET_CLASS (dtw_parent_class)->size_allocate (widget, allocation); 963 GTK_WIDGET_CLASS(dtw_parent_class)->size_allocate (widget, allocation); 982 GTK_WIDGET_CLASS (dtw_parent_class)->size_allocate (widget, allocation); [all...] |
H A D | icon.cpp | 64 static void sizeAllocate(GtkWidget *widget, GtkAllocation *allocation); 226 void IconImpl::sizeAllocate(GtkWidget *widget, GtkAllocation *allocation) argument 228 gtk_widget_set_allocation(widget, allocation); 283 GtkAllocation allocation; local 285 gtk_widget_get_allocation(widget, &allocation); 293 int x = floor(allocation.x + ((allocation.width - requisition.width) * 0.5)); 294 int y = floor(allocation.y + ((allocation.height - requisition.height) * 0.5));
|
/inkscape/src/ |
H A D | svg-view-widget.cpp | 27 static void sp_svg_view_widget_size_allocate (GtkWidget *widget, GtkAllocation *allocation); 211 static void sp_svg_view_widget_size_allocate(GtkWidget *widget, GtkAllocation *allocation) argument 216 GTK_WIDGET_CLASS(sp_svg_view_widget_parent_class)->size_allocate(widget, allocation); 221 (gdouble) allocation->width - 1.0, (gdouble) allocation->height - 1.0);
|
/inkscape/src/libgdl/ |
H A D | gdl-dock-bar.c | 77 GtkAllocation *allocation ); 81 GtkAllocation *allocation ); 85 GtkAllocation *allocation ); 443 GtkAllocation *allocation ) 452 gdl_dock_bar_size_hallocate (widget, allocation); 456 gdl_dock_bar_size_vallocate (widget, allocation); 526 GtkAllocation *allocation) 541 gtk_widget_set_allocation (widget, allocation); 576 height = (allocation->height - 583 height = (gint) allocation 525 gdl_dock_bar_size_vallocate(GtkWidget *widget, GtkAllocation *allocation) argument 793 gdl_dock_bar_size_hallocate(GtkWidget *widget, GtkAllocation *allocation) argument [all...] |
H A D | gdl-dock-tablabel.c | 56 GtkAllocation *allocation); 310 GtkAllocation *allocation) 319 g_return_if_fail (allocation != NULL); 326 gtk_widget_set_allocation (widget, allocation); 330 allocation->x, 331 allocation->y, 332 allocation->width, 333 allocation->height); 342 allocation->width = MAX (1, (int) allocation 309 gdl_dock_tablabel_size_allocate(GtkWidget *widget, GtkAllocation *allocation) argument [all...] |
H A D | gdl-dock-item-grip.c | 116 GtkAllocation allocation; local 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; local 538 gdl_dock_item_grip_size_allocate(GtkWidget *widget, GtkAllocation *allocation) argument [all...] |
H A D | gdl-dock-placeholder.c | 375 GtkAllocation allocation; local 391 gtk_widget_get_allocation (child_widget, &allocation); 392 area = allocation.width * allocation.height; 408 GtkAllocation allocation; local 412 gtk_widget_get_allocation (GTK_WIDGET (host), &allocation); local 413 host_width = allocation.width; 414 host_height = allocation.height;
|
H A D | gdl-dock.c | 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 562 gdl_dock_size_allocate(GtkWidget *widget, GtkAllocation *allocation) argument 1056 GtkAllocation allocation; local 1060 gtk_widget_get_allocation (GTK_WIDGET (dock), &allocation); local [all...] |
H A D | gdl-switcher.c | 259 GtkAllocation allocation; local 275 gtk_widget_get_allocation (GTK_WIDGET (switcher), &allocation); local 281 y = allocation.y + allocation.height - V_PADDING - 1; 303 btns_per_row = allocation.width / (max_btn_width + H_PADDING); 308 if (allocation.width >= optimal_layout_width) 386 if (y < (allocation.y + client_requisition.height)) { 387 /* We have an overflow: Insufficient allocation */ 395 x = H_PADDING + allocation.x; 399 extra_width = (allocation 442 GtkAllocation allocation; local 446 gtk_widget_get_allocation (GTK_WIDGET (switcher), &allocation); local 544 gdl_switcher_size_allocate(GtkWidget *widget, GtkAllocation *allocation) argument [all...] |
H A D | gdl-dock-item.c | 88 GtkAllocation *allocation); 874 GtkAllocation *allocation) 879 g_return_if_fail (allocation != NULL); 883 gtk_widget_set_allocation (widget, allocation); 891 allocation->x, 892 allocation->y, 893 allocation->width, 894 allocation->height); 906 child_allocation.width = allocation->width 908 child_allocation.height = allocation 873 gdl_dock_item_size_allocate(GtkWidget *widget, GtkAllocation *allocation) argument 985 GtkAllocation allocation; local 1111 GtkAllocation allocation; local 1391 GtkAllocation allocation; local 1406 gtk_widget_get_allocation (GTK_WIDGET (parent), &allocation); local 1700 GtkAllocation allocation; local 1713 gtk_widget_get_allocation (GTK_WIDGET (data), &allocation); local 2139 GtkAllocation allocation; local 2167 gtk_widget_get_allocation (GTK_WIDGET (item), &allocation); local 2349 GtkAllocation allocation; local [all...] |
/inkscape/src/ui/dialog/ |
H A D | ocaldialogs.cpp | 307 void WrapLabel::_on_size_allocate(Gtk::Allocation& allocation) argument 309 set_size_request(allocation.get_width(), -1);
|
/inkscape/src/display/ |
H A D | sp-canvas.cpp | 1046 GtkAllocation allocation; local 1048 gtk_widget_get_allocation (widget, &allocation); 1049 attributes.x = allocation.x; 1050 attributes.y = allocation.y; 1051 attributes.width = allocation.width; 1052 attributes.height = allocation.height; 1144 void SPCanvas::handle_size_allocate(GtkWidget *widget, GtkAllocation *allocation) argument 1155 allocation->width, allocation->height); 1159 allocation 1729 GtkAllocation allocation; local 1732 gtk_widget_get_allocation(GTK_WIDGET(this), &allocation); local 1885 GtkAllocation allocation; local 1886 gtk_widget_get_allocation(GTK_WIDGET(this), &allocation); local 1970 GtkAllocation allocation; local 2136 GtkAllocation allocation; local 2155 GtkAllocation allocation; local 2157 gtk_widget_get_allocation (GTK_WIDGET (this), &allocation); local 2167 GtkAllocation allocation; local 2169 gtk_widget_get_allocation (GTK_WIDGET(this), &allocation); local [all...] |