![]() |
![]()
| ![]() |
![]()
NAMESet_Geometry — set a tool's on-screen geometry SYNOPSISSet_Geometry(inout width w, DESCRIPTIONThe Set_Geometry request sets the on-screen geometry of the optionally 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, respectively. Negative offset values are interpreted according to the X11(7) man page. If any of these arguments are unset, that part of the geometry need not be changed. The return values are the actual new values, in case they differ from the requested new values. The commission argument is the ID of the ongoing request, if any, that resulted in the creation of the window in question. APPLICATION USAGEThe ttdt_session_join(3), and ttdt_message_accept(3), functions can be used by Xt applications to register for, and transparently process, the Set_Geometry request. EXAMPLESThe Set_Geometry request can be sent as in the following example: Tt_message msg = tttk_message_create(0, TT_REQUEST, TT_SESSION, SEE ALSOtt_message_arg_add(3), tt_message_iarg_add(3), tt_message_send(3), ttdt_message_accept(3), ttdt_session_join(3); Get_Geometry request.
|