get_max_length
Description:
Retrieves the maximum allowed length of the text in this.
See [method@Gtk.Text.set_max_length].
This is equivalent to getting this's `GtkEntryBuffer` and calling [method@Gtk.EntryBuffer.get_max_length] on it.
Parameters:
this |
a `GtkText` |
Returns:
the maximum allowed number of characters in `GtkText`, or 0 if there is no maximum. |