Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype FormSubmissionRequest = FormSubmissionRequest (ManagedPtr FormSubmissionRequest)
- class (GObject o, IsDescendantOf FormSubmissionRequest o) => IsFormSubmissionRequest o
- toFormSubmissionRequest :: (MonadIO m, IsFormSubmissionRequest o) => o -> m FormSubmissionRequest
- formSubmissionRequestGetTextFields :: (HasCallStack, MonadIO m, IsFormSubmissionRequest a) => a -> m (Maybe (Map (Ptr ()) (Ptr ())))
- formSubmissionRequestListTextFields :: (HasCallStack, MonadIO m, IsFormSubmissionRequest a) => a -> m (Bool, [Text], [Text])
- formSubmissionRequestSubmit :: (HasCallStack, MonadIO m, IsFormSubmissionRequest a) => a -> m ()
Exported types
newtype FormSubmissionRequest Source #
Memory-managed wrapper type.
FormSubmissionRequest (ManagedPtr FormSubmissionRequest) |
Instances
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 # | |
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
Overloaded methods
getTextFields
formSubmissionRequestGetTextFields Source #
:: (HasCallStack, MonadIO m, IsFormSubmissionRequest a) | |
=> a |
|
-> m (Maybe (Map (Ptr ()) (Ptr ()))) | Returns: a |
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 #
:: (HasCallStack, MonadIO m, IsFormSubmissionRequest a) | |
=> a |
|
-> m (Bool, [Text], [Text]) | Returns: |
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 #
:: (HasCallStack, MonadIO m, IsFormSubmissionRequest a) | |
=> a |
|
-> m () |
Continue the form submission.