@pymethod int|PyCListCtrl|DeleteColumn|Deletes the specified column from the list control.
| 388 | |
| 389 | // @pymethod int|PyCListCtrl|DeleteColumn|Deletes the specified column from the list control. |
| 390 | PyObject *PyCListCtrl_DeleteColumn( PyObject *self, PyObject *args ) |
| 391 | { |
| 392 | int col; |
| 393 | if (!PyArg_ParseTuple( args, "i:DeleteColumn", |
| 394 | &col)) // @pyparm int|first||Index of the column to be removed. |
| 395 | return NULL; |
| 396 | CListCtrl *pList = GetListCtrl(self); |
| 397 | if (!pList) return NULL; |
| 398 | GUI_BGN_SAVE; |
| 399 | BOOL ok = pList->DeleteColumn(col); |
| 400 | GUI_END_SAVE; |
| 401 | if (!ok) |
| 402 | RETURN_ERR("DeleteColumn failed"); |
| 403 | RETURN_NONE; |
| 404 | } |
| 405 | |
| 406 | // @pymethod int|PyCListCtrl|SetColumnWidth|Sets the width of the specified column in the list control. |
| 407 | PyObject *PyCListCtrl_SetColumnWidth( PyObject *self, PyObject *args ) |
nothing calls this directly
no test coverage detected