Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » How can I callback on staticimage click
How can I callback on staticimage click [message #35326] Fri, 03 February 2012 07:21 Go to previous message
jerson is currently offline  jerson
Messages: 202
Registered: June 2010
Location: Bombay, India
Experienced Member

Hello

I have this series of staticimage widgets that are to be clickable. When the user clicks on one, I update a global variable that will be used elsewhere in the code.

index.php?t=getfile&id=3633&private=0


I cannot figure how to capture the mouse click on the static images. Do I need to make a class derived from staticimage widget and then capture the LeftDown event? Or is it something very simple?

Can someone please help me out here.

thanks
Jerson
  • Attachment: LDG.jpg
    (Size: 10.85KB, Downloaded 560 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Background in dockable GL objects
Next Topic: EditDouble background color
Goto Forum:
  


Current Time: Fri Apr 26 12:28:36 CEST 2024

Total time taken to generate the page: 0.03324 seconds