Hi Texus,
I'm really confused on this one. So I set the callback as above ,i.e.
Then in the gui.pollCallback loop, I'm checking if this callback id is hit, i.e.
However this doesn't get triggered - so I'm a bit confused here as to why I'm unable to detect when the closed child window is pressed.
I'm really confused on this one. So I set the callback as above ,i.e.
Code (cpp) Select
childWindow->bindCallback(tgui::ChildWindow::Closed);
Then in the gui.pollCallback loop, I'm checking if this callback id is hit, i.e.
Code (cpp) Select
if (callback.id == tgui::ChildWindow::Closed)
{
int test = 0;
}
However this doesn't get triggered - so I'm a bit confused here as to why I'm unable to detect when the closed child window is pressed.