Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 15th, 2005, 12:17 PM   #1
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,868
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Help With Buttons

I want to make a function that can call a different result of buttons based on the argument you give it. But how do I make clickable buttons, and how do I handle their input?
Sane is online now   Reply With Quote
Old Apr 15th, 2005, 1:18 PM   #2
Overmind
Professional Programmer
 
Overmind's Avatar
 
Join Date: Jun 2004
Location: South Africa, Johannesburg
Posts: 301
Rep Power: 5 Overmind is on a distinguished road
I just found out how to do this. Google told me after 5 minutes.
Overmind is offline   Reply With Quote
Old Apr 15th, 2005, 3:44 PM   #3
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,868
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
That's all good, but since I couldn't find it there, I came here for help. Mind helping?
Sane is online now   Reply With Quote
Old May 4th, 2005, 7:39 PM   #4
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,868
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Guys, help please?
Sane is online now   Reply With Quote
Old May 4th, 2005, 9:21 PM   #5
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Smile

Quote:
Originally Posted by Overmind
I just found out how to do this. Google told me after 5 minutes.
Googling also gives you a ton of worthless BS!
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote
Old May 21st, 2005, 12:03 PM   #6
jonaskoelker
Newbie
 
Join Date: May 2005
Location: Denmark
Posts: 13
Rep Power: 0 jonaskoelker is on a distinguished road
Send a message via ICQ to jonaskoelker Send a message via AIM to jonaskoelker Send a message via MSN to jonaskoelker Send a message via Yahoo to jonaskoelker
Sane: I think the answer depends on which gui library you're using. Also, I don't understand exactly what it is you want, so you might want to simplify your question; some pseudo-code might help...

--Jonas
__________________
now go away or I shall taunt you a second time :D
jonaskoelker is offline   Reply With Quote
Old Jun 23rd, 2005, 5:57 PM   #7
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
Sane - as jonaskoelker said, it all depends on what toolkit you're using for your graphical elements. Do some research on all the toolkits available, and you'll find that the best solution is PyQt if you don't want to write commercial apps (or if you do, and happen to have ~$1700 laying around), and wxPython otherwise. Personally I use wxPython in Python and Qt/KDE with C++.
There are some pretty good, explanatory wxPython tutorials available on the net. Ask Google (which actually yields quite good results, contrary to beliefs expressed in this thread)
Cerulean is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:41 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC