URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [services/] [gfx/] [mw/] [v2_0/] [doc/] [nano-X/] [html/] [nano-x-window.html] - Rev 642
Go to most recent revision | Compare with Previous | Blame | View Log
<HTML ><HEAD ><TITLE >window</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK REL="HOME" TITLE="Nano-X API Reference Manual" HREF="index.html"><LINK REL="UP" TITLE="libnano-X" HREF="libnano-x.html"><LINK REL="PREVIOUS" TITLE="general" HREF="nano-x-general.html"><LINK REL="NEXT" TITLE="graphics" HREF="nano-x-graphics.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" BGCOLOR="#000000" CELLPADDING="1" CELLSPACING="0" ><TR ><TH COLSPAN="4" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="5" >Nano-X API Reference Manual</FONT ></TH ></TR ><TR ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="left" ><A HREF="nano-x-general.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><<< Previous Page</B ></FONT ></A ></TD ><TD WIDTH="25%" BGCOLOR="#0000C0" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="index.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Home</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#00C000" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="libnano-x.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Up</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="right" ><A HREF="nano-x-graphics.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Next Page >>></B ></FONT ></A ></TD ></TR ></TABLE ></DIV ><H1 >window</H1 ><DIV CLASS="REFNAMEDIV" ><A NAME="AEN137" ></A ><H2 >Name</H2 >window — </DIV ><DIV CLASS="REFSYNOPSISDIV" ><A NAME="AEN140" ></A ><H2 >Synopsis</H2 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="SYNOPSIS" > <GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > <A HREF="nano-x-window.html#GRNEWWINDOW" >GrNewWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > parent, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > x, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > y, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > width, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > height, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > bordersize, <GTKDOCLINK HREF="GR-COLOR-CAPS" >GR_COLOR</GTKDOCLINK > background, <GTKDOCLINK HREF="GR-COLOR-CAPS" >GR_COLOR</GTKDOCLINK > bordercolor); <GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > <A HREF="nano-x-window.html#GRNEWPIXMAP" >GrNewPixmap</A > (<GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > width, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > height, void *addr); <GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > <A HREF="nano-x-window.html#GRNEWINPUTWINDOW" >GrNewInputWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > parent, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > x, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > y, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > width, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > height); void <A HREF="nano-x-window.html#GRDESTROYWINDOW" >GrDestroyWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid); void <A HREF="nano-x-window.html#GRMAPWINDOW" >GrMapWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid); void <A HREF="nano-x-window.html#GRUNMAPWINDOW" >GrUnmapWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid); void <A HREF="nano-x-window.html#GRRAISEWINDOW" >GrRaiseWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid); void <A HREF="nano-x-window.html#GRLOWERWINDOW" >GrLowerWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid); void <A HREF="nano-x-window.html#GRMOVEWINDOW" >GrMoveWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > x, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > y); void <A HREF="nano-x-window.html#GRRESIZEWINDOW" >GrResizeWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > width, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > height); void <A HREF="nano-x-window.html#GRREPARENTWINDOW" >GrReparentWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > pwid, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > x, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > y); void <A HREF="nano-x-window.html#GRGETWINDOWINFO" >GrGetWindowInfo</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-WINDOW-INFO-CAPS" >GR_WINDOW_INFO</GTKDOCLINK > *infoptr); void <A HREF="nano-x-window.html#GRSETWMPROPERTIES" >GrSetWMProperties</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-WM-PROPERTIES-CAPS" >GR_WM_PROPERTIES</GTKDOCLINK > *props); void <A HREF="nano-x-window.html#GRGETWMPROPERTIES" >GrGetWMProperties</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-WM-PROPERTIES-CAPS" >GR_WM_PROPERTIES</GTKDOCLINK > *props); void <A HREF="nano-x-window.html#GRSETFOCUS" >GrSetFocus</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid); <GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > <A HREF="nano-x-window.html#GRGETFOCUS" >GrGetFocus</A > (void); void <A HREF="nano-x-window.html#GRSETBORDERCOLOR" >GrSetBorderColor</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-COLOR-CAPS" >GR_COLOR</GTKDOCLINK > color); void <A HREF="nano-x-window.html#GRSETBACKGROUNDPIXMAP" >GrSetBackgroundPixmap</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > pixmap, int flags); void <A HREF="nano-x-window.html#GRCLEARWINDOW" >GrClearWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-BOOL-CAPS" >GR_BOOL</GTKDOCLINK > exposeflag); void <A HREF="nano-x-window.html#GRCLOSEWINDOW" >GrCloseWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid); void <A HREF="nano-x-window.html#GRKILLWINDOW" >GrKillWindow</A > (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid);</PRE ></TD ></TR ></TABLE ></DIV ><DIV CLASS="REFSECT1" ><A NAME="AEN213" ></A ><H2 >Description</H2 ><P ></P ></DIV ><DIV CLASS="REFSECT1" ><A NAME="AEN216" ></A ><H2 >Details</H2 ><DIV CLASS="REFSECT2" ><A NAME="AEN218" ></A ><H3 ><A NAME="GRNEWWINDOW" ></A >GrNewWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > GrNewWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > parent, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > x, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > y, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > width, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > height, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > bordersize, <GTKDOCLINK HREF="GR-COLOR-CAPS" >GR_COLOR</GTKDOCLINK > background, <GTKDOCLINK HREF="GR-COLOR-CAPS" >GR_COLOR</GTKDOCLINK > bordercolor);</PRE ></TD ></TR ></TABLE ><P >Create a new window with the specified parent and window attributes.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >parent</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the parent window</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >x</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the X coordinate of the new window relative to the parent window</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >y</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the Y coordinate of the new window relative to the parent window</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >width</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the width of the new window</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >height</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the height of the new window</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >bordersize</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the width of the window border</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >background</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the colour of the window background</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >bordercolor</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the colour of the window border</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the newly created window</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN274" ></A ><H3 ><A NAME="GRNEWPIXMAP" ></A >GrNewPixmap ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > GrNewPixmap (<GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > width, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > height, void *addr);</PRE ></TD ></TR ></TABLE ><P >Create a new server side pixmap (an offscreen drawing area which can be copied into a window using a GrCopyArea call) of the specified width and height.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >width</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the width of the pixmap</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >height</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the height of the pixmap</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >addr</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > currently unused in client/server mode</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the newly created pixmap</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN304" ></A ><H3 ><A NAME="GRNEWINPUTWINDOW" ></A >GrNewInputWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > GrNewInputWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > parent, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > x, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > y, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > width, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > height);</PRE ></TD ></TR ></TABLE ><P >Create a new input-only window with the specified dimensions which is a child of the specified parent window.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >parent</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to use as the parent of the new window</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >x</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the X coordinate of the new window relative to the parent window</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >y</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the Y coordinate of the new window relative to the parent window</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >width</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the width of the new window</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >height</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the height of the new window</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the newly created window</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN345" ></A ><H3 ><A NAME="GRDESTROYWINDOW" ></A >GrDestroyWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrDestroyWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid);</PRE ></TD ></TR ></TABLE ><P >Recursively unmaps and frees the data structures associated with the specified window and all of its children.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to destroy</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN361" ></A ><H3 ><A NAME="GRMAPWINDOW" ></A >GrMapWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrMapWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid);</PRE ></TD ></TR ></TABLE ><P >Recursively maps (makes visible) the specified window and all of the child windows which have a sufficient map count. The border and background of the window are painted, and an exposure event is generated for the window and every child which becomes visible.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to map</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN377" ></A ><H3 ><A NAME="GRUNMAPWINDOW" ></A >GrUnmapWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrUnmapWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid);</PRE ></TD ></TR ></TABLE ><P >Recursively unmaps (makes invisible) the specified window and all of the child windows.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to unmap</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN393" ></A ><H3 ><A NAME="GRRAISEWINDOW" ></A >GrRaiseWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrRaiseWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid);</PRE ></TD ></TR ></TABLE ><P >Places the specified window at the top of its parents drawing stack, above all of its sibling windows.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to raise</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN409" ></A ><H3 ><A NAME="GRLOWERWINDOW" ></A >GrLowerWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrLowerWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid);</PRE ></TD ></TR ></TABLE ><P >Places the specified window at the bottom of its parents drawing stack, below all of its sibling windows.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to lower</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN425" ></A ><H3 ><A NAME="GRMOVEWINDOW" ></A >GrMoveWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrMoveWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > x, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > y);</PRE ></TD ></TR ></TABLE ><P >Moves the specified window to the specified position relative to its parent window.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to move</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >x</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the X coordinate to move the window to relative to its parent.</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >y</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the Y coordinate to move the window to relative to its parent.</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN451" ></A ><H3 ><A NAME="GRRESIZEWINDOW" ></A >GrResizeWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrResizeWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > width, <GTKDOCLINK HREF="GR-SIZE-CAPS" >GR_SIZE</GTKDOCLINK > height);</PRE ></TD ></TR ></TABLE ><P >Resizes the specified window to be the specified width and height.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to resize</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >width</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the width to resize the window to</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >height</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the height to resize the window to</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN477" ></A ><H3 ><A NAME="GRREPARENTWINDOW" ></A >GrReparentWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrReparentWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > pwid, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > x, <GTKDOCLINK HREF="GR-COORD-CAPS" >GR_COORD</GTKDOCLINK > y);</PRE ></TD ></TR ></TABLE ><P >Changes the parent window of the specified window to the specified parent window and places it at the specified coordinates relative to the new parent.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to reparent</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >pwid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the new parent window</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >x</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the X coordinate to place the window at relative to the new parent</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >y</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the Y coordinate to place the window at relative to the new parent</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN508" ></A ><H3 ><A NAME="GRGETWINDOWINFO" ></A >GrGetWindowInfo ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrGetWindowInfo (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-WINDOW-INFO-CAPS" >GR_WINDOW_INFO</GTKDOCLINK > *infoptr);</PRE ></TD ></TR ></TABLE ><P >Fills in a GR_WINDOW_INFO structure with information regarding the window with the specified window ID.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to retrieve information about</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >infoptr</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > pointer to a GR_WINDOW_INFO structure to return the information in</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN529" ></A ><H3 ><A NAME="GRSETWMPROPERTIES" ></A >GrSetWMProperties ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrSetWMProperties (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-WM-PROPERTIES-CAPS" >GR_WM_PROPERTIES</GTKDOCLINK > *props);</PRE ></TD ></TR ></TABLE ><P >Copies the provided GR_WM_PROPERTIES structure into the the GR_WM_PROPERTIES structure of the specified window id.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to set the WM properties of</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >props</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > pointer to a GR_WM_PROPERTIES structure</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN550" ></A ><H3 ><A NAME="GRGETWMPROPERTIES" ></A >GrGetWMProperties ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrGetWMProperties (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-WM-PROPERTIES-CAPS" >GR_WM_PROPERTIES</GTKDOCLINK > *props);</PRE ></TD ></TR ></TABLE ><P >Reads the GR_WM_PROPERTIES structure for the window with the specified id and fills in the provided structure with the information. It is the callers responsibility to free the title member as it is allocated dynamically. The title field will be set to NULL if the window has no title.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to retreive the WM properties of</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >props</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > pointer to a GR_WM_PROPERTIES structure to fill in</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN571" ></A ><H3 ><A NAME="GRSETFOCUS" ></A >GrSetFocus ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrSetFocus (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid);</PRE ></TD ></TR ></TABLE ><P >Sets the keyboard focus to the specified window.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to set the focus to</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN587" ></A ><H3 ><A NAME="GRGETFOCUS" ></A >GrGetFocus ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" ><GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > GrGetFocus (void);</PRE ></TD ></TR ></TABLE ><P ></P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><I CLASS="EMPHASIS" >Returns</I > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window which currently has the keyboard focus</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN603" ></A ><H3 ><A NAME="GRSETBORDERCOLOR" ></A >GrSetBorderColor ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrSetBorderColor (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-COLOR-CAPS" >GR_COLOR</GTKDOCLINK > color);</PRE ></TD ></TR ></TABLE ><P >Sets the border colour of the specified window to the specified colour.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to set the border colour of</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >color</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > </TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN624" ></A ><H3 ><A NAME="GRSETBACKGROUNDPIXMAP" ></A >GrSetBackgroundPixmap ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrSetBackgroundPixmap (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > pixmap, int flags);</PRE ></TD ></TR ></TABLE ><P >Sets the background of the specified window to the specified pixmap. The flags which specify how to draw the pixmap (in the top left of the window, in the centre of the window, tiled, etc.) are those which start with GR_BACKGROUND_ in nano-X.h. If the pixmap value is 0, the server will disable the background pixmap and return to using a solid colour fill.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > ID of the window to set the background of</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >pixmap</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > ID of the pixmap to use as the background</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >flags</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > flags specifying how to draw the pixmap onto the window</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN649" ></A ><H3 ><A NAME="GRCLEARWINDOW" ></A >GrClearWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrClearWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid, <GTKDOCLINK HREF="GR-BOOL-CAPS" >GR_BOOL</GTKDOCLINK > exposeflag);</PRE ></TD ></TR ></TABLE ><P >Clears the specified window by setting it to its background color. If the exposeflag parameter is non zero, an exposure event is generated for the window after it has been cleared.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to clear</TD ></TR ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >exposeflag</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > a flag indicating whether to also generate an exposure event</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN670" ></A ><H3 ><A NAME="GRCLOSEWINDOW" ></A >GrCloseWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrCloseWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid);</PRE ></TD ></TR ></TABLE ><P >Sends a CLOSE_REQ event to the specified window if the client has selected to receive CLOSE_REQ events on this window. Used to request an application to shut down but not force it to do so immediately, so the application can ask whether to save changed files before shutting down cleanly.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to send the CLOSE_REQ event to</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ><HR><DIV CLASS="REFSECT2" ><A NAME="AEN686" ></A ><H3 ><A NAME="GRKILLWINDOW" ></A >GrKillWindow ()</H3 ><TABLE BORDER="0" BGCOLOR="#D6E8FF" WIDTH="100%" CELLPADDING="6" ><TR ><TD ><PRE CLASS="PROGRAMLISTING" >void GrKillWindow (<GTKDOCLINK HREF="GR-WINDOW-ID-CAPS" >GR_WINDOW_ID</GTKDOCLINK > wid);</PRE ></TD ></TR ></TABLE ><P >Forcibly disconnects the client which owns this window with the specified ID number. Used to kill an application which has locked up and is not responding to CLOSE_REQ events.</P ><P ></P ><DIV CLASS="INFORMALTABLE" ><P ></P ><TABLE BORDER="0" WIDTH="100%" BGCOLOR="#FFD0D0" CELLSPACING="0" CELLPADDING="4" CLASS="CALSTABLE" ><TR ><TD WIDTH="20%" ALIGN="RIGHT" VALIGN="TOP" ><TT CLASS="PARAMETER" ><I >wid</I ></TT > :</TD ><TD WIDTH="80%" ALIGN="LEFT" VALIGN="TOP" > the ID of the window to kill</TD ></TR ></TABLE ><P ></P ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><BR CLEAR="all"><BR><TABLE WIDTH="100%" BORDER="0" BGCOLOR="#000000" CELLPADDING="1" CELLSPACING="0" ><TR ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="left" ><A HREF="nano-x-general.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><<< Previous Page</B ></FONT ></A ></TD ><TD WIDTH="25%" BGCOLOR="#0000C0" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="index.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Home</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#00C000" ALIGN="center" ><FONT COLOR="#FFFFFF" SIZE="3" ><B ><A HREF="libnano-x.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Up</B ></FONT ></A ></B ></FONT ></TD ><TD WIDTH="25%" BGCOLOR="#C00000" ALIGN="right" ><A HREF="nano-x-graphics.html" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >Next Page >>></B ></FONT ></A ></TD ></TR ><TR ><TD COLSPAN="2" ALIGN="left" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >general</B ></FONT ></TD ><TD COLSPAN="2" ALIGN="right" ><FONT COLOR="#FFFFFF" SIZE="3" ><B >graphics</B ></FONT ></TD ></TR ></TABLE ></DIV ></BODY ></HTML >
Go to most recent revision | Compare with Previous | Blame | View Log