I have this script that is a simple Button that calls color selection
dialog and then shows this color in popup window.
https://bitbucket.org/techtonik/pyside-copy-paste/src/19c2cd089141/04.dialog.color.py
I define choose_color() function and assign it as a handler with:
button.clicked.connect(choose_color)
Now I want choose_color() to paint the button itself with a given
color. How can I pass a reference to the button into choose_color()?
--
anatoly t.
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside