Group events

Started by roccio, 24 September 2021, 09:56:42


Hello, I have a problem with the group event management.

I used to do guiGroup->handleEvent(event); in the previous version of tgui, but now handleEvent is no more present.

How do I manage all possible events with 0.9?



That function was never intended to be used directly in previous versions of tgui.
If your group is part of the gui then gui.handleEvent should pass the event to the correct group.
In what scenario do you think you need to pass the event to the group directly?


Thanks, that solved my problem.