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

# s3dw\_textbox(9)

textbox of s3d widget

## NAME

s3dw\_textbox - textbox of s3d widget

## SYNOPSIS

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

## STRUCTURE MEMBERS

```
struct _s3dw_textbox {
	s3dw_widget widget;
	s3dw_scrollbar *scroll_vertical;
	s3dw_scrollbar *scroll_horizontal;
	char *text;
	int n_lineoids;
	int *p_lineoids;
	int window_x;
	int window_y;
	s3dw_callback onclick;
}
```

## DESCRIPTION

A textbox shows some text with scrollbars to scroll around. It can currently only react to a click event.

## AUTHOR

**Simon Wunderlich**

Author of s3d
