@pymethod |PyCPropertySheet|GetTabCtrl|Returns the tab control used by the sheet.
| 292 | |
| 293 | // @pymethod <o PyCTabCtrl>|PyCPropertySheet|GetTabCtrl|Returns the tab control used by the sheet. |
| 294 | PyObject *ui_propsheet_get_tab_ctrl( PyObject *self, PyObject *args ) |
| 295 | { |
| 296 | CHECK_NO_ARGS(args); |
| 297 | CPythonPropertySheet *pPS; |
| 298 | if (!(pPS=GetPythonPropSheet(self))) |
| 299 | return NULL; |
| 300 | GUI_BGN_SAVE; |
| 301 | CTabCtrl *pTab = pPS->GetTabControl(); |
| 302 | GUI_END_SAVE; |
| 303 | if (pTab==NULL) |
| 304 | RETURN_ERR("The property page does not have a tab control"); |
| 305 | return ui_assoc_object::make( ui_tabctrl_object::type, pTab)->GetGoodRet(); |
| 306 | } |
| 307 | |
| 308 | // @pymethod int|PyCPropertySheet|DoModal|Displays the property sheet as a modal dialog. |
| 309 | PyObject *ui_propsheet_do_modal( PyObject *self, PyObject *args ) |
nothing calls this directly
no test coverage detected