acquire the internal grid (GetGrid()) or wxPropertyGridPage object (GetPage()).
wxPropertyGridManager constructor has exact same format as wxPropertyGrid
- constructor, and basicly accepts same extra window style flags (albeit also
+ constructor, and basically accepts same extra window style flags (albeit also
has some extra ones).
Here's some example code for creating and populating a wxPropertyGridManager:
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxPGMAN_DEFAULT_STYLE,
- const wxChar* name = wxPropertyGridManagerNameStr );
+ const wxString& name = wxPropertyGridManagerNameStr );
/**
Enables or disables (shows/hides) categories according to parameter enable.
/** Returns index to currently selected page. */
int GetSelectedPage() const;
- /** Shortcut for GetGrid()->GetSelection(). */
+ /** Alias for GetSelection(). */
wxPGProperty* GetSelectedProperty() const;
- /** Synonyme for GetSelectedPage. */
- int GetSelection() const;
+ /** Shortcut for GetGrid()->GetSelection(). */
+ wxPGProperty* GetSelection() const;
/**
Returns a pointer to the toolbar currently associated with the
*/
void SetSplitterLeft( bool subProps = false, bool allPages = true );
+ /** Moves splitter as left as possible on an individual page, while still allowing all
+ labels to be shown in full.
+ */
+ void SetPageSplitterLeft(int page, bool subProps = false);
+
/**
Sets splitter position on individual page.
*/
void SetSplitterPosition( int pos, int column = 0 );
- /** Synonyme for SelectPage(name). */
- void SetStringSelection( const wxChar* name );
-
/**
Show or hide the property grid header control. It is hidden
by the default.