ttysw_output( )
Appends len number of characters from buf onto tty’s output queue; it sends them
through the terminal emulator to the TTY. It returns the number of characters ac-
cepted.
int
ttysw_output(tty, buf, len)
Tty tty;
char *buf;
int len;
window_done()
Destroys the entire hierarchy to which win belongs.
int
window_done(win)
Xv_Window win;
window_fit()
This macro causes win to fit its contents in the dimensions specified with
WIN_FIT_HEIGHT and WIN_FIT_WIDTH. It is defined as:
xv_set(win, WIN_FIT_HEIGHT, 0, WIN_FIT_WIDTH, 0, NULL)
window_fit_height()
Causes win to fit its contents in the height specified with WIN_FIT_HEIGHT. The
macro is defined as:
xv_set(win, WIN_FIT_HEIGHT, 0, NULL)
window_fit_width( )
Causes win to fit its contents in the width specified with WIN_FIT_WIDTH. The macro
is defined as:
xv_set(win, WIN_FIT_WIDTH, 0, NULL)
window_read_event()
Reads the next input event for window. In case of error, sets the global variable
errno and returns -1.
int
window_read_event(window, event)
Xv_window window;
Event *event;
win_set_kbd_focus
Assigns input focus (via XSetInputFocus()) to the passed window.
int
win_set_kbd_focus(window, xid)
Xv_Window window; /* XView window to set focus on */
XID xid; /* XID of XView window */
210 XView Reference Manual