How do I connect classes created using RapidApp to each other?
Connecting classes in C++ is always challenging because of C++’s strong typing. There are two basic ways to do this that work well with RapidApp-generated (ViewKit-style) classes. The first is to hard code the connection by implementing an API that each class can use to connect to the other as needed. The second is to use the ViewKit support for callbacks. Say you have two classes, Input and Output, and Input has a text field. You would like Output to be notified when the user enters text in Input’s text field.