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 » U++ Library support » U++ Core » About Events ...
About Events ... [message #420] Sun, 25 December 2005 19:45 Go to next message
funnyman is currently offline  funnyman
Messages: 4
Registered: December 2005
Location: BG
Junior Member

Hi.

How i can use "on_mouse_enter" event (or others)
for Button widget without inheritance of the
Button class ? ...using the callback system.

thanks.


Re: About Events ... [message #422 is a reply to message #420] Mon, 26 December 2005 00:24 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
You cannot Smile

Use inheritance. You can however create your own derived button class that has WhenMouseEnter callback.

The thing is that this case is quite special it it is not worth to add necessary code and data to each widget....

Alternatively, there is a possibility of MouseHooks...

Mirek
Previous Topic: widgets allocation - if not on the heap then - where?
Next Topic: Socket-Help me!
Goto Forum:
  


Current Time: Sun Apr 28 21:34:14 CEST 2024

Total time taken to generate the page: 0.03738 seconds