# 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


class RichTextSelection(__sip.wrapper):
    """
    RichTextSelection(sel) -> None
    RichTextSelection(range, container) -> None
    RichTextSelection() -> None
    
    Stores selection information.
    """
    def Add(self, range): # real signature unknown; restored from __doc__
        """
        Add(range) -> None
        
        Adds a range to the selection.
        """
        pass

    def Copy(self, sel): # real signature unknown; restored from __doc__
        """
        Copy(sel) -> None
        
        Copies from sel.
        """
        pass

    def GetContainer(self): # real signature unknown; restored from __doc__
        """
        GetContainer() -> RichTextParagraphLayoutBox
        
        Returns the container for which the selection is valid.
        """
        return RichTextParagraphLayoutBox

    def GetCount(self): # real signature unknown; restored from __doc__
        """
        GetCount() -> int
        
        Returns the number of ranges in the selection.
        """
        return 0

    def GetRange(self, i=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        GetRange(i) -> RichTextRange
        GetRange() -> RichTextRange
        
        Returns the range at the given index.
        """
        return RichTextRange

    def GetRanges(self): # real signature unknown; restored from __doc__
        """
        GetRanges() -> RichTextRangeArray
        
        Returns the selection ranges.
        """
        return RichTextRangeArray

    def GetSelectionForObject(self, obj): # real signature unknown; restored from __doc__
        """
        GetSelectionForObject(obj) -> RichTextRangeArray
        
        Returns the selection appropriate to the specified object, if any;
        returns an empty array if none at the level of the object's container.
        """
        return RichTextRangeArray

    def IsValid(self): # real signature unknown; restored from __doc__
        """
        IsValid() -> bool
        
        Returns true if the selection is valid.
        """
        return False

    def Reset(self): # real signature unknown; restored from __doc__
        """
        Reset() -> None
        
        Resets the selection.
        """
        pass

    def Set(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        Set(range, container) -> None
        Set(ranges, container) -> None
        
        Sets the selection.
        """
        pass

    def SetContainer(self, container): # real signature unknown; restored from __doc__
        """
        SetContainer(container) -> None
        
        Sets the container for which the selection is valid.
        """
        pass

    def SetRange(self, range): # real signature unknown; restored from __doc__
        """
        SetRange(range) -> None
        
        Sets a single range.
        """
        pass

    def SetRanges(self, ranges): # real signature unknown; restored from __doc__
        """
        SetRanges(ranges) -> None
        
        Sets the selection ranges.
        """
        pass

    def WithinSelection(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        WithinSelection(pos, obj) -> bool
        WithinSelection(pos) -> bool
        WithinSelection(pos, ranges) -> bool
        WithinSelection(range, ranges) -> bool
        
        Returns true if the given position is within the selection.
        """
        return False

    def __bool__(self, *args, **kwargs): # real signature unknown
        """ True if self else False """
        pass

    def __eq__(self, *args, **kwargs): # real signature unknown
        """ Return self==value. """
        pass

    def __ge__(self, *args, **kwargs): # real signature unknown
        """ Return self>=value. """
        pass

    def __gt__(self, *args, **kwargs): # real signature unknown
        """ Return self>value. """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    def __le__(self, *args, **kwargs): # real signature unknown
        """ Return self<=value. """
        pass

    def __lt__(self, *args, **kwargs): # real signature unknown
        """ Return self<value. """
        pass

    def __ne__(self, *args, **kwargs): # real signature unknown
        """ Return self!=value. """
        pass

    def __nonzero__(self): # real signature unknown; restored from __doc__
        """ __nonzero__() -> bool """
        return False

    Container = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetContainer() -> RichTextParagraphLayoutBox

Returns the container for which the selection is valid."""

    Count = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetCount() -> int

Returns the number of ranges in the selection."""

    Range = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetRange(i) -> RichTextRange
GetRange() -> RichTextRange

Returns the range at the given index.
"""

    Ranges = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetRanges() -> RichTextRangeArray

Returns the selection ranges."""

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object"""


    m_container = None # (!) real value is '<sip.variabledescriptor object at 0x000001D6B3C52100>'
    m_ranges = None # (!) real value is '<sip.variabledescriptor object at 0x000001D6B3C52080>'
    __hash__ = None


