problem in the compiler ?

Glauco Silva glauco.silva at cenpra.gov.br
Thu May 5 09:04:52 EDT 2005


So , I will try to explain !
I´m trying to modify a code that doesn´t belong to me.

I thought that there was a bug in the compilation of Pmw.RadioSelect, but
there wans't.

I hadn't noticed that the code invoked the button of radioselect in another
part of it. Now I simply took off the part of the code which invoked the
button and the program is working as I expected. Thanks for your help.

Anyway, the code was this :
 -----------------------------------------
self.myButton = Pmw.RadioSelect(frame, selectmode = MULTIPLE, command =
self.Function)
self.myButton.add('C1')
self.myButton.pack()
            ...

self.myButton.invoke('C1')

-----------------------------------------


----- Original Message ----- 
From: "Delaney, Timothy C (Timothy)" <tdelaney at avaya.com>
To: "Glauco Silva" <glauco.silva at cenpra.gov.br>; <python-list at python.org>
Sent: Wednesday, May 04, 2005 8:20 PM
Subject: RE: problem in the compiler ?


Glauco Silva wrote:

> I´m sorry, I feel I didn't comunicate very well .
> The program I am writing is a part of a big project, so it would be
> no use to post it here as it involves many other things and concepts.

We wouldn't want the whole thing - that would be useless. What you need to
do is trim it down to the smallest piece of code that causes the problem.
Normally doing this reveals the actual problem, and you don't need to go to
the newsgroup.

> But i solve my problem and don´t have bug. My code was wrong.

Excellent. You should now post your solution to the newsgroup.

Tim Delaney




-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.3 - Release Date: 3/5/2005




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 4/5/2005




More information about the Python-list mailing list