subwin.3cur

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3CUR 代码 · 共 50 行

3CUR
50
字号
.TH subwin 3cur .SH Namesubwin \- create subwindow.SH Syntax.br.B#include <cursesX.h>.PP.br.BWINDOW \(**subwin(orig, nlines, ncols, begin_y, begin_x).br.BWINDOW \(**orig;.br.Bint nlines, ncols, begin_y, begin_x;.SH Description.NXR "subwin subroutine"This routine creates a new sub-window within a window.The dimensions of the sub-window are .PN nlineslines and .PN ncolscolumns. The sub-window is at position (\c.PN begin_y, .PN begin_x) on the screen.This position is relative to the screen, and not to the window .PN orig ..PPThe sub-window is made in the middle of the window .PN orig ,so that changes made to either window will affect both.When using this routine,it will often be necessary to call.PN touchwin before calling .PN wrefresh ..SH Return ValuesOn success the.PN subwinfunction returns a pointer to the new WINDOW structure created.  On failurethe function returns a null pointer..SH See Alsotouchwin(3cur), wrefresh(3cur)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?