XwinMakeWindow
Syntax | ||
struct XwinWindow *XwinMakeWindow(int x,int y,int wdt,int hgt,int border, struct XwinDisplay *display, char *wname,char *iname, char *rname,char *rclass,int argc, char *argv[], int *flg); | ||
Header | ||
base/xwin.h | ||
Library | ||
xwin | ||
Description | ||
The The initial x and y position, width and height of the window are given by the arguments x, y, wdt and hgt. The argument border defines the width of the window border in pixels. The argument display points to a zero terminated string that defines the X terminal display to create the window on. The arguments wname, iname, rname and rclass point to zero terminated strings the define the window name, the icon name, the resource name and the resource class respectively. The argument argv is the array of zero-terminated, command line strings passed to the calling program and the argument argc is the number of strings in the array. If an error occurs the location pointed to by the argument flg is set to an error value. NULL pointer is returned and the location pointed to by the argument flg is set to an error value.NULL pointer is returned and the location pointed to by the argument flg is set to an error value.
| ||
Returns | ||
None | ||
Errors | ||
None | ||
Example | ||