--===============1385154219== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Xwk9I6CsoSlaMJhndkLU" --=-Xwk9I6CsoSlaMJhndkLU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am Dienstag, den 20.11.2007, 14:10 +0100 schrieb Vincent Untz: > Hi Mathias, >=20 > Le mardi 20 novembre 2007, =C3=A0 13:23 +0100, Mathias Hasselmann a =C3= =A9crit : > > The solution to this problem is simple: Interpret the result of the > > "size-request" signal as absolutely minimum size and introduce a new > > function for expressing the natural size of a widget. >=20 > Obviously something I should have asked during SoC... What about widgets > that may have more than one natural size? I'm thinking of the window > list here, which can group windows if necessary. Maybe that's the only > case where it would be useful, and if that's true, just forget this edge > case ;-) Actually its a good question and answering it should be part of the extended layout docs, I guess. The grouping feature of the window list actually is a fallback strategy, therefore the list should calculate its natural size by accumulating the natural sizes of its children in the ungrouped mode, were as it should accumulate minimum sizes in grouped mode for its own size-request. Well, unless you highly prefer the grouped mode, and see the ungrouped mode as fallback. In that uncertain case you'd also use the grouped mode for calculating natural size. Switching between grouped and ungrouped mode should happen automatically as reaction on the currently allocated size - as it is done already. Ciao, Mathias --=20 Mathias Hasselmann http://taschenorakel.de/ --=-Xwk9I6CsoSlaMJhndkLU Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHQuIB73AS0G6kpDQRAvf3AJ9Pgh/E2SgFMycMV4Qm6ugahU2FEgCfY0NF LpXzd1WcuFlbi43hcrWWyoo= =GGLy -----END PGP SIGNATURE----- --=-Xwk9I6CsoSlaMJhndkLU-- --===============1385154219== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list --===============1385154219==--