Setting of window characteristics.
You may use set_window_attr to set specific characteristics of graphical windows. With it you may modify following default parameters of a window:
'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.
You have to call set_window_attr before calling open_window.
AttributeName (input_control) |
string -> string |
Name of the attribut, which has to be modified. | |
List of values: 'border_width', 'border_color', 'background_color', 'window_title' |
AttributeValue (input_control) |
string -> string / integer |
Value of the attribut, which has to be set. | |
List of values: 0, 1, 2, 'white', 'black', 'MyName', 'default' |
If the parameters are correct, then set_window_attr returns TRUE. If necessary an exception is raised.
open_window, set_draw, set_color, set_colored, set_line_width, open_textwindow, set_window