WebKit.FormSubmissionRequest¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class WebKit.FormSubmissionRequest(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Represents a form submission request.
When a form is about to be submitted in a
WebKit.WebView
, theWebKit.WebView
::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 byWebKit.FormSubmissionRequest.list_text_fields
(). You can submit the form withWebKit.FormSubmissionRequest.submit
().- list_text_fields()¶
- Returns:
True
if the form contains text fields, orFalse
otherwise- field_names:
names of the text fields in the form
- field_values:
values of the text fields in the form
- Return type:
Get lists of the text fields contained in the form associated to self.
Get lists with the names and values of the text fields contained in the form associated to self. Note that names and values may be
None
.If this function returns
False
, then both field_names and field_values will be empty.New in version 2.20.
- submit()¶
Continue the form submission.