API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IWIDGET_SETLAYOUTSTYLE()

Brew Release
Brew MP 1.0.2
Description

Retrieves the layout style of the widget. The layout style determines how to display items within a container. For example, setting a slider widget's layout to LAYOUT_VERT would create a horizontal slider bar, while setting it to LAYOUT_VERT would create a vertical slider bar.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
nValue
[]:
[in] Value to set the inactive tab width
Interface
Prototype
  • int IWidget_SetLayoutStyle(IWidget *pif, int nStyle)
    
Return
  •    AEE_SUCCESS - Successfully set the layout style
       AEE_EFAILED - Failed to set the layout style
    
Side Effect
  • None.
Comments
The following layout styles are avaible. Note that not all widgets may support every layout style. LAYOUT_NONE: no layout LAYOUT_VERT: vertical layout LAYOUT_HORZ: horizontal layout style LAYOUT_BOTH: layout both dimensions