Re: a wrapbox widget



--- Kang Jeong-Hee <Keizi mail co kr> wrote:
> 
> > Le lun 26/05/2003 à 04:25, Charles Lambert a écrit
> :
> > > I have created a wrapbox widget that could be
> part of
> > > gtk+. There is also a test driver for it so you
> can
> > > see how it works. I would like to know if there
> are
> > > any key parts missing in order for it to be put
> in
> > > gtk+. I also would like to know what steps i
> should
> > > take to see about getting it put in gtk+.
> > > 
> > > the tar'd and gzip'd here:
> > >
> http://www.geocities.com/cwlambert76/wrapbox.tar.gz
> > > 
> > > please excuse my choice of namespace.
> > > Charles W. Lambert
> > > email: cwlambert76 yahoo com
> 
> I believe that gtk developers already have scheduled
> wrappable box widget for future release of gtk.
> It's already done in GIMP 1.3 development release:
> http://bugzilla.gnome.org/show_bug.cgi?id=77669
> 
> Well, how do you handled homogeneous property?
by checking for the largest width and height of all
the child widgets, and use that as size_request. Then
I do the same thing in the size_allocate, but also
apply any remaining space to each widget. Note that
you have to change the size enough for a widget to fit
on at the end. for example, if there are 12 widgets
and only five fit in a row, and there space left over
that amounts to about half the width of the 6th widget
(1st widget in the next row) then homogenous will fill
that extra space

> 
> regard,
> kz.
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org
>
http://mail.gnome.org/mailman/listinfo/gnome-devel-list

Charles

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]