Re: St.Scrollable





-- 
(o_
//\  Regards, Groeten,
V_/_ Bas Burger.


On Sat, 14 Jul 2012 08:54:14 -0400
"Jasper St. Pierre" <jstpierre mecheye net> wrote:

> On Sat, Jul 14, 2012 at 8:48 AM, Yaa101 <yaa101 xs4all nl> wrote:
> >
> > Hello Jasper and all others,
> >
> > Yesterday I asked all sorts of questions about scrolling.
> >
> > I already explained that I had to put a table into a layoutbox to be
> > able to show it in a scrollview, I read later that the scrollview is
> > only for a single child.
> >
> > I have a usable but not right prototype that works but I am stuck
> > at a point anyway.
> >
> >
> > I have to make a scrollable table that has a top header for each
> > column, that top header has to size along the rest of the rows and
> > columns.
> 
> This is not possible currently.

I have it possible in a non scrolling table.

Would it be possible to check the avarage witdh of a table column after
populating it?
This way I could resize a header button/label for that column and place
it outside the table.

> 
> > But that header (for the sake of conversation on row 0) needs to
> > stay put and not scroll along with row 1 to row NN.
> >
> > So I need a non scrollable row 0 and a scrollable area for all the
> > other rows.
> >
> > Jasper recommended me to use a St.Scrollable. My problem however is
> > that I have never implemented one, that I cannot find any example of
> > it's use through google, and last but not least, the C reference
> > talks about me being responsible to make 3 allocation/sizing
> > callbacks in the parent to accommodate it.
> >
> > Can anybody point me to some example code that enables me to put
> > this together?
> >
> > Thanks on front.
> >
> > --
> > (o_
> > //\  Regards, Groeten,
> > V_/_ Bas Burger.
> > _______________________________________________
> > gnome-shell-list mailing list
> > gnome-shell-list gnome org
> > https://mail.gnome.org/mailman/listinfo/gnome-shell-list
> 
> 
> 



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