GTK-- Tables question





Hi,

I have a small GTK-- app in which there is a table of about 24x11 cells. Most
contain togglebuttons with 18x18 pixmaps on top; some have 1-cell labels in;
one (top left) has a 6-column label in.

Problem: Even though the table is constructed and show()n in what seems like
a reasonable order, strange things happen when the window containing it is
shown. The initial dimensions of the table are wrong when shown (much too
small), though it then immediately resizes itself to the right dimensions.
However, by then my WM has placed the window, often somewhere that means the
resized window is half off the screen. This isn't very useful...

Is there any way I can persuade the table to size itself properly before it's
shown?

Thanks,
-Matt.



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