@pymethod int|PyCButton|GetButtonStyle|Gets the style of the button.
| 184 | } |
| 185 | // @pymethod int|PyCButton|GetButtonStyle|Gets the style of the button. |
| 186 | static PyObject * |
| 187 | PyCButton_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. |
| 199 | static PyObject * |
| 200 | PyCButton_set_style(PyObject *self, PyObject *args) |
nothing calls this directly
no test coverage detected