[Tkinter-discuss] Making an image the background of a Frame

Alexnb alexnbryan at gmail.com
Sun Jul 20 01:20:26 CEST 2008




Guilherme Polo wrote:
> 
> On Sat, Jul 19, 2008 at 7:43 PM, Alexnb <alexnbryan at gmail.com> wrote:
>>
>> So, is there  a way I can make the background of a frame an image and
>> still
>> have all the widgets (buttons in this case) remain where they are and how
>> they work?
> 
> You could just use a Label with a image and use this Label as the
> parent for other widgets you want to place over it. You will probably
> also want to set the window geometry according to this background
> image dimensions.
> 
>> --
>> View this message in context:
>> http://www.nabble.com/Making-an-image-the-background-of-a-Frame-tp18549545p18549545.html
>> Sent from the Python - tkinter-discuss mailing list archive at
>> Nabble.com.
>>
>> _______________________________________________
>> Tkinter-discuss mailing list
>> Tkinter-discuss at python.org
>> http://mail.python.org/mailman/listinfo/tkinter-discuss
>>
> 
> 
> 
> -- 
> -- Guilherme H. Polo Goncalves
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
> 
> 

Okay, I tried that and the area just showed up white :(. What do you
suggest?

-- 
View this message in context: http://www.nabble.com/Making-an-image-the-background-of-a-Frame-tp18549545p18549826.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.



More information about the Tkinter-discuss mailing list