Re: A Scrollable Box Widget
- From: Ian Campbell <ijc25 cam ac uk>
- To: gnome-devel-list gnome org
- Subject: Re: A Scrollable Box Widget
- Date: Fri, 28 Apr 2000 13:11:31 +0100
Not quite.
when I say they scroll together, I mean as one widget, so you would scroll down
and the headers would scroll off the top of the window, and the eventually the
icon-list would scroll on at the bottom.
Think of it as a large window with the 3 parts stacked up, with the scrollbar
controlling a window sized viewport onto this large window.
+-----------------------------+
| Header 1 |
+=============================+=+ -------------
| Header 3 |^| ^
| Header 4 |#| | This is the visible part
+-----------------------------+#| | The scrollbar moves this up
and down
| Message text |#| |
| |#| | eg clicking up would show
header 2 at
| |O| | the top, but the last line of
the message
| |#| | would drop off
| |#| |
| |#| |
| |V| V
+=============================+=+ -------------
| Rest of message |
| |
+-----------------------------+
| Icon-list |
| |
+-----------------------------+
Thanks,
Ian.
On Thu, 27 Apr 2000 21:23:55 James M. Cape wrote:
>
> Ian Campbell wrote:
> >
> > I think I haven't explained what I want to do quite well enough. What I am
> > trying to do is make a nice message display widget for Balsa. A message is
> > displayed in several sections:
> >
> > The headers, a GtkText,
> > The content of the selected part, might be a GtkText or a GtkPixmap -
> > eventually even a GtkHTML etc.
> > The MIME parts list, a gnome icon list.
> >
> > I want to have all three of these scroll together, using a single scrollbar.
>
> I see what you are doing as this:
>
> +---------------------------+-+
> | Message 10 |^|
> | Message 11 |#|
> | Message 12 |#|
> +---------------------------+#|
> | Approx-midway-through-msg |#|
> | |O|
> | |#|
> | |#|
> +---------------------------+#|
> | |#|
> | Approx-midway-through- |#|
> | icon-list |v|
> +---------------------------+-+
>
> So when you scroll along the bar, the message, the icons, and the
> headers all scroll. Is this correct?
>
> Jim Cape
> http://www.jcinteractive.com
>
> "Men occasionally stumble over the truth, but most of them
> pick themselves up and hurry off as if nothing had happened."
> -- Winston Churchill
>
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
--
Ian Campbell
Churchill College, Cambridge.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]