---
name: "tickit_window_getctl_int"
section: "3"
platform: "linux"
package: "libtickit-dev"
version: "0.4.3-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tickit_window_getctl_int"
---

# tickit\_window\_getctl\_int(3)

## NAME

tickit\_window\_setctl\_int- set an integer window control

## SYNOPSIS

```
#include <tickit.h>

bool tickit_window_getctl_int(TickitWindow *tt, TickitWindowCtl ctl, int *value);
bool tickit_window_setctl_int(TickitWindow *tt, TickitWindowCtl ctl, int value);
```

Link with *-ltickit*.

## DESCRIPTION

**tickit\_window\_setctl\_int**() performs a window control operation, setting the value of a numeric window control option. **tickit\_window\_getctl\_int**() obtains the value of a window control setting.

For the list of possible **TickitWindowCtl** values and their meanings, see [**tickit\_window**(7)](/tickit_window/7.md).

## RETURN VALUE

**tickit\_window\_getctl\_int**() returns a true value if it recognised the requested control and managed to return the current value of it; false if not. **tickit\_window\_setctl\_int**() returns a true value if it recognised the requested control and managed to request the window to change it; false if not.

## SEE ALSO

[**tickit\_window**(7)](/tickit_window/7.md), [**tickit**(7)](/tickit/7.md)
