# 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 RichTextField(RichTextParagraphLayoutBox):
    """
    RichTextField(fieldType='', parent=None) -> None
    RichTextField(obj) -> None
    
    This class implements the general concept of a field, an object that
    represents additional functionality such as a footnote, a bookmark, a
    page number, a table of contents, and so on.
    """
    def AcceptsFocus(self): # real signature unknown; restored from __doc__
        """
        AcceptsFocus() -> bool
        
        Returns true if objects of this class can accept the focus, i.e. a
        call to SetFocusObject is possible.
        """
        return False

    def CalculateRange(self, start): # real signature unknown; restored from __doc__
        """
        CalculateRange(start) -> int
        
        Calculates the range of the object.
        """
        return 0

    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 GetFieldType(self): # real signature unknown; restored from __doc__
        """ GetFieldType() -> str """
        return ""

    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, 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 GetXMLNodeName(self): # real signature unknown; restored from __doc__
        """
        GetXMLNodeName() -> str
        
        Returns the XML node name of this object.
        """
        return ""

    def IsAtomic(self): # real signature unknown; restored from __doc__
        """
        IsAtomic() -> bool
        
        If a field has children, we don't want the user to be able to edit it.
        """
        return False

    def IsEmpty(self): # real signature unknown; restored from __doc__
        """
        IsEmpty() -> bool
        
        Returns true if the buffer is empty.
        """
        return False

    def IsTopLevel(self): # real signature unknown; restored from __doc__
        """
        IsTopLevel() -> bool
        
        Returns true if this object is top-level, i.e. contains its own
        paragraphs, such as a text box.
        """
        return False

    def Layout(self, dc, context, rect, parentRect, style): # real signature unknown; restored from __doc__
        """
        Layout(dc, context, rect, parentRect, style) -> bool
        
        Lay the item out at the specified position with the given size
        constraint.
        """
        return False

    def SetFieldType(self, fieldType): # real signature unknown; restored from __doc__
        """ SetFieldType(fieldType) -> None """
        pass

    def UpdateField(self, buffer): # real signature unknown; restored from __doc__
        """
        UpdateField(buffer) -> bool
        
        Update the field; delegated to the associated field type.
        """
        return False

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    FieldType = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetFieldType() -> str"""

    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."""



