Re: Project Scheduling Design
- From: Federico Mena Quintero <federico nuclecu unam mx>
- To: kodis jagunet com
- CC: gnome-list gnome org
- Subject: Re: Project Scheduling Design
- Date: Mon, 16 Nov 1998 11:40:19 -0500
> I'd like to start developing a Gnome project scheduling application, as
> listed in the Rhad TODO list at http://www.labs.redhat.com/schedule.shtml
Cool!
> 1) Derive the whole thing from a Canvas widget. This would be the
> most versatile approach, but seems to require reimplimenting most
> of the Scrollbar and Clist widgets in terms of a Canvas. I don't
> see any way to get much reuse of existing components other than
> by cut-and-paste (ugh!).
>
> 2) Use an Hpane widget as a container for a Clist widget on the left
> and a Canvas widget on the right. This would be great from a
> software reuse perspective, but seems to require concocting some
> way to get the vertical scrollbar of the canvas widget to control
> the Clist and Canvas widgets in the two panes of the window. I
> don't see any way to do this.
>
> I'd appreciate any advise on the relative merits of these two
> approaches, or suggestions for alternate implementation strategies.
For the first strategy, you would have to reimplement clist for the
canvas. I would only do this if you need something exotic out of the
clist that it can really not do right now. You don't need to
reimplement the scrollbar.
I would go for the second approach. The canvas does not have
scrollbars; it just has a pair of adjustments that you can tweak, and
of course attach to your own scrollbars. You could potentially share
your own vertical adjustment between the clist and the canvas.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]