module Graphics.UI.Gtk.WebKit.DOM.HTMLFontElement
(htmlFontElementSetColor, htmlFontElementGetColor,
htmlFontElementSetFace, htmlFontElementGetFace,
htmlFontElementSetSize, htmlFontElementGetSize, HTMLFontElement,
HTMLFontElementClass, castToHTMLFontElement, gTypeHTMLFontElement,
toHTMLFontElement)
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
htmlFontElementSetColor ::
(HTMLFontElementClass self, GlibString string) =>
self -> string -> IO ()
htmlFontElementSetColor self val
= withUTFString val $
\ valPtr ->
(\(HTMLFontElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_font_element_set_color argPtr1 arg2)
(toHTMLFontElement self)
valPtr
htmlFontElementGetColor ::
(HTMLFontElementClass self, GlibString string) => self -> IO string
htmlFontElementGetColor self
= ((\(HTMLFontElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_font_element_get_color argPtr1)
(toHTMLFontElement self))
>>=
readUTFString
htmlFontElementSetFace ::
(HTMLFontElementClass self, GlibString string) =>
self -> string -> IO ()
htmlFontElementSetFace self val
= withUTFString val $
\ valPtr ->
(\(HTMLFontElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_font_element_set_face argPtr1 arg2)
(toHTMLFontElement self)
valPtr
htmlFontElementGetFace ::
(HTMLFontElementClass self, GlibString string) => self -> IO string
htmlFontElementGetFace self
= ((\(HTMLFontElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_font_element_get_face argPtr1)
(toHTMLFontElement self))
>>=
readUTFString
htmlFontElementSetSize ::
(HTMLFontElementClass self, GlibString string) =>
self -> string -> IO ()
htmlFontElementSetSize self val
= withUTFString val $
\ valPtr ->
(\(HTMLFontElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_font_element_set_size argPtr1 arg2)
(toHTMLFontElement self)
valPtr
htmlFontElementGetSize ::
(HTMLFontElementClass self, GlibString string) => self -> IO string
htmlFontElementGetSize self
= ((\(HTMLFontElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_font_element_get_size argPtr1)
(toHTMLFontElement self))
>>=
readUTFString
foreign import ccall safe "webkit_dom_html_font_element_set_color"
webkit_dom_html_font_element_set_color :: ((Ptr HTMLFontElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "webkit_dom_html_font_element_get_color"
webkit_dom_html_font_element_get_color :: ((Ptr HTMLFontElement) -> (IO (Ptr CChar)))
foreign import ccall safe "webkit_dom_html_font_element_set_face"
webkit_dom_html_font_element_set_face :: ((Ptr HTMLFontElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "webkit_dom_html_font_element_get_face"
webkit_dom_html_font_element_get_face :: ((Ptr HTMLFontElement) -> (IO (Ptr CChar)))
foreign import ccall safe "webkit_dom_html_font_element_set_size"
webkit_dom_html_font_element_set_size :: ((Ptr HTMLFontElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "webkit_dom_html_font_element_get_size"
webkit_dom_html_font_element_get_size :: ((Ptr HTMLFontElement) -> (IO (Ptr CChar)))