# encoding: utf-8
# module wx._grid
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_grid.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import sip as __sip
import wx._core as __wx__core


class GridCellAttr(__wx__core.SharedClientDataContainer, __wx__core.RefCounter):
    """
    GridCellAttr(attrDefault=None) -> None
    GridCellAttr(colText, colBack, font, hAlign, vAlign) -> None
    
    This class can be used to alter the cells' appearance in the grid by
    changing their attributes from the defaults.
    """
    def CanOverflow(self): # real signature unknown; restored from __doc__
        """
        CanOverflow() -> bool
        
        Returns true if the cell will draw an overflowed text into the
        neighbouring cells.
        """
        return False

    def Clone(self): # real signature unknown; restored from __doc__
        """
        Clone() -> GridCellAttr
        
        Creates a new copy of this object.
        """
        return GridCellAttr

    def DecRef(self): # real signature unknown; restored from __doc__ with multiple overloads
        """
        DecRef() -> None
        
        This class is reference counted: it is created with ref count of 1, so
        calling DecRef() once will delete it.
        """
        pass

    def GetAlignment(self): # real signature unknown; restored from __doc__
        """
        GetAlignment() -> Tuple[int, int]
        
        Get the alignment to use for the cell with the given attribute.
        """
        pass

    def GetBackgroundColour(self): # real signature unknown; restored from __doc__
        """
        GetBackgroundColour() -> wx.Colour
        
        Returns the background colour.
        """
        pass

    def GetEditor(self, grid, row, col): # real signature unknown; restored from __doc__
        """
        GetEditor(grid, row, col) -> GridCellEditor
        
        Returns the cell editor.
        """
        return GridCellEditor

    def GetEditorPtr(self, grid, row, col): # real signature unknown; restored from __doc__
        """
        GetEditorPtr(grid, row, col) -> GridCellEditorPtr
        
        Returns the cell editor.
        """
        return GridCellEditorPtr

    def GetFitMode(self): # real signature unknown; restored from __doc__
        """
        GetFitMode() -> GridFitMode
        
        Returns the fitting mode for the cells using this attribute.
        """
        return GridFitMode

    def GetFont(self): # real signature unknown; restored from __doc__
        """
        GetFont() -> wx.Font
        
        Returns the font.
        """
        pass

    def GetKind(self): # real signature unknown; restored from __doc__
        """ GetKind() -> AttrKind """
        pass

    def GetNonDefaultAlignment(self): # real signature unknown; restored from __doc__
        """
        GetNonDefaultAlignment() -> Tuple[int, int]
        
        Get the alignment defined by this attribute.
        """
        pass

    def GetOverflow(self): # real signature unknown; restored from __doc__
        """
        GetOverflow() -> bool
        
        Returns true if the cells using this attribute overflow into the
        neighbouring cells.
        """
        return False

    def GetRenderer(self, grid, row, col): # real signature unknown; restored from __doc__
        """
        GetRenderer(grid, row, col) -> GridCellRenderer
        
        Returns the cell renderer.
        """
        return GridCellRenderer

    def GetSize(self): # real signature unknown; restored from __doc__
        """ GetSize() -> Tuple[int, int] """
        pass

    def GetTextColour(self): # real signature unknown; restored from __doc__
        """
        GetTextColour() -> wx.Colour
        
        Returns the text colour.
        """
        pass

    def HasAlignment(self): # real signature unknown; restored from __doc__
        """
        HasAlignment() -> bool
        
        Returns true if this attribute has a valid alignment set.
        """
        return False

    def HasBackgroundColour(self): # real signature unknown; restored from __doc__
        """
        HasBackgroundColour() -> bool
        
        Returns true if this attribute has a valid background colour set.
        """
        return False

    def HasEditor(self): # real signature unknown; restored from __doc__
        """
        HasEditor() -> bool
        
        Returns true if this attribute has a valid cell editor set.
        """
        return False

    def HasFont(self): # real signature unknown; restored from __doc__
        """
        HasFont() -> bool
        
        Returns true if this attribute has a valid font set.
        """
        return False

    def HasOverflowMode(self): # real signature unknown; restored from __doc__
        """ HasOverflowMode() -> bool """
        return False

    def HasReadWriteMode(self): # real signature unknown; restored from __doc__
        """ HasReadWriteMode() -> bool """
        return False

    def HasRenderer(self): # real signature unknown; restored from __doc__
        """
        HasRenderer() -> bool
        
        Returns true if this attribute has a valid cell renderer set.
        """
        return False

    def HasSize(self): # real signature unknown; restored from __doc__
        """ HasSize() -> bool """
        return False

    def HasTextColour(self): # real signature unknown; restored from __doc__
        """
        HasTextColour() -> bool
        
        Returns true if this attribute has a valid text colour set.
        """
        return False

    def IncRef(self): # real signature unknown; restored from __doc__
        """
        IncRef() -> None
        
        This class is reference counted: it is created with ref count of 1, so
        calling DecRef() once will delete it.
        """
        pass

    def IsReadOnly(self): # real signature unknown; restored from __doc__
        """
        IsReadOnly() -> bool
        
        Returns true if this cell is set as read-only.
        """
        return False

    def MergeWith(self, mergefrom): # real signature unknown; restored from __doc__
        """ MergeWith(mergefrom) -> None """
        pass

    def SetAlignment(self, hAlign, vAlign): # real signature unknown; restored from __doc__
        """
        SetAlignment(hAlign, vAlign) -> None
        
        Sets the alignment.
        """
        pass

    def SetBackgroundColour(self, colBack): # real signature unknown; restored from __doc__
        """
        SetBackgroundColour(colBack) -> None
        
        Sets the background colour.
        """
        pass

    def SetDefAttr(self, defAttr): # real signature unknown; restored from __doc__
        """ SetDefAttr(defAttr) -> None """
        pass

    def SetEditor(self, editor): # real signature unknown; restored from __doc__
        """
        SetEditor(editor) -> None
        
        Sets the editor to be used with the cells with this attribute.
        """
        pass

    def SetFitMode(self, fitMode): # real signature unknown; restored from __doc__
        """
        SetFitMode(fitMode) -> None
        
        Specifies the behaviour of the cell contents if it doesn't fit into
        the available space.
        """
        pass

    def SetFont(self, font): # real signature unknown; restored from __doc__
        """
        SetFont(font) -> None
        
        Sets the font.
        """
        pass

    def SetKind(self, kind): # real signature unknown; restored from __doc__
        """ SetKind(kind) -> None """
        pass

    def SetOverflow(self, allow=True): # real signature unknown; restored from __doc__
        """
        SetOverflow(allow=True) -> None
        
        Specifies if cells using this attribute should overflow or clip their
        contents.
        """
        pass

    def SetReadOnly(self, isReadOnly=True): # real signature unknown; restored from __doc__
        """
        SetReadOnly(isReadOnly=True) -> None
        
        Sets the cell as read-only.
        """
        pass

    def SetRenderer(self, renderer): # real signature unknown; restored from __doc__
        """
        SetRenderer(renderer) -> None
        
        Sets the renderer to be used for cells with this attribute.
        """
        pass

    def SetSize(self, num_rows, num_cols): # real signature unknown; restored from __doc__
        """ SetSize(num_rows, num_cols) -> None """
        pass

    def SetTextColour(self, colText): # real signature unknown; restored from __doc__
        """
        SetTextColour(colText) -> None
        
        Sets the text colour.
        """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    BackgroundColour = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetBackgroundColour() -> wx.Colour

Returns the background colour."""

    FitMode = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetFitMode() -> GridFitMode

Returns the fitting mode for the cells using this attribute."""

    Font = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetFont() -> wx.Font

Returns the font."""

    Kind = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetKind() -> AttrKind"""

    Overflow = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetOverflow() -> bool

Returns true if the cells using this attribute overflow into the
neighbouring cells."""

    TextColour = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetTextColour() -> wx.Colour

Returns the text colour."""


    Any = 0
    AttrKind = None # (!) real value is "<class 'wx._grid.GridCellAttr.AttrKind'>"
    Cell = 2
    Col = 4
    Default = 1
    Merged = 5
    Row = 3


