:right-sidebar: True FormSubmissionRequest =================================================================== .. currentmodule:: gi.repository.WebKit .. class:: FormSubmissionRequest(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.Object` Represents a form submission request. When a form is about to be submitted in a :obj:`~gi.repository.WebKit.WebView`\, the :obj:`~gi.repository.WebKit.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 by :func:`~gi.repository.WebKit.FormSubmissionRequest.list_text_fields`. You can submit the form with :func:`~gi.repository.WebKit.FormSubmissionRequest.submit`. Methods ------- .. rst-class:: interim-class .. class:: FormSubmissionRequest :no-index: .. method:: list_text_fields() -> ~typing.Tuple[bool, list[str], list[str]] Get lists of the text fields contained in the form associated to ``request``\. 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 :const:`None`. If this function returns :const:`False`, then both ``field_names`` and ``field_values`` will be empty. .. versionadded:: 2.20 .. method:: submit() -> None Continue the form submission.