webkit-0.14.2.0: Binding to the Webkit library.

Safe HaskellNone
LanguageHaskell98

Graphics.UI.Gtk.WebKit.DOM.Range

Documentation

setStart :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> Int -> m () Source #

setEnd :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> Int -> m () Source #

setStartBefore :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> m () Source #

setStartAfter :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> m () Source #

setEndBefore :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> m () Source #

setEndAfter :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> m () Source #

collapse :: (MonadIO m, RangeClass self) => self -> Bool -> m () Source #

selectNode :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> m () Source #

selectNodeContents :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> m () Source #

compareBoundaryPoints :: (MonadIO m, RangeClass self, RangeClass sourceRange) => self -> Word -> Maybe sourceRange -> m Int Source #

deleteContents :: (MonadIO m, RangeClass self) => self -> m () Source #

extractContents :: (MonadIO m, RangeClass self) => self -> m (Maybe DocumentFragment) Source #

cloneContents :: (MonadIO m, RangeClass self) => self -> m (Maybe DocumentFragment) Source #

insertNode :: (MonadIO m, RangeClass self, NodeClass newNode) => self -> Maybe newNode -> m () Source #

surroundContents :: (MonadIO m, RangeClass self, NodeClass newParent) => self -> Maybe newParent -> m () Source #

cloneRange :: (MonadIO m, RangeClass self) => self -> m (Maybe Range) Source #

toString :: (MonadIO m, RangeClass self, GlibString string) => self -> m string Source #

detach :: (MonadIO m, RangeClass self) => self -> m () Source #

createContextualFragment :: (MonadIO m, RangeClass self, GlibString string) => self -> string -> m (Maybe DocumentFragment) Source #

intersectsNode :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> m Bool Source #

compareNode :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> m Int Source #

comparePoint :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> Int -> m Int Source #

isPointInRange :: (MonadIO m, RangeClass self, NodeClass refNode) => self -> Maybe refNode -> Int -> m Bool Source #

expand :: (MonadIO m, RangeClass self, GlibString string) => self -> string -> m () Source #

pattern START_TO_START :: forall a. (Num a, Eq a) => a Source #

pattern START_TO_END :: forall a. (Num a, Eq a) => a Source #

pattern END_TO_END :: forall a. (Num a, Eq a) => a Source #

pattern END_TO_START :: forall a. (Num a, Eq a) => a Source #

pattern NODE_BEFORE :: forall a. (Num a, Eq a) => a Source #

pattern NODE_AFTER :: forall a. (Num a, Eq a) => a Source #

pattern NODE_BEFORE_AND_AFTER :: forall a. (Num a, Eq a) => a Source #

pattern NODE_INSIDE :: forall a. (Num a, Eq a) => a Source #

getStartContainer :: (MonadIO m, RangeClass self) => self -> m (Maybe Node) Source #

getStartOffset :: (MonadIO m, RangeClass self) => self -> m Int Source #

getEndContainer :: (MonadIO m, RangeClass self) => self -> m (Maybe Node) Source #

getEndOffset :: (MonadIO m, RangeClass self) => self -> m Int Source #

getCollapsed :: (MonadIO m, RangeClass self) => self -> m Bool Source #

getText :: (MonadIO m, RangeClass self, GlibString string) => self -> m string Source #