[10415] 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 (Dave Reed)
Tue Nov 24 17:43:02 1998

Date: Tue, 24 Nov 1998 17:46:25 -0500
From: Dave Reed <dreed@capital.edu>
To: gtk-list@redhat.com
In-Reply-To: <Pine.GSO.3.95.981124153238.16189L-100000@harper.uchicago.edu>
	(message from Havoc Pennington on Tue, 24 Nov 1998 15:37:41 -0600 (CST))
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

I've never written a widget, but after I get my projection done, I may
look into it.

Thanks for the info.

Dave

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


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