Home
last modified time | relevance | path

Searched refs:label_allocation (Results 1 – 8 of 8) sorted by relevance

/dports/x11-toolkits/gtk40/gtk-4.4.1/tests/
H A Dtestellipsise.c48 GtkAllocation label_allocation; in overlay_draw() local
73 gtk_widget_get_allocation (label, &label_allocation); in overlay_draw()
76 x + 0.5 * (label_allocation.width - minimum_size.width), in overlay_draw()
77 y + 0.5 * (label_allocation.height - minimum_size.height), in overlay_draw()
83 cairo_rectangle (cr, x, y, label_allocation.width, label_allocation.height); in overlay_draw()
89 x + 0.5 * (label_allocation.width - natural_size.width), in overlay_draw()
90 y + 0.5 * (label_allocation.height - natural_size.height), in overlay_draw()
/dports/x11-toolkits/gtk30/gtk+-3.24.31/tests/
H A Dtestellipsise.c72 GtkAllocation label_allocation; in ebox_draw_cb() local
96 gtk_widget_get_allocation (label, &label_allocation); in ebox_draw_cb()
99 x + 0.5 * (label_allocation.width - minimum_size.width), in ebox_draw_cb()
100 y + 0.5 * (label_allocation.height - minimum_size.height), in ebox_draw_cb()
106 cairo_rectangle (cr, x, y, label_allocation.width, label_allocation.height); in ebox_draw_cb()
112 x + 0.5 * (label_allocation.width - natural_size.width), in ebox_draw_cb()
113 y + 0.5 * (label_allocation.height - natural_size.height), in ebox_draw_cb()
/dports/graphics/gimp-app/gimp-2.10.30/libgimpwidgets/
H A Dgimpframe.c164 GtkAllocation label_allocation; in gimp_frame_size_allocate() local
172 label_allocation.x = allocation->x + border_width; in gimp_frame_size_allocate()
173 label_allocation.y = allocation->y + border_width; in gimp_frame_size_allocate()
174 label_allocation.width = MAX (label_requisition.width, in gimp_frame_size_allocate()
176 label_allocation.height = label_requisition.height; in gimp_frame_size_allocate()
178 gtk_widget_size_allocate (label_widget, &label_allocation); in gimp_frame_size_allocate()
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/
H A Dgtkexpander.c579 GtkAllocation label_allocation; in get_expander_bounds() local
581 label_allocation = priv->label_widget->allocation; in get_expander_bounds()
583 if (expander_size < label_allocation.height) in get_expander_bounds()
648 GtkAllocation label_allocation; in gtk_expander_size_allocate() local
657 label_allocation.x = (widget->allocation.x + in gtk_expander_size_allocate()
661 label_allocation.x = (widget->allocation.x + in gtk_expander_size_allocate()
681 label_allocation.width = MAX (label_allocation.width, 1); in gtk_expander_size_allocate()
687 label_allocation.height = MAX (label_allocation.height, 1); in gtk_expander_size_allocate()
691 label_height = label_allocation.height; in gtk_expander_size_allocate()
880 width = label_allocation.width; in gtk_expander_paint_focus()
[all …]
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/
H A Dgtkframe.c111 GtkAllocation label_allocation; member
750 xc = priv->label_allocation.x - allocation.x; in gtk_frame_render()
752 w = priv->label_allocation.width; in gtk_frame_render()
753 h = priv->label_allocation.height; in gtk_frame_render()
834 priv->label_allocation.x = new_allocation.x + (new_allocation.width - width) * xalign; in gtk_frame_allocate()
835 priv->label_allocation.y = new_allocation.y - height; in gtk_frame_allocate()
836 priv->label_allocation.height = height; in gtk_frame_allocate()
837 priv->label_allocation.width = width; in gtk_frame_allocate()
839 gtk_widget_size_allocate (priv->label_widget, &priv->label_allocation); in gtk_frame_allocate()
878 height_extra = priv->label_allocation.height * (1 - priv->label_yalign); in gtk_frame_allocate_border()
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgtkframe.c524 GtkAllocation label_allocation; in gtk_frame_size_allocate() local
539 label_allocation.x = new_allocation.x + (new_allocation.width - label_width) * xalign; in gtk_frame_size_allocate()
540 label_allocation.y = new_allocation.y - label_height; in gtk_frame_size_allocate()
541 label_allocation.height = label_height; in gtk_frame_size_allocate()
542 label_allocation.width = label_width; in gtk_frame_size_allocate()
544 gtk_widget_size_allocate (priv->label_widget, &label_allocation, -1); in gtk_frame_size_allocate()
/dports/x11-fm/rodent/rodent-5.3.16.3/apps/rodent-fgr/src/
H A Dfind-module_gui.c1100 GtkAllocation label_allocation; in create_find_dialog() local
1103 gtk_widget_get_allocation(path_label, &label_allocation); in create_find_dialog()
1110 label_allocation.width); in create_find_dialog()
1112 combo_width = width - label_allocation.width - 120; in create_find_dialog()
1116 gtk_widget_get_allocation(filter_label, &label_allocation); in create_find_dialog()
1117 combo_width = width - label_allocation.width - 120; in create_find_dialog()
1121 gtk_widget_get_allocation(grep_label, &label_allocation); in create_find_dialog()
1122 combo_width = width - label_allocation.width - 120; in create_find_dialog()
/dports/graphics/gimp-app/gimp-2.10.30/app/display/
H A Dgimpstatusbar.c663 GtkAllocation label_allocation; in gimp_statusbar_progress_message() local
666 gtk_widget_get_allocation (statusbar->label, &label_allocation); in gimp_statusbar_progress_message()
670 if (width < label_allocation.width) in gimp_statusbar_progress_message()
682 handle_msg = (width < label_allocation.width); in gimp_statusbar_progress_message()