connectWrite
fun connectWrite(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (view: View, path: String) -> Unit): <Error class: unknown class>
Requests the application save the file.
If a filename was provided, it will be available to the signal handler as @path. This may be executed in relation to the user running the :write
or :w
commands.
Since
5.4
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: view
the #GtkSourceView; path
the path if provided, otherwise null