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

Function ui_edit_get_edit_ctrl

Pythonwin/win32view.cpp:715–725  ·  view source on GitHub ↗

@pymethod |PyCEditView|GetEditCtrl|returns the underlying edit control object.

Source from the content-addressed store, hash-verified

713
714// @pymethod <o PyCEditCtrl>|PyCEditView|GetEditCtrl|returns the underlying edit control object.
715static PyObject *
716ui_edit_get_edit_ctrl(PyObject *self, PyObject *args)
717{
718 CPythonEditView *pView = GetEditViewPtr(self);
719 if (!pView)
720 return NULL;
721 GUI_BGN_SAVE;
722 CEdit &ed = pView->GetEditCtrl();
723 GUI_END_SAVE;
724 return ui_assoc_object::make( UITypeFromCObject(&ed), &ed )->GetGoodRet();
725}
726
727// @pymethod |PyCEditView|SetModifiedFlag|Sets the modified flag for the view's document.
728static PyObject *

Callers

nothing calls this directly

Calls 2

GetEditViewPtrFunction · 0.85
GetGoodRetMethod · 0.80

Tested by

no test coverage detected