# encoding: utf-8
# module wx._propgrid
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_propgrid.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import sip as __sip
import wx._core as __wx__core


class PGCellRenderer(__wx__core.RefCounter):
    """
    PGCellRenderer() -> None
    
    Base class for wxPropertyGrid cell renderers.
    """
    def DrawCaptionSelectionRect(self, dc, x, y, w, h): # real signature unknown; restored from __doc__
        """
        DrawCaptionSelectionRect(dc, x, y, w, h) -> None
        
        Paints property category selection rectangle.
        """
        pass

    def DrawEditorValue(self, dc, rect, xOffset, text, property, editor): # real signature unknown; restored from __doc__
        """
        DrawEditorValue(dc, rect, xOffset, text, property, editor) -> None
        
        Utility to draw editor's value, or vertically aligned text if editor
        is NULL.
        """
        pass

    def DrawText(self, dc, rect, imageWidth, text): # real signature unknown; restored from __doc__
        """
        DrawText(dc, rect, imageWidth, text) -> None
        
        Utility to draw vertically centered text.
        """
        pass

    def GetImageSize(self, property, column, item): # real signature unknown; restored from __doc__
        """
        GetImageSize(property, column, item) -> wx.Size
        
        Returns size of the image in front of the editable area.
        """
        pass

    def PostDrawCell(self, dc, propGrid, cell, flags): # real signature unknown; restored from __doc__
        """
        PostDrawCell(dc, propGrid, cell, flags) -> None
        
        Utility to be called after drawing is done, to revert whatever changes
        PreDrawCell() did.
        """
        pass

    def PreDrawCell(self, dc, rect, propGrid, cell, flags): # real signature unknown; restored from __doc__
        """
        PreDrawCell(dc, rect, propGrid, cell, flags) -> int
        
        Utility to render cell bitmap and set text colour plus bg brush
        colour.
        """
        return 0

    def Render(self, dc, rect, propertyGrid, property, column, item, flags): # real signature unknown; restored from __doc__
        """
        Render(dc, rect, propertyGrid, property, column, item, flags) -> bool
        
        Returns true if rendered something in the foreground (text or bitmap).
        """
        return False

    def __init__(self): # real signature unknown; restored from __doc__
        pass

    ChoicePopup = 131072
    Control = 262144
    Disabled = 524288
    DontUseCellBgCol = 2097152
    DontUseCellColours = 3145728
    DontUseCellFgCol = 1048576
    Selected = 65536


