Thank you very much Marcus, I do appreciate your help, I only have experience with GUIs in android .
The big picture is to change the behavior of the OOT blocks based on the user input; and the user interacts with the system using widgets (buttons, edit texts, etc)
You were right, I don't need to recompile the C++ code, I didn't think it properly.
To give you an example of what I want to do, let's say I have a transmit block named myBlock (oot block, c++), which has a function f, and that function, has a parameter int n.
Then, I have a main.py file, which launches the application (consisting of several connected blocks), with a declaration of that block
self.myBlock = myModule.myBlock()
I want to launch the main.py using a GUI by pressing a button, and selecting the parameters of the function f. These parameters should be selected with widgets (buttons or some other)
Also, which widgets are possible to use? (buttons, editText, etc)
I looked at the documentation, but it is only about blocks for plotting