[Tutor] Clock in tkinter?

Wayne Werner waynejwerner at gmail.com
Thu Nov 17 16:15:20 CET 2011


On Thu, Nov 17, 2011 at 8:57 AM, Mic <o0MB0o at hotmail.se> wrote:

>   <snip>
>
> Okay, to begin with, I hope I am replying correctly now.
>

Better, though there was quite a lot of my email that you could have
removed.


>
> I wonder, how do I add a background picture to my GUI window?
>
> So far, I thought I could make a label that is as large as the
> entire window, and then add a picture to it. The other widgets
> are supposed to be placed on top of the picture.
>
> But I am lost on how to accomplish this. Can you point me in the
> right direction to solve this?
>

If you want to do this, I would recommend using the place (as opposed to
pack or grid) manager inside of a frame widget. Use that to place your
image, and another frame that contains your other widgets - I would use the
pack or grid layout inside this other frame, though.

HTH,
Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111117/b700ef8f/attachment-0001.html>


More information about the Tutor mailing list