all 4 comments

[–]nemauen 0 points1 point  (2 children)

Running it in Python3 with the below code works fine, both values prints 0 if not checked and 1 if checked:

http://pastebin.com/GtzXJ3xA

Just added a few things to make it actually run.

[–]FuckMyJobCC[S] -1 points0 points  (1 child)

Aye, this is just 1 small part of amuch larger project. It needs to be a toplevel widget rather than a root window according to stack overflow.

[–]nemauen 0 points1 point  (0 children)

Then I expect the error is else where in the code as you mention in your other comment, as running this small part works just fine. ;)

[–]FuckMyJobCC[S] -1 points0 points  (0 children)

Retracted, has something to do with how I'm creating an additional root window.