module Graphics.UI.Gtk.WebKit.DOM.HTMLIFrameElement(
setAlign,
getAlign,
setFrameBorder,
getFrameBorder,
setHeight,
getHeight,
setLongDesc,
getLongDesc,
setMarginHeight,
getMarginHeight,
setMarginWidth,
getMarginWidth,
setName,
getName,
setSandbox,
getSandbox,
setScrolling,
getScrolling,
setSrc,
getSrc,
setSrcdoc,
getSrcdoc,
setWidth,
getWidth,
getContentDocument,
getContentWindow,
HTMLIFrameElement,
castToHTMLIFrameElement,
gTypeHTMLIFrameElement,
HTMLIFrameElementClass,
toHTMLIFrameElement,
) where
import Prelude hiding (drop, error, print)
import Data.Typeable (Typeable)
import Foreign.Marshal (maybePeek, maybeWith)
import System.Glib.FFI (maybeNull, withForeignPtr, nullForeignPtr, Ptr, nullPtr, castPtr, Word, Int64, Word64, CChar(..), CInt(..), CUInt(..), CLong(..), CULong(..), CLLong(..), CULLong(..), CShort(..), CUShort(..), CFloat(..), CDouble(..), toBool, fromBool)
import System.Glib.UTFString (GlibString(..), readUTFString)
import Control.Applicative ((<$>))
import Control.Monad (void)
import Control.Monad.IO.Class (MonadIO(..))
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventTargetClosures
import Graphics.UI.Gtk.WebKit.DOM.EventM
import Graphics.UI.Gtk.WebKit.Types
import Graphics.UI.Gtk.WebKit.DOM.Enums
setAlign ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setAlign self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_align argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getAlign ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getAlign self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_align argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
setFrameBorder ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setFrameBorder self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_frame_border argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getFrameBorder ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getFrameBorder self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_frame_border argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
setHeight ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setHeight self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_height argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getHeight ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getHeight self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_height argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
setLongDesc ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setLongDesc self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_long_desc argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getLongDesc ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getLongDesc self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_long_desc argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
setMarginHeight ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setMarginHeight self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_margin_height argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getMarginHeight ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getMarginHeight self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_margin_height argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
setMarginWidth ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setMarginWidth self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_margin_width argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getMarginWidth ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getMarginWidth self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_margin_width argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
setName ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setName self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_name argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getName ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getName self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_name argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
setSandbox ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setSandbox self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_sandbox argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getSandbox ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getSandbox self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_sandbox argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
setScrolling ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setScrolling self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_scrolling argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getScrolling ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getScrolling self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_scrolling argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
setSrc ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setSrc self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_src argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getSrc ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getSrc self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_src argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
setSrcdoc ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setSrcdoc self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_srcdoc argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getSrcdoc ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getSrcdoc self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_srcdoc argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
setWidth ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> string -> m ()
setWidth self val
= liftIO
(withUTFString val $
\ valPtr ->
(\(HTMLIFrameElement arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_set_width argPtr1 arg2)
(toHTMLIFrameElement self)
valPtr)
getWidth ::
(MonadIO m, HTMLIFrameElementClass self, GlibString string) =>
self -> m string
getWidth self
= liftIO
(((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_width argPtr1)
(toHTMLIFrameElement self))
>>=
readUTFString)
getContentDocument ::
(MonadIO m, HTMLIFrameElementClass self) =>
self -> m (Maybe Document)
getContentDocument self
= liftIO
(maybeNull (makeNewGObject mkDocument)
((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_content_document argPtr1)
(toHTMLIFrameElement self)))
getContentWindow ::
(MonadIO m, HTMLIFrameElementClass self) =>
self -> m (Maybe Window)
getContentWindow self
= liftIO
(maybeNull (makeNewGObject mkWindow)
((\(HTMLIFrameElement arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_html_iframe_element_get_content_window argPtr1)
(toHTMLIFrameElement self)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_align"
webkit_dom_html_iframe_element_set_align :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_align"
webkit_dom_html_iframe_element_get_align :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_frame_border"
webkit_dom_html_iframe_element_set_frame_border :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_frame_border"
webkit_dom_html_iframe_element_get_frame_border :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_height"
webkit_dom_html_iframe_element_set_height :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_height"
webkit_dom_html_iframe_element_get_height :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_long_desc"
webkit_dom_html_iframe_element_set_long_desc :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_long_desc"
webkit_dom_html_iframe_element_get_long_desc :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_margin_height"
webkit_dom_html_iframe_element_set_margin_height :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_margin_height"
webkit_dom_html_iframe_element_get_margin_height :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_margin_width"
webkit_dom_html_iframe_element_set_margin_width :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_margin_width"
webkit_dom_html_iframe_element_get_margin_width :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_name"
webkit_dom_html_iframe_element_set_name :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_name"
webkit_dom_html_iframe_element_get_name :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_sandbox"
webkit_dom_html_iframe_element_set_sandbox :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_sandbox"
webkit_dom_html_iframe_element_get_sandbox :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_scrolling"
webkit_dom_html_iframe_element_set_scrolling :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_scrolling"
webkit_dom_html_iframe_element_get_scrolling :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_src"
webkit_dom_html_iframe_element_set_src :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_src"
webkit_dom_html_iframe_element_get_src :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_srcdoc"
webkit_dom_html_iframe_element_set_srcdoc :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_srcdoc"
webkit_dom_html_iframe_element_get_srcdoc :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_set_width"
webkit_dom_html_iframe_element_set_width :: ((Ptr HTMLIFrameElement) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_width"
webkit_dom_html_iframe_element_get_width :: ((Ptr HTMLIFrameElement) -> (IO (Ptr CChar)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_content_document"
webkit_dom_html_iframe_element_get_content_document :: ((Ptr HTMLIFrameElement) -> (IO (Ptr Document)))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/HTMLIFrameElement.h webkit_dom_html_iframe_element_get_content_window"
webkit_dom_html_iframe_element_get_content_window :: ((Ptr HTMLIFrameElement) -> (IO (Ptr Window)))