FreeBSD Manual Pages
EZ_GetWidgetGeometry(3) EZWGL Functions EZ_GetWidgetGeometry(3) NAME EZ_GetWidgetGeometry, EZ_GetWidgetPosition, EZ_GetWidgetWidth, EZ_GetWidgetHeight, EZ_GetWidgetBorderWidth, EZ_GetWidgetDimension, EZ_GetWidgetMinDimension, EZ_GetWidgetMinHeight, EZ_GetWidgetMinWidth - retrieve the geometry of a widget SYNOPSIS #include <EZ.h> void EZ_GetWidgetGeometry( EZ_Widget*widget, int *x_ret, int *y_ret, int *w_ret, int *h_ret) void EZ_GetWidgetPosition( EZ_Widget *widget, int *x_ret, int *y_ret); int EZ_GetWidgetWidth( EZ_Widget *widget) int EZ_GetWidgetHeight( EZ_Widget *widget) void EZ_GetWidgetDimenison( EZ_Widget*widget, int *w_ret, int *h_ret) int EZ_GetWidgetBorderWidth( EZ_Widget *widget) int EZ_GetWidgetMinWidth( EZ_Widget *widget) int EZ_GetWidgetMinHeight( EZ_Widget *widget) void EZ_GetWidgetMinDimenison( EZ_Widget *widget, int *minw_ret, int *minh_ret) ARGUMENTS widget Specifies an EZ Widget. x_ret, y_ret Returns the coordinates of the upper-left corner of the widget window. w_ret, h_ret Returns the width and height of the widget window. minw_ret, minh_ret Returns the minimal width and minimal height of the widget window. DESCRIPTION EZ_GetWidgetGeometry returns the geometry of the widget window. If the widget window has not been created, it returns 0 to x_ret, y_ret and returns 1 to w_ret, h_ret. EZ_GetWidgetPosition returns the location of the upper-left corner of its widget window relative to the upper-left corner of its parent win- dow. If the widget window has not been created, it returns 0. EZ_GetWidgetWidth returns the width of the widget window or 1 if the widget window has not been created. EZ_GetWidgetHeight returns the height of the widget window or 1 if the widget window has not been created. EZ_GetWidgetDimenison returns the width and the height of the widget window. EZ_GetWidgetBorderWidth returns the border width of a widget. EZ_GetWidgetMinWidth returns the minimal width of the widget window. EZ_GetWidgetMinHeight returns the minimal height of the widget window. SEE ALSO EZ_GetWidgetAbsoluteGeometry(3) EZ_SetWidgetPosition(3), EZ_SetWidgetWidth(3), EZ_SetWidgetHeight(3), EZWGL EZ_GetWidgetGeometry(3)
NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=EZ_GetWidgetGeometry&sektion=3&manpath=FreeBSD+5.2-RELEASE+and+Ports>