-- GENERATED by C->Haskell Compiler, version 0.13.12 (gtk2hs branch) "Bin IO", 27 May 2012 (Haskell)
-- Edit the ORIGNAL .chs file instead!


{-# LINE 1 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
module Graphics.UI.Gtk.WebKit.DOM.HTMLSelectElement
       (htmlSelectElementItem, htmlSelectElementNamedItem,
        htmlSelectElementAdd, htmlSelectElementRemove,
        htmlSelectElementCheckValidity, htmlSelectElementSetCustomValidity,
        htmlSelectElementSetAutofocus, htmlSelectElementGetAutofocus,
        htmlSelectElementSetDisabled, htmlSelectElementGetDisabled,
        htmlSelectElementGetForm, htmlSelectElementSetMultiple,
        htmlSelectElementGetMultiple, htmlSelectElementSetName,
        htmlSelectElementGetName, htmlSelectElementSetRequired,
        htmlSelectElementGetRequired, htmlSelectElementSetSize,
        htmlSelectElementGetSize, htmlSelectElementGetOptions,
        htmlSelectElementSetLength, htmlSelectElementGetLength,
        htmlSelectElementGetSelectedOptions,
        htmlSelectElementSetSelectedIndex,
        htmlSelectElementGetSelectedIndex, htmlSelectElementSetValue,
        htmlSelectElementGetValue, htmlSelectElementGetWillValidate,
        htmlSelectElementGetValidity,
        htmlSelectElementGetValidationMessage, htmlSelectElementGetLabels,
        HTMLSelectElement, HTMLSelectElementClass, castToHTMLSelectElement,
        gTypeHTMLSelectElement, toHTMLSelectElement)
       where
import System.Glib.FFI
import System.Glib.UTFString
import Control.Applicative
import Graphics.UI.Gtk.WebKit.Types
{-# LINE 27 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventM
 
htmlSelectElementItem ::
                      (HTMLSelectElementClass self) => self -> Word -> IO (Maybe Node)
htmlSelectElementItem self index
  = maybeNull (makeNewGObject mkNode)
      ((\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_item argPtr1 arg2)
{-# LINE 35 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self)
         (fromIntegral index))
 
htmlSelectElementNamedItem ::
                           (HTMLSelectElementClass self, GlibString string) =>
                             self -> string -> IO (Maybe Node)
htmlSelectElementNamedItem self name
  = maybeNull (makeNewGObject mkNode)
      (withUTFString name $
         \ namePtr ->
           (\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_named_item argPtr1 arg2)
{-# LINE 46 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
             (toHTMLSelectElement self)
             namePtr)
 
htmlSelectElementAdd ::
                     (HTMLSelectElementClass self, HTMLElementClass element,
                      HTMLElementClass before) =>
                       self -> Maybe element -> Maybe before -> IO ()
htmlSelectElementAdd self element before
  = propagateGError $
      \ errorPtr_ ->
        (\(HTMLSelectElement arg1) (HTMLElement arg2) (HTMLElement arg3) arg4 -> withForeignPtr arg1 $ \argPtr1 ->withForeignPtr arg2 $ \argPtr2 ->withForeignPtr arg3 $ \argPtr3 ->webkit_dom_html_select_element_add argPtr1 argPtr2 argPtr3 arg4)
{-# LINE 57 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
          (toHTMLSelectElement self)
          (maybe (HTMLElement nullForeignPtr) toHTMLElement element)
          (maybe (HTMLElement nullForeignPtr) toHTMLElement before)
          errorPtr_
 
htmlSelectElementRemove ::
                        (HTMLSelectElementClass self) => self -> Int -> IO ()
htmlSelectElementRemove self index
  = (\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_remove argPtr1 arg2)
{-# LINE 66 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
      (toHTMLSelectElement self)
      (fromIntegral index)
 
htmlSelectElementCheckValidity ::
                               (HTMLSelectElementClass self) => self -> IO Bool
htmlSelectElementCheckValidity self
  = toBool <$>
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_check_validity argPtr1)
{-# LINE 74 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementSetCustomValidity ::
                                   (HTMLSelectElementClass self, GlibString string) =>
                                     self -> string -> IO ()
htmlSelectElementSetCustomValidity self error
  = withUTFString error $
      \ errorPtr ->
        (\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_set_custom_validity argPtr1 arg2)
{-# LINE 83 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
          (toHTMLSelectElement self)
          errorPtr
 
htmlSelectElementSetAutofocus ::
                              (HTMLSelectElementClass self) => self -> Bool -> IO ()
htmlSelectElementSetAutofocus self val
  = (\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_set_autofocus argPtr1 arg2)
{-# LINE 90 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
      (toHTMLSelectElement self)
      (fromBool val)
 
htmlSelectElementGetAutofocus ::
                              (HTMLSelectElementClass self) => self -> IO Bool
htmlSelectElementGetAutofocus self
  = toBool <$>
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_autofocus argPtr1)
{-# LINE 98 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementSetDisabled ::
                             (HTMLSelectElementClass self) => self -> Bool -> IO ()
htmlSelectElementSetDisabled self val
  = (\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_set_disabled argPtr1 arg2)
{-# LINE 104 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
      (toHTMLSelectElement self)
      (fromBool val)
 
htmlSelectElementGetDisabled ::
                             (HTMLSelectElementClass self) => self -> IO Bool
htmlSelectElementGetDisabled self
  = toBool <$>
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_disabled argPtr1)
{-# LINE 112 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementGetForm ::
                         (HTMLSelectElementClass self) => self -> IO (Maybe HTMLFormElement)
htmlSelectElementGetForm self
  = maybeNull (makeNewGObject mkHTMLFormElement)
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_form argPtr1)
{-# LINE 119 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementSetMultiple ::
                             (HTMLSelectElementClass self) => self -> Bool -> IO ()
htmlSelectElementSetMultiple self val
  = (\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_set_multiple argPtr1 arg2)
{-# LINE 125 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
      (toHTMLSelectElement self)
      (fromBool val)
 
htmlSelectElementGetMultiple ::
                             (HTMLSelectElementClass self) => self -> IO Bool
htmlSelectElementGetMultiple self
  = toBool <$>
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_multiple argPtr1)
{-# LINE 133 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementSetName ::
                         (HTMLSelectElementClass self, GlibString string) =>
                           self -> string -> IO ()
htmlSelectElementSetName self val
  = withUTFString val $
      \ valPtr ->
        (\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_set_name argPtr1 arg2)
{-# LINE 142 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
          (toHTMLSelectElement self)
          valPtr
 
htmlSelectElementGetName ::
                         (HTMLSelectElementClass self, GlibString string) =>
                           self -> IO string
htmlSelectElementGetName self
  = ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_name argPtr1)
{-# LINE 150 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
       (toHTMLSelectElement self))
      >>=
      readUTFString
 
htmlSelectElementSetRequired ::
                             (HTMLSelectElementClass self) => self -> Bool -> IO ()
htmlSelectElementSetRequired self val
  = (\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_set_required argPtr1 arg2)
{-# LINE 158 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
      (toHTMLSelectElement self)
      (fromBool val)
 
htmlSelectElementGetRequired ::
                             (HTMLSelectElementClass self) => self -> IO Bool
htmlSelectElementGetRequired self
  = toBool <$>
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_required argPtr1)
{-# LINE 166 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementSetSize ::
                         (HTMLSelectElementClass self) => self -> Int -> IO ()
htmlSelectElementSetSize self val
  = (\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_set_size argPtr1 arg2)
{-# LINE 172 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
      (toHTMLSelectElement self)
      (fromIntegral val)
 
htmlSelectElementGetSize ::
                         (HTMLSelectElementClass self) => self -> IO Int
htmlSelectElementGetSize self
  = fromIntegral <$>
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_size argPtr1)
{-# LINE 180 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementGetOptions ::
                            (HTMLSelectElementClass self) =>
                              self -> IO (Maybe HTMLOptionsCollection)
htmlSelectElementGetOptions self
  = maybeNull (makeNewGObject mkHTMLOptionsCollection)
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_options argPtr1)
{-# LINE 188 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementSetLength ::
                           (HTMLSelectElementClass self) => self -> Word -> IO ()
htmlSelectElementSetLength self val
  = propagateGError $
      \ errorPtr_ ->
        (\(HTMLSelectElement arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_set_length argPtr1 arg2 arg3)
{-# LINE 196 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
          (toHTMLSelectElement self)
          (fromIntegral val)
          errorPtr_
 
htmlSelectElementGetLength ::
                           (HTMLSelectElementClass self) => self -> IO Word
htmlSelectElementGetLength self
  = fromIntegral <$>
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_length argPtr1)
{-# LINE 205 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementGetSelectedOptions ::
                                    (HTMLSelectElementClass self) =>
                                      self -> IO (Maybe HTMLCollection)
htmlSelectElementGetSelectedOptions self
  = maybeNull (makeNewGObject mkHTMLCollection)
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_selected_options argPtr1)
{-# LINE 214 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementSetSelectedIndex ::
                                  (HTMLSelectElementClass self) => self -> Int -> IO ()
htmlSelectElementSetSelectedIndex self val
  = (\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_set_selected_index argPtr1 arg2)
{-# LINE 221 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
      (toHTMLSelectElement self)
      (fromIntegral val)
 
htmlSelectElementGetSelectedIndex ::
                                  (HTMLSelectElementClass self) => self -> IO Int
htmlSelectElementGetSelectedIndex self
  = fromIntegral <$>
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_selected_index argPtr1)
{-# LINE 229 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementSetValue ::
                          (HTMLSelectElementClass self, GlibString string) =>
                            self -> string -> IO ()
htmlSelectElementSetValue self val
  = withUTFString val $
      \ valPtr ->
        (\(HTMLSelectElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_set_value argPtr1 arg2)
{-# LINE 238 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
          (toHTMLSelectElement self)
          valPtr
 
htmlSelectElementGetValue ::
                          (HTMLSelectElementClass self, GlibString string) =>
                            self -> IO string
htmlSelectElementGetValue self
  = ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_value argPtr1)
{-# LINE 246 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
       (toHTMLSelectElement self))
      >>=
      readUTFString
 
htmlSelectElementGetWillValidate ::
                                 (HTMLSelectElementClass self) => self -> IO Bool
htmlSelectElementGetWillValidate self
  = toBool <$>
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_will_validate argPtr1)
{-# LINE 255 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementGetValidity ::
                             (HTMLSelectElementClass self) => self -> IO (Maybe ValidityState)
htmlSelectElementGetValidity self
  = maybeNull (makeNewGObject mkValidityState)
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_validity argPtr1)
{-# LINE 262 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))
 
htmlSelectElementGetValidationMessage ::
                                      (HTMLSelectElementClass self, GlibString string) =>
                                        self -> IO string
htmlSelectElementGetValidationMessage self
  = ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_validation_message argPtr1)
{-# LINE 269 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
       (toHTMLSelectElement self))
      >>=
      readUTFString
 
htmlSelectElementGetLabels ::
                           (HTMLSelectElementClass self) => self -> IO (Maybe NodeList)
htmlSelectElementGetLabels self
  = maybeNull (makeNewGObject mkNodeList)
      ((\(HTMLSelectElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_select_element_get_labels argPtr1)
{-# LINE 278 "./Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.chs" #-}
         (toHTMLSelectElement self))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_item"
  webkit_dom_html_select_element_item :: ((Ptr HTMLSelectElement) -> (CULong -> (IO (Ptr Node))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_named_item"
  webkit_dom_html_select_element_named_item :: ((Ptr HTMLSelectElement) -> ((Ptr CChar) -> (IO (Ptr Node))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_add"
  webkit_dom_html_select_element_add :: ((Ptr HTMLSelectElement) -> ((Ptr HTMLElement) -> ((Ptr HTMLElement) -> ((Ptr (Ptr ())) -> (IO ())))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_remove"
  webkit_dom_html_select_element_remove :: ((Ptr HTMLSelectElement) -> (CLong -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_check_validity"
  webkit_dom_html_select_element_check_validity :: ((Ptr HTMLSelectElement) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_set_custom_validity"
  webkit_dom_html_select_element_set_custom_validity :: ((Ptr HTMLSelectElement) -> ((Ptr CChar) -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_set_autofocus"
  webkit_dom_html_select_element_set_autofocus :: ((Ptr HTMLSelectElement) -> (CInt -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_autofocus"
  webkit_dom_html_select_element_get_autofocus :: ((Ptr HTMLSelectElement) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_set_disabled"
  webkit_dom_html_select_element_set_disabled :: ((Ptr HTMLSelectElement) -> (CInt -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_disabled"
  webkit_dom_html_select_element_get_disabled :: ((Ptr HTMLSelectElement) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_form"
  webkit_dom_html_select_element_get_form :: ((Ptr HTMLSelectElement) -> (IO (Ptr HTMLFormElement)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_set_multiple"
  webkit_dom_html_select_element_set_multiple :: ((Ptr HTMLSelectElement) -> (CInt -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_multiple"
  webkit_dom_html_select_element_get_multiple :: ((Ptr HTMLSelectElement) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_set_name"
  webkit_dom_html_select_element_set_name :: ((Ptr HTMLSelectElement) -> ((Ptr CChar) -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_name"
  webkit_dom_html_select_element_get_name :: ((Ptr HTMLSelectElement) -> (IO (Ptr CChar)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_set_required"
  webkit_dom_html_select_element_set_required :: ((Ptr HTMLSelectElement) -> (CInt -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_required"
  webkit_dom_html_select_element_get_required :: ((Ptr HTMLSelectElement) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_set_size"
  webkit_dom_html_select_element_set_size :: ((Ptr HTMLSelectElement) -> (CLong -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_size"
  webkit_dom_html_select_element_get_size :: ((Ptr HTMLSelectElement) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_options"
  webkit_dom_html_select_element_get_options :: ((Ptr HTMLSelectElement) -> (IO (Ptr HTMLOptionsCollection)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_set_length"
  webkit_dom_html_select_element_set_length :: ((Ptr HTMLSelectElement) -> (CULong -> ((Ptr (Ptr ())) -> (IO ()))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_length"
  webkit_dom_html_select_element_get_length :: ((Ptr HTMLSelectElement) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_selected_options"
  webkit_dom_html_select_element_get_selected_options :: ((Ptr HTMLSelectElement) -> (IO (Ptr HTMLCollection)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_set_selected_index"
  webkit_dom_html_select_element_set_selected_index :: ((Ptr HTMLSelectElement) -> (CLong -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_selected_index"
  webkit_dom_html_select_element_get_selected_index :: ((Ptr HTMLSelectElement) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_set_value"
  webkit_dom_html_select_element_set_value :: ((Ptr HTMLSelectElement) -> ((Ptr CChar) -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_value"
  webkit_dom_html_select_element_get_value :: ((Ptr HTMLSelectElement) -> (IO (Ptr CChar)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_will_validate"
  webkit_dom_html_select_element_get_will_validate :: ((Ptr HTMLSelectElement) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_validity"
  webkit_dom_html_select_element_get_validity :: ((Ptr HTMLSelectElement) -> (IO (Ptr ValidityState)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_validation_message"
  webkit_dom_html_select_element_get_validation_message :: ((Ptr HTMLSelectElement) -> (IO (Ptr CChar)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLSelectElement.h webkit_dom_html_select_element_get_labels"
  webkit_dom_html_select_element_get_labels :: ((Ptr HTMLSelectElement) -> (IO (Ptr NodeList)))