# 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 PGProperty(__wx__core.Object):
    """
    PGProperty() -> None
    PGProperty(label, name) -> None
    
    wxPGProperty is base class for all wxPropertyGrid properties and as
    such it is not intended to be instantiated directly.
    """
    def AdaptListToValue(self, p_list, value): # real signature unknown; restored from __doc__
        """
        AdaptListToValue(list, value) -> None
        
        Adapts list variant into proper value using consecutive ChildChanged()
        calls.
        """
        pass

    def AddChoice(self, label, value=None): # real signature unknown; restored from __doc__
        """
        AddChoice(label, value=PG_INVALID_VALUE) -> int
        
        Append a new choice to property's list of choices.
        """
        return 0

    def AddPrivateChild(self, prop): # real signature unknown; restored from __doc__
        """
        AddPrivateChild(prop) -> None
        
        Adds a private child property.
        """
        pass

    def AppendChild(self, childProperty): # real signature unknown; restored from __doc__
        """
        AppendChild(childProperty) -> PGProperty
        
        Use this member function to add independent (i.e.
        """
        return PGProperty

    def AreAllChildrenSpecified(self, pendingList=None): # real signature unknown; restored from __doc__
        """
        AreAllChildrenSpecified(pendingList=None) -> bool
        
        Determines, recursively, if all children are not unspecified.
        """
        return False

    def AreChildrenComponents(self): # real signature unknown; restored from __doc__
        """
        AreChildrenComponents() -> bool
        
        Returns true if children of this property are component values (for
        instance, points size, face name, and is_underlined are component
        values of a font).
        """
        return False

    def ChangeFlag(self, flag, set): # real signature unknown; restored from __doc__
        """
        ChangeFlag(flag, set) -> None
        
        Sets or clears given property flag.
        """
        pass

    def ChildChanged(self, thisValue, childIndex, childValue): # real signature unknown; restored from __doc__
        """
        ChildChanged(thisValue, childIndex, childValue) -> PGVariant
        
        Called after value of a child property has been altered.
        """
        pass

    def DeleteChildren(self): # real signature unknown; restored from __doc__
        """
        DeleteChildren() -> None
        
        Deletes children of the property.
        """
        pass

    def DeleteChoice(self, index): # real signature unknown; restored from __doc__
        """
        DeleteChoice(index) -> None
        
        Removes entry from property's wxPGChoices and editor control (if it is
        active).
        """
        pass

    def DoGetAttribute(self, name): # real signature unknown; restored from __doc__
        """
        DoGetAttribute(name) -> PGVariant
        
        Returns value of an attribute.
        """
        pass

    def DoGetEditorClass(self): # real signature unknown; restored from __doc__
        """
        DoGetEditorClass() -> PGEditor
        
        Returns pointer to an instance of used editor.
        """
        return PGEditor

    def DoGetValidator(self): # real signature unknown; restored from __doc__
        """
        DoGetValidator() -> wx.Validator
        
        Returns pointer to the wxValidator that should be used with the editor
        of this property (NULL for no validator).
        """
        pass

    def DoGetValue(self): # real signature unknown; restored from __doc__
        """
        DoGetValue() -> PGVariant
        
        Override this to return something else than m_value as the value.
        """
        pass

    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 Enable(self, enable=True): # real signature unknown; restored from __doc__
        """
        Enable(enable=True) -> None
        
        Enables or disables the property.
        """
        pass

    def EnableCommonValue(self, enable=True): # real signature unknown; restored from __doc__
        """
        EnableCommonValue(enable=True) -> None
        
        Call to enable or disable usage of common value (integer value that
        can be selected for properties instead of their normal values) for
        this property.
        """
        pass

    def GenerateComposedValue(self): # real signature unknown; restored from __doc__
        """
        GenerateComposedValue() -> str
        
        Composes text from values of child properties.
        """
        return ""

    def GetAttribute(self, name, defVal=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        GetAttribute(name) -> PGVariant
        GetAttribute(name, defVal) -> str
        
        Returns property attribute value, null variant if not found.
        """
        return ""

    def GetAttributeAsDouble(self, name, defVal): # real signature unknown; restored from __doc__
        """
        GetAttributeAsDouble(name, defVal) -> float
        
        Returns named attribute, as double, if found.
        """
        return 0.0

    def GetAttributeAsLong(self, name, defVal): # real signature unknown; restored from __doc__
        """
        GetAttributeAsLong(name, defVal) -> int
        
        Returns named attribute, as long, if found.
        """
        return 0

    def GetAttributes(self): # real signature unknown; restored from __doc__
        """
        GetAttributes() -> Any
        
        Returns map-like storage of property's attributes.
        """
        pass

    def GetAttributesAsList(self): # real signature unknown; restored from __doc__
        """
        GetAttributesAsList() -> PGVariant
        
        Returns attributes as list wxVariant.
        """
        pass

    def GetBaseName(self): # real signature unknown; restored from __doc__
        """
        GetBaseName() -> str
        
        Returns property's base name (i.e.
        """
        return ""

    def GetCell(self, column): # real signature unknown; restored from __doc__
        """
        GetCell(column) -> PGCell
        
        Returns wxPGCell of given column, creating one if necessary.
        """
        return PGCell

    def GetCellRenderer(self, column): # real signature unknown; restored from __doc__
        """
        GetCellRenderer(column) -> PGCellRenderer
        
        Returns used wxPGCellRenderer instance for given property column
        (label=0, value=1).
        """
        return PGCellRenderer

    def GetChildCount(self): # real signature unknown; restored from __doc__
        """
        GetChildCount() -> int
        
        Returns number of child properties.
        """
        return 0

    def GetChildrenHeight(self, lh, iMax=-1): # real signature unknown; restored from __doc__
        """
        GetChildrenHeight(lh, iMax=-1) -> int
        
        Returns height of children, recursively, and by taking
        expanded/collapsed status into account.
        """
        return 0

    def GetChoices(self): # real signature unknown; restored from __doc__
        """
        GetChoices() -> PGChoices
        
        Returns read-only reference to property's list of choices.
        """
        return PGChoices

    def GetChoiceSelection(self): # real signature unknown; restored from __doc__
        """
        GetChoiceSelection() -> int
        
        Returns which choice is currently selected.
        """
        return 0

    def GetClientData(self): # real signature unknown; restored from __doc__
        """
        GetClientData() -> ClientData
        
        Gets managed client object of a property.
        """
        pass

    def GetColumnEditor(self, column): # real signature unknown; restored from __doc__
        """
        GetColumnEditor(column) -> PGEditor
        
        Returns editor used for given column.
        """
        return PGEditor

    def GetCommonValue(self): # real signature unknown; restored from __doc__
        """
        GetCommonValue() -> int
        
        Returns common value selected for this property.
        """
        return 0

    def GetDefaultValue(self): # real signature unknown; restored from __doc__
        """
        GetDefaultValue() -> PGVariant
        
        Returns property's default value.
        """
        pass

    def GetDepth(self): # real signature unknown; restored from __doc__
        """ GetDepth() -> int """
        return 0

    def GetDisplayedCommonValueCount(self): # real signature unknown; restored from __doc__
        """
        GetDisplayedCommonValueCount() -> int
        
        Return number of displayed common values for this property.
        """
        return 0

    def GetDisplayedString(self): # real signature unknown; restored from __doc__
        """
        GetDisplayedString() -> str
        
        Returns property's displayed text.
        """
        return ""

    def GetEditorClass(self): # real signature unknown; restored from __doc__
        """
        GetEditorClass() -> PGEditor
        
        Returns wxPGEditor that will be used and created when property becomes
        selected.
        """
        return PGEditor

    def GetEditorDialog(self): # real signature unknown; restored from __doc__
        """
        GetEditorDialog() -> PGEditorDialogAdapter
        
        Returns instance of a new wxPGEditorDialogAdapter instance, which is
        used when user presses the (optional) button next to the editor
        control;.
        """
        return PGEditorDialogAdapter

    def GetFlagsAsString(self, flagsMask): # real signature unknown; restored from __doc__
        """
        GetFlagsAsString(flagsMask) -> str
        
        Gets flags as a'|' delimited string.
        """
        return ""

    def GetGrid(self): # real signature unknown; restored from __doc__
        """
        GetGrid() -> PropertyGrid
        
        Returns property grid where property lies.
        """
        return PropertyGrid

    def GetGridIfDisplayed(self): # real signature unknown; restored from __doc__
        """
        GetGridIfDisplayed() -> PropertyGrid
        
        Returns owner wxPropertyGrid, but only if one is currently on a page
        displaying this property.
        """
        return PropertyGrid

    def GetHelpString(self): # real signature unknown; restored from __doc__
        """
        GetHelpString() -> str
        
        Returns property's help or description text.
        """
        return ""

    def GetHintText(self): # real signature unknown; restored from __doc__
        """
        GetHintText() -> str
        
        Returns property's hint text (shown in empty value cell).
        """
        return ""

    def GetImageOffset(self, imageWidth): # real signature unknown; restored from __doc__
        """
        GetImageOffset(imageWidth) -> int
        
        Converts image width into full image offset, with margins.
        """
        return 0

    def GetIndexInParent(self): # real signature unknown; restored from __doc__
        """
        GetIndexInParent() -> int
        
        Returns position in parent's array.
        """
        return 0

    def GetItemAtY(self, y): # real signature unknown; restored from __doc__
        """
        GetItemAtY(y) -> PGProperty
        
        Returns property at given virtual y coordinate.
        """
        return PGProperty

    def GetLabel(self): # real signature unknown; restored from __doc__
        """
        GetLabel() -> str
        
        Returns property's label.
        """
        return ""

    def GetLastVisibleSubItem(self): # real signature unknown; restored from __doc__
        """
        GetLastVisibleSubItem() -> PGProperty
        
        Returns last visible child property, recursively.
        """
        return PGProperty

    def GetMainParent(self): # real signature unknown; restored from __doc__
        """
        GetMainParent() -> PGProperty
        
        Returns highest level non-category, non-root parent.
        """
        return PGProperty

    def GetMaxLength(self): # real signature unknown; restored from __doc__
        """
        GetMaxLength() -> int
        
        Returns maximum allowed length of the text the user can enter in the
        property text editor.
        """
        return 0

    def GetName(self): # real signature unknown; restored from __doc__
        """
        GetName() -> str
        
        Returns property's name with all (non-category, non-root) parents.
        """
        return ""

    def GetOrCreateCell(self, column): # real signature unknown; restored from __doc__
        """
        GetOrCreateCell(column) -> PGCell
        
        Returns wxPGCell of given column, creating one if necessary.
        """
        return PGCell

    def GetParent(self): # real signature unknown; restored from __doc__
        """
        GetParent() -> PGProperty
        
        Return parent of property.
        """
        return PGProperty

    def GetPropertyByName(self, name): # real signature unknown; restored from __doc__
        """
        GetPropertyByName(name) -> PGProperty
        
        Returns (direct) child property with given name (or NULL if not
        found).
        """
        return PGProperty

    def GetValidator(self): # real signature unknown; restored from __doc__
        """
        GetValidator() -> wx.Validator
        
        Gets assignable version of property's validator.
        """
        pass

    def GetValue(self): # real signature unknown; restored from __doc__
        """
        GetValue() -> PGVariant
        
        Returns property's value.
        """
        pass

    def GetValueAsString(self, argFlags=0): # real signature unknown; restored from __doc__
        """
        GetValueAsString(argFlags=0) -> str
        
        Returns text representation of property's value.
        """
        return ""

    def GetValueImage(self): # real signature unknown; restored from __doc__
        """
        GetValueImage() -> wx.Bitmap
        
        Returns bitmap that appears next to value text.
        """
        pass

    def GetValueType(self): # real signature unknown; restored from __doc__
        """
        GetValueType() -> str
        
        Returns value type used by this property.
        """
        return ""

    def GetY(self): # real signature unknown; restored from __doc__
        """
        GetY() -> int
        
        Returns coordinate to the top y of the property.
        """
        return 0

    def HasFlag(self, flag): # real signature unknown; restored from __doc__
        """
        HasFlag(flag) -> bool
        
        Returns true if property has given flag set.
        """
        return False

    def HasFlagsExact(self, flags): # real signature unknown; restored from __doc__
        """
        HasFlagsExact(flags) -> bool
        
        Returns true if property has all given flags set.
        """
        return False

    def HasVisibleChildren(self): # real signature unknown; restored from __doc__
        """
        HasVisibleChildren() -> bool
        
        Returns true if property has even one visible child.
        """
        return False

    def Hide(self, hide, flags=None): # real signature unknown; restored from __doc__
        """
        Hide(hide, flags=PG_RECURSE) -> bool
        
        Hides or reveals the property.
        """
        return False

    def Index(self, p): # real signature unknown; restored from __doc__
        """
        Index(p) -> int
        
        Returns index of given child property.
        """
        return 0

    def InsertChild(self, index, childProperty): # real signature unknown; restored from __doc__
        """
        InsertChild(index, childProperty) -> PGProperty
        
        Use this member function to add independent (i.e.
        """
        return PGProperty

    def InsertChoice(self, label, index, value=None): # real signature unknown; restored from __doc__
        """
        InsertChoice(label, index, value=PG_INVALID_VALUE) -> int
        
        Inserts a new choice to property's list of choices.
        """
        return 0

    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 IsCategory(self): # real signature unknown; restored from __doc__
        """
        IsCategory() -> bool
        
        Returns true if this property is actually a wxPropertyCategory.
        """
        return False

    def IsEnabled(self): # real signature unknown; restored from __doc__
        """
        IsEnabled() -> bool
        
        Returns true if property is enabled.
        """
        return False

    def IsExpanded(self): # real signature unknown; restored from __doc__
        """
        IsExpanded() -> bool
        
        Returns true if property has visible children.
        """
        return False

    def IsRoot(self): # real signature unknown; restored from __doc__
        """
        IsRoot() -> bool
        
        Returns true if this property is actually a wxRootProperty.
        """
        return False

    def IsSomeParent(self, candidateParent): # real signature unknown; restored from __doc__
        """
        IsSomeParent(candidateParent) -> bool
        
        Returns true if candidateParent is some parent of this property.
        """
        return False

    def IsSubProperty(self): # real signature unknown; restored from __doc__
        """
        IsSubProperty() -> bool
        
        Returns true if this is a sub-property.
        """
        return False

    def IsTextEditable(self): # real signature unknown; restored from __doc__
        """
        IsTextEditable() -> bool
        
        Returns true if property has editable wxTextCtrl when selected.
        """
        return False

    def IsValueUnspecified(self): # real signature unknown; restored from __doc__
        """
        IsValueUnspecified() -> bool
        
        Returns true if property's value is considered unspecified.
        """
        return False

    def IsVisible(self): # real signature unknown; restored from __doc__
        """
        IsVisible() -> bool
        
        Returns true if all parents expanded.
        """
        return False

    def Item(self, i): # real signature unknown; restored from __doc__
        """
        Item(i) -> PGProperty
        
        Returns child property at index i.
        """
        return PGProperty

    def Last(self): # real signature unknown; restored from __doc__
        """
        Last() -> PGProperty
        
        Returns last sub-property.
        """
        return PGProperty

    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=-1): # real signature unknown; restored from __doc__
        """
        OnMeasureImage(item=-1) -> 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 OnValidationFailure(self, pendingValue): # real signature unknown; restored from __doc__
        """
        OnValidationFailure(pendingValue) -> None
        
        Called whenever validation has failed with given pending value.
        """
        pass

    def RecreateEditor(self): # real signature unknown; restored from __doc__
        """
        RecreateEditor() -> bool
        
        If property's editor is created this forces its recreation.
        """
        return False

    def RefreshChildren(self): # real signature unknown; restored from __doc__
        """
        RefreshChildren() -> None
        
        Refresh values of child properties.
        """
        pass

    def RefreshEditor(self): # real signature unknown; restored from __doc__
        """
        RefreshEditor() -> None
        
        If property's editor is active, then update it's value.
        """
        pass

    def SetAttribute(self, name, value): # real signature unknown; restored from __doc__
        """
        SetAttribute(name, value) -> None
        
        Sets an attribute for this property.
        """
        pass

    def SetAutoUnspecified(self, enable=True): # real signature unknown; restored from __doc__
        """
        SetAutoUnspecified(enable=True) -> None
        
        Set if user can change the property's value to unspecified by
        modifying the value of the editor control (usually by clearing it).
        """
        pass

    def SetBackgroundColour(self, colour, flags=None): # real signature unknown; restored from __doc__
        """
        SetBackgroundColour(colour, flags=PG_RECURSE) -> None
        
        Sets property's background colour.
        """
        pass

    def SetCell(self, column, cell): # real signature unknown; restored from __doc__
        """
        SetCell(column, cell) -> None
        
        Sets cell information for given column.
        """
        pass

    def SetChoices(self, choices): # real signature unknown; restored from __doc__
        """
        SetChoices(choices) -> bool
        
        Sets new set of choices for the property.
        """
        return False

    def SetChoiceSelection(self, newValue): # real signature unknown; restored from __doc__
        """
        SetChoiceSelection(newValue) -> None
        
        Sets selected choice and changes property value.
        """
        pass

    def SetClientData(self, data): # real signature unknown; restored from __doc__
        """
        SetClientData(data) -> None
        
        Sets client object of a property.
        """
        pass

    def SetCommonValue(self, commonValue): # real signature unknown; restored from __doc__
        """
        SetCommonValue(commonValue) -> None
        
        Sets common value selected for this property.
        """
        pass

    def SetDefaultColours(self, flags=None): # real signature unknown; restored from __doc__
        """
        SetDefaultColours(flags=PG_RECURSE) -> None
        
        Sets property's default text and background colours.
        """
        pass

    def SetDefaultValue(self, value): # real signature unknown; restored from __doc__
        """
        SetDefaultValue(value) -> None
        
        Set default value of a property.
        """
        pass

    def SetEditor(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        SetEditor(editor) -> None
        SetEditor(editorName) -> None
        
        Sets editor for a property.
        """
        pass

    def SetExpanded(self, expanded): # real signature unknown; restored from __doc__
        """ SetExpanded(expanded) -> None """
        pass

    def SetFlagRecursively(self, flag, set): # real signature unknown; restored from __doc__
        """
        SetFlagRecursively(flag, set) -> None
        
        Sets or clears given property flag, recursively.
        """
        pass

    def SetFlagsFromString(self, p_str): # real signature unknown; restored from __doc__
        """
        SetFlagsFromString(str) -> None
        
        Sets flags from a '|' delimited string.
        """
        pass

    def SetHelpString(self, helpString): # real signature unknown; restored from __doc__
        """
        SetHelpString(helpString) -> None
        
        Sets property's help string, which is shown, for example, in
        wxPropertyGridManager's description text box.
        """
        pass

    def SetLabel(self, label): # real signature unknown; restored from __doc__
        """
        SetLabel(label) -> None
        
        Sets property's label.
        """
        pass

    def SetMaxLength(self, maxLen): # real signature unknown; restored from __doc__
        """
        SetMaxLength(maxLen) -> bool
        
        Set maximum length of the text the user can enter in the text editor.
        """
        return False

    def SetModifiedStatus(self, modified): # real signature unknown; restored from __doc__
        """
        SetModifiedStatus(modified) -> None
        
        Sets property's "is it modified?" flag.
        """
        pass

    def SetName(self, newName): # real signature unknown; restored from __doc__
        """
        SetName(newName) -> None
        
        Sets new (base) name for property.
        """
        pass

    def SetParentalType(self, flag): # real signature unknown; restored from __doc__
        """
        SetParentalType(flag) -> None
        
        Changes what sort of parent this property is for its children.
        """
        pass

    def SetTextColour(self, colour, flags=None): # real signature unknown; restored from __doc__
        """
        SetTextColour(colour, flags=PG_RECURSE) -> None
        
        Sets property's text colour.
        """
        pass

    def SetValidator(self, validator): # real signature unknown; restored from __doc__
        """
        SetValidator(validator) -> None
        
        Sets wxValidator for a property.
        """
        pass

    def SetValue(self, value, pList=None, flags=None): # real signature unknown; restored from __doc__
        """
        SetValue(value, pList=None, flags=PG_SETVAL_REFRESH_EDITOR) -> None
        
        Call this to set value of the property.
        """
        pass

    def SetValueFromInt(self, value, flags=0): # real signature unknown; restored from __doc__
        """
        SetValueFromInt(value, flags=0) -> bool
        
        Converts integer to a value, and if successful, calls SetValue() on
        it.
        """
        return False

    def SetValueFromString(self, text, flags=None): # real signature unknown; restored from __doc__
        """
        SetValueFromString(text, flags=PG_PROGRAMMATIC_VALUE) -> bool
        
        Converts string to a value, and if successful, calls SetValue() on it.
        """
        return False

    def SetValueImage(self, bmp): # real signature unknown; restored from __doc__
        """
        SetValueImage(bmp) -> None
        
        Set wxBitmap taken from wxBitmapBundle in front of the value.
        """
        pass

    def SetValueInEvent(self, value): # real signature unknown; restored from __doc__
        """
        SetValueInEvent(value) -> None
        
        Call this function in OnEvent(), OnButtonClick() etc.
        """
        pass

    def SetValueToUnspecified(self): # real signature unknown; restored from __doc__
        """
        SetValueToUnspecified() -> None
        
        Sets property's value to unspecified (i.e.
        """
        pass

    def SetWasModified(self, set=True): # real signature unknown; restored from __doc__
        """
        SetWasModified(set=True) -> None
        
        Call with false in OnSetValue() to cancel value changes after all
        (i.e.
        """
        pass

    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 UpdateParentValues(self): # real signature unknown; restored from __doc__
        """
        UpdateParentValues() -> PGProperty
        
        Updates composed values of parent non-category properties,
        recursively.
        """
        return PGProperty

    def UsesAutoUnspecified(self): # real signature unknown; restored from __doc__
        """
        UsesAutoUnspecified() -> bool
        
        Returns true if containing grid uses wxPG_EX_AUTO_UNSPECIFIED_VALUES.
        """
        return False

    def ValidateValue(self, value, validationInfo): # real signature unknown; restored from __doc__
        """
        ValidateValue(value, validationInfo) -> bool
        
        Implement this function in derived class to check the value.
        """
        return False

    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): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    m_value = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetValue() -> PGVariant

Returns property's value."""


    m_clientData = None # (!) real value is '<sip.variabledescriptor object at 0x0000021EE5905380>'


