On May 1, 12:12 am, Soumen banerjee wrote:
> Hello,
> Im not adding any GUI elements from the changer thread. Im just
> attempting to change the value of a preexisting widget made in thread
> one. The point is that i need to display text generated in thread 2 in
> a GUI generated in thread 1.
> As
On Apr 30, 11:52 pm, Dave Angel wrote:
> Soumen banerjee wrote:
> > Hello,
> > you say that frame_1 is an attribute of the main class. The main
> > class here is guithread right? so any instance of guithread should
> > also have an attribute called frame_1 isnt it? Excuse me if im getting
> > thi
Soumen banerjee wrote:
Hello,
The code works almost perfectly. I was able to correct some small
things, and get it to work brilliantly. I would like to thank you for
your dedicated help. My understanding of the matter here has improved
by a lot due to your kind help. I will further work on your
s
Hello,
Im not adding any GUI elements from the changer thread. Im just
attempting to change the value of a preexisting widget made in thread
one. The point is that i need to display text generated in thread 2 in
a GUI generated in thread 1.
As far as inter thread synchronization is concerned, i see
Soumen banerjee wrote:
Hello,
you say that frame_1 is an attribute of the main class. The main
class here is guithread right? so any instance of guithread should
also have an attribute called frame_1 isnt it? Excuse me if im getting
this wrong, since i am somewhat new to python.
Regards
Soumen
Hello,
Another thing, here i tried changing self.frame_1 to
guithread.frame_1, so that that part of the code now reads:-
import wx,gui,threading
class guithread(threading.Thread):
def run(self):
app = wx.PySimpleApp(0)
wx.InitAllImageHandlers()
guithread.frame_1 = gui.M
Hello,
you say that frame_1 is an attribute of the main class. The main
class here is guithread right? so any instance of guithread should
also have an attribute called frame_1 isnt it? Excuse me if im getting
this wrong, since i am somewhat new to python.
Regards
Soumen
On Fri, May 1, 2009 at 9:
On Apr 30, 9:54 pm, Soumen banerjee wrote:
> Hello,
> I am using wxglade to design a gui which i am using in another script.
> Here are the codes
>
> The main file:
> import wx,gui,threading
> class guithread(threading.Thread):
> def run(self):
> app = wx.PySimpleApp(0)
> wx.InitA