gtk4: gtk_box_pack_start()/end() porting

gtk4's gtk_box_pack_start() and gtk_box_pack_end() now no longer have
the expand and fill parameters that are in GTK+3:
these are the commits that removed them:

But, based on some experiments, it doesn't seem obvious to me exactly
how to replace these by setting halign, valign, hexpand or vexpand.
Could someone please add a mapping of the old fill/expand combinations
to the new halign/valign/hexpand/vexpand properties to the migrating

There are only 4 possible fill/expand combinations, only 3 of which
ever made sense, so this should be doable.

Murray Cumming
murrayc murrayc com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]