Specify a window type.
::set_window_type determines on which type of output device the output is going to be displayed. This specification is going to be used by procedure ::open_window while opening the windows. You may open different windows on different types of output devices. Therefore you have to specify the wanted type before opening. You may request the available types of output devices by calling procedure ::query_window_type. Possible values are:
'X-Window' X-Window Version 11. 'WIN32-Window' Microsoft Windows. 'pixmap' Windows are not displayed, but managed in memory only. In this manner you may port Halcon\ programs to computers without graphical display. 'PostScript' Objects are output to a PostScript File.A useful usage of ::set_window_type could be the development of machine independent programs.
|
WindowType (input_control) |
string -> HTuple.char * |
| Name of the window type which has to be set. | |
| Default value: 'X-Window' | |
| List of values: 'X-Window', 'WIN32-Window', 'pixmap', 'PostScript' | |
If the type of the output device is available, then ::set_window_type returns H_MSG_TRUE. If necessary an exception handling is raised.
::open_window, ::open_textwindow
::open_window, ::open_textwindow, ::query_window_type, ::get_window_type
System