[10416] 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 (sml13@cornell.edu)
Tue Nov 24 17:48:03 1998

From: sml13@cornell.edu
Date: Tue, 24 Nov 1998 17:47:39 -0500 (EST)
To: gtk-list@redhat.com
cc: gtk-list@redhat.com
In-Reply-To: <Pine.GSO.3.95.981124153238.16189L-100000@harper.uchicago.edu>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Or something along the line's of Java's ever-popular grid-bag layout, 
where each component is given a numerical value (doesn't matter what it 
is, as all of them are added together to get the total virtual size of 
the panel) in the x and y coordinates.

shane

On Tue, 24 Nov 1998, Havoc Pennington wrote:

> 
> 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
> 
> 

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


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