void gtk_entry_set_max_length ( GtkEntry* entry, gint max )
Sets the maximum allowed length of the contents of the widget. If the current contents are longer than the given length, then they will be truncated to fit.
This is equivalent to getting
gtk_entry_buffer_set_max_length() on it. ]|