Forum und email

GtkEntry::get_max_length

int get_max_length();

Retrieves the maximum allowed length of the text in entry. A value of 0 indicates no limit.

参照: set_max_length()