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