get_max_length
Description:
Retrieves the maximum allowed length of the contents.
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 text widget |
Returns:
the maximum allowed number of characters, or 0 if there is no limit |