Added wxPropertyGridInterface::GetColumnProportion()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -870,9 +870,21 @@ public:
|
||||
|
||||
@remarks You should call this for individual pages of
|
||||
wxPropertyGridManager (if used).
|
||||
|
||||
@see GetColumnProportion()
|
||||
*/
|
||||
bool SetColumnProportion( unsigned int column, int proportion );
|
||||
|
||||
/**
|
||||
Returns auto-resize proportion of the given column.
|
||||
|
||||
@see SetColumnProportion()
|
||||
*/
|
||||
int GetColumnProportion( unsigned int column ) const
|
||||
{
|
||||
return m_pState->DoGetColumnProportion(column);
|
||||
}
|
||||
|
||||
/** Sets an attribute for this property.
|
||||
@param name
|
||||
Text identifier of attribute. See @ref propgrid_property_attributes.
|
||||
|
@@ -549,6 +549,11 @@ public:
|
||||
|
||||
void DoSetColumnProportion( unsigned int column, int proportion );
|
||||
|
||||
int DoGetColumnProportion( unsigned int column ) const
|
||||
{
|
||||
return m_columnProportions[column];
|
||||
}
|
||||
|
||||
wxPropertyCategory* GetPropertyCategory( const wxPGProperty* p ) const;
|
||||
|
||||
wxPGProperty* GetPropertyByLabel( const wxString& name,
|
||||
|
@@ -192,6 +192,13 @@ public:
|
||||
*/
|
||||
bool ExpandAll( bool expand = true );
|
||||
|
||||
/**
|
||||
Returns auto-resize proportion of the given column.
|
||||
|
||||
@see SetColumnProportion()
|
||||
*/
|
||||
int GetColumnProportion( unsigned int column ) const;
|
||||
|
||||
/**
|
||||
Returns id of first child of given property.
|
||||
|
||||
@@ -687,6 +694,8 @@ public:
|
||||
|
||||
@remarks You should call this for individual pages of
|
||||
wxPropertyGridManager (if used).
|
||||
|
||||
@see GetColumnProportion()
|
||||
*/
|
||||
bool SetColumnProportion( unsigned int column, int proportion );
|
||||
|
||||
|
Reference in New Issue
Block a user