Text.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.

class Text
bool
grabFocusWithoutSelecting
()

Return Value

Type: bool

true if focus is now inside self