Raising and lowering a window

Name

ggiWmhZOrder : Raising and lowering a window

Synopsis

#include <ggi/wmh.h>

int ggiWmhZOrder(ggi_visual_t vis,enum ordercmd command);

Description

ggiWmhZOrder raises windows up or lowers down as specified in the command arg:

ZO_TOP raises the window to the top. It overlaps all windows, including non-GGI ones.

ZO_BOTTOM puts the window to the bottom. All other windows, including non-GGI ones, overlap it.

ZO_ONE_UP, ZO_ONE_DOWN raises or lowers the window one level up or down.

Return value

ggiWmhZOrder returns 0 for success, otherwise an ggi-error(3) code on failure.