connectInsertPrefix

fun connectInsertPrefix(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (prefix: String) -> Boolean): <Error class: unknown class>

Emitted when the inline autocompletion is triggered.

The default behaviour is to make the entry display the whole prefix and select the newly inserted part.

Applications may connect to this signal in order to insert only a smaller part of the @prefix into the entry - e.g. the entry used in the GtkFileChooser inserts only the part of the prefix up to the next '/'.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: prefix the common prefix of all possible completions. Returns true if the signal has been handled