Get the window type.
get_window_type determines the type or the graphical software, respectively, of the output device for the window. You may query the available types of output devices with procedure query_window_type. A reasonable use for get_window_type might be in the field of the development of machine independent software. Possible values are:
'X-Window' X-Window Version 11. 'pixmap' Windows are not shown, but managed in memory. By this means HALCON\ programs can be ported on computers without a graphical display. 'PostScript' Objects are output to a PostScript File.
|
WindowHandle (input_control) |
window -> integer |
| Window identifier. | |
|
WindowType (output_control) |
string -> string |
| Window type | |
open_window(100,100,200,200,'root','visible','',WindowHandle) get_window_type(WindowHandle,WindowType) fwrite_string(['Window type: ',WindowType]) fnew_line().
If the window is valid get_window_type returns 2 (H_MSG_TRUE). If necessary an exception handling is raised.
get_window_type is reentrant, local, and processed without parallelization.
query_window_type, set_window_type, get_window_pointer3, open_window, open_textwindow
System