module Graphics.UI.Gtk.WebKit.DOM.HTMLScriptElement
(htmlScriptElementSetText, htmlScriptElementGetText,
htmlScriptElementSetHtmlFor, htmlScriptElementGetHtmlFor,
htmlScriptElementSetEvent, htmlScriptElementGetEvent,
htmlScriptElementSetCharset, htmlScriptElementGetCharset,
htmlScriptElementSetAsync, htmlScriptElementGetAsync,
htmlScriptElementSetDefer, htmlScriptElementGetDefer,
htmlScriptElementSetSrc, htmlScriptElementGetSrc,
htmlScriptElementSetCrossOrigin, htmlScriptElementGetCrossOrigin,
htmlScriptElementSetNonce, htmlScriptElementGetNonce,
HTMLScriptElement, HTMLScriptElementClass, castToHTMLScriptElement,
gTypeHTMLScriptElement, toHTMLScriptElement)
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
htmlScriptElementSetText ::
(HTMLScriptElementClass self, GlibString string) =>
self -> string -> IO ()
htmlScriptElementSetText self val
= withUTFString val $
\ valPtr ->
(\(HTMLScriptElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_set_text argPtr1 arg2)
(toHTMLScriptElement self)
valPtr
htmlScriptElementGetText ::
(HTMLScriptElementClass self, GlibString string) =>
self -> IO string
htmlScriptElementGetText self
= ((\(HTMLScriptElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_get_text argPtr1)
(toHTMLScriptElement self))
>>=
readUTFString
htmlScriptElementSetHtmlFor ::
(HTMLScriptElementClass self, GlibString string) =>
self -> string -> IO ()
htmlScriptElementSetHtmlFor self val
= withUTFString val $
\ valPtr ->
(\(HTMLScriptElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_set_html_for argPtr1 arg2)
(toHTMLScriptElement self)
valPtr
htmlScriptElementGetHtmlFor ::
(HTMLScriptElementClass self, GlibString string) =>
self -> IO string
htmlScriptElementGetHtmlFor self
= ((\(HTMLScriptElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_get_html_for argPtr1)
(toHTMLScriptElement self))
>>=
readUTFString
htmlScriptElementSetEvent ::
(HTMLScriptElementClass self, GlibString string) =>
self -> string -> IO ()
htmlScriptElementSetEvent self val
= withUTFString val $
\ valPtr ->
(\(HTMLScriptElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_set_event argPtr1 arg2)
(toHTMLScriptElement self)
valPtr
htmlScriptElementGetEvent ::
(HTMLScriptElementClass self, GlibString string) =>
self -> IO string
htmlScriptElementGetEvent self
= ((\(HTMLScriptElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_get_event argPtr1)
(toHTMLScriptElement self))
>>=
readUTFString
htmlScriptElementSetCharset ::
(HTMLScriptElementClass self, GlibString string) =>
self -> string -> IO ()
htmlScriptElementSetCharset self val
= withUTFString val $
\ valPtr ->
(\(HTMLScriptElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_set_charset argPtr1 arg2)
(toHTMLScriptElement self)
valPtr
htmlScriptElementGetCharset ::
(HTMLScriptElementClass self, GlibString string) =>
self -> IO string
htmlScriptElementGetCharset self
= ((\(HTMLScriptElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_get_charset argPtr1)
(toHTMLScriptElement self))
>>=
readUTFString
htmlScriptElementSetAsync ::
(HTMLScriptElementClass self) => self -> Bool -> IO ()
htmlScriptElementSetAsync self val
= (\(HTMLScriptElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_set_async argPtr1 arg2)
(toHTMLScriptElement self)
(fromBool val)
htmlScriptElementGetAsync ::
(HTMLScriptElementClass self) => self -> IO Bool
htmlScriptElementGetAsync self
= toBool <$>
((\(HTMLScriptElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_get_async argPtr1)
(toHTMLScriptElement self))
htmlScriptElementSetDefer ::
(HTMLScriptElementClass self) => self -> Bool -> IO ()
htmlScriptElementSetDefer self val
= (\(HTMLScriptElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_set_defer argPtr1 arg2)
(toHTMLScriptElement self)
(fromBool val)
htmlScriptElementGetDefer ::
(HTMLScriptElementClass self) => self -> IO Bool
htmlScriptElementGetDefer self
= toBool <$>
((\(HTMLScriptElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_get_defer argPtr1)
(toHTMLScriptElement self))
htmlScriptElementSetSrc ::
(HTMLScriptElementClass self, GlibString string) =>
self -> string -> IO ()
htmlScriptElementSetSrc self val
= withUTFString val $
\ valPtr ->
(\(HTMLScriptElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_set_src argPtr1 arg2)
(toHTMLScriptElement self)
valPtr
htmlScriptElementGetSrc ::
(HTMLScriptElementClass self, GlibString string) =>
self -> IO string
htmlScriptElementGetSrc self
= ((\(HTMLScriptElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_get_src argPtr1)
(toHTMLScriptElement self))
>>=
readUTFString
htmlScriptElementSetCrossOrigin ::
(HTMLScriptElementClass self, GlibString string) =>
self -> string -> IO ()
htmlScriptElementSetCrossOrigin self val
= withUTFString val $
\ valPtr ->
(\(HTMLScriptElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_set_cross_origin argPtr1 arg2)
(toHTMLScriptElement self)
valPtr
htmlScriptElementGetCrossOrigin ::
(HTMLScriptElementClass self, GlibString string) =>
self -> IO string
htmlScriptElementGetCrossOrigin self
= ((\(HTMLScriptElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_get_cross_origin argPtr1)
(toHTMLScriptElement self))
>>=
readUTFString
htmlScriptElementSetNonce ::
(HTMLScriptElementClass self, GlibString string) =>
self -> string -> IO ()
htmlScriptElementSetNonce self val
= withUTFString val $
\ valPtr ->
(\(HTMLScriptElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_set_nonce argPtr1 arg2)
(toHTMLScriptElement self)
valPtr
htmlScriptElementGetNonce ::
(HTMLScriptElementClass self, GlibString string) =>
self -> IO string
htmlScriptElementGetNonce self
= ((\(HTMLScriptElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_script_element_get_nonce argPtr1)
(toHTMLScriptElement self))
>>=
readUTFString
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_set_text"
webkit_dom_html_script_element_set_text :: ((Ptr HTMLScriptElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_get_text"
webkit_dom_html_script_element_get_text :: ((Ptr HTMLScriptElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_set_html_for"
webkit_dom_html_script_element_set_html_for :: ((Ptr HTMLScriptElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_get_html_for"
webkit_dom_html_script_element_get_html_for :: ((Ptr HTMLScriptElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_set_event"
webkit_dom_html_script_element_set_event :: ((Ptr HTMLScriptElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_get_event"
webkit_dom_html_script_element_get_event :: ((Ptr HTMLScriptElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_set_charset"
webkit_dom_html_script_element_set_charset :: ((Ptr HTMLScriptElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_get_charset"
webkit_dom_html_script_element_get_charset :: ((Ptr HTMLScriptElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_set_async"
webkit_dom_html_script_element_set_async :: ((Ptr HTMLScriptElement) -> (CInt -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_get_async"
webkit_dom_html_script_element_get_async :: ((Ptr HTMLScriptElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_set_defer"
webkit_dom_html_script_element_set_defer :: ((Ptr HTMLScriptElement) -> (CInt -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_get_defer"
webkit_dom_html_script_element_get_defer :: ((Ptr HTMLScriptElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_set_src"
webkit_dom_html_script_element_set_src :: ((Ptr HTMLScriptElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_get_src"
webkit_dom_html_script_element_get_src :: ((Ptr HTMLScriptElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_set_cross_origin"
webkit_dom_html_script_element_set_cross_origin :: ((Ptr HTMLScriptElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_get_cross_origin"
webkit_dom_html_script_element_get_cross_origin :: ((Ptr HTMLScriptElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_set_nonce"
webkit_dom_html_script_element_set_nonce :: ((Ptr HTMLScriptElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLScriptElement.h webkit_dom_html_script_element_get_nonce"
webkit_dom_html_script_element_get_nonce :: ((Ptr HTMLScriptElement) -> (IO (Ptr CChar)))