BAP Online Manuals : Library Reference : Library by Name : gotowindow
Previous: getprofile
Next: handle_value

6.2.70. gotowindow

sets the current window or returns its handle

SYNOPSIS

INCLUDE 'iolib.h'
gotowindow(WinHandle)
gotowindow(handle)

SYNTAX

gotowindow(WinHandle) (i)

ARGUMENTS

handle(WinHandle) (i) Handle of the window that is to be made the current one
handle(WinHandle) (o) Handle of the current window

DESCRIPTION

If Handle is bound, gotowindow makes the associated Window the current window. The input and output streams are set to this window. The input focus of the host is not affected. You would have to use shiftwindow () instead.

ERRORS

A runtime error occurs if WinHandle is bound but invalid.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

makewindow , shiftwindow , removewindow , clearwindow , writedevice , readdevice


BAP Online Manuals : Library Reference : Library by Name : gotowindow
Previous: getprofile
Next: handle_value