oh ok :)but how do i manage to use a variable on one class in another? exclass 
main () :.....def on_rotate_activate(self, widget, *args):        
window_rotate=edit_rotate()        print window_rotate.value......class 
edit_rotate(wndBase):    def my_response(self, widget, respuesta):        if 
respuesta == gtk.RESPONSE_OK:            #print 
self.wTree.get_widget("entry_rotate").get_text()            
value=int(self.wTree.get_widget("entry_rotate").get_text()        else:         
   widget.destroy()that doesnt work for me :S  i want to show the value of 
"value" in the main class
_________________________________________________________________
Add some color. Personalize your inbox with your favorite colors.
www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0507
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to