Go to main content

man pages section 4: Device and Network Interfaces

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

Get_Geometry (4)

Name

Get_Geometry - screen geometry

Synopsis

Get_Geometry(out width w,
out height h,
out xOffset x,
out yOffset y
[in messageID commission]);

Description

Desktop Services Message Sets                                  Get_Geometry(4)



NAME
       Get_Geometry - get a tool's on-screen geometry

SYNOPSIS
       Get_Geometry(out width w,
                    out height h,
                    out xOffset x,
                    out yOffset y
                    [in messageID commission]);

DESCRIPTION
       The  Get_Geometry request reports the on-screen geometry of the option-
       ally specified window, or of the window primarily associated  with  the
       recipient procid (if no window is specified).

       The  w,  h,  x  and y arguments are integer geometry values, in pixels,
       representing width,  height,  x-coordinate  and  y-coordinate,  respec-
       tively.  Negative offset values are interpreted according to the X11(7)
       man page.

       The commission argument is the ID of the ongoing request, if any,  that
       resulted in the creation of the window in question.

APPLICATION USAGE
       The  ttdt_session_join(3), and ttdt_message_accept(3), functions can be
       used by Xt applications to register for, and transparently process, the
       Get_Geometry    request.    Also,   Get_Geometry   can   be   sent   by
       ttdt_sender_imprint_on(3).


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/tooltalk |
       +---------------+------------------+
       |Stability      | Committed        |
       +---------------+------------------+

SEE ALSO
       ttdt_message_accept(3), ttdt_sender_imprint_on(3), ttdt_ses-
       sion_join(3); Set_Geometry request.




ToolTalk 1.3                     1 March 1996                  Get_Geometry(4)