## IupFlatSeparator (since 3.25)

Creates an interface element that is a Separator, but it does not have native decorations.

It inherits from IupCanvas.

### Creation

    Ihandle* IupFlatSeparator(); [in C]
    iup.flatseparator{} -> (ih: ihandle) [in Lua]
    flatseparator() [in LED]

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

### Attributes

Inherits all attributes and callbacks of the IupCanvas, but redefines a few attributes.

BARSIZE (non inheritable): controls the size of the separator in the opposite direction of its orientation. Default: 5.

COLOR (non inheritable): Changes the color of the separator. Default: "192 192 192".

ORIENTATION (non inheritable): Indicates the orientation of the separator. Possible values are "VERTICAL" or "HORIZONTAL". Default: "VERTICAL".

EXPAND (non inheritable): Its behavior depends on the orientation. It will expand in the direction of the separator, but occupying only the available space.

STYLE (non inheritable): The separator appearance. Can be: "LINE", "SUNKENLINE", "DUALLINES", "GRIP", "FILL" or "EMPTY". Default: SUNKENLINE. FILL is a rectangle filled with COLOR. EMPTY uses the parent background color only, COLOR is ignored (since 3.27).

FONT, SIZE, RASTERSIZE, CLIENTSIZE, CLIENTOFFSET, POSITION, MINSIZE, MAXSIZE, THEME: also accepted.

### Callbacks

Inherits all callbacks of the IupCanvas, but redefines the ACTION callback.

### Notes

The IupFlatSeparator is used internally in IupSplit (since 3.25) and in IupSbox (since 3.27).

### Examples

Browse for Example Files

STYLE=LINE |
STYLE=SUNKENLINE
STYLE=DUALLINES
STYLE=GRIP
STYLE=FILL COLOR="255 0 128"