grab_focus_without_selecting


Description:

public bool grab_focus_without_selecting ()

Causes this to have keyboard focus.

It behaves like [[email protected]_focus], except that it doesn't select the contents of this. 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.

Parameters:

this

a `GtkText`

Returns:

true if focus is now inside this




2022 vala-language.org