LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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, 10: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, 03:08 AM   #2
pan64
Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,142

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
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 03:01 AM
No Back Button on right click or browser qplumb Linux Mint 1 09-05-2009 07:04 PM
python update - Unable to load GTK2 Python bindings: No module named gtk itpedersen Linux - Software 2 10-03-2008 04:44 AM
make thumb button/third button double-click taboom Linux - Hardware 0 03-20-2006 03:39 PM
GTK toggle button to pixmap verigoth Programming 1 07-22-2002 03:32 PM


All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
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