[10410] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: [dreed@capital.edu: size of entry and combos]

daemon@ATHENA.MIT.EDU (Havoc Pennington)
Tue Nov 24 16:40:02 1998

Date: Tue, 24 Nov 1998 15:37:41 -0600 (CST)
From: Havoc Pennington <rhpennin@midway.uchicago.edu>
To: gtk-list@redhat.com
In-Reply-To: <199811242055.PAA27764@fourier.capital.edu.capital.edu>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


On Tue, 24 Nov 1998, Dave Reed wrote:
> 
> I was hoping to avoid set_usize because of the screen problem - I was
> hoping there was something along the Motif lines (5 years ago I
> programmed in Motif) of specifying that the first one took up 10% of
> the space, the next 20%, etc.  Can this be done?
> 

No, not that I can think of. It might be a nice container type to have
though, shouldn't be especially hard to write. (GtkPercentBox?) Looks to
me like most of the GtkBox/GtkHBox widget code is fooling with
expand/fill, homegeneity, blah blah that wouldn't be an issue with
GtkPercentBox/GtkHPercentBox/GtkVPercentBox, it's probably a real quick
widget to write, mostly typing work. Could even be worth folding into Gtk. 

Havoc




-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post