LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

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

Rep: Reputation: 0
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,
 
Old 11-29-2012, 02:08 AM   #2
pan64
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).
 
  


Reply


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
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration