Blame


1 058b0118 2005-01-03 devnull .TH WCTL 3
2 058b0118 2005-01-03 devnull .SH NAME
3 058b0118 2005-01-03 devnull drawresizewindow, drawsetlabel, drawtopwindow \- window management
4 058b0118 2005-01-03 devnull .SH SYNOPSIS
5 058b0118 2005-01-03 devnull .B #include <draw.h>
6 058b0118 2005-01-03 devnull .PP
7 058b0118 2005-01-03 devnull .B
8 058b0118 2005-01-03 devnull void drawresizewindow(Rectangle r)
9 058b0118 2005-01-03 devnull .PP
10 058b0118 2005-01-03 devnull .B
11 058b0118 2005-01-03 devnull int drawsetlabel(Display *d, char *name)
12 058b0118 2005-01-03 devnull .PP
13 058b0118 2005-01-03 devnull .B
14 058b0118 2005-01-03 devnull void drawtopwindow(void)
15 058b0118 2005-01-03 devnull .SH DESCRIPTION
16 058b0118 2005-01-03 devnull These routines interact with a window manager
17 058b0118 2005-01-03 devnull to set the properties of the window running the current program.
18 058b0118 2005-01-03 devnull They substitute for interacting directly with the Plan 9
19 058b0118 2005-01-03 devnull .IR rio 's
20 058b0118 2005-01-03 devnull .BR /dev/wctl .
21 058b0118 2005-01-03 devnull .PP
22 058b0118 2005-01-03 devnull .I Drawresizewindow
23 058b0118 2005-01-03 devnull requests that the program's window be resized to have the
24 058b0118 2005-01-03 devnull width and height of the rectangle
25 058b0118 2005-01-03 devnull .IR r .
26 058b0118 2005-01-03 devnull Only the width and height
27 058b0118 2005-01-03 devnull are important; the offset is ignored.
28 058b0118 2005-01-03 devnull .PP
29 058b0118 2005-01-03 devnull .I Drawsetlabel
30 058b0118 2005-01-03 devnull requests that the program's window title be set to
31 058b0118 2005-01-03 devnull .IR name .
32 058b0118 2005-01-03 devnull .PP
33 058b0118 2005-01-03 devnull .I Drawtopwindow
34 058b0118 2005-01-03 devnull requests that the program's window be moved
35 058b0118 2005-01-03 devnull above all other windows and given the input focus.
36 058b0118 2005-01-03 devnull .SH SOURCE
37 b546bd6e 2017-07-16 rsc .B \*9/src/libdraw/wsys.c