Why changing signals causes NameErrors in a sane code? - PyGtk issue

Posted by boywithaxe on Ask Ubuntu See other posts from Ask Ubuntu or by boywithaxe
Published on 2012-06-24T00:01:46Z Indexed on 2012/06/24 9:23 UTC
Read the original article Hit count: 350

I'm working on a very simple app for Ubuntu. I've asked a question on stackoverflow, and it seems that the issue I am having is caused by signals, not by the scope of variables, as I originally thought. The problem I am having is that when TextBox emits a signal through activate the whole code works without a glitch. But when I change the signal to insert-at-click it returns NameErrors in every non-TextBox-linked function. Now, It is highly possible I am doing something completely wrong here, but is it at least probable that signals could affect global variable assignments?

© Ask Ubuntu or respective owner

Related posts about python

Related posts about application-development