Annotation of researchv10dc/630/man/src/p_man/man3/window.3l, revision 1.1.1.1

1.1       root        1: .ds ZZ DEVELOPMENT PACKAGE
                      2: .TH WINDOW 3L "630 MTG"
                      3: .XE "reshape()"
                      4: .XE "move()"
                      5: .XE "top()"
                      6: .XE "bottom()"
                      7: .XE "current()"
                      8: .XE "delete()"
                      9: .SH NAME
                     10: window: reshape, move, top, bottom, current, delete \- window operations
                     11: .SH SYNOPSIS
                     12: .B #include <dmd.h>
                     13: .sp
                     14: .B int reshape (r)
                     15: .sp
                     16: .B int move (p)
                     17: .sp
                     18: .B void top ( )
                     19: .sp
                     20: .B void bottom ( )
                     21: .sp
                     22: .B void current ( )
                     23: .sp
                     24: .B void delete ( )
                     25: .sp
                     26: .B Rectangle r;
                     27: .br
                     28: .B Point p;
                     29: .SH DESCRIPTION
                     30: The
                     31: .I reshape
                     32: function
                     33: changes the size and/or position of the window
                     34: in which the process is running.
                     35: This will change the value of
                     36: .I Drect
                     37: and
                     38: .IR display .
                     39: The
                     40: .I reshape
                     41: function will fail and do nothing if the given rectangle lies
                     42: outside of
                     43: the screen
                     44: or is smaller than 32x32.
                     45: It may also fail because of insufficient memory.
                     46: On failure, \f2reshape\f1 will reshape the window back to its
                     47: original size or to 32x32.
                     48: When successful,
                     49: .I P->state
                     50: is updated,
                     51: and 1 is returned.
                     52: Otherwise, 0 is returned.
                     53: .P
                     54: The
                     55: .I move
                     56: function
                     57: moves the process's window so that
                     58: .I display.origin
                     59: lies at the given point.
                     60: It will fail and do nothing if
                     61: .I p
                     62: lies outside of
                     63: the screen
                     64: or there isn't enough memory.
                     65: When successful,
                     66: .I P->state
                     67: is updated, and 1 is returned.
                     68: Otherwise, 0 is returned.
                     69: .PP
                     70: The
                     71: .I top
                     72: function
                     73: brings the window to the top so that it is not obscured
                     74: by any other window.
                     75: As its opposite, the
                     76: .I bottom
                     77: function
                     78: puts the window on the bottom so that every window it overlapped
                     79: will now obscure it.
                     80: .PP
                     81: The
                     82: .I current
                     83: function
                     84: makes the process's window current. This directs the keyboard
                     85: and mouse input to the process.
                     86: .PP
                     87: The
                     88: .I delete
                     89: function
                     90: deletes the process and its window. This is the same as exit,
                     91: only the window is also removed.
                     92: The
                     93: .I delete
                     94: function will fail if the window is the last one connected to a host.
                     95: .SH SEE ALSO
                     96: exit(3R), globals(3R), state(3R).

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.