SliTaz Man Pages

Community Doc Forum Pro Shop Bugs Hg Cook

xosd_set_vertical_offset

Provided by xosd package
Section: Misc. Reference Manual Pages (3xosd)
Updated: 2002-06-25
Index Return to Main Contents

NAME

xosd_set_vertical_offset - Change the offset of the XOSD window

SYNOPSIS

#include <xosd.h>

int xosd_set_vertical_offset (xosd* osd, int offset);

DESCRIPTION

xosd_set_vertical_offset changes the number of pixels the XOSD window is offset from the top or bottom of the screen. This is normally set to a value such as 48 to avoid desktop-panels, such as those provided by GNOME or KDE.

ARGUMENTS

osd
The on-screen display object to act on.
offset
Offset from the top or bottom of the screen, in pixels.

RETURN VALUE

On success, a zero is returned. On error, -1 is returned.

SEE ALSO

xosd_init(3xosd), xosd_set_pos(3xosd)

Index

NAME
SYNOPSIS
DESCRIPTION
ARGUMENTS
RETURN VALUE
SEE ALSO