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.

NAME

move_panel — change panel position

LIBRARY

library “libpanel”

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)
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