Helper functions to unsubscribe from Events

Issue #96 resolved
Former user created an issue

Automatic migration. Original reporter: "Van"

There has always been alot of confusion about how to unsubscribe (disconnect) from an event. What may help is a function that could unsubscribe from the event or one that returns the CEGUI::Event::Connection object.

I suggest either one or both of these two functions:

[b]bool CEGUI::Window::unSubscribeEvent( "MyEvent", &myHandler )[/b]

and/or

[b]CEGUI::Event::Connection *CEGUI::Window::getEventConnection( "MyEvent", &myHandler )[/b]

Reproducibility: N/A

Comments (1)

  1. Paul Turner

    Resolving this as won't fix. Mostly because this ticket is now ancient, but also because I reject the need for these functions.

  2. Log in to comment