TGUI Forum

General Category => Help requests => Topic started by: roccio on 24 September 2021, 09:56:42

Title: Group events
Post by: roccio on 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?

Thanks
Title: Re: Group events
Post by: texus on 24 September 2021, 12:24:16
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?
Title: Re: Group events
Post by: roccio on 01 October 2021, 12:00:35
Thanks, that solved my problem.