FormSubmissionRequest

When a form is about to be submitted in a #WebKitWebView, the #WebKitWebView::submit-form signal is emitted. Its request argument contains information about the text fields of the form, that are typically used to store login information, returned as lists by webkit_form_submission_request_list_text_fields(). You can submit the form with webkit_form_submission_request_submit().

Constructors

this
this(WebKitFormSubmissionRequest* webKitFormSubmissionRequest, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getFormSubmissionRequestStruct
WebKitFormSubmissionRequest* getFormSubmissionRequestStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getTextFields
HashTable getTextFields()

Get a #GHashTable with the values of the text fields contained in the form associated to @request. Note that fields will be missing if the form contains multiple text input elements with the same name, so this function does not reliably return all text fields.

listTextFields
bool listTextFields(PtrArray fieldNames, PtrArray fieldValues)

Get lists with the names and values of the text fields contained in the form associated to @request. Note that names and values may be %NULL.

submit
void submit()

Continue the form submission.

Static functions

getType
GType getType()

Variables

webKitFormSubmissionRequest
WebKitFormSubmissionRequest* webKitFormSubmissionRequest;

the main Gtk struct

Meta