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

Function PyCButton_get_style

Pythonwin/win32control.cpp:186–197  ·  view source on GitHub ↗

@pymethod int|PyCButton|GetButtonStyle|Gets the style of the button.

Source from the content-addressed store, hash-verified

184}
185// @pymethod int|PyCButton|GetButtonStyle|Gets the style of the button.
186static PyObject *
187PyCButton_get_style(PyObject *self, PyObject *args)
188{
189 CHECK_NO_ARGS(args);
190 CButton *pBut = GetButton(self);
191 if (!pBut)
192 return NULL;
193 GUI_BGN_SAVE;
194 int rc = pBut->GetButtonStyle();
195 GUI_END_SAVE;
196 return Py_BuildValue("i", rc);
197}
198// @pymethod int|PyCButton|SetButtonStyle|Sets the style of the button.
199static PyObject *
200PyCButton_set_style(PyObject *self, PyObject *args)

Callers

nothing calls this directly

Calls 1

GetButtonFunction · 0.85

Tested by

no test coverage detected