Re: gtk Paned, altered...



> You can get triple/quad by simply nesting GtkPaned, I think. That's
> probably a nicer way to do it since it scales up beyond quad.

That works fine for tripple (with the exection of a center handle), but for
quad you can't have a center, and you have 2 independent gutters, some people
like it when you can move all panes by clicking and dragging the center,
dragging both horizontal gutters when clicking the horizontal gutter on the
top or bottom, and being able to drag both sides of the vertical gutter when
clicking on the left or the right sides. Its hard to explain, hope you
understand. The other benefit I wanted to add, is dynamic, so that a
programmer can give the ability to a program to be able to have options for
their user interface, an example is that a program starts off as a single
section, and then the user can switch from that to a double section and switch
the orientation from horizontal to verticle, and then from there be able to
change to a quad or tripple with diffrent orientations.

> If you're going to have > 2 panes I'd say allow an arbitrary number of
> panes. 4 is sort of a random limit. .02, FWIW.

I'm not exactly sure what you mean, I'll try to explain it more, 1 is the
minimum (in case a program starts off with one) but 4 is a maximum, its not
realy that random, the maximum cells is going to be 2x2, so that is 4 widgets
all together, so for example a user wants to single out a single widget so
that the widget takes up the entire view, he could choose which widget to
single out, out of 4 widgets in a quad view for example. This is completely
relevant to the project I'm getting ready for. This widget will just be
general purpose and be able to handle single sectioned, double sectioned,
triple sectioned, and quad sectioned, and do this in one widget, as opposed to
using 2 or 3 paned widgets, so it will have more programmer options, giving
programmers a better programming interface, allowing them to create nicer user
interfaces.

BTW everyone, I used gxTar to create it, it should open and decompress using
gxTar, but I don't know if I appropriately named it with the extension
.tar.gz, that is the file formats I wanted gxTar to save to but I don't know
if it saved it to that (I need to learn how to use gxTar better :)).



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