event return values question

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

arbuckle911
Just popping in
Just popping in
Posts: 6
Joined: Sat Nov 25, 2006 01:50

event return values question

Postby arbuckle911 » Wed Nov 29, 2006 21:21

When handling events inside the actual code, what are the return values for?
true if event was handled, false if not? What happens if the event wasn't handled, where will it go next?
(Honestly as far as I can tell true or false has no effect)

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Thu Nov 30, 2006 20:22

IIRC, the events "bubble up" from the first element to the last (if it is a mouse click for example, it first goes to the first item at moise position, then to the next and so one) returning true says "stop to bubble up" and false means continue. but i'm not sure 100% if it was like that !


Return to “Help”

Who is online

Users browsing this forum: No registered users and 24 guests