module Graphics.UI.Gtk.WebKit.DOM.NodeIterator
(nodeIteratorDetach, nodeIteratorGetRoot,
nodeIteratorGetWhatToShow, nodeIteratorGetFilter,
nodeIteratorGetExpandEntityReferences,
nodeIteratorGetReferenceNode,
nodeIteratorGetPointerBeforeReferenceNode, NodeIterator,
NodeIteratorClass, castToNodeIterator, gTypeNodeIterator,
toNodeIterator)
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
nodeIteratorDetach :: (NodeIteratorClass self) => self -> IO ()
nodeIteratorDetach self
= (\(NodeIterator arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_node_iterator_detach argPtr1) (toNodeIterator self)
nodeIteratorGetRoot ::
(NodeIteratorClass self) => self -> IO (Maybe Node)
nodeIteratorGetRoot self
= maybeNull (makeNewGObject mkNode)
((\(NodeIterator arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_node_iterator_get_root argPtr1)
(toNodeIterator self))
nodeIteratorGetWhatToShow ::
(NodeIteratorClass self) => self -> IO Word
nodeIteratorGetWhatToShow self
= fromIntegral <$>
((\(NodeIterator arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_node_iterator_get_what_to_show argPtr1)
(toNodeIterator self))
nodeIteratorGetFilter ::
(NodeIteratorClass self) => self -> IO (Maybe NodeFilter)
nodeIteratorGetFilter self
= maybeNull (makeNewGObject mkNodeFilter)
((\(NodeIterator arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_node_iterator_get_filter argPtr1)
(toNodeIterator self))
nodeIteratorGetExpandEntityReferences ::
(NodeIteratorClass self) => self -> IO Bool
nodeIteratorGetExpandEntityReferences self
= toBool <$>
((\(NodeIterator arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_node_iterator_get_expand_entity_references argPtr1)
(toNodeIterator self))
nodeIteratorGetReferenceNode ::
(NodeIteratorClass self) => self -> IO (Maybe Node)
nodeIteratorGetReferenceNode self
= maybeNull (makeNewGObject mkNode)
((\(NodeIterator arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_node_iterator_get_reference_node argPtr1)
(toNodeIterator self))
nodeIteratorGetPointerBeforeReferenceNode ::
(NodeIteratorClass self) => self -> IO Bool
nodeIteratorGetPointerBeforeReferenceNode self
= toBool <$>
((\(NodeIterator arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_node_iterator_get_pointer_before_reference_node argPtr1)
(toNodeIterator self))
foreign import ccall safe "webkit_dom_node_iterator_detach"
webkit_dom_node_iterator_detach :: ((Ptr NodeIterator) -> (IO ()))
foreign import ccall safe "webkit_dom_node_iterator_get_root"
webkit_dom_node_iterator_get_root :: ((Ptr NodeIterator) -> (IO (Ptr Node)))
foreign import ccall safe "webkit_dom_node_iterator_get_what_to_show"
webkit_dom_node_iterator_get_what_to_show :: ((Ptr NodeIterator) -> (IO CULong))
foreign import ccall safe "webkit_dom_node_iterator_get_filter"
webkit_dom_node_iterator_get_filter :: ((Ptr NodeIterator) -> (IO (Ptr NodeFilter)))
foreign import ccall safe "webkit_dom_node_iterator_get_expand_entity_references"
webkit_dom_node_iterator_get_expand_entity_references :: ((Ptr NodeIterator) -> (IO CInt))
foreign import ccall safe "webkit_dom_node_iterator_get_reference_node"
webkit_dom_node_iterator_get_reference_node :: ((Ptr NodeIterator) -> (IO (Ptr Node)))
foreign import ccall safe "webkit_dom_node_iterator_get_pointer_before_reference_node"
webkit_dom_node_iterator_get_pointer_before_reference_node :: ((Ptr NodeIterator) -> (IO CInt))