Orientation of Gadget Holders
This section explains how to interpret the IlvLayoutDirection attribute for gadget holders.
For gadget holders, that is,
IlvGadgetContainer or
IlvGadgetManager objects, the
IlvLayoutDirection attribute applies to the position of the graphic objects they handle. The
IlvLayoutDirectionContextual value means that these holders use the default value of the associated display.
The following functions return the current value of the direction attribute:
IlvLayoutDirection
IlvGetLayoutDirection(const IlvGadgetContainer*);
IlvLayoutDirection
IlvGetLayoutDirection(const IlvGadgetManager*);
The following functions set the component orientation. The return value is IlTrue if the graphic objects that the component handles have been flipped. These functions do not refresh the redraw of the concerned objects. It is the responsibility of the calling function to perform this refresh according to the return value:
IlBoolean
IlvSetLayoutDirection(IlvGadgetContainer* gadcont, IlvLayoutDirection dir);
IlBoolean
IlvSetLayoutDirection(IlvGadgetManager* gadmgr, IlvLayoutDirection dir);
Version 5.7
Copyright © 2013, Rogue Wave Software, Inc. All Rights Reserved.