module Graphics.UI.Gtk.WebKit.DOM.HTMLBaseElement
(htmlBaseElementSetHref, htmlBaseElementGetHref,
htmlBaseElementSetTarget, htmlBaseElementGetTarget,
HTMLBaseElement, HTMLBaseElementClass, castToHTMLBaseElement,
gTypeHTMLBaseElement, toHTMLBaseElement)
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
htmlBaseElementSetHref ::
(HTMLBaseElementClass self) => self -> String -> IO ()
htmlBaseElementSetHref self val
= withUTFString val $
\ valPtr ->
(\(HTMLBaseElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_base_element_set_href argPtr1 arg2)
(toHTMLBaseElement self)
valPtr
htmlBaseElementGetHref ::
(HTMLBaseElementClass self) => self -> IO String
htmlBaseElementGetHref self
= ((\(HTMLBaseElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_base_element_get_href argPtr1)
(toHTMLBaseElement self))
>>=
readUTFString
htmlBaseElementSetTarget ::
(HTMLBaseElementClass self) => self -> String -> IO ()
htmlBaseElementSetTarget self val
= withUTFString val $
\ valPtr ->
(\(HTMLBaseElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_base_element_set_target argPtr1 arg2)
(toHTMLBaseElement self)
valPtr
htmlBaseElementGetTarget ::
(HTMLBaseElementClass self) => self -> IO String
htmlBaseElementGetTarget self
= ((\(HTMLBaseElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_base_element_get_target argPtr1)
(toHTMLBaseElement self))
>>=
readUTFString
foreign import ccall safe "webkit_dom_html_base_element_set_href"
webkit_dom_html_base_element_set_href :: ((Ptr HTMLBaseElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "webkit_dom_html_base_element_get_href"
webkit_dom_html_base_element_get_href :: ((Ptr HTMLBaseElement) -> (IO (Ptr CChar)))
foreign import ccall safe "webkit_dom_html_base_element_set_target"
webkit_dom_html_base_element_set_target :: ((Ptr HTMLBaseElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "webkit_dom_html_base_element_get_target"
webkit_dom_html_base_element_get_target :: ((Ptr HTMLBaseElement) -> (IO (Ptr CChar)))