# 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 .RichTextParagraphLayoutBox import RichTextParagraphLayoutBox

class RichTextBox(RichTextParagraphLayoutBox):
    """
    RichTextBox(parent=None) -> None
    RichTextBox(obj) -> None
    
    This class implements a floating or inline text box, containing
    paragraphs.
    """
    def CanEditProperties(self): # real signature unknown; restored from __doc__
        """
        CanEditProperties() -> bool
        
        Returns true if we can edit the object's properties via a GUI.
        """
        return False

    def Clone(self): # real signature unknown; restored from __doc__
        """
        Clone() -> RichTextObject
        
        Clones the object.
        """
        return RichTextObject

    def Copy(self, obj): # real signature unknown; restored from __doc__
        """ Copy(obj) -> None """
        pass

    def Draw(self, dc, context, range, selection, rect, descent, style): # real signature unknown; restored from __doc__
        """
        Draw(dc, context, range, selection, rect, descent, style) -> bool
        
        Draw the item, within the given range.
        """
        return False

    def EditProperties(self, parent, buffer): # real signature unknown; restored from __doc__
        """
        EditProperties(parent, buffer) -> bool
        
        Edits the object's properties via a GUI.
        """
        return False

    def GetPropertiesMenuLabel(self): # real signature unknown; restored from __doc__
        """
        GetPropertiesMenuLabel() -> str
        
        Returns the label to be used for the properties context menu item.
        """
        return ""

    def GetRangeSize(self, range, size, dc, context, flags, position=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """ GetRangeSize(self, range: RichTextRange, size: Size, dc: DC, context: RichTextDrawingContext, flags: int, position: Point = wxPoint(0, 0), parentSize: Size = wxDefaultSize, partialExtents: Optional[Any] = None) -> (bool, int) """
        pass

    def GetXMLNodeName(self): # real signature unknown; restored from __doc__
        """
        GetXMLNodeName() -> str
        
        Returns the XML node name of this object.
        """
        return ""

    def Layout(self, dc, context, rect, parentRect, style): # real signature unknown; restored from __doc__
        """ Layout(self, dc: DC, context: RichTextDrawingContext, rect: Rect, parentRect: Rect, style: int) -> bool """
        return False

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    PropertiesMenuLabel = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetPropertiesMenuLabel() -> str

Returns the label to be used for the properties context menu item."""

    XMLNodeName = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetXMLNodeName() -> str

Returns the XML node name of this object."""



