obtain.html

来自「linux图形界面x liberary手册」· HTML 代码 · 共 37 行

HTML
37
字号
<HTML><HEAD><TITLE>Xlib Programming Manual: Obtaining Window Information</TITLE></HEAD><BODY><H1 ALIGN=center>4.1 Obtaining Window Information</H1>Xlib provides functions that you can use to obtain information about the window tree, the window's current attributes, the window's current geometry, or the current pointer coordinates.Because they are most frequently used by window managers,these functions all return a status to indicate whether the window stillexists.<P>To obtain the parent, a list of children, and number of children for a given window, use <B><A HREF="XQueryTree.html">XQueryTree()</A></B>.<P>To obtain the current attributes of a given window, use <B><A HREF="XGetWindowAttributes.html">XGetWindowAttributes()</A></B>.<P>To obtain the current geometry of a given drawable, use <B><A HREF="XGetGeometry.html">XGetGeometry()</A></B>.<H5 ALIGN=right><I>Next: <A HREF="translate.html">Translating Screen Coordinates</A></I></H5><HR><ADDRESS><A HREF="http://tronche.com/">Christophe Tronche</A>, <A HREF="mailto:ch.tronche@computer.org">ch.tronche@computer.org</A></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

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