gi-webkit2-4.0.23: WebKit2 bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Objects.FormSubmissionRequest

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype FormSubmissionRequest Source #

Memory-managed wrapper type.

Constructors

FormSubmissionRequest (ManagedPtr FormSubmissionRequest) 
Instances
GObject FormSubmissionRequest Source # 
Instance details

Defined in GI.WebKit2.Objects.FormSubmissionRequest

Methods

gobjectType :: IO GType

HasParentTypes FormSubmissionRequest Source # 
Instance details

Defined in GI.WebKit2.Objects.FormSubmissionRequest

type ParentTypes FormSubmissionRequest Source # 
Instance details

Defined in GI.WebKit2.Objects.FormSubmissionRequest

type ParentTypes FormSubmissionRequest = Object ': ([] :: [Type])

class (GObject o, IsDescendantOf FormSubmissionRequest o) => IsFormSubmissionRequest o Source #

Type class for types which can be safely cast to FormSubmissionRequest, for instance with toFormSubmissionRequest.

Instances
(GObject o, IsDescendantOf FormSubmissionRequest o) => IsFormSubmissionRequest o Source # 
Instance details

Defined in GI.WebKit2.Objects.FormSubmissionRequest

toFormSubmissionRequest :: (MonadIO m, IsFormSubmissionRequest o) => o -> m FormSubmissionRequest Source #

Cast to FormSubmissionRequest, for types for which this is known to be safe. For general casts, use castTo.

Methods

getTextFields

formSubmissionRequestGetTextFields Source #

Arguments

:: (HasCallStack, MonadIO m, IsFormSubmissionRequest a) 
=> a

request: a FormSubmissionRequest

-> m (Maybe (Map (Ptr ()) (Ptr ())))

Returns: a HashTable with the form text fields, or Nothing if the form doesn't contain text fields.

Deprecated: (Since version 2.20.)Use formSubmissionRequestListTextFields instead.

Get a HashTable 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

formSubmissionRequestListTextFields Source #

Arguments

:: (HasCallStack, MonadIO m, IsFormSubmissionRequest a) 
=> a

request: a FormSubmissionRequest

-> m (Bool, [Text], [Text])

Returns: True if the form contains text fields, or False otherwise

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 Nothing.

If this function returns False, then both fieldNames and fieldValues will be empty.

Since: 2.20

submit

formSubmissionRequestSubmit Source #

Arguments

:: (HasCallStack, MonadIO m, IsFormSubmissionRequest a) 
=> a

request: a FormSubmissionRequest

-> m () 

Continue the form submission.