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
In separate wx.propgrid.PropertyGrid component this class was known as PropertyGridState.
Currently this class is not implemented in wxPython.
Default constructor. |
|
Returns property by its name. |
|
Makes sure all columns have minimum width. |
|
Base append. |
|
Called in, for example, |
|
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 minimal width for given column so that all images and texts will fit entirely. |
|
Returns last item which could be iterated using given flags. |
|
Returns currently selected property. |
|
Returns (precalculated) height of contained visible properties. |
|
Returns information about arbitrary position in the grid. |
|
Returns |
|
widthChange is non-client. |
|
Recalculates m_virtualHeight. |
|
Set virtual width for this particular page. |
|
Called after virtual height needs to be recalculated. |
See |
|
See |
|
See |
|
See |
|
See |
|
See |
Possible constructors:
PropertyGridPageState()
Contains low-level property page information (properties, column widths, etc) of a single PropertyGrid or single PropertyGridPage.
Default constructor.
Returns property by its name.
name (string) –
vspacing (int) –
Makes sure all columns have minimum width.
widthChange (int) –
Base append.
property (wx.propgrid.PGProperty) –
Called in, for example, wx.propgrid.PropertyGrid.Clear
.
bool
p (wx.propgrid.PGProperty) –
bool
Override this member function to add custom behaviour on property deletion.
item (wx.propgrid.PGProperty) –
doDelete (bool) –
p (wx.propgrid.PGProperty) –
bool
allowGridResize (bool) –
Size
column (int) –
int
y (int) –
listname (string) –
baseparent (wx.propgrid.PGProperty) –
flags (long) –
PGVariant
p (wx.propgrid.PGProperty) –
hide (bool) –
flags (int) –
bool
Override this member function to add custom behaviour on property insertion.
parent (wx.propgrid.PGProperty) –
index (int) –
property (wx.propgrid.PGProperty) –
prop (wx.propgrid.PGProperty) –
bool
p (wx.propgrid.PGProperty) –
limit (bool) –
prop (wx.propgrid.PGProperty) –
p (wx.propgrid.PGProperty) –
flags (int) –
bool
column (int) –
proportion (int) –
p (wx.propgrid.PGProperty) –
newName (string) –
p (wx.propgrid.PGProperty) –
value (PGVariant) –
bool
p (wx.propgrid.PGProperty) –
value (string) –
bool
p (wx.propgrid.PGProperty) –
value (wx.Object) –
bool
list (PGVariantList) –
default_category (wx.propgrid.PGProperty) –
prop (wx.propgrid.PGProperty) –
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) –
flags (int) –
p (wx.propgrid.PGProperty) –
flags (int) –
enable (bool) –
bool
Make sure virtual height is up-to-date.
Returns actual height of contained visible properties.
int
Note
Mostly used for internal diagnostic purposes.
int
Returns minimal width for given column so that all images and texts will fit entirely.
Used by SetSplitterLeft
and DoFitColumns
.
dc (wx.ClientDC) –
pwc (wx.propgrid.PGProperty) –
col (int) –
subProps (bool) –
int
dc (wx.ClientDC) –
p (wx.propgrid.PGProperty) –
col (int) –
int
column (int) –
int
column (int) –
int
Returns last item which could be iterated using given flags.
flags (int) – List of iterator flags
name (string) –
parent (wx.propgrid.PGProperty) –
p (wx.propgrid.PGProperty) –
Returns currently selected property.
Returns (precalculated) height of contained visible properties.
int
int
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.
Returns True
if page is visibly displayed.
bool
bool
widthChange is non-client.
newWidth (int) –
widthChange (int) –
fromOnResize (bool) –
bool
column (int) –
decrease (int) –
dir (int) –
Recalculates m_virtualHeight.
setSplitterFlags (int) –
colCount (int) –
subProps (bool) –
Set virtual width for this particular page.
width (int) –
Called after virtual height needs to be recalculated.
See GetColumnCount
and SetColumnCount
See GetLastItem
See GetSelection
See GetVirtualHeight
See GetVirtualWidth
and SetVirtualWidth