|
From: | Øystein Johansen |
Subject: | Re: [Bug-gnubg] Question: Re "Panel build" - Annotation/Hint window parameters |
Date: | Sun, 16 Nov 2003 16:43:03 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 |
Joern Thyssen wrote: [snip]
A third idea I thought about is to use a GtkList instead of a GtkCList.
This is what I tried, and really must say I failed. I guess I still have my code around. But he problem was really selecting the moves and take them further processing. Displaying then in a GtkList (instead of a gtkCList) wasn't a deal.
Each GtkListItem would be a vbox with two or three lines just like the text export: 1. Cubeful 2-ply 24/20 13/8 Eq.: +0.066 0.519 0.141 0.007 - 0.481 0.128 0.004 2-ply cubeful 100% speed [world class] 2. Cubeful 2-ply 13/9 13/8 Eq.: +0.045 ( -0.021) 0.508 0.156 0.007 - 0.492 0.133 0.005 2-ply cubeful 100% speed [world class] One of the problems would be alignment. GtkFixed could be used, but would require some programming to be indepedent of font sizes.
I used GtkTable, and that worked nice for displaying issues. One table for each move and the tables where packed into the GtkList of moves.
-Øystein
[Prev in Thread] | Current Thread | [Next in Thread] |