Give widget focus
#include <s3dw.h>
void s3dw_focus(s3dw_widget *focus);
Gives focus to the widget, relative to its parent. That means you can focus a surface, and each surface can focus one of its element, e.g. an input field. Should be casted with S3DWIDGET().
Simon Wunderlich
Author of s3d