Kaydet (Commit) 615e2505 authored tarafından Jack Jansen's avatar Jack Jansen

Many of the new calls are Carbon-only. Flagged them as such.

üst f839c270
...@@ -596,6 +596,8 @@ static PyObject *CtlObj_GetControlTitle(ControlObject *_self, PyObject *_args) ...@@ -596,6 +596,8 @@ static PyObject *CtlObj_GetControlTitle(ControlObject *_self, PyObject *_args)
return _res; return _res;
} }
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetControlTitleWithCFString(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetControlTitleWithCFString(ControlObject *_self, PyObject *_args)
{ {
PyObject *_res = NULL; PyObject *_res = NULL;
...@@ -614,6 +616,9 @@ static PyObject *CtlObj_SetControlTitleWithCFString(ControlObject *_self, PyObje ...@@ -614,6 +616,9 @@ static PyObject *CtlObj_SetControlTitleWithCFString(ControlObject *_self, PyObje
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_CopyControlTitleAsCFString(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_CopyControlTitleAsCFString(ControlObject *_self, PyObject *_args)
{ {
...@@ -632,6 +637,7 @@ static PyObject *CtlObj_CopyControlTitleAsCFString(ControlObject *_self, PyObjec ...@@ -632,6 +637,7 @@ static PyObject *CtlObj_CopyControlTitleAsCFString(ControlObject *_self, PyObjec
CFStringRefObj_New, outString); CFStringRefObj_New, outString);
return _res; return _res;
} }
#endif
static PyObject *CtlObj_GetControlValue(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetControlValue(ControlObject *_self, PyObject *_args)
{ {
...@@ -915,6 +921,8 @@ static PyObject *CtlObj_GetControlID(ControlObject *_self, PyObject *_args) ...@@ -915,6 +921,8 @@ static PyObject *CtlObj_GetControlID(ControlObject *_self, PyObject *_args)
} }
#endif #endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetControlCommandID(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetControlCommandID(ControlObject *_self, PyObject *_args)
{ {
PyObject *_res = NULL; PyObject *_res = NULL;
...@@ -933,6 +941,9 @@ static PyObject *CtlObj_SetControlCommandID(ControlObject *_self, PyObject *_arg ...@@ -933,6 +941,9 @@ static PyObject *CtlObj_SetControlCommandID(ControlObject *_self, PyObject *_arg
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetControlCommandID(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetControlCommandID(ControlObject *_self, PyObject *_args)
{ {
...@@ -951,6 +962,7 @@ static PyObject *CtlObj_GetControlCommandID(ControlObject *_self, PyObject *_arg ...@@ -951,6 +962,7 @@ static PyObject *CtlObj_GetControlCommandID(ControlObject *_self, PyObject *_arg
outCommandID); outCommandID);
return _res; return _res;
} }
#endif
static PyObject *CtlObj_RemoveControlProperty(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_RemoveControlProperty(ControlObject *_self, PyObject *_args)
{ {
...@@ -1749,6 +1761,8 @@ static PyObject *CtlObj_SetImageWellTransform(ControlObject *_self, PyObject *_a ...@@ -1749,6 +1761,8 @@ static PyObject *CtlObj_SetImageWellTransform(ControlObject *_self, PyObject *_a
return _res; return _res;
} }
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserViewStyle(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserViewStyle(ControlObject *_self, PyObject *_args)
{ {
PyObject *_res = NULL; PyObject *_res = NULL;
...@@ -1766,6 +1780,9 @@ static PyObject *CtlObj_GetDataBrowserViewStyle(ControlObject *_self, PyObject * ...@@ -1766,6 +1780,9 @@ static PyObject *CtlObj_GetDataBrowserViewStyle(ControlObject *_self, PyObject *
PyMac_BuildOSType, style); PyMac_BuildOSType, style);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserViewStyle(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserViewStyle(ControlObject *_self, PyObject *_args)
{ {
...@@ -1785,6 +1802,9 @@ static PyObject *CtlObj_SetDataBrowserViewStyle(ControlObject *_self, PyObject * ...@@ -1785,6 +1802,9 @@ static PyObject *CtlObj_SetDataBrowserViewStyle(ControlObject *_self, PyObject *
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_EnableDataBrowserEditCommand(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_EnableDataBrowserEditCommand(ControlObject *_self, PyObject *_args)
{ {
...@@ -1803,6 +1823,9 @@ static PyObject *CtlObj_EnableDataBrowserEditCommand(ControlObject *_self, PyObj ...@@ -1803,6 +1823,9 @@ static PyObject *CtlObj_EnableDataBrowserEditCommand(ControlObject *_self, PyObj
_rv); _rv);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_ExecuteDataBrowserEditCommand(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_ExecuteDataBrowserEditCommand(ControlObject *_self, PyObject *_args)
{ {
...@@ -1822,6 +1845,9 @@ static PyObject *CtlObj_ExecuteDataBrowserEditCommand(ControlObject *_self, PyOb ...@@ -1822,6 +1845,9 @@ static PyObject *CtlObj_ExecuteDataBrowserEditCommand(ControlObject *_self, PyOb
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserSelectionAnchor(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserSelectionAnchor(ControlObject *_self, PyObject *_args)
{ {
...@@ -1843,6 +1869,9 @@ static PyObject *CtlObj_GetDataBrowserSelectionAnchor(ControlObject *_self, PyOb ...@@ -1843,6 +1869,9 @@ static PyObject *CtlObj_GetDataBrowserSelectionAnchor(ControlObject *_self, PyOb
last); last);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_MoveDataBrowserSelectionAnchor(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_MoveDataBrowserSelectionAnchor(ControlObject *_self, PyObject *_args)
{ {
...@@ -1865,6 +1894,9 @@ static PyObject *CtlObj_MoveDataBrowserSelectionAnchor(ControlObject *_self, PyO ...@@ -1865,6 +1894,9 @@ static PyObject *CtlObj_MoveDataBrowserSelectionAnchor(ControlObject *_self, PyO
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_OpenDataBrowserContainer(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_OpenDataBrowserContainer(ControlObject *_self, PyObject *_args)
{ {
...@@ -1884,6 +1916,9 @@ static PyObject *CtlObj_OpenDataBrowserContainer(ControlObject *_self, PyObject ...@@ -1884,6 +1916,9 @@ static PyObject *CtlObj_OpenDataBrowserContainer(ControlObject *_self, PyObject
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_CloseDataBrowserContainer(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_CloseDataBrowserContainer(ControlObject *_self, PyObject *_args)
{ {
...@@ -1903,6 +1938,9 @@ static PyObject *CtlObj_CloseDataBrowserContainer(ControlObject *_self, PyObject ...@@ -1903,6 +1938,9 @@ static PyObject *CtlObj_CloseDataBrowserContainer(ControlObject *_self, PyObject
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SortDataBrowserContainer(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SortDataBrowserContainer(ControlObject *_self, PyObject *_args)
{ {
...@@ -1925,6 +1963,9 @@ static PyObject *CtlObj_SortDataBrowserContainer(ControlObject *_self, PyObject ...@@ -1925,6 +1963,9 @@ static PyObject *CtlObj_SortDataBrowserContainer(ControlObject *_self, PyObject
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserItems(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserItems(ControlObject *_self, PyObject *_args)
{ {
...@@ -1953,6 +1994,9 @@ static PyObject *CtlObj_GetDataBrowserItems(ControlObject *_self, PyObject *_arg ...@@ -1953,6 +1994,9 @@ static PyObject *CtlObj_GetDataBrowserItems(ControlObject *_self, PyObject *_arg
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserItemCount(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserItemCount(ControlObject *_self, PyObject *_args)
{ {
...@@ -1980,6 +2024,9 @@ static PyObject *CtlObj_GetDataBrowserItemCount(ControlObject *_self, PyObject * ...@@ -1980,6 +2024,9 @@ static PyObject *CtlObj_GetDataBrowserItemCount(ControlObject *_self, PyObject *
numItems); numItems);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_IsDataBrowserItemSelected(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_IsDataBrowserItemSelected(ControlObject *_self, PyObject *_args)
{ {
...@@ -1998,6 +2045,9 @@ static PyObject *CtlObj_IsDataBrowserItemSelected(ControlObject *_self, PyObject ...@@ -1998,6 +2045,9 @@ static PyObject *CtlObj_IsDataBrowserItemSelected(ControlObject *_self, PyObject
_rv); _rv);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserItemState(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserItemState(ControlObject *_self, PyObject *_args)
{ {
...@@ -2019,6 +2069,9 @@ static PyObject *CtlObj_GetDataBrowserItemState(ControlObject *_self, PyObject * ...@@ -2019,6 +2069,9 @@ static PyObject *CtlObj_GetDataBrowserItemState(ControlObject *_self, PyObject *
state); state);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_RevealDataBrowserItem(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_RevealDataBrowserItem(ControlObject *_self, PyObject *_args)
{ {
...@@ -2044,6 +2097,9 @@ static PyObject *CtlObj_RevealDataBrowserItem(ControlObject *_self, PyObject *_a ...@@ -2044,6 +2097,9 @@ static PyObject *CtlObj_RevealDataBrowserItem(ControlObject *_self, PyObject *_a
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserActiveItems(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserActiveItems(ControlObject *_self, PyObject *_args)
{ {
...@@ -2063,6 +2119,9 @@ static PyObject *CtlObj_SetDataBrowserActiveItems(ControlObject *_self, PyObject ...@@ -2063,6 +2119,9 @@ static PyObject *CtlObj_SetDataBrowserActiveItems(ControlObject *_self, PyObject
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserActiveItems(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserActiveItems(ControlObject *_self, PyObject *_args)
{ {
...@@ -2081,6 +2140,9 @@ static PyObject *CtlObj_GetDataBrowserActiveItems(ControlObject *_self, PyObject ...@@ -2081,6 +2140,9 @@ static PyObject *CtlObj_GetDataBrowserActiveItems(ControlObject *_self, PyObject
active); active);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserScrollBarInset(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserScrollBarInset(ControlObject *_self, PyObject *_args)
{ {
...@@ -2099,6 +2161,9 @@ static PyObject *CtlObj_SetDataBrowserScrollBarInset(ControlObject *_self, PyObj ...@@ -2099,6 +2161,9 @@ static PyObject *CtlObj_SetDataBrowserScrollBarInset(ControlObject *_self, PyObj
PyMac_BuildRect, &insetRect); PyMac_BuildRect, &insetRect);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserScrollBarInset(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserScrollBarInset(ControlObject *_self, PyObject *_args)
{ {
...@@ -2117,6 +2182,9 @@ static PyObject *CtlObj_GetDataBrowserScrollBarInset(ControlObject *_self, PyObj ...@@ -2117,6 +2182,9 @@ static PyObject *CtlObj_GetDataBrowserScrollBarInset(ControlObject *_self, PyObj
PyMac_BuildRect, &insetRect); PyMac_BuildRect, &insetRect);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTarget(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserTarget(ControlObject *_self, PyObject *_args)
{ {
...@@ -2136,6 +2204,9 @@ static PyObject *CtlObj_SetDataBrowserTarget(ControlObject *_self, PyObject *_ar ...@@ -2136,6 +2204,9 @@ static PyObject *CtlObj_SetDataBrowserTarget(ControlObject *_self, PyObject *_ar
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTarget(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTarget(ControlObject *_self, PyObject *_args)
{ {
...@@ -2154,6 +2225,9 @@ static PyObject *CtlObj_GetDataBrowserTarget(ControlObject *_self, PyObject *_ar ...@@ -2154,6 +2225,9 @@ static PyObject *CtlObj_GetDataBrowserTarget(ControlObject *_self, PyObject *_ar
target); target);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserSortOrder(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserSortOrder(ControlObject *_self, PyObject *_args)
{ {
...@@ -2173,6 +2247,9 @@ static PyObject *CtlObj_SetDataBrowserSortOrder(ControlObject *_self, PyObject * ...@@ -2173,6 +2247,9 @@ static PyObject *CtlObj_SetDataBrowserSortOrder(ControlObject *_self, PyObject *
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserSortOrder(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserSortOrder(ControlObject *_self, PyObject *_args)
{ {
...@@ -2191,6 +2268,9 @@ static PyObject *CtlObj_GetDataBrowserSortOrder(ControlObject *_self, PyObject * ...@@ -2191,6 +2268,9 @@ static PyObject *CtlObj_GetDataBrowserSortOrder(ControlObject *_self, PyObject *
order); order);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserScrollPosition(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserScrollPosition(ControlObject *_self, PyObject *_args)
{ {
...@@ -2213,6 +2293,9 @@ static PyObject *CtlObj_SetDataBrowserScrollPosition(ControlObject *_self, PyObj ...@@ -2213,6 +2293,9 @@ static PyObject *CtlObj_SetDataBrowserScrollPosition(ControlObject *_self, PyObj
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserScrollPosition(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserScrollPosition(ControlObject *_self, PyObject *_args)
{ {
...@@ -2234,6 +2317,9 @@ static PyObject *CtlObj_GetDataBrowserScrollPosition(ControlObject *_self, PyObj ...@@ -2234,6 +2317,9 @@ static PyObject *CtlObj_GetDataBrowserScrollPosition(ControlObject *_self, PyObj
left); left);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserHasScrollBars(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserHasScrollBars(ControlObject *_self, PyObject *_args)
{ {
...@@ -2256,6 +2342,9 @@ static PyObject *CtlObj_SetDataBrowserHasScrollBars(ControlObject *_self, PyObje ...@@ -2256,6 +2342,9 @@ static PyObject *CtlObj_SetDataBrowserHasScrollBars(ControlObject *_self, PyObje
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserHasScrollBars(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserHasScrollBars(ControlObject *_self, PyObject *_args)
{ {
...@@ -2277,6 +2366,9 @@ static PyObject *CtlObj_GetDataBrowserHasScrollBars(ControlObject *_self, PyObje ...@@ -2277,6 +2366,9 @@ static PyObject *CtlObj_GetDataBrowserHasScrollBars(ControlObject *_self, PyObje
vert); vert);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserSortProperty(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserSortProperty(ControlObject *_self, PyObject *_args)
{ {
...@@ -2296,6 +2388,9 @@ static PyObject *CtlObj_SetDataBrowserSortProperty(ControlObject *_self, PyObjec ...@@ -2296,6 +2388,9 @@ static PyObject *CtlObj_SetDataBrowserSortProperty(ControlObject *_self, PyObjec
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserSortProperty(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserSortProperty(ControlObject *_self, PyObject *_args)
{ {
...@@ -2314,6 +2409,9 @@ static PyObject *CtlObj_GetDataBrowserSortProperty(ControlObject *_self, PyObjec ...@@ -2314,6 +2409,9 @@ static PyObject *CtlObj_GetDataBrowserSortProperty(ControlObject *_self, PyObjec
property); property);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserSelectionFlags(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserSelectionFlags(ControlObject *_self, PyObject *_args)
{ {
...@@ -2333,6 +2431,9 @@ static PyObject *CtlObj_SetDataBrowserSelectionFlags(ControlObject *_self, PyObj ...@@ -2333,6 +2431,9 @@ static PyObject *CtlObj_SetDataBrowserSelectionFlags(ControlObject *_self, PyObj
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserSelectionFlags(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserSelectionFlags(ControlObject *_self, PyObject *_args)
{ {
...@@ -2351,6 +2452,9 @@ static PyObject *CtlObj_GetDataBrowserSelectionFlags(ControlObject *_self, PyObj ...@@ -2351,6 +2452,9 @@ static PyObject *CtlObj_GetDataBrowserSelectionFlags(ControlObject *_self, PyObj
selectionFlags); selectionFlags);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserPropertyFlags(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserPropertyFlags(ControlObject *_self, PyObject *_args)
{ {
...@@ -2373,6 +2477,9 @@ static PyObject *CtlObj_SetDataBrowserPropertyFlags(ControlObject *_self, PyObje ...@@ -2373,6 +2477,9 @@ static PyObject *CtlObj_SetDataBrowserPropertyFlags(ControlObject *_self, PyObje
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserPropertyFlags(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserPropertyFlags(ControlObject *_self, PyObject *_args)
{ {
...@@ -2394,6 +2501,9 @@ static PyObject *CtlObj_GetDataBrowserPropertyFlags(ControlObject *_self, PyObje ...@@ -2394,6 +2501,9 @@ static PyObject *CtlObj_GetDataBrowserPropertyFlags(ControlObject *_self, PyObje
flags); flags);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserEditText(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserEditText(ControlObject *_self, PyObject *_args)
{ {
...@@ -2413,6 +2523,9 @@ static PyObject *CtlObj_SetDataBrowserEditText(ControlObject *_self, PyObject *_ ...@@ -2413,6 +2523,9 @@ static PyObject *CtlObj_SetDataBrowserEditText(ControlObject *_self, PyObject *_
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserEditText(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserEditText(ControlObject *_self, PyObject *_args)
{ {
...@@ -2432,6 +2545,9 @@ static PyObject *CtlObj_GetDataBrowserEditText(ControlObject *_self, PyObject *_ ...@@ -2432,6 +2545,9 @@ static PyObject *CtlObj_GetDataBrowserEditText(ControlObject *_self, PyObject *_
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserEditItem(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserEditItem(ControlObject *_self, PyObject *_args)
{ {
...@@ -2454,6 +2570,9 @@ static PyObject *CtlObj_SetDataBrowserEditItem(ControlObject *_self, PyObject *_ ...@@ -2454,6 +2570,9 @@ static PyObject *CtlObj_SetDataBrowserEditItem(ControlObject *_self, PyObject *_
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserEditItem(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserEditItem(ControlObject *_self, PyObject *_args)
{ {
...@@ -2475,6 +2594,9 @@ static PyObject *CtlObj_GetDataBrowserEditItem(ControlObject *_self, PyObject *_ ...@@ -2475,6 +2594,9 @@ static PyObject *CtlObj_GetDataBrowserEditItem(ControlObject *_self, PyObject *_
property); property);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserItemPartBounds(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserItemPartBounds(ControlObject *_self, PyObject *_args)
{ {
...@@ -2502,6 +2624,9 @@ static PyObject *CtlObj_GetDataBrowserItemPartBounds(ControlObject *_self, PyObj ...@@ -2502,6 +2624,9 @@ static PyObject *CtlObj_GetDataBrowserItemPartBounds(ControlObject *_self, PyObj
PyMac_BuildRect, &bounds); PyMac_BuildRect, &bounds);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_RemoveDataBrowserTableViewColumn(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_RemoveDataBrowserTableViewColumn(ControlObject *_self, PyObject *_args)
{ {
...@@ -2521,6 +2646,9 @@ static PyObject *CtlObj_RemoveDataBrowserTableViewColumn(ControlObject *_self, P ...@@ -2521,6 +2646,9 @@ static PyObject *CtlObj_RemoveDataBrowserTableViewColumn(ControlObject *_self, P
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewColumnCount(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTableViewColumnCount(ControlObject *_self, PyObject *_args)
{ {
...@@ -2539,6 +2667,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewColumnCount(ControlObject *_self, ...@@ -2539,6 +2667,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewColumnCount(ControlObject *_self,
numColumns); numColumns);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewHiliteStyle(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserTableViewHiliteStyle(ControlObject *_self, PyObject *_args)
{ {
...@@ -2558,6 +2689,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewHiliteStyle(ControlObject *_self, ...@@ -2558,6 +2689,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewHiliteStyle(ControlObject *_self,
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewHiliteStyle(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTableViewHiliteStyle(ControlObject *_self, PyObject *_args)
{ {
...@@ -2576,6 +2710,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewHiliteStyle(ControlObject *_self, ...@@ -2576,6 +2710,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewHiliteStyle(ControlObject *_self,
hiliteStyle); hiliteStyle);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewRowHeight(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserTableViewRowHeight(ControlObject *_self, PyObject *_args)
{ {
...@@ -2595,6 +2732,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewRowHeight(ControlObject *_self, P ...@@ -2595,6 +2732,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewRowHeight(ControlObject *_self, P
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewRowHeight(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTableViewRowHeight(ControlObject *_self, PyObject *_args)
{ {
...@@ -2613,6 +2753,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewRowHeight(ControlObject *_self, P ...@@ -2613,6 +2753,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewRowHeight(ControlObject *_self, P
height); height);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewColumnWidth(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserTableViewColumnWidth(ControlObject *_self, PyObject *_args)
{ {
...@@ -2632,6 +2775,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewColumnWidth(ControlObject *_self, ...@@ -2632,6 +2775,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewColumnWidth(ControlObject *_self,
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewColumnWidth(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTableViewColumnWidth(ControlObject *_self, PyObject *_args)
{ {
...@@ -2650,6 +2796,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewColumnWidth(ControlObject *_self, ...@@ -2650,6 +2796,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewColumnWidth(ControlObject *_self,
width); width);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewItemRowHeight(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserTableViewItemRowHeight(ControlObject *_self, PyObject *_args)
{ {
...@@ -2672,6 +2821,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewItemRowHeight(ControlObject *_sel ...@@ -2672,6 +2821,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewItemRowHeight(ControlObject *_sel
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewItemRowHeight(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTableViewItemRowHeight(ControlObject *_self, PyObject *_args)
{ {
...@@ -2693,6 +2845,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewItemRowHeight(ControlObject *_sel ...@@ -2693,6 +2845,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewItemRowHeight(ControlObject *_sel
height); height);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewNamedColumnWidth(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserTableViewNamedColumnWidth(ControlObject *_self, PyObject *_args)
{ {
...@@ -2715,6 +2870,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewNamedColumnWidth(ControlObject *_ ...@@ -2715,6 +2870,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewNamedColumnWidth(ControlObject *_
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewNamedColumnWidth(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTableViewNamedColumnWidth(ControlObject *_self, PyObject *_args)
{ {
...@@ -2736,6 +2894,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewNamedColumnWidth(ControlObject *_ ...@@ -2736,6 +2894,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewNamedColumnWidth(ControlObject *_
width); width);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewGeometry(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserTableViewGeometry(ControlObject *_self, PyObject *_args)
{ {
...@@ -2758,6 +2919,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewGeometry(ControlObject *_self, Py ...@@ -2758,6 +2919,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewGeometry(ControlObject *_self, Py
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewGeometry(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTableViewGeometry(ControlObject *_self, PyObject *_args)
{ {
...@@ -2779,6 +2943,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewGeometry(ControlObject *_self, Py ...@@ -2779,6 +2943,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewGeometry(ControlObject *_self, Py
variableHeightRows); variableHeightRows);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewItemID(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTableViewItemID(ControlObject *_self, PyObject *_args)
{ {
...@@ -2800,6 +2967,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewItemID(ControlObject *_self, PyOb ...@@ -2800,6 +2967,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewItemID(ControlObject *_self, PyOb
item); item);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewItemRow(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserTableViewItemRow(ControlObject *_self, PyObject *_args)
{ {
...@@ -2822,6 +2992,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewItemRow(ControlObject *_self, PyO ...@@ -2822,6 +2992,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewItemRow(ControlObject *_self, PyO
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewItemRow(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTableViewItemRow(ControlObject *_self, PyObject *_args)
{ {
...@@ -2843,6 +3016,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewItemRow(ControlObject *_self, PyO ...@@ -2843,6 +3016,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewItemRow(ControlObject *_self, PyO
row); row);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewColumnPosition(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserTableViewColumnPosition(ControlObject *_self, PyObject *_args)
{ {
...@@ -2865,6 +3041,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewColumnPosition(ControlObject *_se ...@@ -2865,6 +3041,9 @@ static PyObject *CtlObj_SetDataBrowserTableViewColumnPosition(ControlObject *_se
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewColumnPosition(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTableViewColumnPosition(ControlObject *_self, PyObject *_args)
{ {
...@@ -2886,6 +3065,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewColumnPosition(ControlObject *_se ...@@ -2886,6 +3065,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewColumnPosition(ControlObject *_se
position); position);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewColumnProperty(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserTableViewColumnProperty(ControlObject *_self, PyObject *_args)
{ {
...@@ -2907,6 +3089,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewColumnProperty(ControlObject *_se ...@@ -2907,6 +3089,9 @@ static PyObject *CtlObj_GetDataBrowserTableViewColumnProperty(ControlObject *_se
property); property);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_AutoSizeDataBrowserListViewColumns(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_AutoSizeDataBrowserListViewColumns(ControlObject *_self, PyObject *_args)
{ {
...@@ -2923,6 +3108,9 @@ static PyObject *CtlObj_AutoSizeDataBrowserListViewColumns(ControlObject *_self, ...@@ -2923,6 +3108,9 @@ static PyObject *CtlObj_AutoSizeDataBrowserListViewColumns(ControlObject *_self,
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserListViewHeaderBtnHeight(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserListViewHeaderBtnHeight(ControlObject *_self, PyObject *_args)
{ {
...@@ -2942,6 +3130,9 @@ static PyObject *CtlObj_SetDataBrowserListViewHeaderBtnHeight(ControlObject *_se ...@@ -2942,6 +3130,9 @@ static PyObject *CtlObj_SetDataBrowserListViewHeaderBtnHeight(ControlObject *_se
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserListViewHeaderBtnHeight(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserListViewHeaderBtnHeight(ControlObject *_self, PyObject *_args)
{ {
...@@ -2960,6 +3151,9 @@ static PyObject *CtlObj_GetDataBrowserListViewHeaderBtnHeight(ControlObject *_se ...@@ -2960,6 +3151,9 @@ static PyObject *CtlObj_GetDataBrowserListViewHeaderBtnHeight(ControlObject *_se
height); height);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserListViewUsePlainBackground(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserListViewUsePlainBackground(ControlObject *_self, PyObject *_args)
{ {
...@@ -2979,6 +3173,9 @@ static PyObject *CtlObj_SetDataBrowserListViewUsePlainBackground(ControlObject * ...@@ -2979,6 +3173,9 @@ static PyObject *CtlObj_SetDataBrowserListViewUsePlainBackground(ControlObject *
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserListViewUsePlainBackground(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserListViewUsePlainBackground(ControlObject *_self, PyObject *_args)
{ {
...@@ -2997,6 +3194,9 @@ static PyObject *CtlObj_GetDataBrowserListViewUsePlainBackground(ControlObject * ...@@ -2997,6 +3194,9 @@ static PyObject *CtlObj_GetDataBrowserListViewUsePlainBackground(ControlObject *
usePlainBackground); usePlainBackground);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserListViewDisclosureColumn(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserListViewDisclosureColumn(ControlObject *_self, PyObject *_args)
{ {
...@@ -3019,6 +3219,9 @@ static PyObject *CtlObj_SetDataBrowserListViewDisclosureColumn(ControlObject *_s ...@@ -3019,6 +3219,9 @@ static PyObject *CtlObj_SetDataBrowserListViewDisclosureColumn(ControlObject *_s
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserListViewDisclosureColumn(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserListViewDisclosureColumn(ControlObject *_self, PyObject *_args)
{ {
...@@ -3040,6 +3243,9 @@ static PyObject *CtlObj_GetDataBrowserListViewDisclosureColumn(ControlObject *_s ...@@ -3040,6 +3243,9 @@ static PyObject *CtlObj_GetDataBrowserListViewDisclosureColumn(ControlObject *_s
expandableRows); expandableRows);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserColumnViewPath(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserColumnViewPath(ControlObject *_self, PyObject *_args)
{ {
...@@ -3059,6 +3265,9 @@ static PyObject *CtlObj_GetDataBrowserColumnViewPath(ControlObject *_self, PyObj ...@@ -3059,6 +3265,9 @@ static PyObject *CtlObj_GetDataBrowserColumnViewPath(ControlObject *_self, PyObj
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserColumnViewPathLength(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserColumnViewPathLength(ControlObject *_self, PyObject *_args)
{ {
...@@ -3077,6 +3286,9 @@ static PyObject *CtlObj_GetDataBrowserColumnViewPathLength(ControlObject *_self, ...@@ -3077,6 +3286,9 @@ static PyObject *CtlObj_GetDataBrowserColumnViewPathLength(ControlObject *_self,
pathLength); pathLength);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserColumnViewDisplayType(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_SetDataBrowserColumnViewDisplayType(ControlObject *_self, PyObject *_args)
{ {
...@@ -3096,6 +3308,9 @@ static PyObject *CtlObj_SetDataBrowserColumnViewDisplayType(ControlObject *_self ...@@ -3096,6 +3308,9 @@ static PyObject *CtlObj_SetDataBrowserColumnViewDisplayType(ControlObject *_self
_res = Py_None; _res = Py_None;
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserColumnViewDisplayType(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_GetDataBrowserColumnViewDisplayType(ControlObject *_self, PyObject *_args)
{ {
...@@ -3114,6 +3329,7 @@ static PyObject *CtlObj_GetDataBrowserColumnViewDisplayType(ControlObject *_self ...@@ -3114,6 +3329,7 @@ static PyObject *CtlObj_GetDataBrowserColumnViewDisplayType(ControlObject *_self
PyMac_BuildOSType, propertyType); PyMac_BuildOSType, propertyType);
return _res; return _res;
} }
#endif
static PyObject *CtlObj_as_Resource(ControlObject *_self, PyObject *_args) static PyObject *CtlObj_as_Resource(ControlObject *_self, PyObject *_args)
{ {
...@@ -3505,10 +3721,16 @@ static PyMethodDef CtlObj_methods[] = { ...@@ -3505,10 +3721,16 @@ static PyMethodDef CtlObj_methods[] = {
"(Str255 title) -> None"}, "(Str255 title) -> None"},
{"GetControlTitle", (PyCFunction)CtlObj_GetControlTitle, 1, {"GetControlTitle", (PyCFunction)CtlObj_GetControlTitle, 1,
"() -> (Str255 title)"}, "() -> (Str255 title)"},
#if TARGET_API_MAC_CARBON
{"SetControlTitleWithCFString", (PyCFunction)CtlObj_SetControlTitleWithCFString, 1, {"SetControlTitleWithCFString", (PyCFunction)CtlObj_SetControlTitleWithCFString, 1,
"(CFStringRef inString) -> None"}, "(CFStringRef inString) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"CopyControlTitleAsCFString", (PyCFunction)CtlObj_CopyControlTitleAsCFString, 1, {"CopyControlTitleAsCFString", (PyCFunction)CtlObj_CopyControlTitleAsCFString, 1,
"() -> (CFStringRef outString)"}, "() -> (CFStringRef outString)"},
#endif
{"GetControlValue", (PyCFunction)CtlObj_GetControlValue, 1, {"GetControlValue", (PyCFunction)CtlObj_GetControlValue, 1,
"() -> (SInt16 _rv)"}, "() -> (SInt16 _rv)"},
{"SetControlValue", (PyCFunction)CtlObj_SetControlValue, 1, {"SetControlValue", (PyCFunction)CtlObj_SetControlValue, 1,
...@@ -3549,10 +3771,16 @@ static PyMethodDef CtlObj_methods[] = { ...@@ -3549,10 +3771,16 @@ static PyMethodDef CtlObj_methods[] = {
{"GetControlID", (PyCFunction)CtlObj_GetControlID, 1, {"GetControlID", (PyCFunction)CtlObj_GetControlID, 1,
"() -> (ControlID outID)"}, "() -> (ControlID outID)"},
#endif #endif
#if TARGET_API_MAC_CARBON
{"SetControlCommandID", (PyCFunction)CtlObj_SetControlCommandID, 1, {"SetControlCommandID", (PyCFunction)CtlObj_SetControlCommandID, 1,
"(UInt32 inCommandID) -> None"}, "(UInt32 inCommandID) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetControlCommandID", (PyCFunction)CtlObj_GetControlCommandID, 1, {"GetControlCommandID", (PyCFunction)CtlObj_GetControlCommandID, 1,
"() -> (UInt32 outCommandID)"}, "() -> (UInt32 outCommandID)"},
#endif
{"RemoveControlProperty", (PyCFunction)CtlObj_RemoveControlProperty, 1, {"RemoveControlProperty", (PyCFunction)CtlObj_RemoveControlProperty, 1,
"(OSType propertyCreator, OSType propertyTag) -> None"}, "(OSType propertyCreator, OSType propertyTag) -> None"},
...@@ -3690,142 +3918,346 @@ static PyMethodDef CtlObj_methods[] = { ...@@ -3690,142 +3918,346 @@ static PyMethodDef CtlObj_methods[] = {
"(SInt16 inTabToHilite, Boolean inEnabled) -> None"}, "(SInt16 inTabToHilite, Boolean inEnabled) -> None"},
{"SetImageWellTransform", (PyCFunction)CtlObj_SetImageWellTransform, 1, {"SetImageWellTransform", (PyCFunction)CtlObj_SetImageWellTransform, 1,
"(IconTransformType inTransform) -> None"}, "(IconTransformType inTransform) -> None"},
#if TARGET_API_MAC_CARBON
{"GetDataBrowserViewStyle", (PyCFunction)CtlObj_GetDataBrowserViewStyle, 1, {"GetDataBrowserViewStyle", (PyCFunction)CtlObj_GetDataBrowserViewStyle, 1,
"() -> (OSType style)"}, "() -> (OSType style)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserViewStyle", (PyCFunction)CtlObj_SetDataBrowserViewStyle, 1, {"SetDataBrowserViewStyle", (PyCFunction)CtlObj_SetDataBrowserViewStyle, 1,
"(OSType style) -> None"}, "(OSType style) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"EnableDataBrowserEditCommand", (PyCFunction)CtlObj_EnableDataBrowserEditCommand, 1, {"EnableDataBrowserEditCommand", (PyCFunction)CtlObj_EnableDataBrowserEditCommand, 1,
"(UInt32 command) -> (Boolean _rv)"}, "(UInt32 command) -> (Boolean _rv)"},
#endif
#if TARGET_API_MAC_CARBON
{"ExecuteDataBrowserEditCommand", (PyCFunction)CtlObj_ExecuteDataBrowserEditCommand, 1, {"ExecuteDataBrowserEditCommand", (PyCFunction)CtlObj_ExecuteDataBrowserEditCommand, 1,
"(UInt32 command) -> None"}, "(UInt32 command) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserSelectionAnchor", (PyCFunction)CtlObj_GetDataBrowserSelectionAnchor, 1, {"GetDataBrowserSelectionAnchor", (PyCFunction)CtlObj_GetDataBrowserSelectionAnchor, 1,
"() -> (UInt32 first, UInt32 last)"}, "() -> (UInt32 first, UInt32 last)"},
#endif
#if TARGET_API_MAC_CARBON
{"MoveDataBrowserSelectionAnchor", (PyCFunction)CtlObj_MoveDataBrowserSelectionAnchor, 1, {"MoveDataBrowserSelectionAnchor", (PyCFunction)CtlObj_MoveDataBrowserSelectionAnchor, 1,
"(UInt32 direction, Boolean extendSelection) -> None"}, "(UInt32 direction, Boolean extendSelection) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"OpenDataBrowserContainer", (PyCFunction)CtlObj_OpenDataBrowserContainer, 1, {"OpenDataBrowserContainer", (PyCFunction)CtlObj_OpenDataBrowserContainer, 1,
"(UInt32 container) -> None"}, "(UInt32 container) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"CloseDataBrowserContainer", (PyCFunction)CtlObj_CloseDataBrowserContainer, 1, {"CloseDataBrowserContainer", (PyCFunction)CtlObj_CloseDataBrowserContainer, 1,
"(UInt32 container) -> None"}, "(UInt32 container) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"SortDataBrowserContainer", (PyCFunction)CtlObj_SortDataBrowserContainer, 1, {"SortDataBrowserContainer", (PyCFunction)CtlObj_SortDataBrowserContainer, 1,
"(UInt32 container, Boolean sortChildren) -> None"}, "(UInt32 container, Boolean sortChildren) -> None"},
{"GetDataBrowserItems", (PyCFunction)CtlObj_GetDataBrowserItems, 1, #endif
"(UInt32 container, Boolean recurse, UInt32 state, Handle items) -> None"},
#if TARGET_API_MAC_CARBON
{"GetDataBrowserItems", (PyCFunction)CtlObj_GetDataBrowserItems, 1,
"(UInt32 container, Boolean recurse, UInt32 state, Handle items) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserItemCount", (PyCFunction)CtlObj_GetDataBrowserItemCount, 1, {"GetDataBrowserItemCount", (PyCFunction)CtlObj_GetDataBrowserItemCount, 1,
"(UInt32 container, Boolean recurse, UInt32 state) -> (UInt32 numItems)"}, "(UInt32 container, Boolean recurse, UInt32 state) -> (UInt32 numItems)"},
#endif
#if TARGET_API_MAC_CARBON
{"IsDataBrowserItemSelected", (PyCFunction)CtlObj_IsDataBrowserItemSelected, 1, {"IsDataBrowserItemSelected", (PyCFunction)CtlObj_IsDataBrowserItemSelected, 1,
"(UInt32 item) -> (Boolean _rv)"}, "(UInt32 item) -> (Boolean _rv)"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserItemState", (PyCFunction)CtlObj_GetDataBrowserItemState, 1, {"GetDataBrowserItemState", (PyCFunction)CtlObj_GetDataBrowserItemState, 1,
"(UInt32 item) -> (UInt32 state)"}, "(UInt32 item) -> (UInt32 state)"},
#endif
#if TARGET_API_MAC_CARBON
{"RevealDataBrowserItem", (PyCFunction)CtlObj_RevealDataBrowserItem, 1, {"RevealDataBrowserItem", (PyCFunction)CtlObj_RevealDataBrowserItem, 1,
"(UInt32 item, UInt32 propertyID, UInt8 options) -> None"}, "(UInt32 item, UInt32 propertyID, UInt8 options) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserActiveItems", (PyCFunction)CtlObj_SetDataBrowserActiveItems, 1, {"SetDataBrowserActiveItems", (PyCFunction)CtlObj_SetDataBrowserActiveItems, 1,
"(Boolean active) -> None"}, "(Boolean active) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserActiveItems", (PyCFunction)CtlObj_GetDataBrowserActiveItems, 1, {"GetDataBrowserActiveItems", (PyCFunction)CtlObj_GetDataBrowserActiveItems, 1,
"() -> (Boolean active)"}, "() -> (Boolean active)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserScrollBarInset", (PyCFunction)CtlObj_SetDataBrowserScrollBarInset, 1, {"SetDataBrowserScrollBarInset", (PyCFunction)CtlObj_SetDataBrowserScrollBarInset, 1,
"() -> (Rect insetRect)"}, "() -> (Rect insetRect)"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserScrollBarInset", (PyCFunction)CtlObj_GetDataBrowserScrollBarInset, 1, {"GetDataBrowserScrollBarInset", (PyCFunction)CtlObj_GetDataBrowserScrollBarInset, 1,
"() -> (Rect insetRect)"}, "() -> (Rect insetRect)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserTarget", (PyCFunction)CtlObj_SetDataBrowserTarget, 1, {"SetDataBrowserTarget", (PyCFunction)CtlObj_SetDataBrowserTarget, 1,
"(UInt32 target) -> None"}, "(UInt32 target) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTarget", (PyCFunction)CtlObj_GetDataBrowserTarget, 1, {"GetDataBrowserTarget", (PyCFunction)CtlObj_GetDataBrowserTarget, 1,
"() -> (UInt32 target)"}, "() -> (UInt32 target)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserSortOrder", (PyCFunction)CtlObj_SetDataBrowserSortOrder, 1, {"SetDataBrowserSortOrder", (PyCFunction)CtlObj_SetDataBrowserSortOrder, 1,
"(UInt16 order) -> None"}, "(UInt16 order) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserSortOrder", (PyCFunction)CtlObj_GetDataBrowserSortOrder, 1, {"GetDataBrowserSortOrder", (PyCFunction)CtlObj_GetDataBrowserSortOrder, 1,
"() -> (UInt16 order)"}, "() -> (UInt16 order)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserScrollPosition", (PyCFunction)CtlObj_SetDataBrowserScrollPosition, 1, {"SetDataBrowserScrollPosition", (PyCFunction)CtlObj_SetDataBrowserScrollPosition, 1,
"(UInt32 top, UInt32 left) -> None"}, "(UInt32 top, UInt32 left) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserScrollPosition", (PyCFunction)CtlObj_GetDataBrowserScrollPosition, 1, {"GetDataBrowserScrollPosition", (PyCFunction)CtlObj_GetDataBrowserScrollPosition, 1,
"() -> (UInt32 top, UInt32 left)"}, "() -> (UInt32 top, UInt32 left)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserHasScrollBars", (PyCFunction)CtlObj_SetDataBrowserHasScrollBars, 1, {"SetDataBrowserHasScrollBars", (PyCFunction)CtlObj_SetDataBrowserHasScrollBars, 1,
"(Boolean horiz, Boolean vert) -> None"}, "(Boolean horiz, Boolean vert) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserHasScrollBars", (PyCFunction)CtlObj_GetDataBrowserHasScrollBars, 1, {"GetDataBrowserHasScrollBars", (PyCFunction)CtlObj_GetDataBrowserHasScrollBars, 1,
"() -> (Boolean horiz, Boolean vert)"}, "() -> (Boolean horiz, Boolean vert)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserSortProperty", (PyCFunction)CtlObj_SetDataBrowserSortProperty, 1, {"SetDataBrowserSortProperty", (PyCFunction)CtlObj_SetDataBrowserSortProperty, 1,
"(UInt32 property) -> None"}, "(UInt32 property) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserSortProperty", (PyCFunction)CtlObj_GetDataBrowserSortProperty, 1, {"GetDataBrowserSortProperty", (PyCFunction)CtlObj_GetDataBrowserSortProperty, 1,
"() -> (UInt32 property)"}, "() -> (UInt32 property)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserSelectionFlags", (PyCFunction)CtlObj_SetDataBrowserSelectionFlags, 1, {"SetDataBrowserSelectionFlags", (PyCFunction)CtlObj_SetDataBrowserSelectionFlags, 1,
"(UInt32 selectionFlags) -> None"}, "(UInt32 selectionFlags) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserSelectionFlags", (PyCFunction)CtlObj_GetDataBrowserSelectionFlags, 1, {"GetDataBrowserSelectionFlags", (PyCFunction)CtlObj_GetDataBrowserSelectionFlags, 1,
"() -> (UInt32 selectionFlags)"}, "() -> (UInt32 selectionFlags)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserPropertyFlags", (PyCFunction)CtlObj_SetDataBrowserPropertyFlags, 1, {"SetDataBrowserPropertyFlags", (PyCFunction)CtlObj_SetDataBrowserPropertyFlags, 1,
"(UInt32 property, UInt32 flags) -> None"}, "(UInt32 property, UInt32 flags) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserPropertyFlags", (PyCFunction)CtlObj_GetDataBrowserPropertyFlags, 1, {"GetDataBrowserPropertyFlags", (PyCFunction)CtlObj_GetDataBrowserPropertyFlags, 1,
"(UInt32 property) -> (UInt32 flags)"}, "(UInt32 property) -> (UInt32 flags)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserEditText", (PyCFunction)CtlObj_SetDataBrowserEditText, 1, {"SetDataBrowserEditText", (PyCFunction)CtlObj_SetDataBrowserEditText, 1,
"(CFStringRef text) -> None"}, "(CFStringRef text) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserEditText", (PyCFunction)CtlObj_GetDataBrowserEditText, 1, {"GetDataBrowserEditText", (PyCFunction)CtlObj_GetDataBrowserEditText, 1,
"(CFMutableStringRef text) -> None"}, "(CFMutableStringRef text) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserEditItem", (PyCFunction)CtlObj_SetDataBrowserEditItem, 1, {"SetDataBrowserEditItem", (PyCFunction)CtlObj_SetDataBrowserEditItem, 1,
"(UInt32 item, UInt32 property) -> None"}, "(UInt32 item, UInt32 property) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserEditItem", (PyCFunction)CtlObj_GetDataBrowserEditItem, 1, {"GetDataBrowserEditItem", (PyCFunction)CtlObj_GetDataBrowserEditItem, 1,
"() -> (UInt32 item, UInt32 property)"}, "() -> (UInt32 item, UInt32 property)"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserItemPartBounds", (PyCFunction)CtlObj_GetDataBrowserItemPartBounds, 1, {"GetDataBrowserItemPartBounds", (PyCFunction)CtlObj_GetDataBrowserItemPartBounds, 1,
"(UInt32 item, UInt32 property, OSType part) -> (Rect bounds)"}, "(UInt32 item, UInt32 property, OSType part) -> (Rect bounds)"},
#endif
#if TARGET_API_MAC_CARBON
{"RemoveDataBrowserTableViewColumn", (PyCFunction)CtlObj_RemoveDataBrowserTableViewColumn, 1, {"RemoveDataBrowserTableViewColumn", (PyCFunction)CtlObj_RemoveDataBrowserTableViewColumn, 1,
"(UInt32 column) -> None"}, "(UInt32 column) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewColumnCount", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnCount, 1, {"GetDataBrowserTableViewColumnCount", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnCount, 1,
"() -> (UInt32 numColumns)"}, "() -> (UInt32 numColumns)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewHiliteStyle", (PyCFunction)CtlObj_SetDataBrowserTableViewHiliteStyle, 1, {"SetDataBrowserTableViewHiliteStyle", (PyCFunction)CtlObj_SetDataBrowserTableViewHiliteStyle, 1,
"(UInt32 hiliteStyle) -> None"}, "(UInt32 hiliteStyle) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewHiliteStyle", (PyCFunction)CtlObj_GetDataBrowserTableViewHiliteStyle, 1, {"GetDataBrowserTableViewHiliteStyle", (PyCFunction)CtlObj_GetDataBrowserTableViewHiliteStyle, 1,
"() -> (UInt32 hiliteStyle)"}, "() -> (UInt32 hiliteStyle)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewRowHeight", (PyCFunction)CtlObj_SetDataBrowserTableViewRowHeight, 1, {"SetDataBrowserTableViewRowHeight", (PyCFunction)CtlObj_SetDataBrowserTableViewRowHeight, 1,
"(UInt16 height) -> None"}, "(UInt16 height) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewRowHeight", (PyCFunction)CtlObj_GetDataBrowserTableViewRowHeight, 1, {"GetDataBrowserTableViewRowHeight", (PyCFunction)CtlObj_GetDataBrowserTableViewRowHeight, 1,
"() -> (UInt16 height)"}, "() -> (UInt16 height)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewColumnWidth", (PyCFunction)CtlObj_SetDataBrowserTableViewColumnWidth, 1, {"SetDataBrowserTableViewColumnWidth", (PyCFunction)CtlObj_SetDataBrowserTableViewColumnWidth, 1,
"(UInt16 width) -> None"}, "(UInt16 width) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewColumnWidth", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnWidth, 1, {"GetDataBrowserTableViewColumnWidth", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnWidth, 1,
"() -> (UInt16 width)"}, "() -> (UInt16 width)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewItemRowHeight", (PyCFunction)CtlObj_SetDataBrowserTableViewItemRowHeight, 1, {"SetDataBrowserTableViewItemRowHeight", (PyCFunction)CtlObj_SetDataBrowserTableViewItemRowHeight, 1,
"(UInt32 item, UInt16 height) -> None"}, "(UInt32 item, UInt16 height) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewItemRowHeight", (PyCFunction)CtlObj_GetDataBrowserTableViewItemRowHeight, 1, {"GetDataBrowserTableViewItemRowHeight", (PyCFunction)CtlObj_GetDataBrowserTableViewItemRowHeight, 1,
"(UInt32 item) -> (UInt16 height)"}, "(UInt32 item) -> (UInt16 height)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewNamedColumnWidth", (PyCFunction)CtlObj_SetDataBrowserTableViewNamedColumnWidth, 1, {"SetDataBrowserTableViewNamedColumnWidth", (PyCFunction)CtlObj_SetDataBrowserTableViewNamedColumnWidth, 1,
"(UInt32 column, UInt16 width) -> None"}, "(UInt32 column, UInt16 width) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewNamedColumnWidth", (PyCFunction)CtlObj_GetDataBrowserTableViewNamedColumnWidth, 1, {"GetDataBrowserTableViewNamedColumnWidth", (PyCFunction)CtlObj_GetDataBrowserTableViewNamedColumnWidth, 1,
"(UInt32 column) -> (UInt16 width)"}, "(UInt32 column) -> (UInt16 width)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewGeometry", (PyCFunction)CtlObj_SetDataBrowserTableViewGeometry, 1, {"SetDataBrowserTableViewGeometry", (PyCFunction)CtlObj_SetDataBrowserTableViewGeometry, 1,
"(Boolean variableWidthColumns, Boolean variableHeightRows) -> None"}, "(Boolean variableWidthColumns, Boolean variableHeightRows) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewGeometry", (PyCFunction)CtlObj_GetDataBrowserTableViewGeometry, 1, {"GetDataBrowserTableViewGeometry", (PyCFunction)CtlObj_GetDataBrowserTableViewGeometry, 1,
"() -> (Boolean variableWidthColumns, Boolean variableHeightRows)"}, "() -> (Boolean variableWidthColumns, Boolean variableHeightRows)"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewItemID", (PyCFunction)CtlObj_GetDataBrowserTableViewItemID, 1, {"GetDataBrowserTableViewItemID", (PyCFunction)CtlObj_GetDataBrowserTableViewItemID, 1,
"(UInt32 row) -> (UInt32 item)"}, "(UInt32 row) -> (UInt32 item)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewItemRow", (PyCFunction)CtlObj_SetDataBrowserTableViewItemRow, 1, {"SetDataBrowserTableViewItemRow", (PyCFunction)CtlObj_SetDataBrowserTableViewItemRow, 1,
"(UInt32 item, UInt32 row) -> None"}, "(UInt32 item, UInt32 row) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewItemRow", (PyCFunction)CtlObj_GetDataBrowserTableViewItemRow, 1, {"GetDataBrowserTableViewItemRow", (PyCFunction)CtlObj_GetDataBrowserTableViewItemRow, 1,
"(UInt32 item) -> (UInt32 row)"}, "(UInt32 item) -> (UInt32 row)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewColumnPosition", (PyCFunction)CtlObj_SetDataBrowserTableViewColumnPosition, 1, {"SetDataBrowserTableViewColumnPosition", (PyCFunction)CtlObj_SetDataBrowserTableViewColumnPosition, 1,
"(UInt32 column, UInt32 position) -> None"}, "(UInt32 column, UInt32 position) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewColumnPosition", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnPosition, 1, {"GetDataBrowserTableViewColumnPosition", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnPosition, 1,
"(UInt32 column) -> (UInt32 position)"}, "(UInt32 column) -> (UInt32 position)"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewColumnProperty", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnProperty, 1, {"GetDataBrowserTableViewColumnProperty", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnProperty, 1,
"(UInt32 column) -> (UInt32 property)"}, "(UInt32 column) -> (UInt32 property)"},
#endif
#if TARGET_API_MAC_CARBON
{"AutoSizeDataBrowserListViewColumns", (PyCFunction)CtlObj_AutoSizeDataBrowserListViewColumns, 1, {"AutoSizeDataBrowserListViewColumns", (PyCFunction)CtlObj_AutoSizeDataBrowserListViewColumns, 1,
"() -> None"}, "() -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserListViewHeaderBtnHeight", (PyCFunction)CtlObj_SetDataBrowserListViewHeaderBtnHeight, 1, {"SetDataBrowserListViewHeaderBtnHeight", (PyCFunction)CtlObj_SetDataBrowserListViewHeaderBtnHeight, 1,
"(UInt16 height) -> None"}, "(UInt16 height) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserListViewHeaderBtnHeight", (PyCFunction)CtlObj_GetDataBrowserListViewHeaderBtnHeight, 1, {"GetDataBrowserListViewHeaderBtnHeight", (PyCFunction)CtlObj_GetDataBrowserListViewHeaderBtnHeight, 1,
"() -> (UInt16 height)"}, "() -> (UInt16 height)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserListViewUsePlainBackground", (PyCFunction)CtlObj_SetDataBrowserListViewUsePlainBackground, 1, {"SetDataBrowserListViewUsePlainBackground", (PyCFunction)CtlObj_SetDataBrowserListViewUsePlainBackground, 1,
"(Boolean usePlainBackground) -> None"}, "(Boolean usePlainBackground) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserListViewUsePlainBackground", (PyCFunction)CtlObj_GetDataBrowserListViewUsePlainBackground, 1, {"GetDataBrowserListViewUsePlainBackground", (PyCFunction)CtlObj_GetDataBrowserListViewUsePlainBackground, 1,
"() -> (Boolean usePlainBackground)"}, "() -> (Boolean usePlainBackground)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserListViewDisclosureColumn", (PyCFunction)CtlObj_SetDataBrowserListViewDisclosureColumn, 1, {"SetDataBrowserListViewDisclosureColumn", (PyCFunction)CtlObj_SetDataBrowserListViewDisclosureColumn, 1,
"(UInt32 column, Boolean expandableRows) -> None"}, "(UInt32 column, Boolean expandableRows) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserListViewDisclosureColumn", (PyCFunction)CtlObj_GetDataBrowserListViewDisclosureColumn, 1, {"GetDataBrowserListViewDisclosureColumn", (PyCFunction)CtlObj_GetDataBrowserListViewDisclosureColumn, 1,
"() -> (UInt32 column, Boolean expandableRows)"}, "() -> (UInt32 column, Boolean expandableRows)"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserColumnViewPath", (PyCFunction)CtlObj_GetDataBrowserColumnViewPath, 1, {"GetDataBrowserColumnViewPath", (PyCFunction)CtlObj_GetDataBrowserColumnViewPath, 1,
"(Handle path) -> None"}, "(Handle path) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserColumnViewPathLength", (PyCFunction)CtlObj_GetDataBrowserColumnViewPathLength, 1, {"GetDataBrowserColumnViewPathLength", (PyCFunction)CtlObj_GetDataBrowserColumnViewPathLength, 1,
"() -> (UInt32 pathLength)"}, "() -> (UInt32 pathLength)"},
#endif
#if TARGET_API_MAC_CARBON
{"SetDataBrowserColumnViewDisplayType", (PyCFunction)CtlObj_SetDataBrowserColumnViewDisplayType, 1, {"SetDataBrowserColumnViewDisplayType", (PyCFunction)CtlObj_SetDataBrowserColumnViewDisplayType, 1,
"(OSType propertyType) -> None"}, "(OSType propertyType) -> None"},
#endif
#if TARGET_API_MAC_CARBON
{"GetDataBrowserColumnViewDisplayType", (PyCFunction)CtlObj_GetDataBrowserColumnViewDisplayType, 1, {"GetDataBrowserColumnViewDisplayType", (PyCFunction)CtlObj_GetDataBrowserColumnViewDisplayType, 1,
"() -> (OSType propertyType)"}, "() -> (OSType propertyType)"},
#endif
{"as_Resource", (PyCFunction)CtlObj_as_Resource, 1, {"as_Resource", (PyCFunction)CtlObj_as_Resource, 1,
"() -> (Handle _rv)"}, "() -> (Handle _rv)"},
{"GetControlRect", (PyCFunction)CtlObj_GetControlRect, 1, {"GetControlRect", (PyCFunction)CtlObj_GetControlRect, 1,
...@@ -4283,6 +4715,8 @@ static PyObject *Ctl_IsAutomaticControlDragTrackingEnabledForWindow(PyObject *_s ...@@ -4283,6 +4715,8 @@ static PyObject *Ctl_IsAutomaticControlDragTrackingEnabledForWindow(PyObject *_s
} }
#endif #endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateDisclosureTriangleControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateDisclosureTriangleControl(PyObject *_self, PyObject *_args)
{ {
PyObject *_res = NULL; PyObject *_res = NULL;
...@@ -4320,6 +4754,9 @@ static PyObject *Ctl_CreateDisclosureTriangleControl(PyObject *_self, PyObject * ...@@ -4320,6 +4754,9 @@ static PyObject *Ctl_CreateDisclosureTriangleControl(PyObject *_self, PyObject *
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateProgressBarControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateProgressBarControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4355,6 +4792,9 @@ static PyObject *Ctl_CreateProgressBarControl(PyObject *_self, PyObject *_args) ...@@ -4355,6 +4792,9 @@ static PyObject *Ctl_CreateProgressBarControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateLittleArrowsControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateLittleArrowsControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4390,6 +4830,9 @@ static PyObject *Ctl_CreateLittleArrowsControl(PyObject *_self, PyObject *_args) ...@@ -4390,6 +4830,9 @@ static PyObject *Ctl_CreateLittleArrowsControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateChasingArrowsControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateChasingArrowsControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4413,6 +4856,9 @@ static PyObject *Ctl_CreateChasingArrowsControl(PyObject *_self, PyObject *_args ...@@ -4413,6 +4856,9 @@ static PyObject *Ctl_CreateChasingArrowsControl(PyObject *_self, PyObject *_args
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateSeparatorControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateSeparatorControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4436,6 +4882,9 @@ static PyObject *Ctl_CreateSeparatorControl(PyObject *_self, PyObject *_args) ...@@ -4436,6 +4882,9 @@ static PyObject *Ctl_CreateSeparatorControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateGroupBoxControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateGroupBoxControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4465,6 +4914,9 @@ static PyObject *Ctl_CreateGroupBoxControl(PyObject *_self, PyObject *_args) ...@@ -4465,6 +4914,9 @@ static PyObject *Ctl_CreateGroupBoxControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateCheckGroupBoxControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateCheckGroupBoxControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4500,6 +4952,9 @@ static PyObject *Ctl_CreateCheckGroupBoxControl(PyObject *_self, PyObject *_args ...@@ -4500,6 +4952,9 @@ static PyObject *Ctl_CreateCheckGroupBoxControl(PyObject *_self, PyObject *_args
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreatePopupGroupBoxControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreatePopupGroupBoxControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4544,6 +4999,9 @@ static PyObject *Ctl_CreatePopupGroupBoxControl(PyObject *_self, PyObject *_args ...@@ -4544,6 +4999,9 @@ static PyObject *Ctl_CreatePopupGroupBoxControl(PyObject *_self, PyObject *_args
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreatePopupArrowControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreatePopupArrowControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4573,6 +5031,9 @@ static PyObject *Ctl_CreatePopupArrowControl(PyObject *_self, PyObject *_args) ...@@ -4573,6 +5031,9 @@ static PyObject *Ctl_CreatePopupArrowControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreatePlacardControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreatePlacardControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4596,6 +5057,9 @@ static PyObject *Ctl_CreatePlacardControl(PyObject *_self, PyObject *_args) ...@@ -4596,6 +5057,9 @@ static PyObject *Ctl_CreatePlacardControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateClockControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateClockControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4625,6 +5089,9 @@ static PyObject *Ctl_CreateClockControl(PyObject *_self, PyObject *_args) ...@@ -4625,6 +5089,9 @@ static PyObject *Ctl_CreateClockControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateUserPaneControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateUserPaneControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4651,6 +5118,9 @@ static PyObject *Ctl_CreateUserPaneControl(PyObject *_self, PyObject *_args) ...@@ -4651,6 +5118,9 @@ static PyObject *Ctl_CreateUserPaneControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateEditTextControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateEditTextControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4686,6 +5156,9 @@ static PyObject *Ctl_CreateEditTextControl(PyObject *_self, PyObject *_args) ...@@ -4686,6 +5156,9 @@ static PyObject *Ctl_CreateEditTextControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateStaticTextControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateStaticTextControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4715,6 +5188,9 @@ static PyObject *Ctl_CreateStaticTextControl(PyObject *_self, PyObject *_args) ...@@ -4715,6 +5188,9 @@ static PyObject *Ctl_CreateStaticTextControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateWindowHeaderControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateWindowHeaderControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4741,6 +5217,9 @@ static PyObject *Ctl_CreateWindowHeaderControl(PyObject *_self, PyObject *_args) ...@@ -4741,6 +5217,9 @@ static PyObject *Ctl_CreateWindowHeaderControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreatePushButtonControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreatePushButtonControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4767,6 +5246,9 @@ static PyObject *Ctl_CreatePushButtonControl(PyObject *_self, PyObject *_args) ...@@ -4767,6 +5246,9 @@ static PyObject *Ctl_CreatePushButtonControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateRadioButtonControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateRadioButtonControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4799,6 +5281,9 @@ static PyObject *Ctl_CreateRadioButtonControl(PyObject *_self, PyObject *_args) ...@@ -4799,6 +5281,9 @@ static PyObject *Ctl_CreateRadioButtonControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateCheckBoxControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateCheckBoxControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4831,6 +5316,9 @@ static PyObject *Ctl_CreateCheckBoxControl(PyObject *_self, PyObject *_args) ...@@ -4831,6 +5316,9 @@ static PyObject *Ctl_CreateCheckBoxControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreatePopupButtonControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreatePopupButtonControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4872,6 +5360,9 @@ static PyObject *Ctl_CreatePopupButtonControl(PyObject *_self, PyObject *_args) ...@@ -4872,6 +5360,9 @@ static PyObject *Ctl_CreatePopupButtonControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateRadioGroupControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateRadioGroupControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4895,6 +5386,9 @@ static PyObject *Ctl_CreateRadioGroupControl(PyObject *_self, PyObject *_args) ...@@ -4895,6 +5386,9 @@ static PyObject *Ctl_CreateRadioGroupControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateScrollingTextBoxControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateScrollingTextBoxControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4933,6 +5427,9 @@ static PyObject *Ctl_CreateScrollingTextBoxControl(PyObject *_self, PyObject *_a ...@@ -4933,6 +5427,9 @@ static PyObject *Ctl_CreateScrollingTextBoxControl(PyObject *_self, PyObject *_a
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateDataBrowserControl(PyObject *_self, PyObject *_args) static PyObject *Ctl_CreateDataBrowserControl(PyObject *_self, PyObject *_args)
{ {
...@@ -4959,6 +5456,7 @@ static PyObject *Ctl_CreateDataBrowserControl(PyObject *_self, PyObject *_args) ...@@ -4959,6 +5456,7 @@ static PyObject *Ctl_CreateDataBrowserControl(PyObject *_self, PyObject *_args)
CtlObj_New, outControl); CtlObj_New, outControl);
return _res; return _res;
} }
#endif
static PyObject *Ctl_FindControlUnderMouse(PyObject *_self, PyObject *_args) static PyObject *Ctl_FindControlUnderMouse(PyObject *_self, PyObject *_args)
{ {
...@@ -5044,50 +5542,116 @@ static PyMethodDef Ctl_methods[] = { ...@@ -5044,50 +5542,116 @@ static PyMethodDef Ctl_methods[] = {
{"IsAutomaticControlDragTrackingEnabledForWindow", (PyCFunction)Ctl_IsAutomaticControlDragTrackingEnabledForWindow, 1, {"IsAutomaticControlDragTrackingEnabledForWindow", (PyCFunction)Ctl_IsAutomaticControlDragTrackingEnabledForWindow, 1,
"(WindowPtr theWindow) -> (Boolean tracks)"}, "(WindowPtr theWindow) -> (Boolean tracks)"},
#endif #endif
#if TARGET_API_MAC_CARBON
{"CreateDisclosureTriangleControl", (PyCFunction)Ctl_CreateDisclosureTriangleControl, 1, {"CreateDisclosureTriangleControl", (PyCFunction)Ctl_CreateDisclosureTriangleControl, 1,
"(WindowPtr window, Rect boundsRect, UInt16 orientation, CFStringRef title, SInt32 initialValue, Boolean drawTitle, Boolean autoToggles) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, UInt16 orientation, CFStringRef title, SInt32 initialValue, Boolean drawTitle, Boolean autoToggles) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateProgressBarControl", (PyCFunction)Ctl_CreateProgressBarControl, 1, {"CreateProgressBarControl", (PyCFunction)Ctl_CreateProgressBarControl, 1,
"(WindowPtr window, Rect boundsRect, SInt32 value, SInt32 minimum, SInt32 maximum, Boolean indeterminate) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, SInt32 value, SInt32 minimum, SInt32 maximum, Boolean indeterminate) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateLittleArrowsControl", (PyCFunction)Ctl_CreateLittleArrowsControl, 1, {"CreateLittleArrowsControl", (PyCFunction)Ctl_CreateLittleArrowsControl, 1,
"(WindowPtr window, Rect boundsRect, SInt32 value, SInt32 minimum, SInt32 maximum, SInt32 increment) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, SInt32 value, SInt32 minimum, SInt32 maximum, SInt32 increment) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateChasingArrowsControl", (PyCFunction)Ctl_CreateChasingArrowsControl, 1, {"CreateChasingArrowsControl", (PyCFunction)Ctl_CreateChasingArrowsControl, 1,
"(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateSeparatorControl", (PyCFunction)Ctl_CreateSeparatorControl, 1, {"CreateSeparatorControl", (PyCFunction)Ctl_CreateSeparatorControl, 1,
"(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateGroupBoxControl", (PyCFunction)Ctl_CreateGroupBoxControl, 1, {"CreateGroupBoxControl", (PyCFunction)Ctl_CreateGroupBoxControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef title, Boolean primary) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, CFStringRef title, Boolean primary) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateCheckGroupBoxControl", (PyCFunction)Ctl_CreateCheckGroupBoxControl, 1, {"CreateCheckGroupBoxControl", (PyCFunction)Ctl_CreateCheckGroupBoxControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef title, SInt32 initialValue, Boolean primary, Boolean autoToggle) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, CFStringRef title, SInt32 initialValue, Boolean primary, Boolean autoToggle) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreatePopupGroupBoxControl", (PyCFunction)Ctl_CreatePopupGroupBoxControl, 1, {"CreatePopupGroupBoxControl", (PyCFunction)Ctl_CreatePopupGroupBoxControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef title, Boolean primary, SInt16 menuID, Boolean variableWidth, SInt16 titleWidth, SInt16 titleJustification, Style titleStyle) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, CFStringRef title, Boolean primary, SInt16 menuID, Boolean variableWidth, SInt16 titleWidth, SInt16 titleJustification, Style titleStyle) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreatePopupArrowControl", (PyCFunction)Ctl_CreatePopupArrowControl, 1, {"CreatePopupArrowControl", (PyCFunction)Ctl_CreatePopupArrowControl, 1,
"(WindowPtr window, Rect boundsRect, UInt16 orientation, UInt16 size) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, UInt16 orientation, UInt16 size) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreatePlacardControl", (PyCFunction)Ctl_CreatePlacardControl, 1, {"CreatePlacardControl", (PyCFunction)Ctl_CreatePlacardControl, 1,
"(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateClockControl", (PyCFunction)Ctl_CreateClockControl, 1, {"CreateClockControl", (PyCFunction)Ctl_CreateClockControl, 1,
"(WindowPtr window, Rect boundsRect, UInt16 clockType, UInt32 clockFlags) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, UInt16 clockType, UInt32 clockFlags) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateUserPaneControl", (PyCFunction)Ctl_CreateUserPaneControl, 1, {"CreateUserPaneControl", (PyCFunction)Ctl_CreateUserPaneControl, 1,
"(WindowPtr window, Rect boundsRect, UInt32 features) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, UInt32 features) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateEditTextControl", (PyCFunction)Ctl_CreateEditTextControl, 1, {"CreateEditTextControl", (PyCFunction)Ctl_CreateEditTextControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef text, Boolean isPassword, Boolean useInlineInput, ControlFontStyleRec style) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, CFStringRef text, Boolean isPassword, Boolean useInlineInput, ControlFontStyleRec style) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateStaticTextControl", (PyCFunction)Ctl_CreateStaticTextControl, 1, {"CreateStaticTextControl", (PyCFunction)Ctl_CreateStaticTextControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef text, ControlFontStyleRec style) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, CFStringRef text, ControlFontStyleRec style) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateWindowHeaderControl", (PyCFunction)Ctl_CreateWindowHeaderControl, 1, {"CreateWindowHeaderControl", (PyCFunction)Ctl_CreateWindowHeaderControl, 1,
"(WindowPtr window, Rect boundsRect, Boolean isListHeader) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, Boolean isListHeader) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreatePushButtonControl", (PyCFunction)Ctl_CreatePushButtonControl, 1, {"CreatePushButtonControl", (PyCFunction)Ctl_CreatePushButtonControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef title) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, CFStringRef title) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateRadioButtonControl", (PyCFunction)Ctl_CreateRadioButtonControl, 1, {"CreateRadioButtonControl", (PyCFunction)Ctl_CreateRadioButtonControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef title, SInt32 initialValue, Boolean autoToggle) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, CFStringRef title, SInt32 initialValue, Boolean autoToggle) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateCheckBoxControl", (PyCFunction)Ctl_CreateCheckBoxControl, 1, {"CreateCheckBoxControl", (PyCFunction)Ctl_CreateCheckBoxControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef title, SInt32 initialValue, Boolean autoToggle) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, CFStringRef title, SInt32 initialValue, Boolean autoToggle) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreatePopupButtonControl", (PyCFunction)Ctl_CreatePopupButtonControl, 1, {"CreatePopupButtonControl", (PyCFunction)Ctl_CreatePopupButtonControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef title, SInt16 menuID, Boolean variableWidth, SInt16 titleWidth, SInt16 titleJustification, Style titleStyle) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, CFStringRef title, SInt16 menuID, Boolean variableWidth, SInt16 titleWidth, SInt16 titleJustification, Style titleStyle) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateRadioGroupControl", (PyCFunction)Ctl_CreateRadioGroupControl, 1, {"CreateRadioGroupControl", (PyCFunction)Ctl_CreateRadioGroupControl, 1,
"(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateScrollingTextBoxControl", (PyCFunction)Ctl_CreateScrollingTextBoxControl, 1, {"CreateScrollingTextBoxControl", (PyCFunction)Ctl_CreateScrollingTextBoxControl, 1,
"(WindowPtr window, Rect boundsRect, SInt16 contentResID, Boolean autoScroll, UInt32 delayBeforeAutoScroll, UInt32 delayBetweenAutoScroll, UInt16 autoScrollAmount) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, SInt16 contentResID, Boolean autoScroll, UInt32 delayBeforeAutoScroll, UInt32 delayBetweenAutoScroll, UInt16 autoScrollAmount) -> (ControlHandle outControl)"},
#endif
#if TARGET_API_MAC_CARBON
{"CreateDataBrowserControl", (PyCFunction)Ctl_CreateDataBrowserControl, 1, {"CreateDataBrowserControl", (PyCFunction)Ctl_CreateDataBrowserControl, 1,
"(WindowPtr window, Rect boundsRect, OSType style) -> (ControlHandle outControl)"}, "(WindowPtr window, Rect boundsRect, OSType style) -> (ControlHandle outControl)"},
#endif
{"FindControlUnderMouse", (PyCFunction)Ctl_FindControlUnderMouse, 1, {"FindControlUnderMouse", (PyCFunction)Ctl_FindControlUnderMouse, 1,
"(Point inWhere, WindowPtr inWindow) -> (ControlHandle _rv, SInt16 outPart)"}, "(Point inWhere, WindowPtr inWindow) -> (ControlHandle _rv, SInt16 outPart)"},
{"as_Control", (PyCFunction)Ctl_as_Control, 1, {"as_Control", (PyCFunction)Ctl_as_Control, 1,
......
...@@ -127,6 +127,100 @@ class MyScanner(Scanner): ...@@ -127,6 +127,100 @@ class MyScanner(Scanner):
'HandleControlSetCursor', 'HandleControlSetCursor',
'GetControlClickActivation', 'GetControlClickActivation',
'HandleControlContextualMenuClick', 'HandleControlContextualMenuClick',
"CreateDataBrowserControl",
"CreateScrollingTextBoxControl",
"CreateRadioGroupControl",
"CreatePopupButtonControl",
"CreateCheckBoxControl",
"CreateRadioButtonControl",
"CreatePushButtonControl",
"CreateWindowHeaderControl",
"CreateStaticTextControl",
"CreateEditTextControl",
"CreateUserPaneControl",
"CreateClockControl",
"CreatePlacardControl",
"CreatePopupArrowControl",
"CreatePopupGroupBoxControl",
"CreateCheckGroupBoxControl",
"CreateGroupBoxControl",
"CreateSeparatorControl",
"CreateChasingArrowsControl",
"CreateLittleArrowsControl",
"CreateProgressBarControl",
"CreateDisclosureTriangleControl",
"GetDataBrowserColumnViewDisplayType",
"SetDataBrowserColumnViewDisplayType",
"GetDataBrowserColumnViewPathLength",
"GetDataBrowserColumnViewPath",
"GetDataBrowserListViewDisclosureColumn",
"SetDataBrowserListViewDisclosureColumn",
"GetDataBrowserListViewUsePlainBackground",
"SetDataBrowserListViewUsePlainBackground",
"GetDataBrowserListViewHeaderBtnHeight",
"SetDataBrowserListViewHeaderBtnHeight",
"AutoSizeDataBrowserListViewColumns",
"GetDataBrowserTableViewColumnProperty",
"GetDataBrowserTableViewColumnPosition",
"SetDataBrowserTableViewColumnPosition",
"GetDataBrowserTableViewItemRow",
"SetDataBrowserTableViewItemRow",
"GetDataBrowserTableViewItemID",
"GetDataBrowserTableViewGeometry",
"SetDataBrowserTableViewGeometry",
"GetDataBrowserTableViewNamedColumnWidth",
"SetDataBrowserTableViewNamedColumnWidth",
"GetDataBrowserTableViewItemRowHeight",
"SetDataBrowserTableViewItemRowHeight",
"GetDataBrowserTableViewColumnWidth",
"SetDataBrowserTableViewColumnWidth",
"GetDataBrowserTableViewRowHeight",
"SetDataBrowserTableViewRowHeight",
"GetDataBrowserTableViewHiliteStyle",
"SetDataBrowserTableViewHiliteStyle",
"GetDataBrowserTableViewColumnCount",
"RemoveDataBrowserTableViewColumn",
"GetDataBrowserItemPartBounds",
"GetDataBrowserEditItem",
"SetDataBrowserEditItem",
"GetDataBrowserEditText",
"SetDataBrowserEditText",
"GetDataBrowserPropertyFlags",
"SetDataBrowserPropertyFlags",
"GetDataBrowserSelectionFlags",
"SetDataBrowserSelectionFlags",
"GetDataBrowserSortProperty",
"SetDataBrowserSortProperty",
"GetDataBrowserHasScrollBars",
"SetDataBrowserHasScrollBars",
"GetDataBrowserScrollPosition",
"SetDataBrowserScrollPosition",
"GetDataBrowserSortOrder",
"SetDataBrowserSortOrder",
"GetDataBrowserTarget",
"SetDataBrowserTarget",
"GetDataBrowserScrollBarInset",
"SetDataBrowserScrollBarInset",
"GetDataBrowserActiveItems",
"SetDataBrowserActiveItems",
"RevealDataBrowserItem",
"GetDataBrowserItemState",
"IsDataBrowserItemSelected",
"GetDataBrowserItemCount",
"GetDataBrowserItems",
"SortDataBrowserContainer",
"CloseDataBrowserContainer",
"OpenDataBrowserContainer",
"MoveDataBrowserSelectionAnchor",
"GetDataBrowserSelectionAnchor",
"ExecuteDataBrowserEditCommand",
"EnableDataBrowserEditCommand",
"SetDataBrowserViewStyle",
"GetDataBrowserViewStyle",
"GetControlCommandID",
"SetControlCommandID",
"CopyControlTitleAsCFString",
"SetControlTitleWithCFString",
]), ]),
('#if ACCESSOR_CALLS_ARE_FUNCTIONS', [ ('#if ACCESSOR_CALLS_ARE_FUNCTIONS', [
# XXX These are silly, they should be #defined to access the fields # XXX These are silly, they should be #defined to access the fields
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment