Text.grabFocusWithoutSelecting

bool grabFocusWithoutSelecting()

Causes self to have keyboard focus.

It behaves like [gtk.widget.Widget.grabFocus], except that it doesn't select the contents of self. You only want to call this on some special entries which the user usually doesn't want to replace all text in, such as search-as-you-type entries.

Returns

true if focus is now inside self