⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 grid.py

📁 Wxpython Implemented on Windows CE, Source code
💻 PY
📖 第 1 页 / 共 5 页
字号:
        args[0].thisown = 0
        return val

_grid.GridCellEditor_swigregister(GridCellEditor)

class PyGridCellEditor(GridCellEditor):
    """Proxy of C++ PyGridCellEditor class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> PyGridCellEditor"""
        _grid.PyGridCellEditor_swiginit(self,_grid.new_PyGridCellEditor(*args, **kwargs))
        self._setCallbackInfo(self, PyGridCellEditor);self._setOORInfo(self)

    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
        return _grid.PyGridCellEditor__setCallbackInfo(*args, **kwargs)

    def SetParameters(*args, **kwargs):
        """SetParameters(self, String params)"""
        return _grid.PyGridCellEditor_SetParameters(*args, **kwargs)

    def base_SetSize(*args, **kw):
        return PyGridCellEditor.SetSize(*args, **kw)
    base_SetSize = wx._deprecated(base_SetSize,
                                   "Please use PyGridCellEditor.SetSize instead.")

    def base_Show(*args, **kw):
        return PyGridCellEditor.Show(*args, **kw)
    base_Show = wx._deprecated(base_Show,
                                   "Please use PyGridCellEditor.Show instead.")

    def base_PaintBackground(*args, **kw):
        return PyGridCellEditor.PaintBackground(*args, **kw)
    base_PaintBackground = wx._deprecated(base_PaintBackground,
                                   "Please use PyGridCellEditor.PaintBackground instead.")

    def base_IsAcceptedKey(*args, **kw):
        return PyGridCellEditor.IsAcceptedKey(*args, **kw)
    base_IsAcceptedKey = wx._deprecated(base_IsAcceptedKey,
                                   "Please use PyGridCellEditor.IsAcceptedKey instead.")

    def base_StartingKey(*args, **kw):
        return PyGridCellEditor.StartingKey(*args, **kw)
    base_StartingKey = wx._deprecated(base_StartingKey,
                                   "Please use PyGridCellEditor.StartingKey instead.")

    def base_StartingClick(*args, **kw):
        return PyGridCellEditor.StartingClick(*args, **kw)
    base_StartingClick = wx._deprecated(base_StartingClick,
                                   "Please use PyGridCellEditor.StartingClick instead.")

    def base_HandleReturn(*args, **kw):
        return PyGridCellEditor.HandleReturn(*args, **kw)
    base_HandleReturn = wx._deprecated(base_HandleReturn,
                                   "Please use PyGridCellEditor.HandleReturn instead.")

    def base_Destroy(*args, **kw):
        return PyGridCellEditor.Destroy(*args, **kw)
    base_Destroy = wx._deprecated(base_Destroy,
                                   "Please use PyGridCellEditor.Destroy instead.")

    def base_SetParameters(*args, **kw):
        return PyGridCellEditor.SetParameters(*args, **kw)
    base_SetParameters = wx._deprecated(base_SetParameters,
                                   "Please use PyGridCellEditor.SetParameters instead.")

_grid.PyGridCellEditor_swigregister(PyGridCellEditor)

class GridCellTextEditor(GridCellEditor):
    """Proxy of C++ GridCellTextEditor class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> GridCellTextEditor"""
        _grid.GridCellTextEditor_swiginit(self,_grid.new_GridCellTextEditor(*args, **kwargs))
        self._setOORInfo(self)

    def GetValue(*args, **kwargs):
        """GetValue(self) -> String"""
        return _grid.GridCellTextEditor_GetValue(*args, **kwargs)

_grid.GridCellTextEditor_swigregister(GridCellTextEditor)

class GridCellNumberEditor(GridCellTextEditor):
    """Proxy of C++ GridCellNumberEditor class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, int min=-1, int max=-1) -> GridCellNumberEditor"""
        _grid.GridCellNumberEditor_swiginit(self,_grid.new_GridCellNumberEditor(*args, **kwargs))
        self._setOORInfo(self)

_grid.GridCellNumberEditor_swigregister(GridCellNumberEditor)

class GridCellFloatEditor(GridCellTextEditor):
    """Proxy of C++ GridCellFloatEditor class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, int width=-1, int precision=-1) -> GridCellFloatEditor"""
        _grid.GridCellFloatEditor_swiginit(self,_grid.new_GridCellFloatEditor(*args, **kwargs))
        self._setOORInfo(self)

_grid.GridCellFloatEditor_swigregister(GridCellFloatEditor)

class GridCellBoolEditor(GridCellEditor):
    """Proxy of C++ GridCellBoolEditor class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> GridCellBoolEditor"""
        _grid.GridCellBoolEditor_swiginit(self,_grid.new_GridCellBoolEditor(*args, **kwargs))
        self._setOORInfo(self)

    def GetValue(*args, **kwargs):
        """GetValue(self) -> String"""
        return _grid.GridCellBoolEditor_GetValue(*args, **kwargs)

_grid.GridCellBoolEditor_swigregister(GridCellBoolEditor)

class GridCellChoiceEditor(GridCellEditor):
    """Proxy of C++ GridCellChoiceEditor class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, int choices=0, bool allowOthers=False) -> GridCellChoiceEditor"""
        _grid.GridCellChoiceEditor_swiginit(self,_grid.new_GridCellChoiceEditor(*args, **kwargs))
        self._setOORInfo(self)

    def GetValue(*args, **kwargs):
        """GetValue(self) -> String"""
        return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs)

_grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditor)

class GridCellEnumEditor(GridCellChoiceEditor):
    """Proxy of C++ GridCellEnumEditor class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, String choices=EmptyString) -> GridCellEnumEditor"""
        _grid.GridCellEnumEditor_swiginit(self,_grid.new_GridCellEnumEditor(*args, **kwargs))
        self._setOORInfo(self)

_grid.GridCellEnumEditor_swigregister(GridCellEnumEditor)

class GridCellAutoWrapStringEditor(GridCellTextEditor):
    """Proxy of C++ GridCellAutoWrapStringEditor class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> GridCellAutoWrapStringEditor"""
        _grid.GridCellAutoWrapStringEditor_swiginit(self,_grid.new_GridCellAutoWrapStringEditor(*args, **kwargs))
        self._setOORInfo(self)

_grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditor)

class GridCellAttr(object):
    """Proxy of C++ GridCellAttr class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    Any = _grid.GridCellAttr_Any
    Default = _grid.GridCellAttr_Default
    Cell = _grid.GridCellAttr_Cell
    Row = _grid.GridCellAttr_Row
    Col = _grid.GridCellAttr_Col
    Merged = _grid.GridCellAttr_Merged
    def _setOORInfo(*args, **kwargs):
        """_setOORInfo(self, PyObject _self)"""
        return _grid.GridCellAttr__setOORInfo(*args, **kwargs)

    def __init__(self, *args, **kwargs): 
        """__init__(self, GridCellAttr attrDefault=None) -> GridCellAttr"""
        _grid.GridCellAttr_swiginit(self,_grid.new_GridCellAttr(*args, **kwargs))
        self._setOORInfo(self)

    __swig_destroy__ = _grid.delete_GridCellAttr
    __del__ = lambda self : None;
    def Clone(*args, **kwargs):
        """Clone(self) -> GridCellAttr"""
        return _grid.GridCellAttr_Clone(*args, **kwargs)

    def MergeWith(*args, **kwargs):
        """MergeWith(self, GridCellAttr mergefrom)"""
        return _grid.GridCellAttr_MergeWith(*args, **kwargs)

    def IncRef(*args, **kwargs):
        """IncRef(self)"""
        return _grid.GridCellAttr_IncRef(*args, **kwargs)

    def DecRef(*args, **kwargs):
        """DecRef(self)"""
        return _grid.GridCellAttr_DecRef(*args, **kwargs)

    def SetTextColour(*args, **kwargs):
        """SetTextColour(self, Colour colText)"""
        return _grid.GridCellAttr_SetTextColour(*args, **kwargs)

    def SetBackgroundColour(*args, **kwargs):
        """SetBackgroundColour(self, Colour colBack)"""
        return _grid.GridCellAttr_SetBackgroundColour(*args, **kwargs)

    def SetFont(*args, **kwargs):
        """SetFont(self, Font font)"""
        return _grid.GridCellAttr_SetFont(*args, **kwargs)

    def SetAlignment(*args, **kwargs):
        """SetAlignment(self, int hAlign, int vAlign)"""
        return _grid.GridCellAttr_SetAlignment(*args, **kwargs)

    def SetSize(*args, **kwargs):
        """SetSize(self, int num_rows, int num_cols)"""
        return _grid.GridCellAttr_SetSize(*args, **kwargs)

    def SetOverflow(*args, **kwargs):
        """SetOverflow(self, bool allow=True)"""
        return _grid.GridCellAttr_SetOverflow(*args, **kwargs)

    def SetReadOnly(*args, **kwargs):
        """SetReadOnly(self, bool isReadOnly=True)"""
        return _grid.GridCellAttr_SetReadOnly(*args, **kwargs)

    def SetRenderer(*args, **kwargs):
        """SetRenderer(self, GridCellRenderer renderer)"""
        return _grid.GridCellAttr_SetRenderer(*args, **kwargs)

    def SetEditor(*args, **kwargs):
        """SetEditor(self, GridCellEditor editor)"""
        return _grid.GridCellAttr_SetEditor(*args, **kwargs)

    def SetKind(*args, **kwargs):
        """SetKind(self, int kind)"""
        return _grid.GridCellAttr_SetKind(*args, **kwargs)

    def HasTextColour(*args, **kwargs):
        """HasTextColour(self) -> bool"""
        return _grid.GridCellAttr_HasTextColour(*args, **kwargs)

    def HasBackgroundColour(*args, **kwargs):
        """HasBackgroundColour(self) -> bool"""
        return _grid.GridCellAttr_HasBackgroundColour(*args, **kwargs)

    def HasFont(*args, **kwargs):
        """HasFont(self) -> bool"""
        return _grid.GridCellAttr_HasFont(*args, **kwargs)

    def HasAlignment(*args, **kwargs):
        """HasAlignment(self) -> bool"""
        return _grid.GridCellAttr_HasAlignment(*args, **kwargs)

    def HasRenderer(*args, **kwargs):
        """HasRenderer(self) -> bool"""
        return _grid.GridCellAttr_HasRenderer(*args, **kwargs)

    def HasEditor(*args, **kwargs):
        """HasEditor(self) -> bool"""
        return _grid.GridCellAttr_HasEditor(*args, **kwargs)

    def HasReadWriteMode(*args, **kwargs):
        """HasReadWriteMode(self) -> bool"""
        return _grid.GridCellAttr_HasReadWriteMode(*args, **kwargs)

    def HasOverflowMode(*args, **kwargs):
        """HasOverflowMode(self) -> bool"""
        return _grid.GridCellAttr_HasOverflowMode(*args, **kwargs)

    def GetTextColour(*args, **kwargs):
        """GetTextColour(self) -> Colour"""
        return _grid.GridCellAttr_GetTextColour(*args, **kwargs)

    def GetBackgroundColour(*args, **kwargs):
        """GetBackgroundColour(self) -> Colour"""
        return _grid.GridCellAttr_GetBackgroundColour(*args, **kwargs)

    def GetFont(*args, **kwargs):
        """GetFont(self) -> Font"""
        return _grid.GridCellAttr_GetFont(*args, **kwargs)

    def GetAlignment(*args, **kwargs):
        """GetAlignment() -> (hAlign, vAlign)"""
        return _grid.GridCellAttr_GetAlignment(*args, **kwargs)

    def GetSize(*args, **kwargs):
        """GetSize() -> (num_rows, num_cols)"""
        return _grid.GridCellAttr_GetSize(*args, **kwargs)

    def GetOverflow(*args, **kwargs):
        """GetOverflow(self) -> bool"""
        return _grid.GridCellAttr_GetOverflow(*args, **kwargs)

    def GetRenderer(*args, **kwargs):
        """GetRenderer(self, Grid grid, int row, int col) -> GridCellRenderer"""
        return _grid.GridCellAttr_GetRenderer(*args, **kwargs)

    def GetEditor(*args, **kwargs):
        """GetEditor(self, Grid grid, int row, int col) -> GridCellEditor"""
        return _grid.GridCellAttr_GetEditor(*args, **kwargs)

    def IsReadOnly(*args, **kwargs):
        """IsReadOnly(self) -> bool"""
        return _grid.GridCellAttr_IsReadOnly(*args, **kwargs)

    def GetKind(*args, **kwargs):
        """GetKind(self) -> int"""
        return _grid.GridCellAttr_GetKind(*args, **kwargs)

    def SetDefAttr(*args, **kwargs):

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -