Get_Geom.sgm 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!-- $XConsortium: Get_Geom.sgm /main/6 1996/08/30 14:48:30 rws $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN286.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN286.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>Get_Geometry</RefEntryTitle>
  13. <ManVolNum>special file</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Symbol Role="Message">Get_Geometry</Symbol></RefName>
  17. <RefPurpose>get a tool's on-screen geometry
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- $XConsortium: Get_Geom.sgm /main/6 1996/08/30 14:48:30 rws $-->
  21. <!-- CDE Common Source Format, Version 1.0.0-->
  22. <!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
  23. <!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
  24. <!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
  25. <!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
  26. <RefSynopsisDiv>
  27. <Synopsis>Get_Geometry(out width <Symbol Role="Variable">w</Symbol>,
  28. out height <Emphasis>h</Emphasis>,
  29. out xOffset <Symbol Role="Variable">x</Symbol>,
  30. out yOffset <Symbol Role="Variable">y</Symbol>
  31. [in messageID <Emphasis>commission</Emphasis>]);
  32. </Synopsis>
  33. </RefSynopsisDiv>
  34. <RefSect1>
  35. <Title>DESCRIPTION</Title>
  36. <Para>The
  37. <Symbol Role="Message">Get_Geometry</Symbol> request
  38. reports the on-screen geometry of the optionally specified
  39. window, or of the window primarily associated with the recipient
  40. procid (if no window is specified).
  41. </Para>
  42. <Para>The
  43. <Symbol Role="Variable">w</Symbol>, <Emphasis>h</Emphasis>, <Symbol Role="Variable">x</Symbol> and
  44. <Symbol Role="Variable">y</Symbol> arguments are integer geometry values, in pixels,
  45. representing width, height, x-coordinate and y-coordinate,
  46. respectively.
  47. Negative offset values
  48. are interpreted according to the
  49. <![ %CDE.C.CDE; [<Filename MoreInfo="RefEntry">X11</Filename>(7) man page.
  50. ]]><![ %CDE.C.XO; [&str-Zl;.
  51. ]]></Para>
  52. <Para>The
  53. <Emphasis>commission</Emphasis> argument
  54. is the ID of the ongoing request, if any, that resulted in the creation
  55. of the window in question.
  56. </Para>
  57. </RefSect1>
  58. <RefSect1>
  59. <Title>APPLICATION USAGE</Title>
  60. <Para>The
  61. &cdeman.ttdt.session.join;, and
  62. &cdeman.ttdt.message.accept;, functions can be used by Xt applications to register for,
  63. and transparently process, the
  64. <Symbol Role="Message">Get_Geometry</Symbol> request.
  65. Also,
  66. <Symbol Role="Message">Get_Geometry</Symbol> can be sent by
  67. &cdeman.ttdt.sender.imprint.on;.</Para>
  68. </RefSect1>
  69. <RefSect1>
  70. <Title>SEE ALSO</Title>
  71. <Para>&cdeman.ttdt.message.accept;, &cdeman.ttdt.sender.imprint.on;, &cdeman.ttdt.session.join;; <Symbol Role="Message">Set_Geometry</Symbol> request.
  72. </Para>
  73. </RefSect1>
  74. </RefEntry>
  75. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->