Intermec ck1 Reference Guide
Chapter 5 — Nano-X APIs
246
CK1 SDK Programmer’s Reference Manual
GR_COORD x,
GR_COORD y,
GR_SIZE width,
GR_SIZE height);
void GrDestroyWindow (GR_WINDOW_ID wid);
void GrMapWindow (GR_WINDOW_ID wid);
void GrUnmapWindow (GR_WINDOW_ID wid);
void GrRaiseWindow (GR_WINDOW_ID wid);
void GrLowerWindow (GR_WINDOW_ID wid);
void GrMoveWindow (GR_WINDOW_ID wid,
GR_COORD x,
GR_COORD y);
void GrResizeWindow (GR_WINDOW_ID wid,
GR_SIZE width,
GR_SIZE height);
void GrReparentWindow (GR_WINDOW_ID wid,
GR_WINDOW_ID pwid,
GR_COORD x,
GR_COORD y);
void GrGetWindowInfo (GR_WINDOW_ID wid,
GR_WINDOW_INFO *infoptr);
void GrSetWMProperties (GR_WINDOW_ID wid,
GR_WM_PROPERTIES *props);
void GrGetWMProperties (GR_WINDOW_ID wid,
GR_WM_PROPERTIES *props);
void GrSetFocus (GR_WINDOW_ID wid);
GR_WINDOW_ID GrGetFocus (void);
void GrSetBorderColor (GR_WINDOW_ID wid,
GR_COLOR color);
void GrSetBackgroundPixmap (GR_WINDOW_ID wid,
GR_WINDOW_ID pixmap,int flags);
void GrClearWindow (GR_WINDOW_ID wid,
GR_BOOL exposeflag);
void GrCloseWindow (GR_WINDOW_ID wid);
void GrKillWindow (GR_WINDOW_ID wid);
GR_COORD y,
GR_SIZE width,
GR_SIZE height);
void GrDestroyWindow (GR_WINDOW_ID wid);
void GrMapWindow (GR_WINDOW_ID wid);
void GrUnmapWindow (GR_WINDOW_ID wid);
void GrRaiseWindow (GR_WINDOW_ID wid);
void GrLowerWindow (GR_WINDOW_ID wid);
void GrMoveWindow (GR_WINDOW_ID wid,
GR_COORD x,
GR_COORD y);
void GrResizeWindow (GR_WINDOW_ID wid,
GR_SIZE width,
GR_SIZE height);
void GrReparentWindow (GR_WINDOW_ID wid,
GR_WINDOW_ID pwid,
GR_COORD x,
GR_COORD y);
void GrGetWindowInfo (GR_WINDOW_ID wid,
GR_WINDOW_INFO *infoptr);
void GrSetWMProperties (GR_WINDOW_ID wid,
GR_WM_PROPERTIES *props);
void GrGetWMProperties (GR_WINDOW_ID wid,
GR_WM_PROPERTIES *props);
void GrSetFocus (GR_WINDOW_ID wid);
GR_WINDOW_ID GrGetFocus (void);
void GrSetBorderColor (GR_WINDOW_ID wid,
GR_COLOR color);
void GrSetBackgroundPixmap (GR_WINDOW_ID wid,
GR_WINDOW_ID pixmap,int flags);
void GrClearWindow (GR_WINDOW_ID wid,
GR_BOOL exposeflag);
void GrCloseWindow (GR_WINDOW_ID wid);
void GrKillWindow (GR_WINDOW_ID wid);
GrNewWindow ()
Purpose: Create a new window with the specified parent and window attributes.
Syntax:
GR_WINDOW_ID GrNewWindow (GR_WINDOW_ID parent,
GR_COORD x,
GR_COORD y,
GR_SIZE width,
GR_SIZE height,
GR_SIZE bordersize,
GR_COLOR background,
GR_COLOR bordercolor);
GR_COORD y,
GR_SIZE width,
GR_SIZE height,
GR_SIZE bordersize,
GR_COLOR background,
GR_COLOR bordercolor);
Parameters: parent
Identification of the parent window
x
X coordinate of the new window relative to the parent
window
window
y
Y coordinate of the new window relative to the parent
window
window
width
Width of the new window