Home
last modified time | relevance | path

Searched refs:widget_alloc (Results 1 – 10 of 10) sorted by relevance

/dports/multimedia/quodlibet/quodlibet-4.3.0/quodlibet/qltk/
H A Dutil.py100 widget_alloc = widget.get_allocation()
101 w, h = widget_alloc.width, widget_alloc.height
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/
H A Dgtkcssgadget.c519 GtkAllocation widget_alloc; in shift_allocation() local
520 gtk_widget_get_allocation (priv->owner, &widget_alloc); in shift_allocation()
521 allocation->x -= widget_alloc.x; in shift_allocation()
522 allocation->y -= widget_alloc.y; in shift_allocation()
932 GtkAllocation widget_alloc; in gtk_css_gadget_draw() local
933 gtk_widget_get_allocation (priv->owner, &widget_alloc); in gtk_css_gadget_draw()
934 baseline -= widget_alloc.y; in gtk_css_gadget_draw()
H A Dgtkscale.c387 GtkAllocation indicator_alloc, widget_alloc; in gtk_scale_allocate_mark() local
392 gtk_widget_get_allocation (widget, &widget_alloc); in gtk_scale_allocate_mark()
404 indicator_alloc.x = mark->stop_position + widget_alloc.x - indicator_width / 2; in gtk_scale_allocate_mark()
418 indicator_alloc.y = mark->stop_position + widget_alloc.y - indicator_height / 2; in gtk_scale_allocate_mark()
495 GtkAllocation widget_alloc; in gtk_scale_allocate_marks() local
499 gtk_widget_get_allocation (widget, &widget_alloc); in gtk_scale_allocate_marks()
502 min_pos_before = min_pos_after = widget_alloc.x; in gtk_scale_allocate_marks()
504 min_pos_before = min_pos_after = widget_alloc.y; in gtk_scale_allocate_marks()
524 mark_alloc.x = mark->stop_position + widget_alloc.x; in gtk_scale_allocate_marks()
532 … max_pos = find_next_pos (widget, m, marks + i, GTK_POS_TOP) - min_sep + widget_alloc.x; in gtk_scale_allocate_marks()
[all …]
H A Dgtkrange.c1953 GtkAllocation slider_alloc, widget_alloc; in gtk_range_allocate_trough() local
1959 gtk_widget_get_allocation (widget, &widget_alloc); in gtk_range_allocate_trough()
1963 slider_alloc.x += widget_alloc.x; in gtk_range_allocate_trough()
1964 slider_alloc.y += widget_alloc.y; in gtk_range_allocate_trough()
/dports/audio/lollypop/lollypop-5b2d95f4f8509d80fa86ab7d65b118326dc82a95/lollypop/
H A Dview_lazyloading.py206 widget_alloc = widget.get_allocation()
210 return (y > -widget_alloc.height or y >= 0) and\
/dports/archivers/xarchiver/xarchiver-0.5.4.16/src/
H A Dsexy-icon-entry.c302 GtkAllocation *widget_alloc, in get_icon_allocation() argument
415 place_windows(SexyIconEntry *icon_entry, GtkAllocation *widget_alloc) in place_windows() argument
424 get_icon_allocation(icon_entry, TRUE, widget_alloc, &text_area_alloc, in place_windows()
426 get_icon_allocation(icon_entry, FALSE, widget_alloc, &text_area_alloc, in place_windows()
/dports/x11-toolkits/libsexy/libsexy-0.1.11/libsexy/
H A Dsexy-icon-entry.c302 GtkAllocation *widget_alloc, in get_icon_allocation() argument
415 place_windows(SexyIconEntry *icon_entry, GtkAllocation *widget_alloc) in place_windows() argument
424 get_icon_allocation(icon_entry, TRUE, widget_alloc, &text_area_alloc, in place_windows()
426 get_icon_allocation(icon_entry, FALSE, widget_alloc, &text_area_alloc, in place_windows()
/dports/www/netsurf/netsurf-3.10/frontends/gtk/
H A Dsexy_icon_entry.c315 GtkAllocation *widget_alloc, in get_icon_allocation() argument
428 place_windows(SexyIconEntry *icon_entry, GtkAllocation *widget_alloc) in place_windows() argument
437 get_icon_allocation(icon_entry, TRUE, widget_alloc, &text_area_alloc, in place_windows()
439 get_icon_allocation(icon_entry, FALSE, widget_alloc, &text_area_alloc, in place_windows()
/dports/multimedia/imagination/imagination-3.0/src/
H A Dsexy-icon-entry.c300 GtkAllocation *widget_alloc G_GNUC_UNUSED, in get_icon_allocation()
411 place_windows(SexyIconEntry *icon_entry, GtkAllocation *widget_alloc) in place_windows() argument
420 get_icon_allocation(icon_entry, TRUE, widget_alloc, &text_area_alloc, in place_windows()
422 get_icon_allocation(icon_entry, FALSE, widget_alloc, &text_area_alloc, in place_windows()
/dports/devel/anjuta/anjuta-3.34.0/libanjuta/
H A Danjuta-tabber.c521 GtkAllocation widget_alloc; in anjuta_tabber_draw_tab() local
541 gtk_widget_get_allocation (widget, &widget_alloc); in anjuta_tabber_draw_tab()
552 alloc.x -= widget_alloc.x; in anjuta_tabber_draw_tab()
555 alloc.y -= widget_alloc.y; in anjuta_tabber_draw_tab()