module Graphics.UI.Gtk.WebKit.DOM.HTMLImageElement
(htmlImageElementSetName, htmlImageElementGetName,
htmlImageElementSetAlign, htmlImageElementGetAlign,
htmlImageElementSetAlt, htmlImageElementGetAlt,
htmlImageElementSetBorder, htmlImageElementGetBorder,
htmlImageElementSetCrossOrigin, htmlImageElementGetCrossOrigin,
htmlImageElementSetHeight, htmlImageElementGetHeight,
htmlImageElementSetHspace, htmlImageElementGetHspace,
htmlImageElementSetIsMap, htmlImageElementGetIsMap,
htmlImageElementSetLongDesc, htmlImageElementGetLongDesc,
htmlImageElementSetSrc, htmlImageElementGetSrc,
htmlImageElementSetSrcset, htmlImageElementGetSrcset,
htmlImageElementSetUseMap, htmlImageElementGetUseMap,
htmlImageElementSetVspace, htmlImageElementGetVspace,
htmlImageElementSetWidth, htmlImageElementGetWidth,
htmlImageElementGetComplete, htmlImageElementSetLowsrc,
htmlImageElementGetLowsrc, htmlImageElementGetNaturalHeight,
htmlImageElementGetNaturalWidth, htmlImageElementGetX,
htmlImageElementGetY, HTMLImageElement, HTMLImageElementClass,
castToHTMLImageElement, gTypeHTMLImageElement, toHTMLImageElement)
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
htmlImageElementSetName ::
(HTMLImageElementClass self, GlibString string) =>
self -> string -> IO ()
htmlImageElementSetName self val
= withUTFString val $
\ valPtr ->
(\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_name argPtr1 arg2)
(toHTMLImageElement self)
valPtr
htmlImageElementGetName ::
(HTMLImageElementClass self, GlibString string) =>
self -> IO string
htmlImageElementGetName self
= ((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_name argPtr1)
(toHTMLImageElement self))
>>=
readUTFString
htmlImageElementSetAlign ::
(HTMLImageElementClass self, GlibString string) =>
self -> string -> IO ()
htmlImageElementSetAlign self val
= withUTFString val $
\ valPtr ->
(\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_align argPtr1 arg2)
(toHTMLImageElement self)
valPtr
htmlImageElementGetAlign ::
(HTMLImageElementClass self, GlibString string) =>
self -> IO string
htmlImageElementGetAlign self
= ((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_align argPtr1)
(toHTMLImageElement self))
>>=
readUTFString
htmlImageElementSetAlt ::
(HTMLImageElementClass self, GlibString string) =>
self -> string -> IO ()
htmlImageElementSetAlt self val
= withUTFString val $
\ valPtr ->
(\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_alt argPtr1 arg2)
(toHTMLImageElement self)
valPtr
htmlImageElementGetAlt ::
(HTMLImageElementClass self, GlibString string) =>
self -> IO string
htmlImageElementGetAlt self
= ((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_alt argPtr1)
(toHTMLImageElement self))
>>=
readUTFString
htmlImageElementSetBorder ::
(HTMLImageElementClass self, GlibString string) =>
self -> string -> IO ()
htmlImageElementSetBorder self val
= withUTFString val $
\ valPtr ->
(\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_border argPtr1 arg2)
(toHTMLImageElement self)
valPtr
htmlImageElementGetBorder ::
(HTMLImageElementClass self, GlibString string) =>
self -> IO string
htmlImageElementGetBorder self
= ((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_border argPtr1)
(toHTMLImageElement self))
>>=
readUTFString
htmlImageElementSetCrossOrigin ::
(HTMLImageElementClass self, GlibString string) =>
self -> string -> IO ()
htmlImageElementSetCrossOrigin self val
= withUTFString val $
\ valPtr ->
(\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_cross_origin argPtr1 arg2)
(toHTMLImageElement self)
valPtr
htmlImageElementGetCrossOrigin ::
(HTMLImageElementClass self, GlibString string) =>
self -> IO string
htmlImageElementGetCrossOrigin self
= ((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_cross_origin argPtr1)
(toHTMLImageElement self))
>>=
readUTFString
htmlImageElementSetHeight ::
(HTMLImageElementClass self) => self -> Int -> IO ()
htmlImageElementSetHeight self val
= (\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_height argPtr1 arg2)
(toHTMLImageElement self)
(fromIntegral val)
htmlImageElementGetHeight ::
(HTMLImageElementClass self) => self -> IO Int
htmlImageElementGetHeight self
= fromIntegral <$>
((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_height argPtr1)
(toHTMLImageElement self))
htmlImageElementSetHspace ::
(HTMLImageElementClass self) => self -> Int -> IO ()
htmlImageElementSetHspace self val
= (\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_hspace argPtr1 arg2)
(toHTMLImageElement self)
(fromIntegral val)
htmlImageElementGetHspace ::
(HTMLImageElementClass self) => self -> IO Int
htmlImageElementGetHspace self
= fromIntegral <$>
((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_hspace argPtr1)
(toHTMLImageElement self))
htmlImageElementSetIsMap ::
(HTMLImageElementClass self) => self -> Bool -> IO ()
htmlImageElementSetIsMap self val
= (\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_is_map argPtr1 arg2)
(toHTMLImageElement self)
(fromBool val)
htmlImageElementGetIsMap ::
(HTMLImageElementClass self) => self -> IO Bool
htmlImageElementGetIsMap self
= toBool <$>
((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_is_map argPtr1)
(toHTMLImageElement self))
htmlImageElementSetLongDesc ::
(HTMLImageElementClass self, GlibString string) =>
self -> string -> IO ()
htmlImageElementSetLongDesc self val
= withUTFString val $
\ valPtr ->
(\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_long_desc argPtr1 arg2)
(toHTMLImageElement self)
valPtr
htmlImageElementGetLongDesc ::
(HTMLImageElementClass self, GlibString string) =>
self -> IO string
htmlImageElementGetLongDesc self
= ((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_long_desc argPtr1)
(toHTMLImageElement self))
>>=
readUTFString
htmlImageElementSetSrc ::
(HTMLImageElementClass self, GlibString string) =>
self -> string -> IO ()
htmlImageElementSetSrc self val
= withUTFString val $
\ valPtr ->
(\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_src argPtr1 arg2)
(toHTMLImageElement self)
valPtr
htmlImageElementGetSrc ::
(HTMLImageElementClass self, GlibString string) =>
self -> IO string
htmlImageElementGetSrc self
= ((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_src argPtr1)
(toHTMLImageElement self))
>>=
readUTFString
htmlImageElementSetSrcset ::
(HTMLImageElementClass self, GlibString string) =>
self -> string -> IO ()
htmlImageElementSetSrcset self val
= withUTFString val $
\ valPtr ->
(\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_srcset argPtr1 arg2)
(toHTMLImageElement self)
valPtr
htmlImageElementGetSrcset ::
(HTMLImageElementClass self, GlibString string) =>
self -> IO string
htmlImageElementGetSrcset self
= ((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_srcset argPtr1)
(toHTMLImageElement self))
>>=
readUTFString
htmlImageElementSetUseMap ::
(HTMLImageElementClass self, GlibString string) =>
self -> string -> IO ()
htmlImageElementSetUseMap self val
= withUTFString val $
\ valPtr ->
(\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_use_map argPtr1 arg2)
(toHTMLImageElement self)
valPtr
htmlImageElementGetUseMap ::
(HTMLImageElementClass self, GlibString string) =>
self -> IO string
htmlImageElementGetUseMap self
= ((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_use_map argPtr1)
(toHTMLImageElement self))
>>=
readUTFString
htmlImageElementSetVspace ::
(HTMLImageElementClass self) => self -> Int -> IO ()
htmlImageElementSetVspace self val
= (\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_vspace argPtr1 arg2)
(toHTMLImageElement self)
(fromIntegral val)
htmlImageElementGetVspace ::
(HTMLImageElementClass self) => self -> IO Int
htmlImageElementGetVspace self
= fromIntegral <$>
((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_vspace argPtr1)
(toHTMLImageElement self))
htmlImageElementSetWidth ::
(HTMLImageElementClass self) => self -> Int -> IO ()
htmlImageElementSetWidth self val
= (\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_width argPtr1 arg2)
(toHTMLImageElement self)
(fromIntegral val)
htmlImageElementGetWidth ::
(HTMLImageElementClass self) => self -> IO Int
htmlImageElementGetWidth self
= fromIntegral <$>
((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_width argPtr1)
(toHTMLImageElement self))
htmlImageElementGetComplete ::
(HTMLImageElementClass self) => self -> IO Bool
htmlImageElementGetComplete self
= toBool <$>
((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_complete argPtr1)
(toHTMLImageElement self))
htmlImageElementSetLowsrc ::
(HTMLImageElementClass self, GlibString string) =>
self -> string -> IO ()
htmlImageElementSetLowsrc self val
= withUTFString val $
\ valPtr ->
(\(HTMLImageElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_set_lowsrc argPtr1 arg2)
(toHTMLImageElement self)
valPtr
htmlImageElementGetLowsrc ::
(HTMLImageElementClass self, GlibString string) =>
self -> IO string
htmlImageElementGetLowsrc self
= ((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_lowsrc argPtr1)
(toHTMLImageElement self))
>>=
readUTFString
htmlImageElementGetNaturalHeight ::
(HTMLImageElementClass self) => self -> IO Int
htmlImageElementGetNaturalHeight self
= fromIntegral <$>
((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_natural_height argPtr1)
(toHTMLImageElement self))
htmlImageElementGetNaturalWidth ::
(HTMLImageElementClass self) => self -> IO Int
htmlImageElementGetNaturalWidth self
= fromIntegral <$>
((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_natural_width argPtr1)
(toHTMLImageElement self))
htmlImageElementGetX ::
(HTMLImageElementClass self) => self -> IO Int
htmlImageElementGetX self
= fromIntegral <$>
((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_x argPtr1)
(toHTMLImageElement self))
htmlImageElementGetY ::
(HTMLImageElementClass self) => self -> IO Int
htmlImageElementGetY self
= fromIntegral <$>
((\(HTMLImageElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_image_element_get_y argPtr1)
(toHTMLImageElement self))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_name"
webkit_dom_html_image_element_set_name :: ((Ptr HTMLImageElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_name"
webkit_dom_html_image_element_get_name :: ((Ptr HTMLImageElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_align"
webkit_dom_html_image_element_set_align :: ((Ptr HTMLImageElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_align"
webkit_dom_html_image_element_get_align :: ((Ptr HTMLImageElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_alt"
webkit_dom_html_image_element_set_alt :: ((Ptr HTMLImageElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_alt"
webkit_dom_html_image_element_get_alt :: ((Ptr HTMLImageElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_border"
webkit_dom_html_image_element_set_border :: ((Ptr HTMLImageElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_border"
webkit_dom_html_image_element_get_border :: ((Ptr HTMLImageElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_cross_origin"
webkit_dom_html_image_element_set_cross_origin :: ((Ptr HTMLImageElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_cross_origin"
webkit_dom_html_image_element_get_cross_origin :: ((Ptr HTMLImageElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_height"
webkit_dom_html_image_element_set_height :: ((Ptr HTMLImageElement) -> (CLong -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_height"
webkit_dom_html_image_element_get_height :: ((Ptr HTMLImageElement) -> (IO CLong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_hspace"
webkit_dom_html_image_element_set_hspace :: ((Ptr HTMLImageElement) -> (CLong -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_hspace"
webkit_dom_html_image_element_get_hspace :: ((Ptr HTMLImageElement) -> (IO CLong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_is_map"
webkit_dom_html_image_element_set_is_map :: ((Ptr HTMLImageElement) -> (CInt -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_is_map"
webkit_dom_html_image_element_get_is_map :: ((Ptr HTMLImageElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_long_desc"
webkit_dom_html_image_element_set_long_desc :: ((Ptr HTMLImageElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_long_desc"
webkit_dom_html_image_element_get_long_desc :: ((Ptr HTMLImageElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_src"
webkit_dom_html_image_element_set_src :: ((Ptr HTMLImageElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_src"
webkit_dom_html_image_element_get_src :: ((Ptr HTMLImageElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_srcset"
webkit_dom_html_image_element_set_srcset :: ((Ptr HTMLImageElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_srcset"
webkit_dom_html_image_element_get_srcset :: ((Ptr HTMLImageElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_use_map"
webkit_dom_html_image_element_set_use_map :: ((Ptr HTMLImageElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_use_map"
webkit_dom_html_image_element_get_use_map :: ((Ptr HTMLImageElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_vspace"
webkit_dom_html_image_element_set_vspace :: ((Ptr HTMLImageElement) -> (CLong -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_vspace"
webkit_dom_html_image_element_get_vspace :: ((Ptr HTMLImageElement) -> (IO CLong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_width"
webkit_dom_html_image_element_set_width :: ((Ptr HTMLImageElement) -> (CLong -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_width"
webkit_dom_html_image_element_get_width :: ((Ptr HTMLImageElement) -> (IO CLong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_complete"
webkit_dom_html_image_element_get_complete :: ((Ptr HTMLImageElement) -> (IO CInt))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_set_lowsrc"
webkit_dom_html_image_element_set_lowsrc :: ((Ptr HTMLImageElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_lowsrc"
webkit_dom_html_image_element_get_lowsrc :: ((Ptr HTMLImageElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_natural_height"
webkit_dom_html_image_element_get_natural_height :: ((Ptr HTMLImageElement) -> (IO CLong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_natural_width"
webkit_dom_html_image_element_get_natural_width :: ((Ptr HTMLImageElement) -> (IO CLong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_x"
webkit_dom_html_image_element_get_x :: ((Ptr HTMLImageElement) -> (IO CLong))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLImageElement.h webkit_dom_html_image_element_get_y"
webkit_dom_html_image_element_get_y :: ((Ptr HTMLImageElement) -> (IO CLong))