mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
Add gtk_entry_set_max_length()
This commit is contained in:
parent
f9e5e12bcc
commit
8f8b0f68ff
@ -1833,3 +1833,9 @@ gtk_entry_select_region (GtkEntry *entry,
|
||||
gtk_editable_select_region (GTK_EDITABLE(entry), start, end);
|
||||
}
|
||||
|
||||
void
|
||||
gtk_entry_set_max_length (GtkEntry *entry,
|
||||
guint16 max)
|
||||
{
|
||||
entry->text_max_length = max;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user