module Graphics.UI.Gtk.WebKit.DOM.DOMNamedFlowCollection
(
domNamedFlowCollectionItem, domNamedFlowCollectionNamedItem,
domNamedFlowCollectionGetLength, DOMNamedFlowCollection,
DOMNamedFlowCollectionClass, castToDOMNamedFlowCollection,
gTypeDOMNamedFlowCollection, toDOMNamedFlowCollection
)
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
domNamedFlowCollectionItem ::
(DOMNamedFlowCollectionClass self) =>
self -> Word -> IO (Maybe WebKitNamedFlow)
domNamedFlowCollectionItem self index
= maybeNull (makeNewGObject mkWebKitNamedFlow)
((\(DOMNamedFlowCollection arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_named_flow_collection_item argPtr1 arg2)
(toDOMNamedFlowCollection self)
(fromIntegral index))
domNamedFlowCollectionNamedItem ::
(DOMNamedFlowCollectionClass self, GlibString string) =>
self -> string -> IO (Maybe WebKitNamedFlow)
domNamedFlowCollectionNamedItem self name
= maybeNull (makeNewGObject mkWebKitNamedFlow)
(withUTFString name $
\ namePtr ->
(\(DOMNamedFlowCollection arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_named_flow_collection_named_item argPtr1 arg2)
(toDOMNamedFlowCollection self)
namePtr)
domNamedFlowCollectionGetLength ::
(DOMNamedFlowCollectionClass self) => self -> IO Word
domNamedFlowCollectionGetLength self
= fromIntegral <$>
((\(DOMNamedFlowCollection arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_named_flow_collection_get_length argPtr1)
(toDOMNamedFlowCollection self))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMNamedFlowCollection.h webkit_dom_dom_named_flow_collection_item"
webkit_dom_dom_named_flow_collection_item :: ((Ptr DOMNamedFlowCollection) -> (CULong -> (IO (Ptr WebKitNamedFlow))))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMNamedFlowCollection.h webkit_dom_dom_named_flow_collection_named_item"
webkit_dom_dom_named_flow_collection_named_item :: ((Ptr DOMNamedFlowCollection) -> ((Ptr CChar) -> (IO (Ptr WebKitNamedFlow))))
foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMNamedFlowCollection.h webkit_dom_dom_named_flow_collection_get_length"
webkit_dom_dom_named_flow_collection_get_length :: ((Ptr DOMNamedFlowCollection) -> (IO CULong))