s3dw_focus(3) give widget focus

SYNOPSIS


#include <s3dw.h>

void s3dw_focus(s3dw_widget *focus);

DESCRIPTION

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

AUTHOR

Simon Wunderlich

Author of s3d