s3dw_getroot(3)

s3dw_getroot3

Get the root

Usage

#include <s3dw.h>

s3dw_widget *s3dw_getroot(void);

Overview

Returns the root-widget, which holds all the surfaces. E.g. if you want to move all widgets at once, adjust the root-widgets x,y,z and use s3dw_moveit()

 s3dw_widget *root = s3dw_getroot();
 // move widget center to (0,5,0). upon creation, it's centered at (0,0,0),
 // so this might move it up
 root->x=0;
 root->y=5;
 root->z=0;
 s3dw_moveit(root);

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7–13

Author

Simon Wunderlich

Author of s3d

From s3d-doc 0.2.2.1-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.