gtk_entry_set_max_length - bytes or characters?



Hi,
It is defined as:
void        gtk_entry_set_max_length        (GtkEntry *entry,
                                             gint max);

The max is in: characters, bytes?
If in bytes what happens if I put multibyte character at the end eg:
max is 64
I insert 2-byte character at position 64.
What do I get in buffer: string without the last 2 bytes?
Or string with partially entered character?

Regards

Olaf FrÄczyk







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]