-- GENERATED by C->Haskell Compiler, version 0.13.12 (gtk2hs branch) "Bin IO", 27 May 2012 (Haskell)
-- Edit the ORIGNAL .chs file instead!


{-# LINE 1 "./Graphics/UI/Gtk/WebKit/DOM/HTMLFontElement.chs" #-}
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
{-# LINE 11 "./Graphics/UI/Gtk/WebKit/DOM/HTMLFontElement.chs" #-}
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)
{-# LINE 21 "./Graphics/UI/Gtk/WebKit/DOM/HTMLFontElement.chs" #-}
          (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)
{-# LINE 28 "./Graphics/UI/Gtk/WebKit/DOM/HTMLFontElement.chs" #-}
       (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)
{-# LINE 39 "./Graphics/UI/Gtk/WebKit/DOM/HTMLFontElement.chs" #-}
          (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)
{-# LINE 46 "./Graphics/UI/Gtk/WebKit/DOM/HTMLFontElement.chs" #-}
       (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)
{-# LINE 57 "./Graphics/UI/Gtk/WebKit/DOM/HTMLFontElement.chs" #-}
          (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)
{-# LINE 64 "./Graphics/UI/Gtk/WebKit/DOM/HTMLFontElement.chs" #-}
       (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)))