I started using wxpropgrig in Python. I use wxPropertyGridManager, but I couldn't figure out if there is a style I can use in order to have buttons for page selection instead of toolbar icons(regular buttons with labels instead of bitmap buttons).
I will be glad if somebody helps.
Sorry, toolbar is the only built-in method for page selection by user. Of course it is quite simple to implement your own, using buttons, tabs, combo boxes, or whatever (just call wxPropertyGridManager::SelectPage(index) whenever value changes in your 'selector' control).
Thank You very much for your reply!
I did use buttons, quite simple even for a newbie!
Have a great day!
A dirty hack could be used after wxPropertyGridManager is created.
m_PGM = new wxPropertyGridManager(...);
// Populating the grid
wxToolBar* pGridToolBar = m_PGM->GetToolBar();
wxTB_TEXT | wxTB_NO_TOOLTIPS| wxTB_NOICONS);
Log in to post a comment.