Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix volatile manual

This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.

MOVE_PANEL(3) Library Functions Manual MOVE_PANEL(3)

NAME

move_panel — change panel position

LIBRARY

Z-order for curses windows (libpanel, -lpanel)

SYNOPSIS

#include <panel.h>

int
move_panel(PANEL *p, int y, int x);

DESCRIPTION

A panel can be moved to a new position by calling the move_panel() function. The y and x positions are the new origin of the panel on the screen.

This function is the panel library counterpart of the curses mvwin(3) function. Curses mvwin() must never be directly used on a window associated with a panel.

RETURN VALUES

The move_panel() function will return one of the following values:

OK
The function completed successfully.
ERR
An error occurred in the function.

SEE ALSO

mvwin(3), panel(3)

October 28, 2015 Sortix 1.1.0-dev
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org