submit_form


Description:

public virtual signal void submit_form (FormSubmissionRequest request)

This signal is emitted when a form is about to be submitted.

The request argument passed contains information about the text fields of the form. This is typically used to store login information that can be used later to pre-fill the form. The form will not be submitted until submit is called.

It is possible to handle the form submission request asynchronously, by simply calling @ref on the request argument and calling submit when done to continue with the form submission. If the last reference is removed on a FormSubmissionRequest and the form has not been submitted, submit will be called.

Parameters:

request

a FormSubmissionRequest




2022 vala-language.org