cpython/Mac/Modules/win/wingen.py

228 lines
4.7 KiB
Python

# Generated from 'Sap:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Windows.h'
f = Function(void, 'InitWindows',
)
functions.append(f)
f = Function(WindowRef, 'NewWindow',
(NullStorage, 'wStorage', InMode),
(Rect_ptr, 'boundsRect', InMode),
(ConstStr255Param, 'title', InMode),
(Boolean, 'visible', InMode),
(short, 'theProc', InMode),
(WindowRef, 'behind', InMode),
(Boolean, 'goAwayFlag', InMode),
(long, 'refCon', InMode),
)
functions.append(f)
f = Function(WindowRef, 'GetNewWindow',
(short, 'windowID', InMode),
(NullStorage, 'wStorage', InMode),
(WindowRef, 'behind', InMode),
)
functions.append(f)
f = Method(void, 'GetWTitle',
(WindowRef, 'theWindow', InMode),
(Str255, 'title', OutMode),
)
methods.append(f)
f = Method(void, 'SelectWindow',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'HideWindow',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'ShowWindow',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'ShowHide',
(WindowRef, 'theWindow', InMode),
(Boolean, 'showFlag', InMode),
)
methods.append(f)
f = Method(void, 'HiliteWindow',
(WindowRef, 'theWindow', InMode),
(Boolean, 'fHilite', InMode),
)
methods.append(f)
f = Method(void, 'BringToFront',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'SendBehind',
(WindowRef, 'theWindow', InMode),
(WindowRef, 'behindWindow', InMode),
)
methods.append(f)
f = Function(ExistingWindowPtr, 'FrontWindow',
)
functions.append(f)
f = Method(void, 'DrawGrowIcon',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'MoveWindow',
(WindowRef, 'theWindow', InMode),
(short, 'hGlobal', InMode),
(short, 'vGlobal', InMode),
(Boolean, 'front', InMode),
)
methods.append(f)
f = Method(void, 'SizeWindow',
(WindowRef, 'theWindow', InMode),
(short, 'w', InMode),
(short, 'h', InMode),
(Boolean, 'fUpdate', InMode),
)
methods.append(f)
f = Method(void, 'ZoomWindow',
(WindowRef, 'theWindow', InMode),
(short, 'partCode', InMode),
(Boolean, 'front', InMode),
)
methods.append(f)
f = Function(void, 'InvalRect',
(Rect_ptr, 'badRect', InMode),
)
functions.append(f)
f = Function(void, 'ValidRect',
(Rect_ptr, 'goodRect', InMode),
)
functions.append(f)
f = Method(void, 'BeginUpdate',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'EndUpdate',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'SetWRefCon',
(WindowRef, 'theWindow', InMode),
(long, 'data', InMode),
)
methods.append(f)
f = Method(long, 'GetWRefCon',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Function(Boolean, 'CheckUpdate',
(EventRecord, 'theEvent', OutMode),
)
functions.append(f)
f = Method(void, 'ClipAbove',
(WindowRef, 'window', InMode),
)
methods.append(f)
f = Method(void, 'SaveOld',
(WindowRef, 'window', InMode),
)
methods.append(f)
f = Method(void, 'DrawNew',
(WindowRef, 'window', InMode),
(Boolean, 'update', InMode),
)
methods.append(f)
f = Method(void, 'CalcVis',
(WindowRef, 'window', InMode),
)
methods.append(f)
f = Method(long, 'GrowWindow',
(WindowRef, 'theWindow', InMode),
(Point, 'startPt', InMode),
(Rect_ptr, 'bBox', InMode),
)
methods.append(f)
f = Function(short, 'FindWindow',
(Point, 'thePoint', InMode),
(ExistingWindowPtr, 'theWindow', OutMode),
)
functions.append(f)
f = Function(long, 'PinRect',
(Rect_ptr, 'theRect', InMode),
(Point, 'thePt', InMode),
)
functions.append(f)
f = Method(Boolean, 'TrackBox',
(WindowRef, 'theWindow', InMode),
(Point, 'thePt', InMode),
(short, 'partCode', InMode),
)
methods.append(f)
f = Function(WindowRef, 'NewCWindow',
(NullStorage, 'wStorage', InMode),
(Rect_ptr, 'boundsRect', InMode),
(ConstStr255Param, 'title', InMode),
(Boolean, 'visible', InMode),
(short, 'procID', InMode),
(WindowRef, 'behind', InMode),
(Boolean, 'goAwayFlag', InMode),
(long, 'refCon', InMode),
)
functions.append(f)
f = Function(WindowRef, 'GetNewCWindow',
(short, 'windowID', InMode),
(NullStorage, 'wStorage', InMode),
(WindowRef, 'behind', InMode),
)
functions.append(f)
f = Method(short, 'GetWVariant',
(WindowRef, 'theWindow', InMode),
)
methods.append(f)
f = Method(void, 'SetWTitle',
(WindowRef, 'theWindow', InMode),
(ConstStr255Param, 'title', InMode),
)
methods.append(f)
f = Method(Boolean, 'TrackGoAway',
(WindowRef, 'theWindow', InMode),
(Point, 'thePt', InMode),
)
methods.append(f)
f = Method(void, 'DragWindow',
(WindowRef, 'theWindow', InMode),
(Point, 'startPt', InMode),
(Rect_ptr, 'boundsRect', InMode),
)
methods.append(f)