Class

WebKit2FormSubmissionRequest

Description [src]

class WebKit2.FormSubmissionRequest : GObject.Object {
  parent: GObject
}

Represents a form submission request.

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().

Hierarchy

hierarchy this WebKitFormSubmissionRequest ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

webkit_form_submission_request_get_text_fields

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.

Deprecated since: 2.20.

webkit_form_submission_request_list_text_fields

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.

Available since: 2.20

webkit_form_submission_request_submit

Continue the form submission.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct WebKit2FormSubmissionRequestClass {
  GObjectClass parent_class;
  void (* _webkit_reserved0) (
void
  );
  void (* _webkit_reserved1) (
void
  );
  void (* _webkit_reserved2) (
void
  );
  void (* _webkit_reserved3) (
void
  );
  
}
No description available.
Class members
parent_class
GObjectClass
  No description available.
_webkit_reserved0
void (* _webkit_reserved0) (
void
  )
  No description available.
_webkit_reserved1
void (* _webkit_reserved1) (
void
  )
  No description available.
_webkit_reserved2
void (* _webkit_reserved2) (
void
  )
  No description available.
_webkit_reserved3
void (* _webkit_reserved3) (
void
  )
  No description available.