Developer

API Reference

WidgetPos

Brew Release
Brew MP 1.0.2
See Also
- IXYContainer_SetPos()
- IXYContainer_GetPos()
Description
This data type defines special attributes for any widget that is to be managed by an XY container. These attributes identify whether or not the widget should be factored into the container's layout calculations and -- if it should -- where the widget will be placed in the container. Widgets in an XY container are laid out relative to the coordinates of the enclosing container.
Members
  • x:         Specifies the horizontal layout position of the widget within the XY
                  container.  This value is expressed in coordinates relative to the
                  container, with location (0,0) being the origin of the XY container.
  • y:         Specifies the vertical layout position of the widget within the XY
                  container.  This value is expressed in coordinates relative to the
                  container, with location (0,0) being the origin of the XY container.
  • bVisible:  Boolean value specifying whether or not this widget should be displayed.
    
Definition
   typedef struct {
      int      x;
      int      y;
      boolean  bVisible;
   } WidgetPos;
Comment
None
  • Follow