Tix CheckList browsecmd is called twice

Post here if you need help with creating a Graphical User Interface in Python.

Tix CheckList browsecmd is called twice

Postby bdimych » Wed Apr 30, 2014 5:35 am

Hi
Code: Select all
cl = tix.CheckList(root, browsecmd = clBrowsecmd)
clBrowsecmd is called twice when I click the checkboxes

I have found Tcl solution in the Tix manual
http://tix.sourceforge.net/docs/FAQ.html#general.twice
Code: Select all
if {[tixEvent type] == "<ButtonRelease-1>"} {return}

is it possible to do it in Python?
Last edited by Mekire on Wed Apr 30, 2014 6:30 am, edited 1 time in total.
Reason: Lock; code tags.
bdimych
 
Posts: 1
Joined: Wed Apr 30, 2014 5:18 am

Return to GUI

Who is online

Users browsing this forum: Google Feedfetcher and 3 guests