---
name: "tickit_window_get_term"
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_get_term"
---

# tickit\_window\_get\_term(3)

query the backing terminal of a window

## NAME

tickit\_window\_get\_term - query the backing terminal of a window

## SYNOPSIS

```
#include <tickit.h>

TickitTerm *tickit_window_get_term(const TickitWindow *win);
```

Link with *-ltickit*.

## DESCRIPTION

**tickit\_window\_get\_term**() returns the backing terminal underlying a given window. This is the terminal instance that the window's root window was originally created using.

## RETURN VALUE

**tickit\_window\_get\_term**() returns a pointer to a terminal instance.

## SEE ALSO

[**tickit\_window\_new\_root**(3)](/tickit_window_new_root/3.md), [**tickit\_window\_root**(3)](/tickit_window_root/3.md), [**tickit\_window**(7)](/tickit_window/7.md), [**tickit**(7)](/tickit/7.md)
