IupFrame

IUP - Portable User Interface

IupFrame

Creates a Frame interface element, which draws a frame with a title around an interface element.

Parameters/Return

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.

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.

Examples