---
name: "SDL_HINT_GDK_TEXTINPUT_SCOPE"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_HINT_GDK_TEXTINPUT_SCOPE"
---

# SDL\_HINT\_GDK\_TEXTINPUT\_SCOPE(3)

This variable sets the input scope of the TextInput window on GDK platforms.

## NAME

SDL\_HINT\_GDK\_TEXTINPUT\_SCOPE - This variable sets the input scope of the TextInput window on GDK platforms.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_HINT\_GDK\_TEXTINPUT\_SCOPE** *SDL\_GDK\_TEXTINPUT\_SCOPE"*

## DESCRIPTION

Set this hint to change the XGameUiTextEntryInputScope value that will be passed to the window creation function. The value must be a stringified integer, for example "0" for XGameUiTextEntryInputScope::Default.

This hint is available only if  **SDL\_GDK\_TEXTINPUT**

defined.

This hint should be set before calling

**SDL\_StartTextInput** ()

## AVAILABILITY

This hint is available since SDL 3.2.0.
