Table of Contents

Class Hint.Gdk.TextInput

Namespace
Sdl3Sharp
Assembly
Sdl3Sharp.dll

SDL_HINT_GDK_TEXTINPUT_*

public static class Hint.Gdk.TextInput
Inheritance
Hint.Gdk.TextInput
Inherited Members

Properties

DefaultText

Gets a hint that sets the default text of the TextInput window on GDK platforms

public static Hint DefaultText { get; }

Property Value

Hint

A hint that sets the default text of the TextInput window on GDK platforms

Remarks

This hint is available only if SDL_GDK_TEXTINPUT defined.

This hint should be set before calling SDL_StartTextInput().

See Also

Description

Gets a hint that sets the description of the TextInput window on GDK platforms

public static Hint Description { get; }

Property Value

Hint

A hint that sets the description of the TextInput window on GDK platforms

Remarks

This hint is available only if SDL_GDK_TEXTINPUT defined.

This hint should be set before calling SDL_StartTextInput().

See Also

MaxLength

Gets a hint that sets the maximum input length of the TextInput window on GDK platforms

public static Hint MaxLength { get; }

Property Value

Hint

A hint that sets the maximum input length of the TextInput window on GDK platforms

Remarks

The value must be a stringified integer, for example "10" to allow for up to 10 characters of text input.

This hint is available only if SDL_GDK_TEXTINPUT defined.

This hint should be set before calling SDL_StartTextInput().

See Also

Scope

Gets a hint that sets the input scope of the TextInput window on GDK platforms

public static Hint Scope { get; }

Property Value

Hint

A hint that sets the input scope of the TextInput window on GDK platforms

Remarks

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().

See Also

Title

Gets a hint that sets the title of the TextInput window on GDK platforms

public static Hint Title { get; }

Property Value

Hint

A hint that sets the title of the TextInput window on GDK platforms

Remarks

This hint is available only if SDL_GDK_TEXTINPUT defined.

This hint should be set before calling SDL_StartTextInput().

See Also