Text.grabFocusWithoutSelecting

Causes @self to have keyboard focus.

It behaves like [method@Gtk.Widget.grab_focus], 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

Meta