Lines Matching refs:itself
41 ControlFontStyle_New(ControlFontStyleRec *itself)
44 return Py_BuildValue("hhhhhhO&O&", itself->flags, itself->font,
45 itself->size, itself->style, itself->mode, itself->just,
46 QdRGB_New, &itself->foreColor, QdRGB_New, &itself->backColor);
51 ControlFontStyle_Convert(PyObject *v, ControlFontStyleRec *itself) in ControlFontStyle_Convert() argument
53 return PyArg_Parse(v, "(hhhhhhO&O&)", &itself->flags, in ControlFontStyle_Convert()
54 &itself->font, &itself->size, &itself->style, &itself->mode, in ControlFontStyle_Convert()
55 &itself->just, QdRGB_Convert, &itself->foreColor, in ControlFontStyle_Convert()
56 QdRGB_Convert, &itself->backColor); in ControlFontStyle_Convert()
63 PyControlID_New(ControlID *itself) in PyControlID_New() argument
66 return Py_BuildValue("O&l", PyMac_BuildOSType, itself->signature, itself->id); in PyControlID_New()
70 PyControlID_Convert(PyObject *v, ControlID *itself) in PyControlID_Convert() argument
72 return PyArg_Parse(v, "(O&l)", PyMac_GetOSType, &itself->signature, &itself->id); in PyControlID_Convert()
79 DataBrowserTableViewColumnDesc_Convert(PyObject *v, DataBrowserTableViewColumnDesc *itself) in DataBrowserTableViewColumnDesc_Convert() argument
82 &itself->propertyID, in DataBrowserTableViewColumnDesc_Convert()
83 PyMac_GetOSType, &itself->propertyType, in DataBrowserTableViewColumnDesc_Convert()
84 &itself->propertyFlags); in DataBrowserTableViewColumnDesc_Convert()
88 ControlButtonContentInfo_Convert(PyObject *v, ControlButtonContentInfo *itself) in ControlButtonContentInfo_Convert() argument
91 &itself->contentType, in ControlButtonContentInfo_Convert()
92 OptResObj_Convert, &itself->u.iconSuite); in ControlButtonContentInfo_Convert()
96 DataBrowserListViewHeaderDesc_Convert(PyObject *v, DataBrowserListViewHeaderDesc *itself) in DataBrowserListViewHeaderDesc_Convert() argument
98 itself->version = kDataBrowserListViewLatestHeaderDesc; in DataBrowserListViewHeaderDesc_Convert()
100 &itself->minimumWidth, in DataBrowserListViewHeaderDesc_Convert()
101 &itself->maximumWidth, in DataBrowserListViewHeaderDesc_Convert()
102 &itself->titleOffset, in DataBrowserListViewHeaderDesc_Convert()
103 CFStringRefObj_Convert, &itself->titleString, in DataBrowserListViewHeaderDesc_Convert()
104 &itself->initialOrder, in DataBrowserListViewHeaderDesc_Convert()
105 ControlFontStyle_Convert, &itself->btnFontStyle, in DataBrowserListViewHeaderDesc_Convert()
106 ControlButtonContentInfo_Convert, &itself->btnContentInfo); in DataBrowserListViewHeaderDesc_Convert()
110 DataBrowserListViewColumnDesc_Convert(PyObject *v, DataBrowserListViewColumnDesc *itself) in DataBrowserListViewColumnDesc_Convert() argument
113 DataBrowserTableViewColumnDesc_Convert, &itself->propertyDesc, in DataBrowserListViewColumnDesc_Convert()
114 DataBrowserListViewHeaderDesc_Convert, &itself->headerBtnDesc); in DataBrowserListViewColumnDesc_Convert()
147 PyObject *CtlObj_New(ControlHandle itself) in CtlObj_New() argument
150 if (itself == NULL) return PyMac_Error(resNotFound); in CtlObj_New()
153 it->ob_itself = itself; in CtlObj_New()
154 SetControlReference(itself, (long)it); in CtlObj_New()
3856 ControlHandle itself; in CtlObj_tp_new() local
3859 if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CtlObj_Convert, &itself)) return NULL; in CtlObj_tp_new()
3861 ((ControlObject *)_self)->ob_itself = itself; in CtlObj_tp_new()
5532 CtlObj_NewUnmanaged(ControlHandle itself) in CtlObj_NewUnmanaged() argument
5535 if (itself == NULL) return PyMac_Error(resNotFound); in CtlObj_NewUnmanaged()
5538 it->ob_itself = itself; in CtlObj_NewUnmanaged()