Re: New grid item added



The goocanvas Table is a layout container that happens to draw grid lines. The goocanvas Grid is a rectangular object whose sole purpose is to draw grid lines at regular intervals (for things like graphs, or maybe drawing programs). The goocanavs Table draws the lines in between table cells, which are potentially of varying widths and heights....

Murray Cumming wrote:
On Mon, 2008-11-10 at 18:23 +0000, Damon Chaplin wrote:
On Mon, 2008-11-10 at 18:46 +0100, Murray Cumming wrote:
On Mon, 2008-11-10 at 17:23 +0000, Damon Chaplin wrote:
On Mon, 2008-11-10 at 17:51 +0100, Murray Cumming wrote:
On Mon, 2008-11-03 at 11:49 +0000, Damon Chaplin wrote:
I've just added a new grid item to svn.
How is this different to GooCanvasTable?
It is just a simple grid, with vertical and horizontal lines. It doesn't
do layout like the table does.
Ah, so it can't contain other items.

Is there a big benefit to using this instead of just using a
GooCanvasTable without putting any items in it?
It is a bit more configurable - e.g. you can't set the offsets of the
first grid lines in the table. (The grid can also have different colors
for horizontal and vertical grid lines, and for the border.)

Can rows/columns have different sizes, or is it all regular?

If they can, should we just implement the GooCanvasTable grid lines with
this, to avoid the code duplication?




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