get_max_length


Description:

public int get_max_length ()

Retrieves the maximum allowed length of the text in this.

See [[email protected]_max_length].

This is equivalent to getting this's `GtkEntryBuffer` and calling [ [email protected]_max_length] on it.

Parameters:

this

a `GtkText`

Returns:

the maximum allowed number of characters in `GtkText`, or 0 if there is no maximum.




2022 vala-language.org