myframe configure -backgroundImage image
I want to have a picture with some buttons
on top of it.
Can I do this with a canvas?.
Yes, you can use a canvas rather than a frame; use
.win create window
to put buttons on it.
Yes, you can put background images using the BLT package.
Yes, you can stack widgets in a frame so that the lower
image acts as background; the foreground widgets can be
managed normally with grid or pack.
--
Donald Arseneau as...@triumf.ca
If I could stack widgets in a frame, then I could have a button with an
image and have the button fill the frame, but then I don't know how to
put anything on top of that. I normally use pack, can it be done with
that?
use pack to put the first widget in, then use place to put more frames
directly on top.
>
> If I could stack widgets in a frame, then I could have a button with an
> image and have the button fill the frame, but then I don't know how to
> put anything on top of that. I normally use pack, can it be done with
> that?
I'm not sure I understand what you wrote. Use a canvas, put an image in
the canvas, then pack things inside the canvas as if it were a frame.
Does that make sense?
Look here for more help: http://wiki.tcl.tk/4389