UI Interface Overview
- Last UpdatedJan 07, 2026
- 1 minute read
The functions are made available in the Python program by the insertion of the statement import kcs_ui. The functions are then referred to as kcs_ui.<function name>. Before using a new function, please carefully read the function description.
The Vitesse UI Interface supports the following simple User Interface functions:
-
Perform interactive indication in the graphical display of the application
-
Pop up dialog boxes in the same way as the application itself uses.
-
Application window maximize, minimize, refresh display
The returned value "User Response" in the functions should be checked against a proper function in the Utility interface. Normally, the User Response kcs_util.ok() is returned when the user has completed the input, while other responses like kcs_util.cancel(), kcs_util.quit() gives the specific user interruption.
Note: The User Response kcs_util.ok() should not be checked against the function answer_req.
In the general Python programming environment there are also more advanced tools for User Interface available. One example of such a tool is wxPython which can be downloaded from www.wxpython.org