tkuehl / pgu

Automatically exported from code.google.com/p/pgu
0 stars 0 forks source link

Tutorial for subclassing container needed #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I want to create a container that can hold 2 labels side by side and will 
draw its own background color behind those labels. This container would 
change its background color when the mouse is hovering over it.

I cannot figure out how to have a subclassed container draw its own 
background as the code is not commented well enough for me to follow. I also 
don't understand how self.myhover works.

If someone can get me started with this I have a bunch of my own widgets I'd 
add to pgu. 

Original issue reported on code.google.com by markree...@gmail.com on 4 Apr 2010 at 10:11