---
name: "s3dw_input_new"
section: "3"
platform: "linux"
package: "s3d-doc"
version: "0.2.2.1-7"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/s3dw_input_new"
---

# s3dw\_input\_new(3)

create a new input in the surface

## NAME

s3dw\_input\_new - create a new input in the surface

## SYNOPSIS

```
#include <s3dw.h>
```

**s3dw\_input \*s3dw\_input\_new(const s3dw\_surface \****surface***, float** *width***, float** *posx***, float** *posy***);**

## DESCRIPTION

Creates a new input-box on the surface with a input width of "width", the upper left corner at (posx,posy) on the surface. The input-box is empty on creation and can be change with s3dw\_input\_change\_text, and received with s3dw\_input\_gettext

See s3dw\_input for information about callbacks which may be defined.

## AUTHOR

**Simon Wunderlich**

Author of s3d
