LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Python GTK click and toggle button? (https://www.linuxquestions.org/questions/programming-9/python-gtk-click-and-toggle-button-4175439146/)

nutjob16 11-28-2012 09:32 AM

Python GTK click and toggle button?
 
Hello,

I am trying to create a simple python GTK app that will add the contents of the clipboard to a list when I click a button. However, if I double click the button, it should remain toggled and continue to add to the list whenever the contents of the clipboard changes.

Is there a button that will do that for me? Thanks,

pan64 11-29-2012 02:08 AM

I'm not really sure, but I think you only need to modify the event handlers of that button (to avoid that behavior).


All times are GMT -5. The time now is 06:53 PM.