# 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


from .EnumProperty import EnumProperty

class SystemColourProperty(EnumProperty):
    """
    SystemColourProperty(label=PG_LABEL, name=PG_LABEL, value=ColourPropertyValue()) -> None
    
    Has dropdown list of wxWidgets system colours.
    """
    def ColourToString(self, col, index, argFlags=0): # real signature unknown; restored from __doc__
        """
        ColourToString(col, index, argFlags=0) -> str
        
        Override in derived class to customize how colours are printed as
        strings.
        """
        return ""

    def DoSetAttribute(self, name, value): # real signature unknown; restored from __doc__
        """
        DoSetAttribute(name, value) -> bool
        
        Reimplement this member function to add special handling for
        attributes of this property.
        """
        return False

    def GetColour(self, index): # real signature unknown; restored from __doc__ with multiple overloads
        """
        GetColour(index) -> wx.Colour
        
        Default is to use wxSystemSettings::GetColour(index).
        """
        pass

    def GetCustomColourIndex(self): # real signature unknown; restored from __doc__
        """
        GetCustomColourIndex() -> int
        
        Returns index of entry that triggers colour picker dialog (default is
        last).
        """
        return 0

    def GetVal(self, pVariant=None): # real signature unknown; restored from __doc__
        """ GetVal(pVariant=None) -> ColourPropertyValue """
        return ColourPropertyValue

    def IntToValue(self, number, argFlags=0): # real signature unknown; restored from __doc__
        """
        IntToValue(number, argFlags=0) -> Tuple[bool, PGVariant]
        
        Converts integer (possibly a choice selection) into wxVariant value
        appropriate for this property.
        """
        pass

    def OnCustomPaint(self, dc, rect, paintdata): # real signature unknown; restored from __doc__
        """
        OnCustomPaint(dc, rect, paintdata) -> None
        
        Override to paint an image in front of the property value text or
        drop-down list item (but only if wxPGProperty::OnMeasureImage is
        overridden as well).
        """
        pass

    def OnEvent(self, propgrid, wnd_primary, event): # real signature unknown; restored from __doc__
        """
        OnEvent(propgrid, wnd_primary, event) -> bool
        
        Events received by editor widgets are processed here.
        """
        return False

    def OnMeasureImage(self, item): # real signature unknown; restored from __doc__
        """
        OnMeasureImage(item) -> wx.Size
        
        Returns size of the custom painted image in front of property.
        """
        pass

    def OnSetValue(self): # real signature unknown; restored from __doc__
        """
        OnSetValue() -> None
        
        This virtual function is called after m_value has been set.
        """
        pass

    def QueryColourFromUser(self, variant): # real signature unknown; restored from __doc__
        """ QueryColourFromUser(variant) -> bool """
        return False

    def StringToValue(self, text, argFlags=0): # real signature unknown; restored from __doc__
        """
        StringToValue(text, argFlags=0) -> Tuple[bool, PGVariant]
        
        Converts text into wxVariant value appropriate for this property.
        """
        pass

    def ValueToString(self, value, argFlags=0): # real signature unknown; restored from __doc__
        """
        ValueToString(value, argFlags=0) -> str
        
        Converts property value into a text representation.
        """
        return ""

    def __init__(self, label=None, name=None, value=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        pass

    CustomColourIndex = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetCustomColourIndex() -> int

Returns index of entry that triggers colour picker dialog (default is
last)."""

    Val = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetVal(pVariant=None) -> ColourPropertyValue"""



