module Graphics.UI.Gtk.WebKit.DOM.StyleSheetList
(styleSheetListItem, styleSheetListGetLength, StyleSheetList,
StyleSheetListClass, castToStyleSheetList, gTypeStyleSheetList,
toStyleSheetList)
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
styleSheetListItem ::
(StyleSheetListClass self) => self -> Word -> IO (Maybe StyleSheet)
styleSheetListItem self index
= maybeNull (makeNewGObject mkStyleSheet)
((\(StyleSheetList arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_style_sheet_list_item argPtr1 arg2)
(toStyleSheetList self)
(fromIntegral index))
styleSheetListGetLength ::
(StyleSheetListClass self) => self -> IO Word
styleSheetListGetLength self
= fromIntegral <$>
((\(StyleSheetList arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_style_sheet_list_get_length argPtr1)
(toStyleSheetList self))
foreign import ccall safe "webkit_dom_style_sheet_list_item"
webkit_dom_style_sheet_list_item :: ((Ptr StyleSheetList) -> (CULong -> (IO (Ptr StyleSheet))))
foreign import ccall safe "webkit_dom_style_sheet_list_get_length"
webkit_dom_style_sheet_list_get_length :: ((Ptr StyleSheetList) -> (IO CULong))