Name
get_window_typeget_window_typeGetWindowTypeGetWindowType — Get the window type.
get_window_typeget_window_typeGetWindowTypeGetWindowTypeGetWindowType 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 the operator
query_window_typequery_window_typeQueryWindowTypeQueryWindowTypeQueryWindowType.
A reasonable use for get_window_typeget_window_typeGetWindowTypeGetWindowTypeGetWindowType might be in the field of the
development of machine independent software.
Possible values are:
- 'X-Window'
X-Window Version 11.
- 'WIN32-Window'
Microsoft Windows.
- 'Cocoa'
macOS.
- 'pixmap'
Windows are not shown, but managed in memory. By this means
HALCON programs can be ported on computers without a graphical display.
Note that windows of this type support only HALCON objects (images,
regions and XLDs). Fonts, for example, are not available.
- 'PostScript'
Objects are output to a PostScript File.
- 'default'
Current window type.
- 'system_default'
Default window type for current platform.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Window handle.
Suggested values: 'default'"default""default""default""default", 'system_default'"system_default""system_default""system_default""system_default"
open_window(100,100,200,200,'root','visible','',WindowHandle)
get_window_type(WindowHandle,WindowType)
fwrite_string(FileHandle, ['Window type: ',WindowType])
fnew_line(FileHandle)
open_window(100,100,200,200,"root","visible","",&WindowHandle) ;
get_window_type(WindowHandle,&WindowType) ;
fwrite_string("Window type:") ;
sprintf(buf,"%d",WindowType) ;
fwrite_string(FileHandle,buf) ;
fnew_line(FileHandle) ;
open_window(100,100,200,200,'root','visible','',WindowHandle)
get_window_type(WindowHandle,WindowType)
fwrite_string(FileHandle, ['Window type: ',WindowType])
fnew_line(FileHandle)
open_window(100,100,200,200,'root','visible','',WindowHandle)
get_window_type(WindowHandle,WindowType)
fwrite_string(FileHandle, ['Window type: ',WindowType])
fnew_line(FileHandle)
open_window(100,100,200,200,'root','visible','',WindowHandle)
get_window_type(WindowHandle,WindowType)
fwrite_string(FileHandle, ['Window type: ',WindowType])
fnew_line(FileHandle)
If the window is valid get_window_typeget_window_typeGetWindowTypeGetWindowTypeGetWindowType
returns 2 (H_MSG_TRUE).
If necessary an exception is raised.
open_windowopen_windowOpenWindowOpenWindowOpenWindow
query_window_typequery_window_typeQueryWindowTypeQueryWindowTypeQueryWindowType,
set_window_typeset_window_typeSetWindowTypeSetWindowTypeSetWindowType,
get_window_pointer3get_window_pointer3GetWindowPointer3GetWindowPointer3GetWindowPointer3,
open_windowopen_windowOpenWindowOpenWindowOpenWindow
Foundation