Entry.getTextLength

Retrieves the current length of the text in @entry.

This is equivalent to:

|[<!-- language="C" --> GtkEntryBuffer *buffer; buffer = gtk_entry_get_buffer (entry); gtk_entry_buffer_get_length (buffer); ]|

class Entry
ushort
getTextLength
()

Return Value

Type: ushort

the current number of characters in #GtkEntry, or 0 if there are none.

Meta

Since

2.14