pce ->show_console: Control visibility of the console window, if accessible. This call only
works in the Windows version of XPCE, and only if the host interface
honours the hostQuery(HOST_CONSOLE) request. The meaning of
the argument:
- open
- The console is opened normally. This is the normal situation for program
development.
- iconic
- The console is displayed as an icon. This is useful for testing
applications. If the applications behaves strange, the console may be
opened to check it for error messages.
- hidden
- The console windows is removed from the display. This is the normal
situation for finished applications. Make sure that the application
terminates if the last windows disappears (see
library(pce_main)
for some standard predicates to realise the toplevel control loop).