IUP/Controls/IupFrame
From Vendetta Lua
Creates a Frame interface element, which draws a frame with a title around an interface element.
Creation
- iup.frame{element: ihandle} -> (elem: ihandle)
- element: Identifier of an interface element which will receive the frame.
- This function returns the identifier of the created frame, or nil if an error occurs.
Attributes
- BGCOLOR: Frame image color
- SIZE: Frame size.
- BORDER: Margin of the visible element. It's value has the format "left top right bottom", where left, top, right, and bottom are integer values corresponding to margin on the specific sides.
- SEGMENTED: "<NUM> <NUM> <NUM> <NUM>" -- left, top, right, bottom -- value between 0 and 1
- DRAWCENTER: "YES" or "NO" (Default: "YES")