module Graphics.UI.Gtk.WebKit.DOM.HTMLMapElement
(htmlMapElementGetAreas, htmlMapElementSetName,
htmlMapElementGetName, HTMLMapElement, HTMLMapElementClass,
castToHTMLMapElement, gTypeHTMLMapElement, toHTMLMapElement)
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
htmlMapElementGetAreas ::
(HTMLMapElementClass self) => self -> IO (Maybe HTMLCollection)
htmlMapElementGetAreas self
= maybeNull (makeNewGObject mkHTMLCollection)
((\(HTMLMapElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_map_element_get_areas argPtr1)
(toHTMLMapElement self))
htmlMapElementSetName ::
(HTMLMapElementClass self, GlibString string) =>
self -> string -> IO ()
htmlMapElementSetName self val
= withUTFString val $
\ valPtr ->
(\(HTMLMapElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_map_element_set_name argPtr1 arg2)
(toHTMLMapElement self)
valPtr
htmlMapElementGetName ::
(HTMLMapElementClass self, GlibString string) => self -> IO string
htmlMapElementGetName self
= ((\(HTMLMapElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_map_element_get_name argPtr1)
(toHTMLMapElement self))
>>=
readUTFString
foreign import ccall safe "webkit_dom_html_map_element_get_areas"
webkit_dom_html_map_element_get_areas :: ((Ptr HTMLMapElement) -> (IO (Ptr HTMLCollection)))
foreign import ccall safe "webkit_dom_html_map_element_set_name"
webkit_dom_html_map_element_set_name :: ((Ptr HTMLMapElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "webkit_dom_html_map_element_get_name"
webkit_dom_html_map_element_get_name :: ((Ptr HTMLMapElement) -> (IO (Ptr CChar)))