Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
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
- noFormSubmissionRequest :: Maybe 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.
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
.
noFormSubmissionRequest :: Maybe FormSubmissionRequest Source #
A convenience alias for Nothing
:: Maybe
FormSubmissionRequest
.
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: |
submit
formSubmissionRequestSubmit Source #
:: (HasCallStack, MonadIO m, IsFormSubmissionRequest a) | |
=> a |
|
-> m () |
Continue the form submission.