return _res;
}
+#if TARGET_API_MAC_CARBON
+
static PyObject *CtlObj_SetControlTitleWithCFString(ControlObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_CopyControlTitleAsCFString(ControlObject *_self, PyObject *_args)
{
CFStringRefObj_New, outString);
return _res;
}
+#endif
static PyObject *CtlObj_GetControlValue(ControlObject *_self, PyObject *_args)
{
}
#endif
+#if TARGET_API_MAC_CARBON
+
static PyObject *CtlObj_SetControlCommandID(ControlObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetControlCommandID(ControlObject *_self, PyObject *_args)
{
outCommandID);
return _res;
}
+#endif
static PyObject *CtlObj_RemoveControlProperty(ControlObject *_self, PyObject *_args)
{
return _res;
}
+#if TARGET_API_MAC_CARBON
+
static PyObject *CtlObj_GetDataBrowserViewStyle(ControlObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
PyMac_BuildOSType, style);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserViewStyle(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_EnableDataBrowserEditCommand(ControlObject *_self, PyObject *_args)
{
_rv);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_ExecuteDataBrowserEditCommand(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserSelectionAnchor(ControlObject *_self, PyObject *_args)
{
last);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_MoveDataBrowserSelectionAnchor(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_OpenDataBrowserContainer(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_CloseDataBrowserContainer(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SortDataBrowserContainer(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserItems(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserItemCount(ControlObject *_self, PyObject *_args)
{
numItems);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_IsDataBrowserItemSelected(ControlObject *_self, PyObject *_args)
{
_rv);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserItemState(ControlObject *_self, PyObject *_args)
{
state);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_RevealDataBrowserItem(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserActiveItems(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserActiveItems(ControlObject *_self, PyObject *_args)
{
active);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserScrollBarInset(ControlObject *_self, PyObject *_args)
{
PyMac_BuildRect, &insetRect);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserScrollBarInset(ControlObject *_self, PyObject *_args)
{
PyMac_BuildRect, &insetRect);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTarget(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTarget(ControlObject *_self, PyObject *_args)
{
target);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserSortOrder(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserSortOrder(ControlObject *_self, PyObject *_args)
{
order);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserScrollPosition(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserScrollPosition(ControlObject *_self, PyObject *_args)
{
left);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserHasScrollBars(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserHasScrollBars(ControlObject *_self, PyObject *_args)
{
vert);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserSortProperty(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserSortProperty(ControlObject *_self, PyObject *_args)
{
property);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserSelectionFlags(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserSelectionFlags(ControlObject *_self, PyObject *_args)
{
selectionFlags);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserPropertyFlags(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserPropertyFlags(ControlObject *_self, PyObject *_args)
{
flags);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserEditText(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserEditText(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserEditItem(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserEditItem(ControlObject *_self, PyObject *_args)
{
property);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserItemPartBounds(ControlObject *_self, PyObject *_args)
{
PyMac_BuildRect, &bounds);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_RemoveDataBrowserTableViewColumn(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewColumnCount(ControlObject *_self, PyObject *_args)
{
numColumns);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewHiliteStyle(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewHiliteStyle(ControlObject *_self, PyObject *_args)
{
hiliteStyle);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewRowHeight(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewRowHeight(ControlObject *_self, PyObject *_args)
{
height);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewColumnWidth(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewColumnWidth(ControlObject *_self, PyObject *_args)
{
width);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewItemRowHeight(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewItemRowHeight(ControlObject *_self, PyObject *_args)
{
height);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewNamedColumnWidth(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewNamedColumnWidth(ControlObject *_self, PyObject *_args)
{
width);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewGeometry(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewGeometry(ControlObject *_self, PyObject *_args)
{
variableHeightRows);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewItemID(ControlObject *_self, PyObject *_args)
{
item);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewItemRow(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewItemRow(ControlObject *_self, PyObject *_args)
{
row);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserTableViewColumnPosition(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewColumnPosition(ControlObject *_self, PyObject *_args)
{
position);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserTableViewColumnProperty(ControlObject *_self, PyObject *_args)
{
property);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_AutoSizeDataBrowserListViewColumns(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserListViewHeaderBtnHeight(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserListViewHeaderBtnHeight(ControlObject *_self, PyObject *_args)
{
height);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserListViewUsePlainBackground(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserListViewUsePlainBackground(ControlObject *_self, PyObject *_args)
{
usePlainBackground);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserListViewDisclosureColumn(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserListViewDisclosureColumn(ControlObject *_self, PyObject *_args)
{
expandableRows);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserColumnViewPath(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserColumnViewPathLength(ControlObject *_self, PyObject *_args)
{
pathLength);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_SetDataBrowserColumnViewDisplayType(ControlObject *_self, PyObject *_args)
{
_res = Py_None;
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *CtlObj_GetDataBrowserColumnViewDisplayType(ControlObject *_self, PyObject *_args)
{
PyMac_BuildOSType, propertyType);
return _res;
}
+#endif
static PyObject *CtlObj_as_Resource(ControlObject *_self, PyObject *_args)
{
"(Str255 title) -> None"},
{"GetControlTitle", (PyCFunction)CtlObj_GetControlTitle, 1,
"() -> (Str255 title)"},
+
+#if TARGET_API_MAC_CARBON
{"SetControlTitleWithCFString", (PyCFunction)CtlObj_SetControlTitleWithCFString, 1,
"(CFStringRef inString) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CopyControlTitleAsCFString", (PyCFunction)CtlObj_CopyControlTitleAsCFString, 1,
"() -> (CFStringRef outString)"},
+#endif
{"GetControlValue", (PyCFunction)CtlObj_GetControlValue, 1,
"() -> (SInt16 _rv)"},
{"SetControlValue", (PyCFunction)CtlObj_SetControlValue, 1,
{"GetControlID", (PyCFunction)CtlObj_GetControlID, 1,
"() -> (ControlID outID)"},
#endif
+
+#if TARGET_API_MAC_CARBON
{"SetControlCommandID", (PyCFunction)CtlObj_SetControlCommandID, 1,
"(UInt32 inCommandID) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetControlCommandID", (PyCFunction)CtlObj_GetControlCommandID, 1,
"() -> (UInt32 outCommandID)"},
+#endif
{"RemoveControlProperty", (PyCFunction)CtlObj_RemoveControlProperty, 1,
"(OSType propertyCreator, OSType propertyTag) -> None"},
"(SInt16 inTabToHilite, Boolean inEnabled) -> None"},
{"SetImageWellTransform", (PyCFunction)CtlObj_SetImageWellTransform, 1,
"(IconTransformType inTransform) -> None"},
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserViewStyle", (PyCFunction)CtlObj_GetDataBrowserViewStyle, 1,
"() -> (OSType style)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserViewStyle", (PyCFunction)CtlObj_SetDataBrowserViewStyle, 1,
"(OSType style) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"EnableDataBrowserEditCommand", (PyCFunction)CtlObj_EnableDataBrowserEditCommand, 1,
"(UInt32 command) -> (Boolean _rv)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"ExecuteDataBrowserEditCommand", (PyCFunction)CtlObj_ExecuteDataBrowserEditCommand, 1,
"(UInt32 command) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserSelectionAnchor", (PyCFunction)CtlObj_GetDataBrowserSelectionAnchor, 1,
"() -> (UInt32 first, UInt32 last)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"MoveDataBrowserSelectionAnchor", (PyCFunction)CtlObj_MoveDataBrowserSelectionAnchor, 1,
"(UInt32 direction, Boolean extendSelection) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"OpenDataBrowserContainer", (PyCFunction)CtlObj_OpenDataBrowserContainer, 1,
"(UInt32 container) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CloseDataBrowserContainer", (PyCFunction)CtlObj_CloseDataBrowserContainer, 1,
"(UInt32 container) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SortDataBrowserContainer", (PyCFunction)CtlObj_SortDataBrowserContainer, 1,
"(UInt32 container, Boolean sortChildren) -> None"},
- {"GetDataBrowserItems", (PyCFunction)CtlObj_GetDataBrowserItems, 1,
- "(UInt32 container, Boolean recurse, UInt32 state, Handle items) -> None"},
+#endif
+
+#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,
"(UInt32 container, Boolean recurse, UInt32 state) -> (UInt32 numItems)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"IsDataBrowserItemSelected", (PyCFunction)CtlObj_IsDataBrowserItemSelected, 1,
"(UInt32 item) -> (Boolean _rv)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserItemState", (PyCFunction)CtlObj_GetDataBrowserItemState, 1,
"(UInt32 item) -> (UInt32 state)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"RevealDataBrowserItem", (PyCFunction)CtlObj_RevealDataBrowserItem, 1,
"(UInt32 item, UInt32 propertyID, UInt8 options) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserActiveItems", (PyCFunction)CtlObj_SetDataBrowserActiveItems, 1,
"(Boolean active) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserActiveItems", (PyCFunction)CtlObj_GetDataBrowserActiveItems, 1,
"() -> (Boolean active)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserScrollBarInset", (PyCFunction)CtlObj_SetDataBrowserScrollBarInset, 1,
"() -> (Rect insetRect)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserScrollBarInset", (PyCFunction)CtlObj_GetDataBrowserScrollBarInset, 1,
"() -> (Rect insetRect)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserTarget", (PyCFunction)CtlObj_SetDataBrowserTarget, 1,
"(UInt32 target) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTarget", (PyCFunction)CtlObj_GetDataBrowserTarget, 1,
"() -> (UInt32 target)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserSortOrder", (PyCFunction)CtlObj_SetDataBrowserSortOrder, 1,
"(UInt16 order) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserSortOrder", (PyCFunction)CtlObj_GetDataBrowserSortOrder, 1,
"() -> (UInt16 order)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserScrollPosition", (PyCFunction)CtlObj_SetDataBrowserScrollPosition, 1,
"(UInt32 top, UInt32 left) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserScrollPosition", (PyCFunction)CtlObj_GetDataBrowserScrollPosition, 1,
"() -> (UInt32 top, UInt32 left)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserHasScrollBars", (PyCFunction)CtlObj_SetDataBrowserHasScrollBars, 1,
"(Boolean horiz, Boolean vert) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserHasScrollBars", (PyCFunction)CtlObj_GetDataBrowserHasScrollBars, 1,
"() -> (Boolean horiz, Boolean vert)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserSortProperty", (PyCFunction)CtlObj_SetDataBrowserSortProperty, 1,
"(UInt32 property) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserSortProperty", (PyCFunction)CtlObj_GetDataBrowserSortProperty, 1,
"() -> (UInt32 property)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserSelectionFlags", (PyCFunction)CtlObj_SetDataBrowserSelectionFlags, 1,
"(UInt32 selectionFlags) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserSelectionFlags", (PyCFunction)CtlObj_GetDataBrowserSelectionFlags, 1,
"() -> (UInt32 selectionFlags)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserPropertyFlags", (PyCFunction)CtlObj_SetDataBrowserPropertyFlags, 1,
"(UInt32 property, UInt32 flags) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserPropertyFlags", (PyCFunction)CtlObj_GetDataBrowserPropertyFlags, 1,
"(UInt32 property) -> (UInt32 flags)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserEditText", (PyCFunction)CtlObj_SetDataBrowserEditText, 1,
"(CFStringRef text) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserEditText", (PyCFunction)CtlObj_GetDataBrowserEditText, 1,
"(CFMutableStringRef text) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserEditItem", (PyCFunction)CtlObj_SetDataBrowserEditItem, 1,
"(UInt32 item, UInt32 property) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserEditItem", (PyCFunction)CtlObj_GetDataBrowserEditItem, 1,
"() -> (UInt32 item, UInt32 property)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserItemPartBounds", (PyCFunction)CtlObj_GetDataBrowserItemPartBounds, 1,
"(UInt32 item, UInt32 property, OSType part) -> (Rect bounds)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"RemoveDataBrowserTableViewColumn", (PyCFunction)CtlObj_RemoveDataBrowserTableViewColumn, 1,
"(UInt32 column) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewColumnCount", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnCount, 1,
"() -> (UInt32 numColumns)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewHiliteStyle", (PyCFunction)CtlObj_SetDataBrowserTableViewHiliteStyle, 1,
"(UInt32 hiliteStyle) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewHiliteStyle", (PyCFunction)CtlObj_GetDataBrowserTableViewHiliteStyle, 1,
"() -> (UInt32 hiliteStyle)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewRowHeight", (PyCFunction)CtlObj_SetDataBrowserTableViewRowHeight, 1,
"(UInt16 height) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewRowHeight", (PyCFunction)CtlObj_GetDataBrowserTableViewRowHeight, 1,
"() -> (UInt16 height)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewColumnWidth", (PyCFunction)CtlObj_SetDataBrowserTableViewColumnWidth, 1,
"(UInt16 width) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewColumnWidth", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnWidth, 1,
"() -> (UInt16 width)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewItemRowHeight", (PyCFunction)CtlObj_SetDataBrowserTableViewItemRowHeight, 1,
"(UInt32 item, UInt16 height) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewItemRowHeight", (PyCFunction)CtlObj_GetDataBrowserTableViewItemRowHeight, 1,
"(UInt32 item) -> (UInt16 height)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewNamedColumnWidth", (PyCFunction)CtlObj_SetDataBrowserTableViewNamedColumnWidth, 1,
"(UInt32 column, UInt16 width) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewNamedColumnWidth", (PyCFunction)CtlObj_GetDataBrowserTableViewNamedColumnWidth, 1,
"(UInt32 column) -> (UInt16 width)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewGeometry", (PyCFunction)CtlObj_SetDataBrowserTableViewGeometry, 1,
"(Boolean variableWidthColumns, Boolean variableHeightRows) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewGeometry", (PyCFunction)CtlObj_GetDataBrowserTableViewGeometry, 1,
"() -> (Boolean variableWidthColumns, Boolean variableHeightRows)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewItemID", (PyCFunction)CtlObj_GetDataBrowserTableViewItemID, 1,
"(UInt32 row) -> (UInt32 item)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewItemRow", (PyCFunction)CtlObj_SetDataBrowserTableViewItemRow, 1,
"(UInt32 item, UInt32 row) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewItemRow", (PyCFunction)CtlObj_GetDataBrowserTableViewItemRow, 1,
"(UInt32 item) -> (UInt32 row)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserTableViewColumnPosition", (PyCFunction)CtlObj_SetDataBrowserTableViewColumnPosition, 1,
"(UInt32 column, UInt32 position) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewColumnPosition", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnPosition, 1,
"(UInt32 column) -> (UInt32 position)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserTableViewColumnProperty", (PyCFunction)CtlObj_GetDataBrowserTableViewColumnProperty, 1,
"(UInt32 column) -> (UInt32 property)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"AutoSizeDataBrowserListViewColumns", (PyCFunction)CtlObj_AutoSizeDataBrowserListViewColumns, 1,
"() -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserListViewHeaderBtnHeight", (PyCFunction)CtlObj_SetDataBrowserListViewHeaderBtnHeight, 1,
"(UInt16 height) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserListViewHeaderBtnHeight", (PyCFunction)CtlObj_GetDataBrowserListViewHeaderBtnHeight, 1,
"() -> (UInt16 height)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserListViewUsePlainBackground", (PyCFunction)CtlObj_SetDataBrowserListViewUsePlainBackground, 1,
"(Boolean usePlainBackground) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserListViewUsePlainBackground", (PyCFunction)CtlObj_GetDataBrowserListViewUsePlainBackground, 1,
"() -> (Boolean usePlainBackground)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserListViewDisclosureColumn", (PyCFunction)CtlObj_SetDataBrowserListViewDisclosureColumn, 1,
"(UInt32 column, Boolean expandableRows) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserListViewDisclosureColumn", (PyCFunction)CtlObj_GetDataBrowserListViewDisclosureColumn, 1,
"() -> (UInt32 column, Boolean expandableRows)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserColumnViewPath", (PyCFunction)CtlObj_GetDataBrowserColumnViewPath, 1,
"(Handle path) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserColumnViewPathLength", (PyCFunction)CtlObj_GetDataBrowserColumnViewPathLength, 1,
"() -> (UInt32 pathLength)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"SetDataBrowserColumnViewDisplayType", (PyCFunction)CtlObj_SetDataBrowserColumnViewDisplayType, 1,
"(OSType propertyType) -> None"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"GetDataBrowserColumnViewDisplayType", (PyCFunction)CtlObj_GetDataBrowserColumnViewDisplayType, 1,
"() -> (OSType propertyType)"},
+#endif
{"as_Resource", (PyCFunction)CtlObj_as_Resource, 1,
"() -> (Handle _rv)"},
{"GetControlRect", (PyCFunction)CtlObj_GetControlRect, 1,
}
#endif
+#if TARGET_API_MAC_CARBON
+
static PyObject *Ctl_CreateDisclosureTriangleControl(PyObject *_self, PyObject *_args)
{
PyObject *_res = NULL;
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateProgressBarControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateLittleArrowsControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateChasingArrowsControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateSeparatorControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateGroupBoxControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateCheckGroupBoxControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreatePopupGroupBoxControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreatePopupArrowControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreatePlacardControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateClockControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateUserPaneControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateEditTextControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateStaticTextControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateWindowHeaderControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreatePushButtonControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateRadioButtonControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateCheckBoxControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreatePopupButtonControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateRadioGroupControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateScrollingTextBoxControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
+
+#if TARGET_API_MAC_CARBON
static PyObject *Ctl_CreateDataBrowserControl(PyObject *_self, PyObject *_args)
{
CtlObj_New, outControl);
return _res;
}
+#endif
static PyObject *Ctl_FindControlUnderMouse(PyObject *_self, PyObject *_args)
{
{"IsAutomaticControlDragTrackingEnabledForWindow", (PyCFunction)Ctl_IsAutomaticControlDragTrackingEnabledForWindow, 1,
"(WindowPtr theWindow) -> (Boolean tracks)"},
#endif
+
+#if TARGET_API_MAC_CARBON
{"CreateDisclosureTriangleControl", (PyCFunction)Ctl_CreateDisclosureTriangleControl, 1,
"(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,
"(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,
"(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,
"(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreateSeparatorControl", (PyCFunction)Ctl_CreateSeparatorControl, 1,
"(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreateGroupBoxControl", (PyCFunction)Ctl_CreateGroupBoxControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef title, Boolean primary) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreateCheckGroupBoxControl", (PyCFunction)Ctl_CreateCheckGroupBoxControl, 1,
"(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,
"(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,
"(WindowPtr window, Rect boundsRect, UInt16 orientation, UInt16 size) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreatePlacardControl", (PyCFunction)Ctl_CreatePlacardControl, 1,
"(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreateClockControl", (PyCFunction)Ctl_CreateClockControl, 1,
"(WindowPtr window, Rect boundsRect, UInt16 clockType, UInt32 clockFlags) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreateUserPaneControl", (PyCFunction)Ctl_CreateUserPaneControl, 1,
"(WindowPtr window, Rect boundsRect, UInt32 features) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreateEditTextControl", (PyCFunction)Ctl_CreateEditTextControl, 1,
"(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,
"(WindowPtr window, Rect boundsRect, CFStringRef text, ControlFontStyleRec style) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreateWindowHeaderControl", (PyCFunction)Ctl_CreateWindowHeaderControl, 1,
"(WindowPtr window, Rect boundsRect, Boolean isListHeader) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreatePushButtonControl", (PyCFunction)Ctl_CreatePushButtonControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef title) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreateRadioButtonControl", (PyCFunction)Ctl_CreateRadioButtonControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef title, SInt32 initialValue, Boolean autoToggle) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreateCheckBoxControl", (PyCFunction)Ctl_CreateCheckBoxControl, 1,
"(WindowPtr window, Rect boundsRect, CFStringRef title, SInt32 initialValue, Boolean autoToggle) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreatePopupButtonControl", (PyCFunction)Ctl_CreatePopupButtonControl, 1,
"(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,
"(WindowPtr window, Rect boundsRect) -> (ControlHandle outControl)"},
+#endif
+
+#if TARGET_API_MAC_CARBON
{"CreateScrollingTextBoxControl", (PyCFunction)Ctl_CreateScrollingTextBoxControl, 1,
"(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,
"(WindowPtr window, Rect boundsRect, OSType style) -> (ControlHandle outControl)"},
+#endif
{"FindControlUnderMouse", (PyCFunction)Ctl_FindControlUnderMouse, 1,
"(Point inWhere, WindowPtr inWindow) -> (ControlHandle _rv, SInt16 outPart)"},
{"as_Control", (PyCFunction)Ctl_as_Control, 1,