IupGLSeparator (since 3.11)

Creates an embedded OpenGL separator interface element, which displays a vertical or horizontal line. It inherits from IupGLSubCanvas. It exists only inside an IupGLCanvasBox.

Creation

Ihandle* IupGLSeparator(void); [in C]
iup.glseparator{} -> (elem: ihandle) [in Lua]
glseparator() [in LED]

Returns: the identifier of the created element, or NULL if an error occurs.

Attributes

The IupGLSeparator element handle all attributes defined for a IupGLSubCanvas control.


ORIENTATION: can be "VERTICAL" or "HORIZONTAL". Default: "VERTICAL".

Notes

The IupGLSeparator visual is controlled by IupGLSubCanvas attributes BORDERWIDTH and BORDERCOLOR.

The natural size will be  BORDERWIDTH in one direction and it will expand if there is free space in the other direction.