GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmWidgetGetDisplayRect(3) FreeBSD Library Functions Manual XmWidgetGetDisplayRect(3)

XmWidgetGetDisplayRect — Retrieves display rectangle information for a widget

#include <Xm/Xm.h>
Boolean XmWidgetGetDisplayRect(
Widget widget,
XRectangle *displayrect);

XmWidgetGetDisplayRect returns the width, height and the x and y-coordinates of the upper left corner of the display rectangle of the specified widget. The display rectangle is the smallest rectangle that encloses either a string or a pixmap.

If the widget contains a string, the return values specify the x and y-coordinates of the upper left corner of the display rectangle relative to the origin of the widget and the width and height in pixels.

In the case of a pixmap, the return values specify the x and y-coordinates of the upper left corner of the pixmap relative to the origin, and the width and height of the pixmap in pixels.

widget
Specifies the widget ID
displayrect
Specifies a pointer to an XRectangle structure in which the x and y-coordinates, width and height of the display rectangle are returned

Returns True if the specified widget has an associated display rectangle; otherwise, returns False.

XmWidgetGetBaselines(3).

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.