module Graphics.UI.Gtk.WebKit.DOM.ValidityState
(validityStateGetValueMissing, validityStateGetTypeMismatch,
validityStateGetPatternMismatch, validityStateGetTooLong,
validityStateGetRangeUnderflow, validityStateGetRangeOverflow,
validityStateGetStepMismatch,
validityStateGetBadInput,
validityStateGetCustomError, validityStateGetValid, ValidityState,
ValidityStateClass, castToValidityState, gTypeValidityState,
toValidityState)
where
import System.Glib.FFI
import System.Glib.UTFString
import Control.Applicative
import Graphics.UI.Gtk.WebKit.Types
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventM
validityStateGetValueMissing ::
(ValidityStateClass self) => self -> IO Bool
validityStateGetValueMissing self
= toBool <$>
((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_value_missing argPtr1)
(toValidityState self))
validityStateGetTypeMismatch ::
(ValidityStateClass self) => self -> IO Bool
validityStateGetTypeMismatch self
= toBool <$>
((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_type_mismatch argPtr1)
(toValidityState self))
validityStateGetPatternMismatch ::
(ValidityStateClass self) => self -> IO Bool
validityStateGetPatternMismatch self
= toBool <$>
((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_pattern_mismatch argPtr1)
(toValidityState self))
validityStateGetTooLong ::
(ValidityStateClass self) => self -> IO Bool
validityStateGetTooLong self
= toBool <$>
((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_too_long argPtr1)
(toValidityState self))
validityStateGetRangeUnderflow ::
(ValidityStateClass self) => self -> IO Bool
validityStateGetRangeUnderflow self
= toBool <$>
((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_range_underflow argPtr1)
(toValidityState self))
validityStateGetRangeOverflow ::
(ValidityStateClass self) => self -> IO Bool
validityStateGetRangeOverflow self
= toBool <$>
((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_range_overflow argPtr1)
(toValidityState self))
validityStateGetStepMismatch ::
(ValidityStateClass self) => self -> IO Bool
validityStateGetStepMismatch self
= toBool <$>
((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_step_mismatch argPtr1)
(toValidityState self))
validityStateGetBadInput ::
(ValidityStateClass self) => self -> IO Bool
validityStateGetBadInput self
= toBool <$>
((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_bad_input argPtr1)
(toValidityState self))
validityStateGetCustomError ::
(ValidityStateClass self) => self -> IO Bool
validityStateGetCustomError self
= toBool <$>
((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_custom_error argPtr1)
(toValidityState self))
validityStateGetValid ::
(ValidityStateClass self) => self -> IO Bool
validityStateGetValid self
= toBool <$>
((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_valid argPtr1)
(toValidityState self))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_value_missing"
webkit_dom_validity_state_get_value_missing :: ((Ptr ValidityState) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_type_mismatch"
webkit_dom_validity_state_get_type_mismatch :: ((Ptr ValidityState) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_pattern_mismatch"
webkit_dom_validity_state_get_pattern_mismatch :: ((Ptr ValidityState) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_too_long"
webkit_dom_validity_state_get_too_long :: ((Ptr ValidityState) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_range_underflow"
webkit_dom_validity_state_get_range_underflow :: ((Ptr ValidityState) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_range_overflow"
webkit_dom_validity_state_get_range_overflow :: ((Ptr ValidityState) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_step_mismatch"
webkit_dom_validity_state_get_step_mismatch :: ((Ptr ValidityState) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_bad_input"
webkit_dom_validity_state_get_bad_input :: ((Ptr ValidityState) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_custom_error"
webkit_dom_validity_state_get_custom_error :: ((Ptr ValidityState) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_valid"
webkit_dom_validity_state_get_valid :: ((Ptr ValidityState) -> (IO CInt))