# encoding: utf-8
# module wx._dataview
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_dataview.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import sip as __sip
import wx._core as __wx__core


from .DataViewRenderer import DataViewRenderer

class DataViewCustomRenderer(DataViewRenderer):
    """
    DataViewCustomRenderer(varianttype=DataViewCustomRenderer.GetDefaultType(), mode=DATAVIEW_CELL_INERT, align=DVR_DEFAULT_ALIGNMENT) -> None
    
    You need to derive a new class from wxDataViewCustomRenderer in order
    to write a new renderer.
    """
    def Activate(self, cell, model, item, col): # real signature unknown; restored from __doc__
        """
        Activate(cell, model, item, col) -> bool
        
        Override this to react to the activation of a cell.
        """
        return False

    def ActivateCell(self, cell, model, item, col, mouseEvent): # real signature unknown; restored from __doc__
        """
        ActivateCell(cell, model, item, col, mouseEvent) -> bool
        
        Override this to react to cell activation.
        """
        return False

    def CreateEditorCtrl(self, parent, labelRect, value): # real signature unknown; restored from __doc__
        """
        CreateEditorCtrl(parent, labelRect, value) -> wx.Window
        
        Override this to create the actual editor control once editing is
        about to start.
        """
        pass

    def GetAttr(self): # real signature unknown; restored from __doc__
        """
        GetAttr() -> DataViewItemAttr
        
        Return the attribute to be used for rendering.
        """
        return DataViewItemAttr

    def GetDefaultType(self): # real signature unknown; restored from __doc__
        """
        GetDefaultType() -> str
        
        Returns the wxVariant type used with this renderer.
        """
        return ""

    def GetSize(self): # real signature unknown; restored from __doc__
        """
        GetSize() -> wx.Size
        
        Return size required to show content.
        """
        pass

    def GetTextExtent(self, p_str): # real signature unknown; restored from __doc__
        """
        GetTextExtent(str) -> wx.Size
        
        Helper for GetSize() implementations, respects attributes.
        """
        pass

    def GetValueFromEditorCtrl(self, editor): # real signature unknown; restored from __doc__
        """
        GetValueFromEditorCtrl(editor) -> DVCVariant
        
        Override this so that the renderer can get the value from the editor
        control (pointed to by editor):
        """
        pass

    def GetView(self, *args, **kwargs): # real signature unknown
        pass

    def HasEditorCtrl(self): # real signature unknown; restored from __doc__
        """
        HasEditorCtrl() -> bool
        
        Override this and make it return true in order to indicate that this
        renderer supports in-place editing.
        """
        return False

    def LeftClick(self, cursor, cell, model, item, col): # real signature unknown; restored from __doc__
        """
        LeftClick(cursor, cell, model, item, col) -> bool
        
        Override this to react to a left click.
        """
        return False

    def Render(self, cell, dc, state): # real signature unknown; restored from __doc__
        """
        Render(cell, dc, state) -> bool
        
        Override this to render the cell.
        """
        return False

    def RenderText(self, text, xoffset, cell, dc, state): # real signature unknown; restored from __doc__
        """
        RenderText(text, xoffset, cell, dc, state) -> None
        
        This method should be called from within Render() whenever you need to
        render simple text.
        """
        pass

    def StartDrag(self, cursor, cell, model, item, col): # real signature unknown; restored from __doc__
        """
        StartDrag(cursor, cell, model, item, col) -> bool
        
        Override this to start a drag operation.
        """
        return False

    def __init__(self, varianttype=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        pass

    Attr = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetAttr() -> DataViewItemAttr

Return the attribute to be used for rendering."""

    Size = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetSize() -> wx.Size

Return size required to show content."""



