Re: stretch factors in GTK+ 2.0
- From: martine cs washington edu
- To: John K Luebs <jkluebs luebsphoto com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: stretch factors in GTK+ 2.0
- Date: Wed, 4 Dec 2002 23:28:35 -0800
On Sun, Dec 01, 2002 at 02:08:32AM -0500, John K Luebs wrote:
The stretch factor is an integer >= 0 associated with each item added to
a Box (a VBox or an HBox) or table. The stretch factor allows you to
specify the expanded size relative to the other "stretchable" members in
the box. In otherwords, all members with the same stretch factor will be
expanded to the same size. Members with a stretch factor of 1 will be
half the size of those with a stretch factor of 2.
Put them in a homogeneous GtkTable of four columns, with the middle
element spanning two columns.
(Haven't tried it, but it seems logical enough...)
--
Evan Martin
martine cs washington edu
http://neugierig.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]