1
0
mirror of https://github.com/gryf/wmdocklib.git synced 2025-12-19 12:28:10 +01:00
Files
wmdocklib/examples/pywmradio.py
mfrasca 40f0474ce2 1723251: it is too difficult to move a button
I've added the two methods addButton and setButtonPattern to the Application class.

the area in the background has to be paintable, not transparent, or the
button will not be displayed nor be sensitive.

patterns are taken from the application and are not stored with the button.

it might be a good idea to introduce an object hierarchy for widgets,
including Labels and Buttons, maybe also flashing buttons, but as far as the
application programmer (of things like the current examples) is concerned,
this is good enough, I'd say.
2007-05-22 08:11:57 +00:00

13 KiB
Executable File