Re: [Tutor] Self and class functions

2013-06-29 Thread Dave Angel
On 06/30/2013 12:10 AM, Phil wrote: On 30/06/13 11:41, Dave Angel wrote: Thank you Dave, Matthew and Steven for taking the time to reply. All hints are greatly appreciated. I'm attempting to access the GUI widgets. The buttonClicked slot does what I want but I'd like to access the widgets outs

Re: [Tutor] Self and class functions

2013-06-29 Thread Steven D'Aprano
On 30/06/13 08:36, Phil wrote: Thank you for reading this. I'm attempting to access the GUI widgets. The buttonClicked slot does what I want but I'd like to access the widgets outside of the class. My function setLabel doesn't work because self and ui are not known. What does "doesn't work"

Re: [Tutor] Self and class functions

2013-06-29 Thread Dave Angel
On 06/29/2013 06:36 PM, Phil wrote: Thank you for reading this. You should be telling us some things. I'll guess for you: You're using Python 3.3 with Qt for a gui, and Linux 12.04 for an OS. I'm attempting to access the GUI widgets. The buttonClicked slot does what I want but I'd like to