On Fri, Dec 03, 1999 at 03:08:12PM +0000, Hassan Aurag wrote:
> I haven't been able to solve this one, and I have a fear!
> Here goes the problem (what I want and cannot yet do):
> -Make canvas=GnomeCanvas()
> -Now, make canvas.root().add("widget",......)
> -widget=GtkCList which contains text for input.
> -make that widget fill the canvas horizontally ????? HOWT-TO-DO-IT?
> -make the canvas background be widget background color, so that
> viewer has the illusion it's same thing???? HOWTO
A canvas itself has no width (it's a virtual thing without limits).
To achieve what you want, you will have to put a vbox of fixed width
in the canvas.
But, please, before you do such things check first if your CList is
not better places above the canvas in the normal window. Otherwise,
you will have scroll bars for the canvas and the CList and that will
irritate the user.
--
Dipl. Inf. (FH) Aaron "Optimizer" Digulla
"(to) optimize: Make a program faster by
improving the algorithms rather than by
buying a faster machine."
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]