[KLE Index] [KLE Hierarchy] [Headers]
KLGridGroup Provides a grid (=table) layout More...
#include <klelib/klgroup.h>
Inherits: KLGroup
KLGridGroup
Provides a grid (=table) layout.
[public]
Contructs a Gridgroup with rowColCount Coloums or Rows. rowGrid says, if this a coloum(false) or a row grid
Note: Before you can show a grid, you MUST make sure that the count of showed nodes % rowColCount == 0. Otherwise you will get an assert and nothing displayed
If you want to change the attributes rowColCount, you should stop the layouting (if the widget is showed).
Known Bug: It ignores any weight settings fully (at the moment)
[public]
TRUE when a rowGrid. This means, that the grid uses its mebers to fill up rows: (e.g. you´ve 20 members and a rowColCount of 4)
1 | 5 | 9 | 13| 17| --+---+---+---+---+ 2 | 6 |10 | 14| 18| --+---+---+---+---+ 3 | 7 |11 | 15| 19| --+---+---+---+---+ 4 | 8 |12 | 16| 20|
(of course, there are no seperators between the cols and rows)
if rowGrid = false, it will look like this:
1 | 2 | 3 | 4 5 | 6 | 7 | 8 9 | 10 | 11 | 12 13 | 14 | 15 | 16 17 | 18 | 19 | 20
[public]
Count of rows or coloums. If it are rows or coloums depends on rowTab()
[public]
Sets rowGrid.
Will force a relayout
[public]
Sets the row or coloum count
Will force a relayout
[public]
Validates the grid. This means, that the grid will be filled up with KLReplaceMe´s so that the assertion mebmercount % rowColCount() == 0 is true.
After filling up, it will try to remove as much KLReplaceMe´s from the end as possible
Documentation generated by emmy@gate on Tue Sep 22 21:13:27 MEST 1998 | Kdoc |