Method

GtkEntryBufferget_max_length

since: 2.18

Declaration [src]

gint
gtk_entry_buffer_get_max_length (
  GtkEntryBuffer* buffer
)

Description [src]

Retrieves the maximum allowed length of the text in buffer. See gtk_entry_buffer_set_max_length().

Available since: 2.18

Return value

Type: gint

The maximum allowed number of characters in GtkEntryBuffer, or 0 if there is no maximum.