# encoding: utf-8
# module wx._richtext
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_richtext.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import sip as __sip
import wx._adv as __wx__adv
import wx._core as __wx__core
import wx._html as __wx__html


from .RichTextObject import RichTextObject

class RichTextCompositeObject(RichTextObject):
    """
    RichTextCompositeObject(parent=None) -> None
    
    Objects of this class can contain other objects.
    """
    def AppendChild(self, child): # real signature unknown; restored from __doc__
        """
        AppendChild(child) -> int
        
        Appends a child, returning the position.
        """
        return 0

    def CalculateRange(self, start): # real signature unknown; restored from __doc__
        """
        CalculateRange(start) -> int
        
        Calculates the range of the object.
        """
        return 0

    def Clone(self): # real signature unknown; restored from __doc__
        """ Clone(self) -> Optional[RichTextObject] """
        pass

    def Copy(self, obj): # real signature unknown; restored from __doc__
        """ Copy(obj) -> None """
        pass

    def Defragment(self, context, range=None): # real signature unknown; restored from __doc__
        """
        Defragment(context, range=RICHTEXT_ALL) -> bool
        
        Recursively merges all pieces that can be merged.
        """
        return False

    def DeleteChildren(self): # real signature unknown; restored from __doc__
        """
        DeleteChildren() -> bool
        
        Deletes all the children.
        """
        return False

    def DeleteRange(self, range): # real signature unknown; restored from __doc__
        """
        DeleteRange(range) -> bool
        
        Deletes the given range.
        """
        return False

    def FindPosition(self, dc, context, index, forceLineStart): # real signature unknown; restored from __doc__
        """
        FindPosition(dc, context, index, forceLineStart) -> Tuple[bool, wx.Point, int]
        
        Finds the absolute position and row height for the given character
        position.
        """
        pass

    def GetChild(self, n): # real signature unknown; restored from __doc__
        """
        GetChild(n) -> RichTextObject
        
        Returns the nth child.
        """
        return RichTextObject

    def GetChildAtPosition(self, pos): # real signature unknown; restored from __doc__
        """
        GetChildAtPosition(pos) -> RichTextObject
        
        Returns the child object at the given character position.
        """
        return RichTextObject

    def GetChildCount(self): # real signature unknown; restored from __doc__
        """
        GetChildCount() -> int
        
        Returns the number of children.
        """
        return 0

    def GetChildren(self): # real signature unknown; restored from __doc__
        """
        GetChildren() -> RichTextObjectList
        
        Returns the children.
        """
        return RichTextObjectList

    def GetRangeSize(self, range, size, descent, dc, context, flags, position=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetRangeSize(range, size, descent, dc, context, flags, position=wx.Point(0,0), parentSize=wx.DefaultSize, partialExtents=None) -> bool
        
        Returns the object size for the given range.
        """
        pass

    def GetTextForRange(self, range): # real signature unknown; restored from __doc__
        """
        GetTextForRange(range) -> str
        
        Returns any text in this object for the given range.
        """
        return ""

    def HitTest(self, dc, context, pt, flags=0): # real signature unknown; restored from __doc__
        """
        HitTest(dc, context, pt, flags=0) -> Tuple[int, int, RichTextObject, RichTextObject]
        
        Hit-testing: returns a flag indicating hit test details, plus
        information about position.
        """
        pass

    def InsertChild(self, child, inFrontOf): # real signature unknown; restored from __doc__
        """
        InsertChild(child, inFrontOf) -> bool
        
        Inserts the child in front of the given object, or at the beginning.
        """
        return False

    def Invalidate(self, invalidRange=None): # real signature unknown; restored from __doc__
        """
        Invalidate(invalidRange=RICHTEXT_ALL) -> None
        
        Invalidates the object at the given range.
        """
        pass

    def IsAtomic(self): # real signature unknown; restored from __doc__
        """
        IsAtomic() -> bool
        
        Returns true if no user editing can be done inside the object.
        """
        return False

    def IsComposite(self): # real signature unknown; restored from __doc__
        """
        IsComposite() -> bool
        
        Returns true if this object is composite.
        """
        return False

    def IsEmpty(self): # real signature unknown; restored from __doc__
        """
        IsEmpty() -> bool
        
        Returns true if the buffer is empty.
        """
        return False

    def Move(self, pt): # real signature unknown; restored from __doc__
        """
        Move(pt) -> None
        
        Moves the object recursively, by adding the offset from old to new.
        """
        pass

    def RemoveChild(self, child, deleteChild=False): # real signature unknown; restored from __doc__
        """
        RemoveChild(child, deleteChild=False) -> bool
        
        Removes and optionally deletes the specified child.
        """
        return False

    def __init__(self, parent=None): # real signature unknown; restored from __doc__
        pass

    ChildCount = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetChildCount() -> int

Returns the number of children."""

    Children = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetChildren() -> RichTextObjectList

Returns the children."""



