I have a GtkTreeView with a GtkListStore as model. Is it possible to have horizontally 'merged' cells, i.e. a cell spanning several columns? If yes, how would I go about it?
Similarly, I would need two heading rows, like in the following example of tyre pressure readings
| Code: |
+-----------------------------+
| Front | Rear |
| Left | Right | Left | Right |
+------+-------+------+-------+
| 30 | 35 | 40 | 41 |
+--------------+--------------+
| 30 | 40 |
+--------------+--------------+
|
or for a planner
| Code: |
+---------+-------------------------------+--------------------------------+
| | 2008-10-01 | 2008-10-02 |
+ Vehicle +-------------------------------+--------------------------------+
| | 00-06 | 06-12 | 12-18 | 18-24 | 00-06 | 06-12 | 12-18 | 18-24 |
+---------+-------+-------+-------+-------+--------+-------+-------+-------+
| M1 | - | Peter | Joe | - | - | Peter | David | - |
+---------+-------+-------+-------+-------+--------+-------+-------+-------+
| M2 | Roger | Keith | Paul | Harry |
+---------+-------+-------+-------+-------+--------+-------+-------+-------+
|
I have tried to implement this using GtkTable and it works fine except the screen takes too long to draw, 40 seconds+ for a large table; GtkTreeView handles the same much much faster.
Thanks
Peter