Range
Object Hierarchy:
Description:
[ CCode ( type_id = "webkit_dom_range_get_type ()" ) ]
[ GIR ( name = "DOMRange" ) ]
public class Range : Object
[ GIR ( name = "DOMRange" ) ]
public class Range : Object
Namespace: WebKit.DOM
Package: webkit2gtk-web-extension-4.1
Content:
Properties:
- public bool collapsed { get; }
- public Node common_ancestor_container { owned get; }
- public Node end_container { owned get; }
- public long end_offset { get; }
- public Node start_container { owned get; }
- public long start_offset { get; }
- public string text { owned get; }
Creation methods:
- protected Range ()
Methods:
- public unowned DocumentFragment clone_contents () throws Error
- public Range clone_range () throws Error
- public void collapse (bool toStart) throws Error
- public short compare_boundary_points (ushort how, Range sourceRange) throws Error
- public short compare_node (Node refNode) throws Error
- public short compare_point (Node refNode, long offset) throws Error
- public unowned DocumentFragment create_contextual_fragment (string html) throws Error
- public void delete_contents () throws Error
- public void detach () throws Error
- public void expand (string unit) throws Error
- public unowned DocumentFragment extract_contents () throws Error
- public bool get_collapsed () throws Error
- public unowned Node get_common_ancestor_container () throws Error
- public unowned Node get_end_container () throws Error
- public long get_end_offset () throws Error
- public unowned Node get_start_container () throws Error
- public long get_start_offset () throws Error
- public string get_text ()
- public void insert_node (Node newNode) throws Error
- public bool intersects_node (Node refNode) throws Error
- public bool is_point_in_range (Node refNode, long offset) throws Error
- public void select_node (Node refNode) throws Error
- public void select_node_contents (Node refNode) throws Error
- public void set_end (Node refNode, long offset) throws Error
- public void set_end_after (Node refNode) throws Error
- public void set_end_before (Node refNode) throws Error
- public void set_start (Node refNode, long offset) throws Error
- public void set_start_after (Node refNode) throws Error
- public void set_start_before (Node refNode) throws Error
- public void surround_contents (Node newParent) throws Error
- public string to_string () throws Error
Inherited Members:
All known members inherited from class WebKit.DOM.Object
All known members inherited from class GLib.Object