"ReturnKeyPressed" Signal on textbox widget

Started by billarhos, 01 March 2019, 08:42:03

texus

I see very little advantages of this compared to just defining tgui::ChildWindow::Closed as a string.
String to enum conversion is very nice and can be interesting for other parts in TGUI, but if we already use a string then we don't really need it.
Inheritance of the enum is interesting as well, but I don't think it offers anything extra in this situation.