IupFrame
Creates a Frame interface element, which draws a frame with a title around an interface element.
Creation
Ihandle* IupFrame(Ihandle *element); [in C] iupframe{element: iuplua_tag} -> (elem: iuplua_tag) [in IupLua3] iup.frame{element: iuplua_tag} -> (elem: iuplua_tag) [in IupLua5] frame(element) [in LED]element: Identifier of an interface element which will receive the frame.
This function returns the identifier of the created frame, or NULL if an error occurs.
Attributes
FGCOLOR: Text color.
SIZE: Frame size.
TITLE: Text the user will see at the top of the frame.
MARGIN: Margin of the visible element. Its value has the format "widthxheight", where width and height are integer values corresponding to the horizontal and vertical margins, respectively. Default: "0x0" (no margin).
Notes
Though this element has the attribute MARGIN, it does not have the attributes ALIGNMENT and GAP, because it can contain only one element.
The BGCOLOR attribute has no effect.