Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


Search this Thread
Old 11-28-2012, 09:32 AM   #1
LQ Newbie
Registered: Dec 2009
Location: Philadelphia PA, USA
Distribution: Debian
Posts: 13

Rep: Reputation: 0
Python GTK click and toggle button?


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,
Old 11-29-2012, 02:08 AM   #2
Senior Member
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,500

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
touchpad scroll button continuous scrolling toggle ldmn Linux - Laptop and Netbook 2 05-30-2013 02:01 AM
No Back Button on right click or browser qplumb Linux Mint 1 09-05-2009 06:04 PM
python update - Unable to load GTK2 Python bindings: No module named gtk itpedersen Linux - Software 2 10-03-2008 03:44 AM
make thumb button/third button double-click taboom Linux - Hardware 0 03-20-2006 02:39 PM
GTK toggle button to pixmap verigoth Programming 1 07-22-2002 02:32 PM

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration