• Timm Bäder's avatar
    widget: Use ::measure vfunc to measure size · 9992a616
    Timm Bäder authored
    Add a new ::measure vfunc similar to GtkCssGadget's that widget
    implementations have to override instead of the old get_preferred_width,
    get_preferred_height, get_preferred_width_for_height,
    get_preferred_height_for_width and
    get_preferred_height_and_baseline_for_width.
    9992a616
gtkbin.c 6.82 KB