get_window_type ( : : : WindowType )

Query of the current window type.

get_window_type determines the type resp. the graphical software of the output device of the current 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 only.
		      By this means HORUS-programs can be ported on computers
		      without a graphical display.

 'HP-2397a'         Starbase (Hewlett Packard).

 'SG 4D-80-GTB'     GL (Silicon Graphics).

 'user-1'           User defined output device.


Parameters

WindowType (output_control)
string -> string
Window type


Example
open_window(::100,100,200,200,'root','visible','':) >
get_window_type(:::WindowType) >
fwrite_string(::['Window type: ',WindowType]:) >
fnew_line(:::).

Result

If a window is activated, then get_window_type returns TRUE. If necessary an exception is raised.


Possible Predecessors

open_window, open_textwindow, set_window


See also

query_window_type, set_window_type, get_window_pointer3, open_window, open_textwindow



Copyright © 1996-1997 MVTec Software GmbH