MCPcopy Create free account
hub / github.com/mhammond/pywin32 / PyCListView_get_list_ctrl

Function PyCListView_get_list_ctrl

Pythonwin/win32view.cpp:983–993  ·  view source on GitHub ↗

@pymethod |PyCListView|GetListCtrl|Returns the underlying list control object.

Source from the content-addressed store, hash-verified

981
982// @pymethod <o PyCListCtrl>|PyCListView|GetListCtrl|Returns the underlying list control object.
983static PyObject *
984PyCListView_get_list_ctrl(PyObject *self, PyObject *args)
985{
986 CListView *pView;
987 if (!(pView=GetListViewPtr(self)))
988 return NULL;
989 GUI_BGN_SAVE;
990 CListCtrl &lc = pView->GetListCtrl();
991 GUI_END_SAVE;
992 return ui_assoc_object::make( UITypeFromCObject(&lc), &lc )->GetGoodRet();
993}
994
995// @pymethod |PyCListView|OnCommand|Calls the standard Python framework OnCommand handler
996PyObject *

Callers

nothing calls this directly

Calls 2

GetListViewPtrFunction · 0.85
GetGoodRetMethod · 0.80

Tested by

no test coverage detected