Contains low-level property page information (properties, column widths, etc.) of a single wx.propgrid.PropertyGrid or single wx.propgrid.PropertyGridPage.
Generally you should not use this class directly, but instead member functions in wx.propgrid.PropertyGridInterface, wx.propgrid.PropertyGrid, wx.propgrid.PropertyGridPage, and wx.propgrid.PropertyGridManager.
Note
Currently this class is not implemented in wxPython.
Default constructor. |
|
Makes sure all columns have minimum width. |
|
Override this member function to add custom behaviour on property deletion. |
|
Override this member function to add custom behaviour on property insertion. |
|
This needs to be overridden in grid used the manager so that splitter changes can be propagated to other pages. |
|
Make sure virtual height is up-to-date. |
|
Returns actual height of contained visible properties. |
|
Returns last item which could be iterated using given flags. |
|
Returns currently selected property. |
|
Returns (precalculated) height of contained visible properties. |
|
Returns combined width of margin and all the columns. |
|
Returns information about arbitrary position in the grid. |
|
Returns |
|
Called after virtual height needs to be recalculated. |
See |
|
See |
|
See |
|
See |
|
See |
|
See |
wx.propgrid.
PropertyGridPageState
(object)¶Possible constructors:
PropertyGridPageState()
Contains low-level property page information (properties, column widths, etc.) of a single PropertyGrid or single PropertyGridPage.
__init__
(self)¶Default constructor.
CheckColumnWidths
(self, widthChange=0)¶Makes sure all columns have minimum width.
widthChange (int) –
DoDelete
(self, item, doDelete=True)¶Override this member function to add custom behaviour on property deletion.
item (wx.propgrid.PGProperty) –
doDelete (bool) –
DoInsert
(self, parent, index, property)¶Override this member function to add custom behaviour on property insertion.
parent (wx.propgrid.PGProperty) –
index (int) –
property (wx.propgrid.PGProperty) –
DoSetSplitterPosition
(self, pos, splitterColumn=0, flags=0)¶This needs to be overridden in grid used the manager so that splitter changes can be propagated to other pages.
pos (int) –
splitterColumn (int) –
flags (int) –
EnableCategories
(self, enable)¶enable (bool) –
bool
EnsureVirtualHeight
(self)¶Make sure virtual height is up-to-date.
GetActualVirtualHeight
(self)¶Returns actual height of contained visible properties.
int
Note
Mostly used for internal diagnostic purposes.
GetColumnCount
(self)¶int
GetColumnFullWidth
(self, p, col)¶p (wx.propgrid.PGProperty) –
col (int) –
int
GetColumnMinWidth
(self, column)¶column (int) –
int
GetColumnWidth
(self, column)¶column (int) –
int
GetGrid
(self)¶GetLastItem
(self, flags=PG_ITERATE_DEFAULT)¶Returns last item which could be iterated using given flags.
flags (int) – PropertyGridIterator Flags
GetPropertyCategory
(self, p)¶p (wx.propgrid.PGProperty) –
GetSelection
(self)¶Returns currently selected property.
GetVirtualHeight
(self)¶Returns (precalculated) height of contained visible properties.
int
GetVirtualWidth
(self)¶Returns combined width of margin and all the columns.
int
HitTest
(self, pt)¶Returns information about arbitrary position in the grid.
pt (wx.Point) – Logical coordinates in the virtual grid space. Use wx.Scrolled.CalcUnscrolledPosition
if you need to translate a scrolled position into a logical one.
IsDisplayed
(self)¶Returns True
if page is visibly displayed.
bool
IsInNonCatMode
(self)¶bool
VirtualHeightChanged
(self)¶Called after virtual height needs to be recalculated.
ActualVirtualHeight
¶ColumnCount
¶See GetColumnCount
LastItem
¶See GetLastItem
Selection
¶See GetSelection
VirtualHeight
¶See GetVirtualHeight
VirtualWidth
¶See GetVirtualWidth