HALCON Reference Manual 10.0.2
Name
get_window_attrget_window_attrget_window_attrGetWindowAttrGetWindowAttr — Get window characteristics.
The operator get_window_attrget_window_attrget_window_attrGetWindowAttrGetWindowAttr can be used to read
characteristics of graphics windows that were set using
set_window_attrset_window_attrset_window_attrSetWindowAttrSetWindowAttr. The following parameters of a window may
be queried:
-
'border_width'
Width of the window border in pixels.
-
'border_color'
Color of the window border.
-
'background_color'
Background color of the window.
-
'window_title'
Name of the window in the titlebar.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: local (may only be called from the same thread in which the window, model, or tool instance was created).
- Processed without parallelization.
Name of the attribute that should be returned.
List of values: 'border_width'"border_width""border_width""border_width""border_width", 'border_color'"border_color""border_color""border_color""border_color", 'background_color'"background_color""background_color""background_color""background_color", 'window_title'"window_title""window_title""window_title""window_title"
If the parameters are correct get_window_attrget_window_attrget_window_attrGetWindowAttrGetWindowAttr returns 2 (H_MSG_TRUE).
If necessary an exception is raised.
open_windowopen_windowopen_windowOpenWindowOpenWindow,
set_drawset_drawset_drawSetDrawSetDraw,
set_colorset_colorset_colorSetColorSetColor,
set_coloredset_coloredset_coloredSetColoredSetColored,
set_line_widthset_line_widthset_line_widthSetLineWidthSetLineWidth,
open_textwindowopen_textwindowopen_textwindowOpenTextwindowOpenTextwindow
open_windowopen_windowopen_windowOpenWindowOpenWindow,
set_window_attrset_window_attrset_window_attrSetWindowAttrSetWindowAttr
Foundation
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |