Text.getTextLength

ushort getTextLength()

Retrieves the current length of the text in self.

This is equivalent to getting self's [gtk.entry_buffer.EntryBuffer] and calling [gtk.entry_buffer.EntryBuffer.getLength] on it.

Returns

the current number of characters

in [gtk.text.Text], or 0 if there are none.