:right-sidebar: True WebFormManager =================================================================== .. currentmodule:: gi.repository.WebKitWebProcessExtension .. versionadded:: 2.40 .. class:: WebFormManager(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.Object` Form manager of a :obj:`~gi.repository.WebKitWebProcessExtension.WebPage` in a :obj:`~gi.repository.WebKitWebProcessExtension.ScriptWorld` Methods ------- .. rst-class:: interim-class .. class:: WebFormManager :no-index: .. classmethod:: input_element_auto_fill(value: str) -> None Set the value of an HTML input element as if it had been edited by the user, triggering a change event, and set it as filled automatically. If ``element`` is not an HTML input element this function does nothing. .. versionadded:: 2.40 :param value: the text to set .. classmethod:: input_element_is_auto_filled() -> bool Get whether ``element`` is an HTML input element that has been filled automatically. .. versionadded:: 2.40 .. classmethod:: input_element_is_user_edited() -> bool Get whether ``element`` is an HTML text input element that has been edited by a user action. .. versionadded:: 2.40 Signals ------- .. rst-class:: interim-class .. class:: WebFormManager.signals :no-index: .. method:: form_controls_associated(frame: ~gi.repository.WebKitWebProcessExtension.Frame, elements: list[~gi.repository.JavaScriptCore.Value]) -> None The type of the None singleton. .. versionadded:: 2.40 :param frame: a :obj:`~gi.repository.WebKitWebProcessExtension.Frame` :param elements: a ``GPtrArray`` of :obj:`~gi.repository.JavaScriptCore.Value` with the list of forms in the page .. method:: will_send_submit_event(form: ~gi.repository.JavaScriptCore.Value, source_frame: ~gi.repository.WebKitWebProcessExtension.Frame, target_frame: ~gi.repository.WebKitWebProcessExtension.Frame) -> None The type of the None singleton. .. versionadded:: 2.40 :param form: the :obj:`~gi.repository.JavaScriptCore.Value` to be submitted, which will always correspond to an HTMLFormElement :param source_frame: the :obj:`~gi.repository.WebKitWebProcessExtension.Frame` containing the form to be submitted :param target_frame: the :obj:`~gi.repository.WebKitWebProcessExtension.Frame` containing the form's target, which may be the same as ``source_frame`` if no target was specified .. method:: will_submit_form(form: ~gi.repository.JavaScriptCore.Value, source_frame: ~gi.repository.WebKitWebProcessExtension.Frame, target_frame: ~gi.repository.WebKitWebProcessExtension.Frame) -> None The type of the None singleton. .. versionadded:: 2.40 :param form: the :obj:`~gi.repository.JavaScriptCore.Value` to be submitted, which will always correspond to an HTMLFormElement :param source_frame: the :obj:`~gi.repository.WebKitWebProcessExtension.Frame` containing the form to be submitted :param target_frame: the :obj:`~gi.repository.WebKitWebProcessExtension.Frame` containing the form's target, which may be the same as ``source_frame`` if no target was specified Fields ------ .. rst-class:: interim-class .. class:: WebFormManager :no-index: .. attribute:: parent