Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
top_panel, bottom_panel, panel_above, panel_below — z-order of panelsLIBRARY
library “libpanel”SYNOPSIS
#include <panel.h>top_panel(PANEL *p);
bottom_panel(PANEL *p);
panel_above(PANEL *p);
panel_below(PANEL *p);
DESCRIPTION
Newly created panels are placed at the top of the deck. The z-order of a visible panel can be changed with the functions top_panel() and bottom_panel() that move it to the top and bottom of the deck respectively.IMPLEMENTATION NOTES
The top_panel() function will return an error if the panel is currently hidden. Use show_panel(3) to make a hidden panel visible again and put it at the top of the deck. This is the behaviour specified by the original AT&T System V UNIX panel library.RETURN VALUES
Functions returning pointers will return NULL if an error is detected. The functions that return an int will return one of the following values:- OK
- The function completed successfully.
- ERR
- An error occurred in the function.