core/sys/darwin/Foundation
objc_Foundation
Types
139ActivationPolicy
ActivationPolicy :: enum UInteger {
Regular = 0,
Accessory = 1,
Prohibited = 2,
}SourceActivityOptions
ActivityOptions :: bit_set[ActivityOptionsBits; u64]SourceActivityOptionsBits
ActivityOptionsBits :: enum u64 {
IdleDisplaySleepDisabled = log2(1099511627776), // Require the screen to stay powered on.
IdleSystemSleepDisabled = log2(1048576), // Prevent idle sleep.
SuddenTerminationDisabled = log2(16384), // Prevent sudden termination.
AutomaticTerminationDisabled = log2(32768), // Prevent automatic termination.
AnimationTrackingEnabled = log2(35184372088832), // Track activity with an animation signpost interval.
TrackingEnabled = log2(70368744177664), // Track activity with a signpost interval.
UserInitiated = log2(16777215), // Performing a user-requested action.
UserInitiatedAllowingIdleSystemSleep = log2(15728639), // Performing a user-requested action, but the system can sleep on idle.
Background = log2(255), // Initiated some kind of work, but not as the direct result of a user request.
LatencyCritical = log2(1095216660480), // Requires the highest amount of timer and I/O precision available.
UserInteractive = log2(1095233437695), // Responding to user interaction.
}SourceApplication
Application :: struct {
_: Object,
}SourceApplicationDelegate
ApplicationDelegate :: struct {
_: Object,
}SourceApplicationDelegateTemplate
ApplicationDelegateTemplate :: struct {
// Launching Applications
applicationWillFinishLaunching: proc(notification: ^Notification),
notification: ^Notification,
applicationDidFinishLaunching: proc(notification: ^Notification),
notification: ^Notification,
// Managing Active Status
applicationWillBecomeActive: proc(notification: ^Notification),
notification: ^Notification,
applicationDidBecomeActive: proc(notification: ^Notification),
notification: ^Notification,
applicationWillResignActive: proc(notification: ^Notification),
notification: ^Notification,
applicationDidResignActive: proc(notification: ^Notification),
notification: ^Notification,
// Terminating Applications
applicationShouldTerminate: proc(sender: ^Application) -> (ApplicationTerminateReply),
sender: ^Application,
applicationShouldTerminateAfterLastWindowClosed: proc(sender: ^Application) -> (BOOL),
sender: ^Application,
applicationWillTerminate: proc(notification: ^Notification),
notification: ^Notification,
// Hiding Applications
applicationWillHide: proc(notification: ^Notification),
notification: ^Notification,
applicationDidHide: proc(notification: ^Notification),
notification: ^Notification,
applicationWillUnhide: proc(notification: ^Notification),
notification: ^Notification,
applicationDidUnhide: proc(notification: ^Notification),
notification: ^Notification,
// Managing Windows
applicationWillUpdate: proc(notification: ^Notification),
notification: ^Notification,
applicationDidUpdate: proc(notification: ^Notification),
notification: ^Notification,
applicationShouldHandleReopenHasVisibleWindows: proc(sender: ^Application, flag: BOOL) -> (BOOL),
sender: ^Application,
Application: BOOL,
flag: BOOL,
// Managing the Dock Menu
applicationDockMenu: proc(sender: ^Application) -> (^Menu),
sender: ^Application,
// Localizing Keyboard Shortcuts
applicationShouldAutomaticallyLocalizeKeyEquivalents: proc(application: ^Application) -> (BOOL),
application: ^Application,
// Displaying Errors
applicationWillPresentError: proc(application: ^Application, error: ^Error) -> (^Error),
application: ^Application,
Application: ^Error,
error: ^Error,
// Managing the Screen
applicationDidChangeScreenParameters: proc(notification: ^Notification),
notification: ^Notification,
// Continuing User Activities
applicationWillContinueUserActivityWithType: proc(application: ^Application, userActivityType: ^String) -> (BOOL),
application: ^Application,
Application: ^String,
userActivityType: ^String,
applicationContinueUserActivityRestorationHandler: proc(application: ^Application, userActivity: ^UserActivity, restorationHandler: ^Block) -> (BOOL),
application: ^Application,
Application: ^UserActivity,
userActivity: ^UserActivity,
UserActivity: ^Block,
restorationHandler: ^Block,
applicationDidFailToContinueUserActivityWithTypeError: proc(application: ^Application, userActivityType: ^String, error: ^Error),
application: ^Application,
Application: ^String,
userActivityType: ^String,
String: ^Error,
error: ^Error,
applicationDidUpdateUserActivity: proc(application: ^Application, userActivity: ^UserActivity),
application: ^Application,
Application: ^UserActivity,
userActivity: ^UserActivity,
// Handling Push Notifications
applicationDidRegisterForRemoteNotificationsWithDeviceToken: proc(application: ^Application, deviceToken: ^Data),
application: ^Application,
Application: ^Data,
deviceToken: ^Data,
applicationDidFailToRegisterForRemoteNotificationsWithError: proc(application: ^Application, error: ^Error),
application: ^Application,
Application: ^Error,
error: ^Error,
applicationDidReceiveRemoteNotification: proc(application: ^Application, userInfo: ^Dictionary),
application: ^Application,
Application: ^Dictionary,
userInfo: ^Dictionary,
// Handling CloudKit Invitations
// TODO: if/when we have cloud kit bindings implement
// applicationUserDidAcceptCloudKitShareWithMetadata: proc(application: ^Application, metadata: ^CKShareMetadata),
// Handling SiriKit Intents
// TODO: if/when we have siri kit bindings implement
// applicationHandlerForIntent: proc(application: ^Application, intent: ^INIntent) -> id,
// Opening Files
applicationOpenURLs: proc(application: ^Application, urls: ^Array),
application: ^Application,
Application: ^Array,
urls: ^Array,
applicationOpenFile: proc(sender: ^Application, filename: ^String) -> (BOOL),
sender: ^Application,
Application: ^String,
filename: ^String,
applicationOpenFileWithoutUI: proc(sender: id, filename: ^String) -> (BOOL),
sender: id,
filename: ^String,
applicationOpenTempFile: proc(sender: ^Application, filename: ^String) -> (BOOL),
sender: ^Application,
Application: ^String,
filename: ^String,
applicationOpenFiles: proc(sender: ^Application, filenames: ^Array),
sender: ^Application,
Application: ^Array,
filenames: ^Array,
applicationShouldOpenUntitledFile: proc(sender: ^Application) -> (BOOL),
sender: ^Application,
applicationOpenUntitledFile: proc(sender: ^Application) -> (BOOL),
sender: ^Application,
// Printing
applicationPrintFile: proc(sender: ^Application, filename: ^String) -> (BOOL),
sender: ^Application,
Application: ^String,
filename: ^String,
applicationPrintFilesWithSettingsShowPrintPanels: proc(application: ^Application, fileNames: ^Array, printSettings: ^Dictionary, showPrintPanels: BOOL) -> (ApplicationPrintReply),
application: ^Application,
Application: ^Array,
fileNames: ^Array,
Array: ^Dictionary,
printSettings: ^Dictionary,
Dictionary: BOOL,
showPrintPanels: BOOL,
// Restoring Application State
applicationSupportsSecureRestorableState: proc(app: ^Application) -> (BOOL),
app: ^Application,
applicationProtectedDataDidBecomeAvailable: proc(notification: ^Notification),
notification: ^Notification,
applicationProtectedDataWillBecomeUnavailable: proc(notification: ^Notification),
notification: ^Notification,
applicationWillEncodeRestorableState: proc(app: ^Application, coder: ^Coder),
app: ^Application,
Application: ^Coder,
coder: ^Coder,
applicationDidDecodeRestorableState: proc(app: ^Application, coder: ^Coder),
app: ^Application,
Application: ^Coder,
coder: ^Coder,
// Handling Changes to the Occlusion State
applicationDidChangeOcclusionState: proc(notification: ^Notification),
notification: ^Notification,
// Scripting Your App
applicationDelegateHandlesKey: proc(sender: ^Application, key: ^String) -> (BOOL),
sender: ^Application,
Application: ^String,
key: ^String,
}SourceApplicationPresentationOptionFlag
ApplicationPresentationOptionFlag :: enum UInteger {
AutoHideDock = 0,
HideDock = 1,
AutoHideMenuBar = 2,
HideMenuBar = 3,
DisableAppleMenu = 4,
DisableProcessSwitching = 5,
DisableForceQuit = 6,
DisableSessionTermination = 7,
DisableHideApplication = 8,
DisableMenuBarTransparency = 9,
FullScreen = 10,
AutoHideToolbar = 11,
DisableCursorLocationAssistance = 12,
}SourceApplicationPresentationOptions
ApplicationPresentationOptions :: bit_set[ApplicationPresentationOptionFlag; UInteger]SourceApplicationPrintReply
ApplicationPrintReply :: enum UInteger {
PrintingCancelled = 0,
PrintingSuccess = 1,
PrintingReplyLater = 2,
PrintingFailure = 3,
}SourceApplicationTerminateReply
ApplicationTerminateReply :: enum UInteger {
TerminateCancel = 0,
TerminateNow = 1,
TerminateLater = 2,
}SourceArray
Array :: struct {
_: Copying(Array),
}SourceAutoreleasePool
AutoreleasePool :: struct {
_: Object,
}SourceBOOL
BOOL :: boolSourceTODO(bill): should this be distinct?
BackingStoreType
BackingStoreType :: enum UInteger {
Retained = 0,
Nonretained = 1,
Buffered = 2,
}SourceBitmapFormatFlag
BitmapFormatFlag :: enum BitmapInteger {
AlphaFirst = 0,
AlphaNonpremultiplied = 1,
FloatingPointSamples = 2,
SixteenBitLittleEndian = 8,
ThirtyTwoBitLittleEndian = 9,
SixteenBitBigEndian = 10,
ThirtyTwoBitBigEndian = 11,
}SourceBitmapFormatFlags
BitmapFormatFlags :: bit_set[BitmapFormatFlag; BitmapInteger]SourceBitmapImageRep
BitmapImageRep :: struct {
_: Object,
}SourceBitmapInteger
BitmapInteger :: UIntegerSourceBlock
Block :: struct {
_: Object,
}SourceBundle
Bundle :: struct {
_: Object,
}SourceClass
Class :: ^intrinsics.objc_classSourceClass_VTable_Info
Class_VTable_Info :: struct {
_context: runtime.Context,
super_vtable: rawptr,
protocol_vtable: rawptr,
}SourceCoder
Coder :: struct {
_: Object,
}SourceColor
Color :: struct {
_: Object,
}SourceColorSpace
ColorSpace :: struct {
_: Object,
}SourceComparisonResult
ComparisonResult :: enum Integer {
OrderedAscending = -1,
OrderedSame = 0,
OrderedDescending = 1,
}SourceCondition
Condition :: struct {
_: Locking(Condition),
}SourceCopying
Copying :: struct {}SourceCursor
Cursor :: struct {
_: Object,
}SourceData
Data :: struct {
_: Copying(Data),
}SourceDate
Date :: struct {
_: Copying(Date),
}SourceDepth
Depth :: enum UInteger {
onehundredtwentyeightBitRGB = 544,
sixtyfourBitRGB = 528,
twentyfourBitRGB = 520,
}SourceDictionary
Dictionary :: struct {
_: Copying(Dictionary),
}SourceEnumerator
Enumerator :: struct {}SourceError
Error :: struct {
_: Copying(Error),
}SourceErrorDomain
ErrorDomain :: ^StringSourceErrorUserInfoKey
ErrorUserInfoKey :: ^StringSourceEvent
Event :: struct {
_: Object,
}SourceEventMask
EventMask :: bit_set[EventType; UInteger]SourceEventModifierFlag
EventModifierFlag :: enum UInteger {
CapsLock = 16,
Shift = 17,
Control = 18,
Option = 19,
Command = 20,
NumericPad = 21,
Help = 22,
Function = 23,
}SourceEventModifierFlags
EventModifierFlags :: bit_set[EventModifierFlag; UInteger]SourceEventPhase
EventPhase :: bit_set[EventPhaseFlag; UInteger]SourceEventPhaseFlag
EventPhaseFlag :: enum UInteger {
Began = 0,
Stationary = 1,
Changed = 2,
Ended = 3,
Cancelled = 4,
MayBegin = 5,
}SourceFastEnumeration
FastEnumeration :: struct {
_: Object,
}SourceFastEnumerationState
FastEnumerationState :: struct #packed {
state: c.ulong,
itemsPtr: [^]^Object,
mutationsPtr: [^]c.ulong,
extra: [5]c.ulong,
}SourceFloat
Float :: CGFloatSourceIMP
IMP :: proc "c" (object: id, sel: SEL, #c_vararg args: ..any) -> idSourceImage
Image :: struct {
_: Object,
}SourceImageRep
ImageRep :: struct {
_: Object,
}SourceInteger
Integer :: intSourceIvar
Ivar :: ^objc_ivarSourceKeyEquivalentModifierFlag
KeyEquivalentModifierFlag :: EventModifierFlagSourceKeyEquivalentModifierMask
KeyEquivalentModifierMask :: EventModifierFlagsSourceLayer
Layer :: struct {
_: Object,
}SourceLocking
Locking :: struct {}SourceMenu
Menu :: struct {
_: Object,
}SourceMenuDelegate
MenuDelegate :: struct {
_: Object,
_: ObjectProtocol,
}SourceMenuItem
MenuItem :: struct {
_: Object,
}SourceMenuItemCallback
MenuItemCallback :: proc "c" (unused: rawptr, name: SEL, sender: ^Object)SourceMenuPresentationStyle
MenuPresentationStyle :: enum c.long {
Regular = 0,
Palette = 1,
}SourceMenuProperties
MenuProperties :: bit_set[MenuPropertyItem; c.ulong]SourceMenuPropertyItem
MenuPropertyItem :: enum c.ulong {
Title = 0,
AttributedTitle = 1,
KeyEquivalent = 2,
Image = 3,
Enabled = 4,
AccessibilityDescription = 5,
}SourceMenuSelectionMode
MenuSelectionMode :: enum c.long {
Automatic = 0,
SelectOne = 1,
SelectAny = 2,
}SourceMethod
Method :: ^objc_methodSourceModalResponse
ModalResponse :: enum UInteger {
Cancel = 0,
OK = 1,
}SourceMutableArray
MutableArray :: struct {
_: Copying(MutableArray),
}SourceNotification
Notification :: struct {
_: Object,
}SourceNotificationCenter
NotificationCenter :: struct {
_: Object,
}SourceNotificationName
NotificationName :: ^StringSourceNumber
Number :: struct {
_: Copying(Number),
_: Value,
}SourceObject
Object :: struct {
_: intrinsics.objc_object,
}SourceObjectProtocol
ObjectProtocol :: struct {
_: Object,
}SourceObject_VTable_Info
Object_VTable_Info :: struct {
vtable: rawptr,
size: uint,
impl: Subclasser_Proc,
}SourceOpenPanel
OpenPanel :: struct {
_: SavePanel,
}SourceOperatingSystemVersion
OperatingSystemVersion :: struct {
majorVersion: Integer,
minorVersion: Integer,
patchVersion: Integer,
}SourcePanel
Panel :: struct {
_: Window,
}SourcePasteboard
Pasteboard :: struct {
_: Object,
}SourcePoint
Point :: CGPointSourcePointingDeviceType
PointingDeviceType :: enum UInteger {
Unknown = 0,
Pen = 1,
Cursor = 2,
Eraser = 3,
}Sourcepointer types for NSTabletProximity events or mouse events with subtype NSTabletProximityEventSubtype
ProcessInfo
ProcessInfo :: struct {
_: Object,
}SourceProcessInfoThermalState
ProcessInfoThermalState :: enum c.long {
Nominal = 0,
Fair = 1,
Serious = 2,
Critical = 3,
}SourceGetting the Thermal State
Protocol
Protocol :: struct {
_: intrinsics.objc_object,
}SourceRange
Range :: struct {
location: UInteger,
length: UInteger,
}SourceRect
Rect :: CGRectSourceResponder
Responder :: struct {
_: Object,
}SourceRunLoop
RunLoop :: struct {
_: Object,
}SourceRunLoopMode
RunLoopMode :: ^StringSourceRunningApplication
RunningApplication :: struct {
_: Object,
}SourceSEL
SEL :: ^intrinsics.objc_selectorSourceSavePanel
SavePanel :: struct {
_: Panel,
}SourceScreen
Screen :: struct {
_: Object,
}SourceSet
Set :: struct {
_: Copying(Set),
}SourceSize
Size :: CGSizeSourceString
String :: struct {
_: Copying(String),
}SourceStringCompareOption
StringCompareOption :: enum UInteger {
CaseInsensitive = 0,
LiteralSearch = 1,
BackwardsSearch = 2,
AnchoredSearch = 3,
NumericSearch = 6,
DiacriticInsensitive = 7,
WidthInsensitive = 8,
ForcedOrdering = 9,
RegularExpression = 10,
}SourceStringCompareOptions
StringCompareOptions :: bit_set[StringCompareOption; UInteger]SourceStringEncoding
StringEncoding :: enum UInteger {
ASCII = 1,
NEXTSTEP = 2,
JapaneseEUC = 3,
UTF8 = 4,
ISOLatin1 = 5,
Symbol = 6,
NonLossyASCII = 7,
ShiftJIS = 8,
ISOLatin2 = 9,
Unicode = 10,
WindowsCP1251 = 11,
WindowsCP1252 = 12,
WindowsCP1253 = 13,
WindowsCP1254 = 14,
WindowsCP1250 = 15,
ISO2022JP = 21,
MacOSRoman = 30,
UTF16 = Unicode,
UTF16BigEndian = 2415919360,
UTF16LittleEndian = 2483028224,
UTF32 = 2348810496,
UTF32BigEndian = 2550137088,
UTF32LittleEndian = 2617245952,
}SourceSubclasser_Proc
Subclasser_Proc :: proc(cls: Class, vtable: rawptr)SourceTimeInterval
TimeInterval :: f64SourceTimer
Timer :: struct {
_: Object,
}SourceToolbar
Toolbar :: struct {
_: Object,
}SourceUInteger
UInteger :: uintSourceURL
URL :: struct {
_: Copying(URL),
}SourceURLRequest
URLRequest :: struct {
_: Object,
}SourceURLResponse
URLResponse :: struct {
_: Object,
}SourceUndoManager
UndoManager :: struct {
_: Object,
}SourceUserActivity
UserActivity :: struct {
_: Object,
}SourceUserDefaults
UserDefaults :: struct {
_: Object,
}SourceUserInterfaceLayoutDirection
UserInterfaceLayoutDirection :: enum c.long {
LeftToRight = 0,
RightToLeft = 1,
}SourceValue
Value :: struct {
_: Copying(Value),
}SourceView
View :: struct {
_: Responder,
}SourceWindow
Window :: struct {
_: Responder,
}SourceWindowCollectionBehavior
WindowCollectionBehavior :: bit_set[WindowCollectionBehaviorFlag; UInteger]SourceWindowCollectionBehaviorFlag
WindowCollectionBehaviorFlag :: enum UInteger {
CanJoinAllSpaces = 0,
MoveToActiveSpace = 1,
Managed = 2,
Transient = 3,
Stationary = 4,
ParticipatesInCycle = 5,
IgnoresCycle = 6,
FullScreenPrimary = 7,
FullScreenAuxiliary = 8,
FullScreenNone = 9,
FullScreenAllowsTiling = 11,
FullScreenDisallowsTiling = 12,
Primary = 16,
Auxiliary = 17,
CanJoinAllApplications = 18,
}SourceWindowDelegate
WindowDelegate :: struct {
_: Object,
}SourceThis is not the same as NSWindowDelegate
WindowDelegateTemplate
WindowDelegateTemplate :: struct {
// Managing Sheets
windowWillPositionSheetUsingRect: proc(window: ^Window, sheet: ^Window, rect: Rect) -> (Rect),
window: ^Window,
Window: ^Window,
sheet: ^Window,
Window: Rect,
rect: Rect,
windowWillBeginSheet: proc(notification: ^Notification),
notification: ^Notification,
windowDidEndSheet: proc(notification: ^Notification),
notification: ^Notification,
// Sizing Windows
windowWillResizeToSize: proc(sender: ^Window, frameSize: Size) -> (Size),
sender: ^Window,
Window: Size,
frameSize: Size,
windowDidResize: proc(notification: ^Notification),
notification: ^Notification,
windowWillStartLiveResize: proc(noitifcation: ^Notification),
noitifcation: ^Notification,
windowDidEndLiveResize: proc(notification: ^Notification),
notification: ^Notification,
// Minimizing Windows
windowWillMiniaturize: proc(notification: ^Notification),
notification: ^Notification,
windowDidMiniaturize: proc(notification: ^Notification),
notification: ^Notification,
windowDidDeminiaturize: proc(notification: ^Notification),
notification: ^Notification,
// Zooming window
windowWillUseStandardFrameDefaultFrame: proc(window: ^Window, newFrame: Rect) -> (Rect),
window: ^Window,
Window: Rect,
newFrame: Rect,
windowShouldZoomToFrame: proc(window: ^Window, newFrame: Rect) -> (BOOL),
window: ^Window,
Window: Rect,
newFrame: Rect,
// Managing Full-Screen Presentation
windowWillUseFullScreenContentSize: proc(window: ^Window, proposedSize: Size) -> (Size),
window: ^Window,
Window: Size,
proposedSize: Size,
windowWillUseFullScreenPresentationOptions: proc(window: ^Window, proposedOptions: ApplicationPresentationOptions) -> (ApplicationPresentationOptions),
window: ^Window,
Window: ApplicationPresentationOptions,
proposedOptions: ApplicationPresentationOptions,
windowWillEnterFullScreen: proc(notification: ^Notification),
notification: ^Notification,
windowDidEnterFullScreen: proc(notification: ^Notification),
notification: ^Notification,
windowWillExitFullScreen: proc(notification: ^Notification),
notification: ^Notification,
windowDidExitFullScreen: proc(notification: ^Notification),
notification: ^Notification,
// Custom Full-Screen Presentation Animations
customWindowsToEnterFullScreenForWindow: proc(window: ^Window) -> (^Array),
window: ^Window,
customWindowsToEnterFullScreenForWindowOnScreen: proc(window: ^Window, screen: ^Screen) -> (^Array),
window: ^Window,
Window: ^Screen,
screen: ^Screen,
windowStartCustomAnimationToEnterFullScreenWithDuration: proc(window: ^Window, duration: TimeInterval),
window: ^Window,
Window: TimeInterval,
duration: TimeInterval,
windowStartCustomAnimationToEnterFullScreenOnScreenWithDuration: proc(window: ^Window, screen: ^Screen, duration: TimeInterval),
window: ^Window,
Window: ^Screen,
screen: ^Screen,
Screen: TimeInterval,
duration: TimeInterval,
windowDidFailToEnterFullScreen: proc(window: ^Window),
window: ^Window,
customWindowsToExitFullScreenForWindow: proc(window: ^Window) -> (^Array),
window: ^Window,
windowStartCustomAnimationToExitFullScreenWithDuration: proc(window: ^Window, duration: TimeInterval),
window: ^Window,
Window: TimeInterval,
duration: TimeInterval,
windowDidFailToExitFullScreen: proc(window: ^Window),
window: ^Window,
// Moving Windows
windowWillMove: proc(notification: ^Notification),
notification: ^Notification,
windowDidMove: proc(notification: ^Notification),
notification: ^Notification,
windowDidChangeScreen: proc(notification: ^Notification),
notification: ^Notification,
windowDidChangeScreenProfile: proc(notification: ^Notification),
notification: ^Notification,
windowDidChangeBackingProperties: proc(notification: ^Notification),
notification: ^Notification,
// Closing Windows
windowShouldClose: proc(sender: ^Window) -> (BOOL),
sender: ^Window,
windowWillClose: proc(notification: ^Notification),
notification: ^Notification,
// Managing Key Status
windowDidBecomeKey: proc(notification: ^Notification),
notification: ^Notification,
windowDidResignKey: proc(notification: ^Notification),
notification: ^Notification,
// Managing Main Status
windowDidBecomeMain: proc(notification: ^Notification),
notification: ^Notification,
windowDidResignMain: proc(notification: ^Notification),
notification: ^Notification,
// Managing Field Editors
windowWillReturnFieldEditorToObject: proc(sender: ^Window, client: id) -> (id),
sender: ^Window,
Window: id,
client: id,
// Updating Windows
windowDidUpdate: proc(notification: ^Notification),
notification: ^Notification,
// Exposing Windows
windowDidExpose: proc(notification: ^Notification),
notification: ^Notification,
// Managing Occlusion State
windowDidChangeOcclusionState: proc(notification: ^Notification),
notification: ^Notification,
// Dragging Windows
windowShouldDragDocumentWithEventFromWithPasteboard: proc(window: ^Window, event: ^Event, dragImageLocation: Point, pasteboard: ^Pasteboard) -> (BOOL),
window: ^Window,
Window: ^Event,
event: ^Event,
Event: Point,
dragImageLocation: Point,
pasteboard: ^Pasteboard,
// Getting the Undo Manager
windowWillReturnUndoManager: proc(window: ^Window) -> (^UndoManager),
window: ^Window,
// Managing Titles
windowShouldPopUpDocumentPathMenu: proc(window: ^Window, menu: ^Menu) -> (BOOL),
window: ^Window,
Window: ^Menu,
menu: ^Menu,
// Managing Restorable State
windowWillEncodeRestorableState: proc(window: ^Window, state: ^Coder),
window: ^Window,
Window: ^Coder,
state: ^Coder,
windowDidEncodeRestorableState: proc(window: ^Window, state: ^Coder),
window: ^Window,
Window: ^Coder,
state: ^Coder,
// Managing Presentation in Version Browsers
windowWillResizeForVersionBrowserWithMaxPreferredSizeMaxAllowedSize: proc(window: ^Window, maxPreferredFrameSize: Size, maxAllowedFrameSize: Size) -> (Size),
window: ^Window,
Window: Size,
maxPreferredFrameSize: Size,
maxAllowedFrameSize: Size,
windowWillEnterVersionBrowser: proc(notification: ^Notification),
notification: ^Notification,
windowDidEnterVersionBrowser: proc(notification: ^Notification),
notification: ^Notification,
windowWillExitVersionBrowser: proc(notification: ^Notification),
notification: ^Notification,
windowDidExitVersionBrowser: proc(notification: ^Notification),
notification: ^Notification,
}SourceWindowLevel
WindowLevel :: enum Integer {
Normal = 0,
Floating = 3,
Submenu = 3,
TornOffMenu = 3,
ModalPanel = 8,
MainMenu = 24,
Status = 25,
PopUpMenu = 101,
ScreenSaver = 1000,
}SourceWindowStyleFlag
WindowStyleFlag :: enum UInteger {
Titled = 0,
Closable = 1,
Miniaturizable = 2,
Resizable = 3,
TexturedBackground = 8,
UnifiedTitleAndToolbar = 12,
FullScreen = 14,
FullSizeContentView = 15,
UtilityWindow = 4,
DocModalWindow = 6,
NonactivatingPanel = 7,
HUDWindow = 13,
}SourceWindowStyleMask
WindowStyleMask :: bit_set[WindowStyleFlag; UInteger]SourceWindowTabbingMode
WindowTabbingMode :: enum Integer {
Automatic = 0,
Preferred = 1,
Disallowed = 2,
}SourceWindow_Title_Visibility
Window_Title_Visibility :: enum UInteger {
Visible = 0,
Hidden = 1,
}SourceZone
Zone :: struct {
_: Object,
}Source_ApplicationDelegateInternal
_ApplicationDelegateInternal :: struct {
_: ApplicationDelegateTemplate,
_context: runtime.Context,
}Source_WindowDelegateInternal
_WindowDelegateInternal :: struct {
_: WindowDelegateTemplate,
_context: runtime.Context,
}Sourceid
id :: ^intrinsics.objc_objectSourcekVK
kVK :: enum int {
ANSI_A = 0,
ANSI_S = 1,
ANSI_D = 2,
ANSI_F = 3,
ANSI_H = 4,
ANSI_G = 5,
ANSI_Z = 6,
ANSI_X = 7,
ANSI_C = 8,
ANSI_V = 9,
ANSI_B = 11,
ANSI_Q = 12,
ANSI_W = 13,
ANSI_E = 14,
ANSI_R = 15,
ANSI_Y = 16,
ANSI_T = 17,
ANSI_1 = 18,
ANSI_2 = 19,
ANSI_3 = 20,
ANSI_4 = 21,
ANSI_6 = 22,
ANSI_5 = 23,
ANSI_Equal = 24,
ANSI_9 = 25,
ANSI_7 = 26,
ANSI_Minus = 27,
ANSI_8 = 28,
ANSI_0 = 29,
ANSI_RightBracket = 30,
ANSI_O = 31,
ANSI_U = 32,
ANSI_LeftBracket = 33,
ANSI_I = 34,
ANSI_P = 35,
ANSI_L = 37,
ANSI_J = 38,
ANSI_Quote = 39,
ANSI_K = 40,
ANSI_Semicolon = 41,
ANSI_Backslash = 42,
ANSI_Comma = 43,
ANSI_Slash = 44,
ANSI_N = 45,
ANSI_M = 46,
ANSI_Period = 47,
ANSI_Grave = 50,
ANSI_KeypadDecimal = 65,
ANSI_KeypadMultiply = 67,
ANSI_KeypadPlus = 69,
ANSI_KeypadClear = 71,
ANSI_KeypadDivide = 75,
ANSI_KeypadEnter = 76,
ANSI_KeypadMinus = 78,
ANSI_KeypadEquals = 81,
ANSI_Keypad0 = 82,
ANSI_Keypad1 = 83,
ANSI_Keypad2 = 84,
ANSI_Keypad3 = 85,
ANSI_Keypad4 = 86,
ANSI_Keypad5 = 87,
ANSI_Keypad6 = 88,
ANSI_Keypad7 = 89,
ANSI_Keypad8 = 91,
ANSI_Keypad9 = 92,
Return = 36,
Tab = 48,
Space = 49,
Delete = 51,
Escape = 53,
Command = 55,
Shift = 56,
CapsLock = 57,
Option = 58,
Control = 59,
RightCommand = 54,
RightShift = 60,
RightOption = 61,
RightControl = 62,
Function = 63,
F17 = 64,
VolumeUp = 72,
VolumeDown = 73,
Mute = 74,
F18 = 79,
F19 = 80,
F20 = 90,
F5 = 96,
F6 = 97,
F7 = 98,
F3 = 99,
F8 = 100,
F9 = 101,
F11 = 103,
F13 = 105,
F16 = 106,
F14 = 107,
F10 = 109,
F12 = 111,
F15 = 113,
Help = 114,
Home = 115,
PageUp = 116,
ForwardDelete = 117,
F4 = 118,
End = 119,
F2 = 120,
PageDown = 121,
F1 = 122,
LeftArrow = 123,
RightArrow = 124,
DownArrow = 125,
UpArrow = 126,
JIS_Yen = 93,
JIS_Underscore = 94,
JIS_KeypadComma = 95,
JIS_Eisu = 102,
JIS_Kana = 104,
ISO_Section = 10,
}SourceDefined in Carbon.framework Events.h
objc_AssociationPolicy
objc_AssociationPolicy :: enum c.uintptr_t {
Assign = 0,
Retain_Nonatomic = 1,
Copy_Nonatomic = 3,
Retain = 1401,
Copy = 1403,
}Sourceobjc_cache
objc_cache :: struct {
mask: u32,
occupied: u32,
buckets: [1]Method,
}Sourceobjc_class_internals
objc_class_internals :: struct {
isa: Class,
super_class: Class,
name: cstring,
version: c.long,
info: c.long,
instance_size: c.long,
ivars: ^objc_ivar_list,
methodLists: ^^objc_method_list,
cache: rawptr,
protocols: rawptr,
}Sourceobjc_ivar
objc_ivar :: struct {}Sourceobjc_ivar_list
objc_ivar_list :: struct {}Sourceobjc_method
objc_method :: struct {
method_name: SEL,
method_types: cstring,
method_imp: IMP,
}Sourceobjc_method_list
objc_method_list :: struct {}Sourceobjc_object_internals
objc_object_internals :: struct {
isa: ^objc_class_internals,
}Sourceobjc_property
objc_property :: struct {}Sourceobjc_property_attribute_t
objc_property_attribute_t :: struct {
name: cstring,
value: cstring,
}Sourceobjc_property_t
objc_property_t :: ^objc_propertySourceobjc_protocol_list
objc_protocol_list :: struct {
next: ^objc_protocol_list,
count: c.int,
list: [1]^Protocol,
}Sourceunichar
unichar :: u16SourceConstants
66ApplicationPresentationOptionsAutoHideDock
ApplicationPresentationOptionsAutoHideDock :: ApplicationPresentationOptions = ApplicationPresentationOptions {.AutoHideDock}SourceApplicationPresentationOptionsAutoHideMenuBar
ApplicationPresentationOptionsAutoHideMenuBar :: ApplicationPresentationOptions = ApplicationPresentationOptions {.AutoHideMenuBar}SourceApplicationPresentationOptionsAutoHideToolbar
ApplicationPresentationOptionsAutoHideToolbar :: ApplicationPresentationOptions = ApplicationPresentationOptions {.AutoHideToolbar}SourceApplicationPresentationOptionsDefault
ApplicationPresentationOptionsDefault :: ApplicationPresentationOptions = ApplicationPresentationOptions {}SourceApplicationPresentationOptionsDisableAppleMenu
ApplicationPresentationOptionsDisableAppleMenu :: ApplicationPresentationOptions = ApplicationPresentationOptions {.DisableAppleMenu}SourceApplicationPresentationOptionsDisableCursorLocationAssistance
ApplicationPresentationOptionsDisableCursorLocationAssistance :: ApplicationPresentationOptions = ApplicationPresentationOptions {.DisableCursorLocationAssistance}SourceApplicationPresentationOptionsDisableForceQuit
ApplicationPresentationOptionsDisableForceQuit :: ApplicationPresentationOptions = ApplicationPresentationOptions {.DisableForceQuit}SourceApplicationPresentationOptionsDisableHideApplication
ApplicationPresentationOptionsDisableHideApplication :: ApplicationPresentationOptions = ApplicationPresentationOptions {.DisableHideApplication}SourceApplicationPresentationOptionsDisableMenuBarTransparency
ApplicationPresentationOptionsDisableMenuBarTransparency :: ApplicationPresentationOptions = ApplicationPresentationOptions {.DisableMenuBarTransparency}SourceApplicationPresentationOptionsDisableProcessSwitching
ApplicationPresentationOptionsDisableProcessSwitching :: ApplicationPresentationOptions = ApplicationPresentationOptions {.DisableProcessSwitching}SourceApplicationPresentationOptionsDisableSessionTermination
ApplicationPresentationOptionsDisableSessionTermination :: ApplicationPresentationOptions = ApplicationPresentationOptions {.DisableSessionTermination}SourceApplicationPresentationOptionsFullScreen
ApplicationPresentationOptionsFullScreen :: ApplicationPresentationOptions = ApplicationPresentationOptions {.FullScreen}SourceApplicationPresentationOptionsHideDock
ApplicationPresentationOptionsHideDock :: ApplicationPresentationOptions = ApplicationPresentationOptions {.HideDock}SourceApplicationPresentationOptionsHideMenuBar
ApplicationPresentationOptionsHideMenuBar :: ApplicationPresentationOptions = ApplicationPresentationOptions {.HideMenuBar}SourceEventMaskAny
EventMaskAny :: _ = transmute(EventMask)(max(UInteger))SourceEventModifierFlagCapsLock
EventModifierFlagCapsLock :: EventModifierFlags = EventModifierFlags{.CapsLock}SourceEventModifierFlagCommand
EventModifierFlagCommand :: EventModifierFlags = EventModifierFlags{.Command}SourceEventModifierFlagControl
EventModifierFlagControl :: EventModifierFlags = EventModifierFlags{.Control}SourceEventModifierFlagDeviceIndependentFlagsMask
EventModifierFlagDeviceIndependentFlagsMask :: UInteger = 0xffff0000SourceEventModifierFlagFunction
EventModifierFlagFunction :: EventModifierFlags = EventModifierFlags{.Function}SourceEventModifierFlagHelp
EventModifierFlagHelp :: EventModifierFlags = EventModifierFlags{.Help}SourceEventModifierFlagNumericPad
EventModifierFlagNumericPad :: EventModifierFlags = EventModifierFlags{.NumericPad}SourceEventModifierFlagOption
EventModifierFlagOption :: EventModifierFlags = EventModifierFlags{.Option}SourceEventModifierFlagShift
EventModifierFlagShift :: EventModifierFlags = EventModifierFlags{.Shift}SourceEventPhaseBegan
EventPhaseBegan :: EventPhase = EventPhase{.Began}SourceEventPhaseCancelled
EventPhaseCancelled :: EventPhase = EventPhase{.Cancelled}SourceEventPhaseChanged
EventPhaseChanged :: EventPhase = EventPhase{.Changed}SourceEventPhaseEnded
EventPhaseEnded :: EventPhase = EventPhase{.Ended}SourceEventPhaseMayBegin
EventPhaseMayBegin :: EventPhase = EventPhase{.MayBegin}SourceEventPhaseNone
EventPhaseNone :: EventPhase = EventPhase{}SourceEventPhaseStationary
EventPhaseStationary :: EventPhase = EventPhase{.Stationary}SourceIntegerMax
IntegerMax :: Integer = max(Integer)SourceIntegermin
Integermin :: Integer = min(Integer)SourceNO
NO :: falseSourceNotFound
NotFound :: IntegerMaxSourceUIntegerMax
UIntegerMax :: UInteger = max(UInteger)SourceWindowCollectionBehaviorAuxiliary
WindowCollectionBehaviorAuxiliary :: WindowCollectionBehavior = WindowCollectionBehavior{.Auxiliary, .FullScreenNone}SourceWindowCollectionBehaviorCanJoinAllApplications
WindowCollectionBehaviorCanJoinAllApplications :: WindowCollectionBehavior = WindowCollectionBehavior{.CanJoinAllApplications}SourceWindowCollectionBehaviorCanJoinAllSpaces
WindowCollectionBehaviorCanJoinAllSpaces :: WindowCollectionBehavior = WindowCollectionBehavior{.CanJoinAllSpaces}SourceWindowCollectionBehaviorDefault
WindowCollectionBehaviorDefault :: WindowCollectionBehavior = WindowCollectionBehavior{}SourceWindowCollectionBehaviorFullScreenAllowsTiling
WindowCollectionBehaviorFullScreenAllowsTiling :: WindowCollectionBehavior = WindowCollectionBehavior{.FullScreenAllowsTiling}SourceWindowCollectionBehaviorFullScreenAuxiliary
WindowCollectionBehaviorFullScreenAuxiliary :: WindowCollectionBehavior = WindowCollectionBehavior{.FullScreenAuxiliary}SourceWindowCollectionBehaviorFullScreenDisallowsTiling
WindowCollectionBehaviorFullScreenDisallowsTiling :: WindowCollectionBehavior = WindowCollectionBehavior{.FullScreenDisallowsTiling}SourceWindowCollectionBehaviorFullScreenNone
WindowCollectionBehaviorFullScreenNone :: WindowCollectionBehavior = WindowCollectionBehavior{.FullScreenNone}SourceWindowCollectionBehaviorFullScreenPrimary
WindowCollectionBehaviorFullScreenPrimary :: WindowCollectionBehavior = WindowCollectionBehavior{.FullScreenPrimary}SourceWindowCollectionBehaviorIgnoresCycle
WindowCollectionBehaviorIgnoresCycle :: WindowCollectionBehavior = WindowCollectionBehavior{.IgnoresCycle}SourceWindowCollectionBehaviorManaged
WindowCollectionBehaviorManaged :: WindowCollectionBehavior = WindowCollectionBehavior{.Managed}SourceWindowCollectionBehaviorMoveToActiveSpace
WindowCollectionBehaviorMoveToActiveSpace :: WindowCollectionBehavior = WindowCollectionBehavior{.MoveToActiveSpace}SourceWindowCollectionBehaviorParticipatesInCycle
WindowCollectionBehaviorParticipatesInCycle :: WindowCollectionBehavior = WindowCollectionBehavior{.ParticipatesInCycle}SourceWindowCollectionBehaviorPrimary
WindowCollectionBehaviorPrimary :: WindowCollectionBehavior = WindowCollectionBehavior{.Primary, .FullScreenAuxiliary}SourceWindowCollectionBehaviorStationary
WindowCollectionBehaviorStationary :: WindowCollectionBehavior = WindowCollectionBehavior{.Stationary}SourceWindowCollectionBehaviorTransient
WindowCollectionBehaviorTransient :: WindowCollectionBehavior = WindowCollectionBehavior{.Transient}SourceWindowStyleMaskBorderless
WindowStyleMaskBorderless :: WindowStyleMask = WindowStyleMask{}SourceWindowStyleMaskClosable
WindowStyleMaskClosable :: WindowStyleMask = WindowStyleMask{.Closable}SourceWindowStyleMaskDocModalWindow
WindowStyleMaskDocModalWindow :: WindowStyleMask = WindowStyleMask{.DocModalWindow}SourceWindowStyleMaskFullScreen
WindowStyleMaskFullScreen :: WindowStyleMask = WindowStyleMask{.FullScreen}SourceWindowStyleMaskFullSizeContentView
WindowStyleMaskFullSizeContentView :: WindowStyleMask = WindowStyleMask{.FullSizeContentView}SourceWindowStyleMaskHUDWindow
WindowStyleMaskHUDWindow :: WindowStyleMask = WindowStyleMask{.HUDWindow}SourceWindowStyleMaskMiniaturizable
WindowStyleMaskMiniaturizable :: WindowStyleMask = WindowStyleMask{.Miniaturizable}SourceWindowStyleMaskNonactivatingPanel
WindowStyleMaskNonactivatingPanel :: WindowStyleMask = WindowStyleMask{.NonactivatingPanel}SourceWindowStyleMaskResizable
WindowStyleMaskResizable :: WindowStyleMask = WindowStyleMask{.Resizable}SourceWindowStyleMaskTexturedBackground
WindowStyleMaskTexturedBackground :: WindowStyleMask = WindowStyleMask{.TexturedBackground}SourceWindowStyleMaskTitled
WindowStyleMaskTitled :: WindowStyleMask = WindowStyleMask{.Titled}SourceWindowStyleMaskUnifiedTitleAndToolbar
WindowStyleMaskUnifiedTitleAndToolbar :: WindowStyleMask = WindowStyleMask{.UnifiedTitleAndToolbar}SourceWindowStyleMaskUtilityWindow
WindowStyleMaskUtilityWindow :: WindowStyleMask = WindowStyleMask{.UtilityWindow}SourceYES
YES :: trueSourceVariables
1KeyEventModifierFlagDeviceIndependentFlagsMask
KeyEventModifierFlagDeviceIndependentFlagsMask :: _ = transmute(KeyEquivalentModifierMask)_KeyEventModifierFlagDeviceIndependentFlagsMaskSourceUsed to retrieve only the device-independent modifier flags, allowing applications to mask off the device-dependent modifier flags, including event coalescing information.
Procedures
731AT
AT :: proc(c: cstring) -> (^String)SourceApplication_activate
Application_activate :: proc(self: ^Application)SourceApplication_activateIgnoringOtherApps
Application_activateIgnoringOtherApps :: proc(self: ^Application, ignoreOtherApps: BOOL)SourceNOTE: this is technically deprecated but still actively used (Sokol, glfw, SDL, etc.) and has no clear alternative although activate is what Apple tells you to use, that does not work the same way.
Application_active
Application_active :: proc(self: ^Application) -> (BOOL)SourceApplication_currentEvent
Application_currentEvent :: proc(self: ^Application) -> (^Event)SourceApplication_finishLaunching
Application_finishLaunching :: proc(self: ^Application)SourceApplication_isRunning
Application_isRunning :: proc(self: ^Application) -> (BOOL)SourceApplication_keyWindow
Application_keyWindow :: proc(self: ^Application) -> (^Window)SourceApplication_mainMenu
Application_mainMenu :: proc(self: ^Application) -> (^Menu)SourceApplication_mainWindow
Application_mainWindow :: proc(self: ^Application) -> (^Window)SourceApplication_nextEventMatchingMask
Application_nextEventMatchingMask :: proc(self: ^Application, mask: EventMask, expiration: ^Date, in_mode: RunLoopMode, dequeue: BOOL) -> (^Event)SourceApplication_postEvent
Application_postEvent :: proc(self: ^Application, event: ^Event, atStart: BOOL)SourceApplication_run
Application_run :: proc(self: ^Application)SourceApplication_sendAction
Application_sendAction :: proc(self: ^Application, action: SEL, to: id, from: id)SourceApplication_sendEvent
Application_sendEvent :: proc(self: ^Application, event: ^Event)SourceApplication_servicesMenu
Application_servicesMenu :: proc(self: ^Application) -> (^Menu)SourceApplication_setActivationPolicy
Application_setActivationPolicy :: proc(self: ^Application, activationPolicy: ActivationPolicy) -> (BOOL)SourceApplication_setAppleMenu
Application_setAppleMenu :: proc(self: ^Application, menu: ^Menu)SourceThis property is actually not exposed in AppKit's public API. But there is basically no other way to configure the apple menu without using NIB files. Therefore, an Odin binding for this non-public API was created. Note: SDL also calls this non-public method.
Application_setDelegate
Application_setDelegate :: proc(self: ^Application, delegate: ^ApplicationDelegate)SourceApplication_setMainMenu
Application_setMainMenu :: proc(self: ^Application, menu: ^Menu)SourceApplication_setServicesMenu
Application_setServicesMenu :: proc(self: ^Application, menu: ^Menu)SourceApplication_setTitle
Application_setTitle :: proc(self: ^Application, title: ^String)SourceApplication_setWindowsMenu
Application_setWindowsMenu :: proc(self: ^Application, menu: ^Menu)SourceApplication_sharedApplication
Application_sharedApplication :: proc() -> (^Application)SourceApplication_stop
Application_stop :: proc(self: ^Application, sender: ^Object)SourceApplication_terminate
Application_terminate :: proc(self: ^Application, sender: ^Object)SourceApplication_updateWindows
Application_updateWindows :: proc(self: ^Application)SourceApplication_windows
Application_windows :: proc(self: ^Application) -> (^Array)SourceApplication_windowsMenu
Application_windowsMenu :: proc(self: ^Application) -> (^Menu)SourceArray_alloc
Array_alloc :: proc() -> (^Array)SourceArray_count
Array_count :: proc(self: ^Array) -> (UInteger)SourceArray_init
Array_init :: proc(self: ^Array) -> (^Array)SourceArray_initWithCoder
Array_initWithCoder :: proc(self: ^Array, coder: ^Coder) -> (^Array)SourceArray_initWithObjects
Array_initWithObjects :: proc(self: ^Array, objects: [^]^Object, count: UInteger) -> (^Array)SourceArray_object
Array_object :: proc(self: ^Array, index: UInteger) -> (^Object)SourceArray_objectAs
Array_objectAs :: proc(self: ^Array, index: UInteger, T: typeid) -> (T)SourceAutoreleasePool_addObject
AutoreleasePool_addObject :: proc(self: ^AutoreleasePool, obj: ^Object)SourceAutoreleasePool_alloc
AutoreleasePool_alloc :: proc() -> (^AutoreleasePool)SourceAutoreleasePool_drain
AutoreleasePool_drain :: proc(self: ^AutoreleasePool)SourceAutoreleasePool_init
AutoreleasePool_init :: proc(self: ^AutoreleasePool) -> (^AutoreleasePool)SourceAutoreleasePool_showPools
AutoreleasePool_showPools :: proc(self: ^AutoreleasePool, obj: ^Object)SourceBitmapImageRep_CGImage
BitmapImageRep_CGImage :: proc(self: ^BitmapImageRep) -> (rawptr)SourceBitmapImageRep_alloc
BitmapImageRep_alloc :: proc() -> (^BitmapImageRep)SourceBitmapImageRep_bitmapData
BitmapImageRep_bitmapData :: proc(self: ^BitmapImageRep) -> (rawptr)SourceBitmapImageRep_initWithBitmapDataPlanes_bitmapFormat
BitmapImageRep_initWithBitmapDataPlanes_bitmapFormat :: proc(
self: ^BitmapImageRep,
bitmapDataPlanes: ^^u8,
pixelsWide: Integer,
pixelsHigh: Integer,
bitsPerSample: Integer,
samplesPerPixel: Integer,
hasAlpha: bool,
isPlanar: bool,
colorSpaceName: ^String,
bitmapFormat: BitmapFormatFlags,
bytesPerRow: Integer,
bitsPerPixel: Integer,
) -> (^BitmapImageRep)SourceBitmapImageRep_initWithBitmapDataPlanes_legacy
BitmapImageRep_initWithBitmapDataPlanes_legacy :: proc(
self: ^BitmapImageRep,
bitmapDataPlanes: ^^u8,
pixelsWide: Integer,
pixelsHigh: Integer,
bitsPerSample: Integer,
samplesPerPixel: Integer,
hasAlpha: bool,
isPlanar: bool,
colorSpaceName: ^String,
bytesPerRow: Integer,
bitsPerPixel: Integer,
) -> (^BitmapImageRep)SourceBlock_createGlobal
Block_createGlobal :: proc(user_data: rawptr, user_proc: proc(user_data: rawptr), allocator: mem.Allocator = context.allocator) -> (^Block, runtime.Allocator_Error)SourceBlock_createGlobalWithParam
Block_createGlobalWithParam :: proc(user_data: rawptr, user_proc: proc(user_data: rawptr, t: T), allocator: mem.Allocator = context.allocator) -> (^Block, runtime.Allocator_Error)SourceBlock_createLocal
Block_createLocal :: proc(user_data: rawptr, user_proc: proc(user_data: rawptr)) -> (^Block)SourceBlock_createLocalWithParam
Block_createLocalWithParam :: proc(user_data: rawptr, user_proc: proc(user_data: rawptr, t: T)) -> (^Block)SourceBlock_invoke
Block_invoke :: proc(self: ^Block, args) -> (^Object)SourceBundle_PathForAuxiliaryExecutable
Bundle_PathForAuxiliaryExecutable :: proc(self: ^Bundle, executableName: ^String) -> (^String)SourceBundle_URLForAuxiliaryExecutable
Bundle_URLForAuxiliaryExecutable :: proc(self: ^Bundle, executableName: ^String) -> (^URL)SourceBundle_allBundles
Bundle_allBundles :: proc() -> (all: ^Array)SourceBundle_allFrameworks
Bundle_allFrameworks :: proc() -> (all: ^Array)SourceBundle_alloc
Bundle_alloc :: proc() -> (^Bundle)SourceBundle_appStoreReceiptPath
Bundle_appStoreReceiptPath :: proc(self: ^Bundle) -> (^String)SourceBundle_appStoreReceiptURL
Bundle_appStoreReceiptURL :: proc(self: ^Bundle) -> (^URL)SourceBundle_builtInPlugInsPath
Bundle_builtInPlugInsPath :: proc(self: ^Bundle) -> (^String)SourceBundle_builtInPlugInsURL
Bundle_builtInPlugInsURL :: proc(self: ^Bundle) -> (^URL)SourceBundle_bundleIdentifier
Bundle_bundleIdentifier :: proc(self: ^Bundle) -> (^String)SourceBundle_bundlePath
Bundle_bundlePath :: proc(self: ^Bundle) -> (^String)SourceBundle_bundleURL
Bundle_bundleURL :: proc(self: ^Bundle) -> (^URL)SourceBundle_bundleWithPath
Bundle_bundleWithPath :: proc(path: ^String) -> (^Bundle)SourceBundle_bundleWithURL
Bundle_bundleWithURL :: proc(url: ^URL) -> (^Bundle)SourceBundle_executablePath
Bundle_executablePath :: proc(self: ^Bundle) -> (^String)SourceBundle_executableURL
Bundle_executableURL :: proc(self: ^Bundle) -> (^URL)SourceBundle_infoDictionary
Bundle_infoDictionary :: proc(self: ^Bundle) -> (^Dictionary)SourceBundle_init
Bundle_init :: proc(self: ^Bundle) -> (^Bundle)SourceBundle_initWithPath
Bundle_initWithPath :: proc(self: ^Bundle, path: ^String) -> (^Bundle)SourceBundle_initWithURL
Bundle_initWithURL :: proc(self: ^Bundle, url: ^URL) -> (^Bundle)SourceBundle_isLoaded
Bundle_isLoaded :: proc(self: ^Bundle) -> (BOOL)SourceBundle_load
Bundle_load :: proc(self: ^Bundle) -> (BOOL)SourceBundle_loadAndReturnError
Bundle_loadAndReturnError :: proc(self: ^Bundle) -> (ok: BOOL, error: ^Error)SourceBundle_localizedInfoDictionary
Bundle_localizedInfoDictionary :: proc(self: ^Bundle) -> (^Dictionary)SourceBundle_localizedStringForKey
Bundle_localizedStringForKey :: proc(self: ^Bundle, key: ^String, value: ^String, tableName: ^String) -> (^String)SourceBundle_mainBundle
Bundle_mainBundle :: proc() -> (^Bundle)SourceBundle_objectForInfoDictionaryKey
Bundle_objectForInfoDictionaryKey :: proc(self: ^Bundle, key: ^String) -> (^Object)SourceBundle_preflightAndReturnError
Bundle_preflightAndReturnError :: proc(self: ^Bundle) -> (ok: BOOL, error: ^Error)SourceBundle_privateFrameworksPath
Bundle_privateFrameworksPath :: proc(self: ^Bundle) -> (^String)SourceBundle_privateFrameworksURL
Bundle_privateFrameworksURL :: proc(self: ^Bundle) -> (^URL)SourceBundle_resourcePath
Bundle_resourcePath :: proc(self: ^Bundle) -> (^String)SourceBundle_resourceURL
Bundle_resourceURL :: proc(self: ^Bundle) -> (^URL)SourceBundle_sharedFrameworksPath
Bundle_sharedFrameworksPath :: proc(self: ^Bundle) -> (^String)SourceBundle_sharedFrameworksURL
Bundle_sharedFrameworksURL :: proc(self: ^Bundle) -> (^URL)SourceBundle_sharedSupportPath
Bundle_sharedSupportPath :: proc(self: ^Bundle) -> (^String)SourceBundle_sharedSupportURL
Bundle_sharedSupportURL :: proc(self: ^Bundle) -> (^URL)SourceBundle_unload
Bundle_unload :: proc(self: ^Bundle) -> (BOOL)SourceColor_blackColor
Color_blackColor :: proc() -> (^Color)SourceColor_blueColor
Color_blueColor :: proc() -> (^Color)SourceColor_colorSpace
Color_colorSpace :: proc(self: ^Color) -> (^ColorSpace)SourceColor_colorSpaceName
Color_colorSpaceName :: proc(self: ^Color) -> (^String)SourceColor_colorUsingColorSpaceName
Color_colorUsingColorSpaceName :: proc(self: ^Color, colorSpace: ^String, device: ^Dictionary) -> (^Color)SourceColor_colorWithCalibratedHue
Color_colorWithCalibratedHue :: proc(hue: Float, saturation: Float, brightness: Float, alpha: Float) -> (^Color)SourceColor_colorWithCalibratedRed
Color_colorWithCalibratedRed :: proc(red: Float, green: Float, blue: Float, alpha: Float) -> (^Color)SourceColor_colorWithCalibratedWhite
Color_colorWithCalibratedWhite :: proc(white: Float, alpha: Float) -> (^Color)SourceColor_colorWithColorSpace
Color_colorWithColorSpace :: proc(space: ^ColorSpace, components: []Float) -> (^Color)SourceColor_colorWithDeviceCyan
Color_colorWithDeviceCyan :: proc(cyan: Float, magenta: Float, yellow: Float, black: Float, alpha: Float) -> (^Color)SourceColor_colorWithDeviceHue
Color_colorWithDeviceHue :: proc(hue: Float, saturation: Float, brightness: Float, alpha: Float) -> (^Color)SourceColor_colorWithDeviceRed
Color_colorWithDeviceRed :: proc(red: Float, green: Float, blue: Float, alpha: Float) -> (^Color)SourceColor_colorWithDeviceWhite
Color_colorWithDeviceWhite :: proc(white: Float, alpha: Float) -> (^Color)SourceColor_colorWithSRGBRed
Color_colorWithSRGBRed :: proc(red: Float, green: Float, blue: Float, alpha: Float) -> (^Color)SourceColor_cyanColor
Color_cyanColor :: proc() -> (^Color)SourceColor_getCMYKA
Color_getCMYKA :: proc(self: ^Color) -> (cyan: Float, magenta: Float, yellow: Float, black: Float, alpha: Float)SourceColor_getComponents
Color_getComponents :: proc(self: ^Color, components: [^]Float)SourceColor_getHSBA
Color_getHSBA :: proc(self: ^Color) -> (hue: Float, saturation: Float, brightness: Float, alpha: Float)SourceColor_getRGBA
Color_getRGBA :: proc(self: ^Color) -> (red: Float, green: Float, blue: Float, alpha: Float)SourceColor_getWhiteAlpha
Color_getWhiteAlpha :: proc(self: ^Color) -> (white: Float, alpha: Float)SourceColor_greenColor
Color_greenColor :: proc() -> (^Color)SourceColor_magentaColor
Color_magentaColor :: proc() -> (^Color)SourceColor_numberOfComponents
Color_numberOfComponents :: proc(self: ^Color) -> (Integer)SourceColor_orangeColor
Color_orangeColor :: proc() -> (^Color)SourceColor_purpleColor
Color_purpleColor :: proc() -> (^Color)SourceColor_redColor
Color_redColor :: proc() -> (^Color)SourceColor_whiteColor
Color_whiteColor :: proc() -> (^Color)SourceColor_yellowColor
Color_yellowColor :: proc() -> (^Color)SourceCondition_alloc
Condition_alloc :: proc() -> (^Condition)SourceCondition_broadcast
Condition_broadcast :: proc(self: ^Condition)SourceCondition_init
Condition_init :: proc(self: ^Condition) -> (^Condition)SourceCondition_lock
Condition_lock :: proc(self: ^Condition)SourceCondition_signal
Condition_signal :: proc(self: ^Condition)SourceCondition_unlock
Condition_unlock :: proc(self: ^Condition)SourceCondition_wait
Condition_wait :: proc(self: ^Condition)SourceCondition_waitUntilDate
Condition_waitUntilDate :: proc(self: ^Condition, limit: ^Date) -> (BOOL)SourceCursor_IBeamCursor
Cursor_IBeamCursor :: proc() -> (^Cursor)SourceCursor_alloc
Cursor_alloc :: proc() -> (^Cursor)SourceCursor_arrowCursor
Cursor_arrowCursor :: proc() -> (^Cursor)SourceCursor_currentCursor
Cursor_currentCursor :: proc() -> (^Cursor)SourceCursor_hide
Cursor_hide :: proc()SourceCursor_initWithImage
Cursor_initWithImage :: proc(self: ^Cursor, image: ^Image, hotSpot: Point) -> (^Cursor)SourceCursor_pointingHandCursor
Cursor_pointingHandCursor :: proc() -> (^Cursor)SourceCursor_set
Cursor_set :: proc(self: ^Cursor)SourceCursor_setHiddenUntilMouseMoves
Cursor_setHiddenUntilMouseMoves :: proc(flag: BOOL)SourceCursor_unhide
Cursor_unhide :: proc()SourceData_alloc
Data_alloc :: proc() -> (^Data)SourceData_init
Data_init :: proc(self: ^Data) -> (^Data)SourceData_initWithBytes
Data_initWithBytes :: proc(self: ^Data, bytes: []u8) -> (^Data)SourceData_initWithBytesNoCopy
Data_initWithBytesNoCopy :: proc(self: ^Data, bytes: []u8, freeWhenDone: BOOL) -> (^Data)SourceData_length
Data_length :: proc(self: ^Data) -> (UInteger)SourceData_mutableBytes
Data_mutableBytes :: proc(self: ^Data) -> (rawptr)SourceDate_alloc
Date_alloc :: proc() -> (^Date)SourceDate_dateWithTimeIntervalSinceNow
Date_dateWithTimeIntervalSinceNow :: proc(secs: TimeInterval) -> (^Date)SourceDate_distantFuture
Date_distantFuture :: proc() -> (^Date)SourceDate_distantPast
Date_distantPast :: proc() -> (^Date)SourceDate_init
Date_init :: proc(self: ^Date) -> (^Date)SourceDate_timeIntervalSince1970
Date_timeIntervalSince1970 :: proc(self: ^Date) -> (f64)SourceDictionary_alloc
Dictionary_alloc :: proc() -> (^Dictionary)SourceDictionary_count
Dictionary_count :: proc(self: ^Dictionary) -> (UInteger)SourceDictionary_dictionary
Dictionary_dictionary :: proc() -> (^Dictionary)SourceDictionary_dictionaryWithObject
Dictionary_dictionaryWithObject :: proc(object: ^Object, forKey: ^Object) -> (^Dictionary)SourceDictionary_dictionaryWithObjects
Dictionary_dictionaryWithObjects :: proc(objects: [^]^Object, forKeys: [^]^Object, count: UInteger) -> (^Dictionary)SourceDictionary_init
Dictionary_init :: proc(self: ^Dictionary) -> (^Dictionary)SourceDictionary_initWithObjects
Dictionary_initWithObjects :: proc(self: ^Dictionary, objects: [^]^Object, forKeys: [^]^Object, count: UInteger) -> (^Dictionary)SourceDictionary_keyEnumerator
Dictionary_keyEnumerator :: proc(self: ^Dictionary, KeyType: typeid) -> (enumerator: ^Enumerator($KeyType=typeid))SourceDictionary_objectForKey
Dictionary_objectForKey :: proc(self: ^Dictionary, key: ^Object) -> (^Object)SourceEnumerator_allObjects
Enumerator_allObjects :: proc(self: ^E) -> (all: ^Array)SourceEnumerator_iterator
Enumerator_iterator :: proc(self: ^E) -> (obj: T, ok: bool)SourceEnumerator_nextObject
Enumerator_nextObject :: proc(self: ^E) -> (T)SourceError_alloc
Error_alloc :: proc() -> (^Error)SourceError_code
Error_code :: proc(self: ^Error) -> (Integer)SourceError_domain
Error_domain :: proc(self: ^Error) -> (ErrorDomain)SourceError_errorWithDomain
Error_errorWithDomain :: proc(domain: ErrorDomain, code: Integer, userInfo: ^Dictionary) -> (^Error)SourceError_init
Error_init :: proc(self: ^Error) -> (^Error)SourceError_initWithDomain
Error_initWithDomain :: proc(self: ^Error, domain: ErrorDomain, code: Integer, userInfo: ^Dictionary) -> (^Error)SourceError_localizedDescription
Error_localizedDescription :: proc(self: ^Error) -> (^String)SourceError_localizedFailureReason
Error_localizedFailureReason :: proc(self: ^Error) -> (^String)SourceError_localizedRecoveryOptions
Error_localizedRecoveryOptions :: proc(self: ^Error) -> (options: ^Array)SourceError_localizedRecoverySuggestion
Error_localizedRecoverySuggestion :: proc(self: ^Error) -> (^String)SourceError_userInfo
Error_userInfo :: proc(self: ^Error) -> (^Dictionary)SourceEvent_absolute
Event_absolute :: proc(self: ^Event) -> (x: Integer, y: Integer, z: Integer)SourceEvent_absoluteX
Event_absoluteX :: proc(self: ^Event) -> (Integer)SourceEvent_absoluteY
Event_absoluteY :: proc(self: ^Event) -> (Integer)SourceEvent_absoluteZ
Event_absoluteZ :: proc(self: ^Event) -> (Integer)SourceEvent_buttonMask
Event_buttonMask :: proc(self: ^Event) -> (UInteger)SourceEvent_buttonNumber
Event_buttonNumber :: proc(self: ^Event) -> (Integer)Sourcefor NSOtherMouse events, but will return valid constants for NSLeftMouse and NSRightMouse
Event_capabilityMask
Event_capabilityMask :: proc(self: ^Event) -> (UInteger)SourceEvent_characters
Event_characters :: proc(self: ^Event) -> (^String)SourceEvent_charactersIgnoringModifiers
Event_charactersIgnoringModifiers :: proc(self: ^Event) -> (^String)SourceEvent_clickCount
Event_clickCount :: proc(self: ^Event) -> (Integer)Sourcethese messages are valid for all mouse down/up/drag events
Event_data1
Event_data1 :: proc(self: ^Event) -> (Integer)SourceEvent_data2
Event_data2 :: proc(self: ^Event) -> (Integer)SourceEvent_delta
Event_delta :: proc(self: ^Event) -> (x: Float, y: Float, z: Float)SourceEvent_deltaX
Event_deltaX :: proc(self: ^Event) -> (Float)SourceEvent_deltaY
Event_deltaY :: proc(self: ^Event) -> (Float)SourceEvent_deltaZ
Event_deltaZ :: proc(self: ^Event) -> (Float)SourceEvent_eventNumber
Event_eventNumber :: proc(self: ^Event) -> (Integer)Sourcethese messages are valid for all mouse down/up/drag and enter/exit events
Event_hasPreciseScrollingDeltas
Event_hasPreciseScrollingDeltas :: proc(self: ^Event) -> (BOOL)SourceEvent_isARepeat
Event_isARepeat :: proc(self: ^Event) -> (BOOL)SourceEvent_isDirectionInvertedFromDevice
Event_isDirectionInvertedFromDevice :: proc(self: ^Event) -> (BOOL)SourceEvent_isEnteringProximity
Event_isEnteringProximity :: proc(self: ^Event) -> (BOOL)SourceEvent_isSwipeTrackingFromScrollEventsEnabled
Event_isSwipeTrackingFromScrollEventsEnabled :: proc(self: ^Event) -> (BOOL)SourceEvent_keyCode
Event_keyCode :: proc(self: ^Event) -> (u16)SourceEvent_locationInWindow
Event_locationInWindow :: proc(self: ^Event) -> (Point)Source-locationInWindow is valid for all mouse-related events
Event_modifierFlags
Event_modifierFlags :: proc(self: ^Event) -> (EventModifierFlags)SourceEvent_momentumPhase
Event_momentumPhase :: proc(self: ^Event) -> (EventPhase)SourceEvent_mouseLocation
Event_mouseLocation :: proc() -> (Point)SourceEvent_otherEventWithType
Event_otherEventWithType :: proc(
type: EventType,
location: Point,
flags: EventModifierFlags,
time: TimeInterval,
window_number: Integer,
ctx: id,
subtype: i16,
data1: Integer,
data2: Integer,
) -> (^Event)Sourceclass methods for creating events
Event_phase
Event_phase :: proc(self: ^Event) -> (EventPhase)SourceEvent_pointingDeviceID
Event_pointingDeviceID :: proc(self: ^Event) -> (UInteger)SourceEvent_pointingDeviceSerialNumber
Event_pointingDeviceSerialNumber :: proc(self: ^Event) -> (UInteger)SourceEvent_pointingDeviceType
Event_pointingDeviceType :: proc(self: ^Event) -> (PointingDeviceType)SourceEvent_pressure
Event_pressure :: proc(self: ^Event) -> (f32)Source-pressure is valid for all mouse down/up/drag events, and is also valid for NSTabletPoint events on 10.4 or later
Event_scrollingDelta
Event_scrollingDelta :: proc(self: ^Event) -> (x: Float, y: Float)SourceEvent_scrollingDeltaX
Event_scrollingDeltaX :: proc(self: ^Event) -> (Float)SourceEvent_scrollingDeltaY
Event_scrollingDeltaY :: proc(self: ^Event) -> (Float)SourceEvent_subtype
Event_subtype :: proc(self: ^Event) -> (i16)SourceEvent_systemTabletID
Event_systemTabletID :: proc(self: ^Event) -> (UInteger)SourceEvent_tabletID
Event_tabletID :: proc(self: ^Event) -> (UInteger)SourceEvent_tangentialPressure
Event_tangentialPressure :: proc(self: ^Event) -> (f32)SourceEvent_timestamp
Event_timestamp :: proc(self: ^Event) -> (TimeInterval)SourceEvent_type
Event_type :: proc(self: ^Event) -> (EventType)Sourcethese messages are valid for all events
Event_uniqueID
Event_uniqueID :: proc(self: ^Event) -> (u64)SourceEvent_vendorDefined
Event_vendorDefined :: proc(self: ^Event) -> (id)SourceEvent_vendorID
Event_vendorID :: proc(self: ^Event) -> (UInteger)SourceEvent_vendorPointingDeviceType
Event_vendorPointingDeviceType :: proc(self: ^Event) -> (UInteger)SourceEvent_window
Event_window :: proc(self: ^Event) -> (^Window)SourceEvent_windowNumber
Event_windowNumber :: proc(self: ^Event) -> (UInteger)SourceFastEnumeration_alloc
FastEnumeration_alloc :: proc() -> (^FastEnumeration)SourceFastEnumeration_countByEnumerating
FastEnumeration_countByEnumerating :: proc(self: ^FastEnumeration, state: ^FastEnumerationState, buffer: [^]^Object, len: UInteger) -> (UInteger)SourceFastEnumeration_init
FastEnumeration_init :: proc(self: ^FastEnumeration) -> (^FastEnumeration)SourceImage_addRepresentation
Image_addRepresentation :: proc(self: ^Image, rep: ^ImageRep)SourceImage_alloc
Image_alloc :: proc() -> (^Image)SourceImage_initWithSize
Image_initWithSize :: proc(self: ^Image, size: Size) -> (^Image)SourceLayer_addSublayer
Layer_addSublayer :: proc(self: ^Layer, layer: ^Layer)SourceLayer_contents
Layer_contents :: proc(self: ^Layer) -> (rawptr)SourceLayer_contentsScale
Layer_contentsScale :: proc(self: ^Layer) -> (Float)SourceLayer_frame
Layer_frame :: proc(self: ^Layer) -> (Rect)SourceLayer_position
Layer_position :: proc(self: ^Layer) -> (Point)SourceLayer_setContents
Layer_setContents :: proc(self: ^Layer, contents: rawptr)SourceLayer_setContentsScale
Layer_setContentsScale :: proc(self: ^Layer, scale: Float)SourceLayer_setPosition
Layer_setPosition :: proc(self: ^Layer, position: Point)SourceLocking_lock
Locking_lock :: proc(self: ^Locking($T))SourceLocking_unlock
Locking_unlock :: proc(self: ^Locking($T))SourceMakeConstantString
MakeConstantString :: proc(c: cstring) -> (^String)SourceCFString is 'toll-free bridged' with its Cocoa Foundation counterpart, NSString.
MaxX
MaxX :: proc(aRect: Rect) -> (Float)SourceMaxY
MaxY :: proc(aRect: Rect) -> (Float)SourceMenuDelegate_confinementRectForMenu
MenuDelegate_confinementRectForMenu :: proc(self: ^MenuDelegate, menu: ^Menu, screen: ^Screen) -> (Rect)SourceMenuDelegate_menuDidClose
MenuDelegate_menuDidClose :: proc(self: ^MenuDelegate, menu: ^Menu)SourceMenuDelegate_menuHasKeyEquivalent
MenuDelegate_menuHasKeyEquivalent :: proc(self: ^MenuDelegate, menu: ^Menu, event: ^Event, target: ^id, action: ^SEL) -> (bool)SourceMenuDelegate_menuNeedsUpdate
MenuDelegate_menuNeedsUpdate :: proc(self: ^MenuDelegate, menu: ^Menu)SourceMenuDelegate_menuWillOpen
MenuDelegate_menuWillOpen :: proc(self: ^MenuDelegate, menu: ^Menu)SourceMenuDelegate_menu_updateItem_atIndex_shouldCancel
MenuDelegate_menu_updateItem_atIndex_shouldCancel :: proc(self: ^MenuDelegate, menu: ^Menu, item: ^MenuItem, index: Integer, shouldCancel: bool) -> (bool)SourceMenuDelegate_menu_willHighlightItem
MenuDelegate_menu_willHighlightItem :: proc(self: ^MenuDelegate, menu: ^Menu, item: ^MenuItem)SourceMenuDelegate_numberOfItemsInMenu
MenuDelegate_numberOfItemsInMenu :: proc(self: ^MenuDelegate, menu: ^Menu) -> (Integer)SourceMenuItem_accessInstanceVariablesDirectly
MenuItem_accessInstanceVariablesDirectly :: proc() -> (bool)SourceMenuItem_action
MenuItem_action :: proc(self: ^MenuItem) -> (SEL)SourceMenuItem_alloc
MenuItem_alloc :: proc() -> (^MenuItem)SourceMenuItem_allocWithZone
MenuItem_allocWithZone :: proc(zone: ^Zone) -> (^MenuItem)SourceMenuItem_allowsAutomaticKeyEquivalentLocalization
MenuItem_allowsAutomaticKeyEquivalentLocalization :: proc(self: ^MenuItem) -> (bool)SourceMenuItem_allowsAutomaticKeyEquivalentMirroring
MenuItem_allowsAutomaticKeyEquivalentMirroring :: proc(self: ^MenuItem) -> (bool)SourceMenuItem_allowsKeyEquivalentWhenHidden
MenuItem_allowsKeyEquivalentWhenHidden :: proc(self: ^MenuItem) -> (bool)SourceMenuItem_automaticallyNotifiesObserversForKey
MenuItem_automaticallyNotifiesObserversForKey :: proc(key: ^String) -> (bool)SourceMenuItem_cancelPreviousPerformRequestsWithTarget_
MenuItem_cancelPreviousPerformRequestsWithTarget_ :: proc(aTarget: id)SourceMenuItem_cancelPreviousPerformRequestsWithTarget_selector_object
MenuItem_cancelPreviousPerformRequestsWithTarget_selector_object :: proc(aTarget: id, aSelector: SEL, anArgument: id)SourceMenuItem_class
MenuItem_class :: proc() -> (Class)SourceMenuItem_classFallbacksForKeyedArchiver
MenuItem_classFallbacksForKeyedArchiver :: proc() -> (^Array)SourceMenuItem_classForKeyedUnarchiver
MenuItem_classForKeyedUnarchiver :: proc() -> (Class)SourceMenuItem_conformsToProtocol
MenuItem_conformsToProtocol :: proc(protocol: ^Protocol) -> (bool)SourceMenuItem_copyWithZone
MenuItem_copyWithZone :: proc(zone: ^Zone) -> (id)SourceMenuItem_debugDescription
MenuItem_debugDescription :: proc() -> (^String)SourceMenuItem_defaultPlaceholderForMarker
MenuItem_defaultPlaceholderForMarker :: proc(marker: id, binding: ^String) -> (id)SourceMenuItem_description
MenuItem_description :: proc() -> (^String)SourceMenuItem_exposeBinding
MenuItem_exposeBinding :: proc(binding: ^String)SourceMenuItem_hasSubmenu
MenuItem_hasSubmenu :: proc(self: ^MenuItem) -> (bool)SourceMenuItem_hash
MenuItem_hash :: proc() -> (UInteger)SourceMenuItem_indentationLevel
MenuItem_indentationLevel :: proc(self: ^MenuItem) -> (Integer)SourceMenuItem_init
MenuItem_init :: proc(self: ^MenuItem) -> (^MenuItem)SourceMenuItem_initWithCoder
MenuItem_initWithCoder :: proc(self: ^MenuItem, coder: ^Coder) -> (^MenuItem)SourceMenuItem_initWithTitle
MenuItem_initWithTitle :: proc(self: ^MenuItem, string: ^String, selector: SEL, charCode: ^String) -> (^MenuItem)SourceMenuItem_initialize
MenuItem_initialize :: proc()SourceMenuItem_instanceMethodForSelector
MenuItem_instanceMethodForSelector :: proc(aSelector: SEL) -> (IMP)SourceMenuItem_instancesRespondToSelector
MenuItem_instancesRespondToSelector :: proc(aSelector: SEL) -> (bool)SourceMenuItem_isAlternate
MenuItem_isAlternate :: proc(self: ^MenuItem) -> (bool)SourceMenuItem_isEnabled
MenuItem_isEnabled :: proc(self: ^MenuItem) -> (bool)Source@(objc_type=MenuItem, objc_name="image") MenuItem_image :: #force_inline proc "c" (self: ^MenuItem) -> ^Image {
return msgSend(^Image, self, "image")
}
@(objc_type=MenuItem, objc_name="setImage")
MenuItem_setImage :: #force_inline proc "c" (self: ^MenuItem, image: ^Image) {
msgSend(nil, self, "setImage:", image)
}
@(objc_type=MenuItem, objc_name="state")
MenuItem_state :: #force_inline proc "c" (self: ^MenuItem) -> ControlStateValue {
return msgSend(ControlStateValue, self, "state")
}
@(objc_type=MenuItem, objc_name="setState")
MenuItem_setState :: #force_inline proc "c" (self: ^MenuItem, state: ControlStateValue) {
msgSend(nil, self, "setState:", state)
}
@(objc_type=MenuItem, objc_name="onStateImage")
MenuItem_onStateImage :: #force_inline proc "c" (self: ^MenuItem) -> ^Image {
return msgSend(^Image, self, "onStateImage")
}
@(objc_type=MenuItem, objc_name="setOnStateImage")
MenuItem_setOnStateImage :: #force_inline proc "c" (self: ^MenuItem, onStateImage: ^Image) {
msgSend(nil, self, "setOnStateImage:", onStateImage)
}
@(objc_type=MenuItem, objc_name="offStateImage")
MenuItem_offStateImage :: #force_inline proc "c" (self: ^MenuItem) -> ^Image {
return msgSend(^Image, self, "offStateImage")
}
@(objc_type=MenuItem, objc_name="setOffStateImage")
MenuItem_setOffStateImage :: #force_inline proc "c" (self: ^MenuItem, offStateImage: ^Image) {
msgSend(nil, self, "setOffStateImage:", offStateImage)
}
@(objc_type=MenuItem, objc_name="mixedStateImage")
MenuItem_mixedStateImage :: #force_inline proc "c" (self: ^MenuItem) -> ^Image {
return msgSend(^Image, self, "mixedStateImage")
}
@(objc_type=MenuItem, objc_name="setMixedStateImage")
MenuItem_setMixedStateImage :: #force_inline proc "c" (self: ^MenuItem, mixedStateImage: ^Image) {
msgSend(nil, self, "setMixedStateImage:", mixedStateImage)
}MenuItem_isHidden
MenuItem_isHidden :: proc(self: ^MenuItem) -> (bool)SourceMenuItem_isHiddenOrHasHiddenAncestor
MenuItem_isHiddenOrHasHiddenAncestor :: proc(self: ^MenuItem) -> (bool)SourceMenuItem_isHighlighted
MenuItem_isHighlighted :: proc(self: ^MenuItem) -> (bool)SourceMenuItem_isSectionHeader
MenuItem_isSectionHeader :: proc(self: ^MenuItem) -> (bool)SourceMenuItem_isSeparatorItem
MenuItem_isSeparatorItem :: proc(self: ^MenuItem) -> (bool)SourceMenuItem_isSubclassOfClass
MenuItem_isSubclassOfClass :: proc(aClass: Class) -> (bool)Source@(objc_type=MenuItem, objc_name="instanceMethodSignatureForSelector", objc_is_class_method=true) MenuItem_instanceMethodSignatureForSelector :: #force_inline proc "c" (aSelector: SEL) -> ^MethodSignature {
return msgSend(^MethodSignature, MenuItem, "instanceMethodSignatureForSelector:", aSelector)
}MenuItem_keyEquivalent
MenuItem_keyEquivalent :: proc(self: ^MenuItem) -> (^String)SourceMenuItem_keyEquivalentModifierMask
MenuItem_keyEquivalentModifierMask :: proc(self: ^MenuItem) -> (EventModifierFlags)SourceMenuItem_keyPathsForValuesAffectingValueForKey
MenuItem_keyPathsForValuesAffectingValueForKey :: proc(key: ^String) -> (^Set)SourceMenuItem_load
MenuItem_load :: proc()SourceMenuItem_menu
MenuItem_menu :: proc(self: ^MenuItem) -> (^Menu)SourceMenuItem_mnemonic
MenuItem_mnemonic :: proc(self: ^MenuItem) -> (^String)SourceMenuItem_mnemonicLocation
MenuItem_mnemonicLocation :: proc(self: ^MenuItem) -> (UInteger)SourceMenuItem_mutableCopyWithZone
MenuItem_mutableCopyWithZone :: proc(zone: ^Zone) -> (id)SourceMenuItem_new
MenuItem_new :: proc() -> (^MenuItem)SourceMenuItem_parentItem
MenuItem_parentItem :: proc(self: ^MenuItem) -> (^MenuItem)SourceMenuItem_poseAsClass
MenuItem_poseAsClass :: proc(aClass: Class)SourceMenuItem_registerActionCallback
MenuItem_registerActionCallback :: proc(name: cstring, callback: MenuItemCallback) -> (SEL)SourceMenuItem_representedObject
MenuItem_representedObject :: proc(self: ^MenuItem) -> (id)SourceMenuItem_resolveClassMethod
MenuItem_resolveClassMethod :: proc(sel: SEL) -> (bool)SourceMenuItem_resolveInstanceMethod
MenuItem_resolveInstanceMethod :: proc(sel: SEL) -> (bool)SourceMenuItem_sectionHeaderWithTitle
MenuItem_sectionHeaderWithTitle :: proc(title: ^String) -> (^MenuItem)SourceMenuItem_separatorItem
MenuItem_separatorItem :: proc() -> (^MenuItem)SourceMenuItem_setAction
MenuItem_setAction :: proc(self: ^MenuItem, action: SEL)SourceMenuItem_setAllowsAutomaticKeyEquivalentLocalization
MenuItem_setAllowsAutomaticKeyEquivalentLocalization :: proc(self: ^MenuItem, allowsAutomaticKeyEquivalentLocalization: bool)SourceMenuItem_setAllowsAutomaticKeyEquivalentMirroring
MenuItem_setAllowsAutomaticKeyEquivalentMirroring :: proc(self: ^MenuItem, allowsAutomaticKeyEquivalentMirroring: bool)SourceMenuItem_setAllowsKeyEquivalentWhenHidden
MenuItem_setAllowsKeyEquivalentWhenHidden :: proc(self: ^MenuItem, allowsKeyEquivalentWhenHidden: bool)SourceMenuItem_setAlternate
MenuItem_setAlternate :: proc(self: ^MenuItem, alternate: bool)SourceMenuItem_setDefaultPlaceholder
MenuItem_setDefaultPlaceholder :: proc(placeholder: id, marker: id, binding: ^String)SourceMenuItem_setEnabled
MenuItem_setEnabled :: proc(self: ^MenuItem, enabled: bool)SourceMenuItem_setHidden
MenuItem_setHidden :: proc(self: ^MenuItem, hidden: bool)SourceMenuItem_setIndentationLevel
MenuItem_setIndentationLevel :: proc(self: ^MenuItem, indentationLevel: Integer)SourceMenuItem_setKeyEquivalent
MenuItem_setKeyEquivalent :: proc(self: ^MenuItem, keyEquivalent: ^String)SourceMenuItem_setKeyEquivalentModifierMask
MenuItem_setKeyEquivalentModifierMask :: proc(self: ^MenuItem, keyEquivalentModifierMask: EventModifierFlags)SourceMenuItem_setKeys
MenuItem_setKeys :: proc(keys: ^Array, dependentKey: ^String)SourceMenuItem_setMenu
MenuItem_setMenu :: proc(self: ^MenuItem, menu: ^Menu)SourceMenuItem_setMnemonicLocation
MenuItem_setMnemonicLocation :: proc(self: ^MenuItem, location: UInteger)Source@(objc_type=MenuItem, objc_name="badge") MenuItem_badge :: #force_inline proc "c" (self: ^MenuItem) -> ^MenuItemBadge {
return msgSend(^MenuItemBadge, self, "badge")
}
@(objc_type=MenuItem, objc_name="setBadge")
MenuItem_setBadge :: #force_inline proc "c" (self: ^MenuItem, badge: ^MenuItemBadge) {
msgSend(nil, self, "setBadge:", badge)
}MenuItem_setRepresentedObject
MenuItem_setRepresentedObject :: proc(self: ^MenuItem, representedObject: id)SourceMenuItem_setSubmenu
MenuItem_setSubmenu :: proc(self: ^MenuItem, submenu: ^Menu)SourceMenuItem_setSubtitle
MenuItem_setSubtitle :: proc(self: ^MenuItem, subtitle: ^String)SourceMenuItem_setTag
MenuItem_setTag :: proc(self: ^MenuItem, tag: Integer)SourceMenuItem_setTarget
MenuItem_setTarget :: proc(self: ^MenuItem, target: id)SourceMenuItem_setTitle
MenuItem_setTitle :: proc(self: ^MenuItem, title: ^String)SourceMenuItem_setTitleWithMnemonic
MenuItem_setTitleWithMnemonic :: proc(self: ^MenuItem, stringWithAmpersand: ^String)SourceMenuItem_setToolTip
MenuItem_setToolTip :: proc(self: ^MenuItem, toolTip: ^String)SourceMenuItem_setUsesUserKeyEquivalents
MenuItem_setUsesUserKeyEquivalents :: proc(usesUserKeyEquivalents: bool)SourceMenuItem_setVersion
MenuItem_setVersion :: proc(aVersion: Integer)SourceMenuItem_setView
MenuItem_setView :: proc(self: ^MenuItem, view: ^View)SourceMenuItem_submenu
MenuItem_submenu :: proc(self: ^MenuItem) -> (^Menu)SourceMenuItem_subtitle
MenuItem_subtitle :: proc(self: ^MenuItem) -> (^String)Source@(objc_type=MenuItem, objc_name="attributedTitle") MenuItem_attributedTitle :: #force_inline proc "c" (self: ^MenuItem) -> ^AttributedString {
return msgSend(^AttributedString, self, "attributedTitle")
}
@(objc_type=MenuItem, objc_name="setAttributedTitle")
MenuItem_setAttributedTitle :: #force_inline proc "c" (self: ^MenuItem, attributedTitle: ^AttributedString) {
msgSend(nil, self, "setAttributedTitle:", attributedTitle)
}MenuItem_superclass
MenuItem_superclass :: proc() -> (Class)SourceMenuItem_tag
MenuItem_tag :: proc(self: ^MenuItem) -> (Integer)SourceMenuItem_target
MenuItem_target :: proc(self: ^MenuItem) -> (id)SourceMenuItem_title
MenuItem_title :: proc(self: ^MenuItem) -> (^String)SourceMenuItem_toolTip
MenuItem_toolTip :: proc(self: ^MenuItem) -> (^String)SourceMenuItem_useStoredAccessor
MenuItem_useStoredAccessor :: proc() -> (bool)SourceMenuItem_userKeyEquivalent
MenuItem_userKeyEquivalent :: proc(self: ^MenuItem) -> (^String)SourceMenuItem_usesUserKeyEquivalents
MenuItem_usesUserKeyEquivalents :: proc() -> (bool)SourceMenuItem_version
MenuItem_version :: proc() -> (Integer)SourceMenuItem_view
MenuItem_view :: proc(self: ^MenuItem) -> (^View)SourceMenu_accessInstanceVariablesDirectly
Menu_accessInstanceVariablesDirectly :: proc() -> (bool)SourceMenu_addItem
Menu_addItem :: proc(self: ^Menu, newItem: ^MenuItem)SourceMenu_addItemWithTitle
Menu_addItemWithTitle :: proc(self: ^Menu, string: ^String, selector: SEL, charCode: ^String) -> (^MenuItem)SourceMenu_alloc
Menu_alloc :: proc() -> (^Menu)SourceMenu_allocWithZone
Menu_allocWithZone :: proc(zone: ^Zone) -> (^Menu)SourceMenu_allowsContextMenuPlugIns
Menu_allowsContextMenuPlugIns :: proc(self: ^Menu) -> (bool)Source@(objc_type=Menu, objc_name="font") Menu_font :: #force_inline proc "c" (self: ^Menu) -> ^Font {
return msgSend(^Font, self, "font")
}
@(objc_type=Menu, objc_name="setFont")
Menu_setFont :: #force_inline proc "c" (self: ^Menu, font: ^Font) {
msgSend(nil, self, "setFont:", font)
}Menu_attachedMenu
Menu_attachedMenu :: proc(self: ^Menu) -> (^Menu)SourceMenu_autoenablesItems
Menu_autoenablesItems :: proc(self: ^Menu) -> (bool)SourceMenu_automaticallyNotifiesObserversForKey
Menu_automaticallyNotifiesObserversForKey :: proc(key: ^String) -> (bool)SourceMenu_cancelPreviousPerformRequestsWithTarget_
Menu_cancelPreviousPerformRequestsWithTarget_ :: proc(aTarget: id)SourceMenu_cancelPreviousPerformRequestsWithTarget_selector_object
Menu_cancelPreviousPerformRequestsWithTarget_selector_object :: proc(aTarget: id, aSelector: SEL, anArgument: id)SourceMenu_cancelTracking
Menu_cancelTracking :: proc(self: ^Menu)SourceMenu_cancelTrackingWithoutAnimation
Menu_cancelTrackingWithoutAnimation :: proc(self: ^Menu)SourceMenu_class
Menu_class :: proc() -> (Class)SourceMenu_classFallbacksForKeyedArchiver
Menu_classFallbacksForKeyedArchiver :: proc() -> (^Array)SourceMenu_classForKeyedUnarchiver
Menu_classForKeyedUnarchiver :: proc() -> (Class)SourceMenu_conformsToProtocol
Menu_conformsToProtocol :: proc(protocol: ^Protocol) -> (bool)SourceMenu_contextMenuRepresentation
Menu_contextMenuRepresentation :: proc(self: ^Menu) -> (id)SourceMenu_copyWithZone
Menu_copyWithZone :: proc(zone: ^Zone) -> (id)SourceMenu_debugDescription
Menu_debugDescription :: proc() -> (^String)SourceMenu_defaultPlaceholderForMarker
Menu_defaultPlaceholderForMarker :: proc(marker: id, binding: ^String) -> (id)SourceMenu_delegate
Menu_delegate :: proc(self: ^Menu) -> (^MenuDelegate)SourceMenu_description
Menu_description :: proc() -> (^String)SourceMenu_exposeBinding
Menu_exposeBinding :: proc(binding: ^String)SourceMenu_hash
Menu_hash :: proc() -> (UInteger)SourceMenu_helpRequested
Menu_helpRequested :: proc(self: ^Menu, eventPtr: ^Event)SourceMenu_highlightedItem
Menu_highlightedItem :: proc(self: ^Menu) -> (^MenuItem)SourceMenu_indexOfItem
Menu_indexOfItem :: proc(self: ^Menu, item: ^MenuItem) -> (Integer)SourceMenu_indexOfItemWithRepresentedObject
Menu_indexOfItemWithRepresentedObject :: proc(self: ^Menu, object: id) -> (Integer)SourceMenu_indexOfItemWithSubmenu
Menu_indexOfItemWithSubmenu :: proc(self: ^Menu, submenu: ^Menu) -> (Integer)SourceMenu_indexOfItemWithTag
Menu_indexOfItemWithTag :: proc(self: ^Menu, tag: Integer) -> (Integer)SourceMenu_indexOfItemWithTarget
Menu_indexOfItemWithTarget :: proc(self: ^Menu, target: id, actionSelector: SEL) -> (Integer)SourceMenu_indexOfItemWithTitle
Menu_indexOfItemWithTitle :: proc(self: ^Menu, title: ^String) -> (Integer)SourceMenu_init
Menu_init :: proc(self: ^Menu) -> (^Menu)SourceMenu_initWithCoder
Menu_initWithCoder :: proc(self: ^Menu, coder: ^Coder) -> (^Menu)SourceMenu_initWithTitle
Menu_initWithTitle :: proc(self: ^Menu, title: ^String) -> (^Menu)SourceMenu_initialize
Menu_initialize :: proc()SourceMenu_insertItem
Menu_insertItem :: proc(self: ^Menu, newItem: ^MenuItem, index: Integer)SourceMenu_insertItemWithTitle
Menu_insertItemWithTitle :: proc(self: ^Menu, string: ^String, selector: SEL, charCode: ^String, index: Integer) -> (^MenuItem)SourceMenu_instanceMethodForSelector
Menu_instanceMethodForSelector :: proc(aSelector: SEL) -> (IMP)SourceMenu_instancesRespondToSelector
Menu_instancesRespondToSelector :: proc(aSelector: SEL) -> (bool)SourceMenu_isAttached
Menu_isAttached :: proc(self: ^Menu) -> (bool)SourceMenu_isSubclassOfClass
Menu_isSubclassOfClass :: proc(aClass: Class) -> (bool)Source@(objc_type=Menu, objc_name="instanceMethodSignatureForSelector", objc_is_class_method=true) Menu_instanceMethodSignatureForSelector :: #force_inline proc "c" (aSelector: SEL) -> ^MethodSignature {
return msgSend(^MethodSignature, Menu, "instanceMethodSignatureForSelector:", aSelector)
}Menu_isTornOff
Menu_isTornOff :: proc(self: ^Menu) -> (bool)SourceMenu_itemArray
Menu_itemArray :: proc(self: ^Menu) -> (^Array)SourceMenu_itemAtIndex
Menu_itemAtIndex :: proc(self: ^Menu, index: Integer) -> (^MenuItem)SourceMenu_itemChanged
Menu_itemChanged :: proc(self: ^Menu, item: ^MenuItem)SourceMenu_itemWithTag
Menu_itemWithTag :: proc(self: ^Menu, tag: Integer) -> (^MenuItem)SourceMenu_itemWithTitle
Menu_itemWithTitle :: proc(self: ^Menu, title: ^String) -> (^MenuItem)SourceMenu_keyPathsForValuesAffectingValueForKey
Menu_keyPathsForValuesAffectingValueForKey :: proc(key: ^String) -> (^Set)SourceMenu_load
Menu_load :: proc()SourceMenu_locationForSubmenu
Menu_locationForSubmenu :: proc(self: ^Menu, submenu: ^Menu) -> (Point)SourceMenu_menuBarHeight
Menu_menuBarHeight :: proc(self: ^Menu) -> (Float)SourceMenu_menuBarVisible
Menu_menuBarVisible :: proc() -> (bool)SourceMenu_menuChangedMessagesEnabled
Menu_menuChangedMessagesEnabled :: proc(self: ^Menu) -> (bool)SourceMenu_menuRepresentation
Menu_menuRepresentation :: proc(self: ^Menu) -> (id)SourceMenu_menuZone
Menu_menuZone :: proc() -> (^Zone)SourceMenu_minimumWidth
Menu_minimumWidth :: proc(self: ^Menu) -> (Float)SourceMenu_mutableCopyWithZone
Menu_mutableCopyWithZone :: proc(zone: ^Zone) -> (id)SourceMenu_new
Menu_new :: proc() -> (^Menu)SourceMenu_numberOfItems
Menu_numberOfItems :: proc(self: ^Menu) -> (Integer)SourceMenu_paletteMenuWithColors_titles_selectionHandler
Menu_paletteMenuWithColors_titles_selectionHandler :: proc(colors: ^Array, itemTitles: ^Array, onSelectionChange: proc(_arg_0: ^Menu)) -> (^Menu)SourceMenu_performActionForItemAtIndex
Menu_performActionForItemAtIndex :: proc(self: ^Menu, index: Integer)SourceMenu_performKeyEquivalent
Menu_performKeyEquivalent :: proc(self: ^Menu, event: ^Event) -> (bool)SourceMenu_popUpContextMenu_withEvent_forView
Menu_popUpContextMenu_withEvent_forView :: proc(menu: ^Menu, event: ^Event, view: ^View)SourceMenu_popUpMenuPositioningItem
Menu_popUpMenuPositioningItem :: proc(self: ^Menu, item: ^MenuItem, location: Point, view: ^View) -> (bool)Source@(objc_type=Menu, objc_name="popUpContextMenu_withEvent_forView_withFont", objc_is_class_method=true) Menu_popUpContextMenu_withEvent_forView_withFont :: #force_inline proc "c" (menu: ^Menu, event: ^Event, view: ^View, font: ^Font) {
msgSend(nil, Menu, "popUpContextMenu:withEvent:forView:withFont:", menu, event, view, font)
}Menu_poseAsClass
Menu_poseAsClass :: proc(aClass: Class)SourceMenu_presentationStyle
Menu_presentationStyle :: proc(self: ^Menu) -> (MenuPresentationStyle)Source@(objc_type=Menu, objc_name="paletteMenuWithColors_titles_templateImage_selectionHandler", objc_is_class_method=true) Menu_paletteMenuWithColors_titles_templateImage_selectionHandler :: #force_inline proc "c" (colors: ^Array, itemTitles: ^Array, image: ^Image, onSelectionChange: proc "c" (_arg_0: ^Menu)) -> ^Menu {
return msgSend(^Menu, Menu, "paletteMenuWithColors:titles:templateImage:selectionHandler:", colors, itemTitles, image, onSelectionChange)
}Menu_propertiesToUpdate
Menu_propertiesToUpdate :: proc(self: ^Menu) -> (MenuProperties)SourceMenu_removeAllItems
Menu_removeAllItems :: proc(self: ^Menu)SourceMenu_removeItem
Menu_removeItem :: proc(self: ^Menu, item: ^MenuItem)SourceMenu_removeItemAtIndex
Menu_removeItemAtIndex :: proc(self: ^Menu, index: Integer)SourceMenu_resolveClassMethod
Menu_resolveClassMethod :: proc(sel: SEL) -> (bool)SourceMenu_resolveInstanceMethod
Menu_resolveInstanceMethod :: proc(sel: SEL) -> (bool)SourceMenu_selectedItems
Menu_selectedItems :: proc(self: ^Menu) -> (^Array)SourceMenu_selectionMode
Menu_selectionMode :: proc(self: ^Menu) -> (MenuSelectionMode)SourceMenu_setAllowsContextMenuPlugIns
Menu_setAllowsContextMenuPlugIns :: proc(self: ^Menu, allowsContextMenuPlugIns: bool)SourceMenu_setAutoenablesItems
Menu_setAutoenablesItems :: proc(self: ^Menu, autoenablesItems: bool)SourceMenu_setContextMenuRepresentation
Menu_setContextMenuRepresentation :: proc(self: ^Menu, menuRep: id)SourceMenu_setDefaultPlaceholder
Menu_setDefaultPlaceholder :: proc(placeholder: id, marker: id, binding: ^String)SourceMenu_setDelegate
Menu_setDelegate :: proc(self: ^Menu, delegate: ^MenuDelegate)SourceMenu_setItemArray
Menu_setItemArray :: proc(self: ^Menu, itemArray: ^Array)SourceMenu_setKeys
Menu_setKeys :: proc(keys: ^Array, dependentKey: ^String)SourceMenu_setMenuBarVisible
Menu_setMenuBarVisible :: proc(visible: bool)SourceMenu_setMenuChangedMessagesEnabled
Menu_setMenuChangedMessagesEnabled :: proc(self: ^Menu, menuChangedMessagesEnabled: bool)SourceMenu_setMenuRepresentation
Menu_setMenuRepresentation :: proc(self: ^Menu, menuRep: id)SourceMenu_setMenuZone
Menu_setMenuZone :: proc(zone: ^Zone)SourceMenu_setMinimumWidth
Menu_setMinimumWidth :: proc(self: ^Menu, minimumWidth: Float)SourceMenu_setPresentationStyle
Menu_setPresentationStyle :: proc(self: ^Menu, presentationStyle: MenuPresentationStyle)SourceMenu_setSelectedItems
Menu_setSelectedItems :: proc(self: ^Menu, selectedItems: ^Array)SourceMenu_setSelectionMode
Menu_setSelectionMode :: proc(self: ^Menu, selectionMode: MenuSelectionMode)SourceMenu_setShowsStateColumn
Menu_setShowsStateColumn :: proc(self: ^Menu, showsStateColumn: bool)SourceMenu_setSubmenu
Menu_setSubmenu :: proc(self: ^Menu, menu: ^Menu, item: ^MenuItem)SourceMenu_setSupermenu
Menu_setSupermenu :: proc(self: ^Menu, supermenu: ^Menu)SourceMenu_setTearOffMenuRepresentation
Menu_setTearOffMenuRepresentation :: proc(self: ^Menu, menuRep: id)SourceMenu_setTitle
Menu_setTitle :: proc(self: ^Menu, title: ^String)SourceMenu_setUserInterfaceLayoutDirection
Menu_setUserInterfaceLayoutDirection :: proc(self: ^Menu, userInterfaceLayoutDirection: UserInterfaceLayoutDirection)SourceMenu_setVersion
Menu_setVersion :: proc(aVersion: Integer)SourceMenu_showsStateColumn
Menu_showsStateColumn :: proc(self: ^Menu) -> (bool)SourceMenu_size
Menu_size :: proc(self: ^Menu) -> (Size)SourceMenu_sizeToFit
Menu_sizeToFit :: proc(self: ^Menu)SourceMenu_submenuAction
Menu_submenuAction :: proc(self: ^Menu, sender: id)SourceMenu_superclass
Menu_superclass :: proc() -> (Class)SourceMenu_supermenu
Menu_supermenu :: proc(self: ^Menu) -> (^Menu)SourceMenu_tearOffMenuRepresentation
Menu_tearOffMenuRepresentation :: proc(self: ^Menu) -> (id)SourceMenu_title
Menu_title :: proc(self: ^Menu) -> (^String)SourceMenu_update
Menu_update :: proc(self: ^Menu)SourceMenu_useStoredAccessor
Menu_useStoredAccessor :: proc() -> (bool)SourceMenu_userInterfaceLayoutDirection
Menu_userInterfaceLayoutDirection :: proc(self: ^Menu) -> (UserInterfaceLayoutDirection)SourceMenu_version
Menu_version :: proc() -> (Integer)SourceMidX
MidX :: proc(aRect: Rect) -> (Float)SourceMidY
MidY :: proc(aRect: Rect) -> (Float)SourceMinX
MinX :: proc(aRect: Rect) -> (Float)SourceMinY
MinY :: proc(aRect: Rect) -> (Float)SourceMutableArray_alloc
MutableArray_alloc :: proc() -> (^MutableArray)SourceMutableArray_count
MutableArray_count :: proc(self: ^MutableArray) -> (UInteger)SourceMutableArray_exchangeObjectAtIndex
MutableArray_exchangeObjectAtIndex :: proc(self: ^MutableArray, idx1: UInteger, idx2: UInteger)SourceMutableArray_init
MutableArray_init :: proc(self: ^MutableArray) -> (^MutableArray)SourceMutableArray_initWithCoder
MutableArray_initWithCoder :: proc(self: ^MutableArray, coder: ^Coder) -> (^MutableArray)SourceMutableArray_initWithObjects
MutableArray_initWithObjects :: proc(self: ^MutableArray, objects: [^]^Object, count: UInteger) -> (^MutableArray)SourceMutableArray_object
MutableArray_object :: proc(self: ^MutableArray, index: UInteger) -> (^Object)SourceMutableArray_objectAs
MutableArray_objectAs :: proc(self: ^MutableArray, index: UInteger, T: typeid) -> (T)SourceNSWindow_setFrameAutosaveName
NSWindow_setFrameAutosaveName :: proc(self: ^Window, name: ^String)SourceNotificationCenter_addObserver
NotificationCenter_addObserver :: proc(self: ^NotificationCenter, observer: ^Object, selector: SEL, name: NotificationName, object: ^Object)SourceNotificationCenter_addObserverForName_new
NotificationCenter_addObserverForName_new :: proc(self: ^NotificationCenter, name: NotificationName, pObj: ^Object, pQueue: rawptr, block: ^Objc_Block) -> (^Object)SourceNotificationCenter_addObserverForName_old
NotificationCenter_addObserverForName_old :: proc(self: ^NotificationCenter, name: NotificationName, pObj: ^Object, pQueue: rawptr, block: ^Block) -> (^Object)SourceNotificationCenter_alloc
NotificationCenter_alloc :: proc() -> (^NotificationCenter)SourceNotificationCenter_defaultCenter
NotificationCenter_defaultCenter :: proc() -> (^NotificationCenter)SourceNotificationCenter_init
NotificationCenter_init :: proc(self: ^NotificationCenter) -> (^NotificationCenter)SourceNotificationCenter_removeObserver
NotificationCenter_removeObserver :: proc(self: ^NotificationCenter, pObserver: ^Object)SourceNotification_alloc
Notification_alloc :: proc() -> (^Notification)SourceNotification_init
Notification_init :: proc(self: ^Notification) -> (^Notification)SourceNotification_name
Notification_name :: proc(self: ^Notification) -> (^String)SourceNotification_object
Notification_object :: proc(self: ^Notification) -> (^Object)SourceNotification_userInfo
Notification_userInfo :: proc(self: ^Notification) -> (^Dictionary)SourceNumber_alloc
Number_alloc :: proc() -> (^Number)SourceNumber_boolValue
Number_boolValue :: proc(self: ^Number) -> (BOOL)SourceNumber_compare
Number_compare :: proc(self: ^Number, other: ^Number) -> (ComparisonResult)SourceNumber_descriptionWithLocale
Number_descriptionWithLocale :: proc(self: ^Number, locale: ^Object) -> (^String)SourceNumber_f32Value
Number_f32Value :: proc(self: ^Number) -> (f32)SourceNumber_f64Value
Number_f64Value :: proc(self: ^Number) -> (f64)SourceNumber_i16Value
Number_i16Value :: proc(self: ^Number) -> (i16)SourceNumber_i32Value
Number_i32Value :: proc(self: ^Number) -> (i32)SourceNumber_i64Value
Number_i64Value :: proc(self: ^Number) -> (i64)SourceNumber_i8Value
Number_i8Value :: proc(self: ^Number) -> (i8)SourceNumber_init
Number_init :: proc(self: ^Number) -> (^Number)SourceNumber_initWithBool
Number_initWithBool :: proc(self: ^Number, value: BOOL) -> (^Number)SourceNumber_initWithF32
Number_initWithF32 :: proc(self: ^Number, value: f32) -> (^Number)SourceNumber_initWithF64
Number_initWithF64 :: proc(self: ^Number, value: f64) -> (^Number)SourceNumber_initWithI16
Number_initWithI16 :: proc(self: ^Number, value: i16) -> (^Number)SourceNumber_initWithI32
Number_initWithI32 :: proc(self: ^Number, value: i32) -> (^Number)SourceNumber_initWithI64
Number_initWithI64 :: proc(self: ^Number, value: i64) -> (^Number)SourceNumber_initWithI8
Number_initWithI8 :: proc(self: ^Number, value: i8) -> (^Number)SourceNumber_initWithInt
Number_initWithInt :: proc(self: ^Number, value: int) -> (^Number)SourceNumber_initWithU16
Number_initWithU16 :: proc(self: ^Number, value: u16) -> (^Number)SourceNumber_initWithU32
Number_initWithU32 :: proc(self: ^Number, value: u32) -> (^Number)SourceNumber_initWithU64
Number_initWithU64 :: proc(self: ^Number, value: u64) -> (^Number)SourceNumber_initWithU8
Number_initWithU8 :: proc(self: ^Number, value: u8) -> (^Number)SourceNumber_initWithUint
Number_initWithUint :: proc(self: ^Number, value: uint) -> (^Number)SourceNumber_intValue
Number_intValue :: proc(self: ^Number) -> (int)SourceNumber_integerValue
Number_integerValue :: proc(self: ^Number) -> (Integer)SourceNumber_isEqualToNumber
Number_isEqualToNumber :: proc(self: ^Number, other: ^Number) -> (BOOL)SourceNumber_numberWithBool
Number_numberWithBool :: proc(value: BOOL) -> (^Number)SourceNumber_numberWithF32
Number_numberWithF32 :: proc(value: f32) -> (^Number)SourceNumber_numberWithF64
Number_numberWithF64 :: proc(value: f64) -> (^Number)SourceNumber_numberWithI16
Number_numberWithI16 :: proc(value: i16) -> (^Number)SourceNumber_numberWithI32
Number_numberWithI32 :: proc(value: i32) -> (^Number)SourceNumber_numberWithI64
Number_numberWithI64 :: proc(value: i64) -> (^Number)SourceNumber_numberWithI8
Number_numberWithI8 :: proc(value: i8) -> (^Number)SourceNumber_numberWithInt
Number_numberWithInt :: proc(value: int) -> (^Number)SourceNumber_numberWithU16
Number_numberWithU16 :: proc(value: u16) -> (^Number)SourceNumber_numberWithU32
Number_numberWithU32 :: proc(value: u32) -> (^Number)SourceNumber_numberWithU64
Number_numberWithU64 :: proc(value: u64) -> (^Number)SourceNumber_numberWithU8
Number_numberWithU8 :: proc(value: u8) -> (^Number)SourceNumber_numberWithUint
Number_numberWithUint :: proc(value: uint) -> (^Number)SourceNumber_stringValue
Number_stringValue :: proc(self: ^Number) -> (^String)SourceNumber_u16Value
Number_u16Value :: proc(self: ^Number) -> (u16)SourceNumber_u32Value
Number_u32Value :: proc(self: ^Number) -> (u32)SourceNumber_u64Value
Number_u64Value :: proc(self: ^Number) -> (u64)SourceNumber_u8Value
Number_u8Value :: proc(self: ^Number) -> (u8)SourceNumber_uintValue
Number_uintValue :: proc(self: ^Number) -> (uint)SourceNumber_uintegerValue
Number_uintegerValue :: proc(self: ^Number) -> (UInteger)SourceOpenPanel_URLs
OpenPanel_URLs :: proc(self: ^OpenPanel) -> (^Array)SourceOpenPanel_openPanel
OpenPanel_openPanel :: proc() -> (^OpenPanel)SourceOpenPanel_setAllowedFileTypes
OpenPanel_setAllowedFileTypes :: proc(self: ^OpenPanel, types: ^Array)SourceOpenPanel_setAllowsMultipleSelection
OpenPanel_setAllowsMultipleSelection :: proc(self: ^OpenPanel, setting: BOOL)SourceOpenPanel_setCanChooseDirectories
OpenPanel_setCanChooseDirectories :: proc(self: ^OpenPanel, setting: BOOL)SourceOpenPanel_setCanChooseFiles
OpenPanel_setCanChooseFiles :: proc(self: ^OpenPanel, setting: BOOL)SourceOpenPanel_setResolvesAliases
OpenPanel_setResolvesAliases :: proc(self: ^OpenPanel, setting: BOOL)SourceProcessInfo_activeProcessorCount
ProcessInfo_activeProcessorCount :: proc(self: ^ProcessInfo) -> (UInteger)SourceProcessInfo_arguments
ProcessInfo_arguments :: proc(self: ^ProcessInfo) -> (^Array)SourceAccessing Process Information
ProcessInfo_automaticTerminationSupportEnabled
ProcessInfo_automaticTerminationSupportEnabled :: proc(self: ^ProcessInfo) -> (bool)SourceProcessInfo_beginActivityWithOptions
ProcessInfo_beginActivityWithOptions :: proc(self: ^ProcessInfo, options: ActivityOptions, reason: ^String) -> (^ObjectProtocol)SourceProcessInfo_disableAutomaticTermination
ProcessInfo_disableAutomaticTermination :: proc(self: ^ProcessInfo, reason: ^String)SourceControlling Automatic Termination
ProcessInfo_disableSuddenTermination
ProcessInfo_disableSuddenTermination :: proc(self: ^ProcessInfo)SourceSudden Application Termination
ProcessInfo_enableAutomaticTermination
ProcessInfo_enableAutomaticTermination :: proc(self: ^ProcessInfo, reason: ^String)SourceProcessInfo_enableSuddenTermination
ProcessInfo_enableSuddenTermination :: proc(self: ^ProcessInfo)SourceProcessInfo_endActivity
ProcessInfo_endActivity :: proc(self: ^ProcessInfo, activity: ^ObjectProtocol)SourceProcessInfo_environment
ProcessInfo_environment :: proc(self: ^ProcessInfo) -> (^Dictionary)SourceProcessInfo_fullUserName
ProcessInfo_fullUserName :: proc(self: ^ProcessInfo) -> (^String)SourceProcessInfo_globallyUniqueString
ProcessInfo_globallyUniqueString :: proc(self: ^ProcessInfo) -> (^String)SourceProcessInfo_hostName
ProcessInfo_hostName :: proc(self: ^ProcessInfo) -> (^String)SourceGetting Host Information
ProcessInfo_isLowPowerModeEnabled
ProcessInfo_isLowPowerModeEnabled :: proc(self: ^ProcessInfo) -> (bool)SourceDetermining Whether Low Power Mode is Enabled
ProcessInfo_isMacCatalystApp
ProcessInfo_isMacCatalystApp :: proc(self: ^ProcessInfo) -> (bool)SourceProcessInfo_isOperatingSystemAtLeastVersion
ProcessInfo_isOperatingSystemAtLeastVersion :: proc(self: ^ProcessInfo, version: OperatingSystemVersion) -> (bool)SourceProcessInfo_isiOSAppOnMac
ProcessInfo_isiOSAppOnMac :: proc(self: ^ProcessInfo) -> (bool)SourceProcessInfo_operatingSystemVersion
ProcessInfo_operatingSystemVersion :: proc(self: ^ProcessInfo) -> (OperatingSystemVersion)SourceProcessInfo_operatingSystemVersionString
ProcessInfo_operatingSystemVersionString :: proc(self: ^ProcessInfo) -> (^String)SourceProcessInfo_performActivityWithOptions
ProcessInfo_performActivityWithOptions :: proc(self: ^ProcessInfo, options: ActivityOptions, reason: ^String, block: proc())SourceProcessInfo_performExpiringActivityWithReason
ProcessInfo_performExpiringActivityWithReason :: proc(self: ^ProcessInfo, reason: ^String, block: proc(expired: bool))SourceProcessInfo_physicalMemory
ProcessInfo_physicalMemory :: proc(self: ^ProcessInfo) -> (c.ulonglong)SourceProcessInfo_processIdentifier
ProcessInfo_processIdentifier :: proc(self: ^ProcessInfo) -> (c.int)SourceProcessInfo_processInfo
ProcessInfo_processInfo :: proc() -> (^ProcessInfo)SourceGetting the Process Information Agent
ProcessInfo_processName
ProcessInfo_processName :: proc(self: ^ProcessInfo) -> (^String)SourceProcessInfo_processorCount
ProcessInfo_processorCount :: proc(self: ^ProcessInfo) -> (UInteger)SourceGetting Computer Information
ProcessInfo_setAutomaticTerminationSupportEnabled
ProcessInfo_setAutomaticTerminationSupportEnabled :: proc(self: ^ProcessInfo, automaticTerminationSupportEnabled: bool)SourceProcessInfo_systemUptime
ProcessInfo_systemUptime :: proc(self: ^ProcessInfo) -> (TimeInterval)SourceProcessInfo_thermalState
ProcessInfo_thermalState :: proc(self: ^ProcessInfo) -> (ProcessInfoThermalState)SourceProcessInfo_userName
ProcessInfo_userName :: proc(self: ^ProcessInfo) -> (^String)SourceAccessing User Information
Range_Equal
Range_Equal :: proc(a: Range, b: Range) -> (BOOL)SourceRange_LocationInRange
Range_LocationInRange :: proc(self: Range, loc: UInteger) -> (BOOL)SourceRange_Make
Range_Make :: proc(loc: UInteger, len: UInteger) -> (Range)SourceRange_Max
Range_Max :: proc(self: Range) -> (UInteger)SourceRunLoop_addTimerForMode
RunLoop_addTimerForMode :: proc(self: ^RunLoop, timer: ^Timer, forMode: RunLoopMode)SourceRunLoop_mainRunLoop
RunLoop_mainRunLoop :: proc() -> (^RunLoop)SourceRunningApplication_currentApplication
RunningApplication_currentApplication :: proc() -> (^RunningApplication)SourceRunningApplication_finishedLaunching
RunningApplication_finishedLaunching :: proc(self: ^RunningApplication) -> (BOOL)SourceRunningApplication_localizedName
RunningApplication_localizedName :: proc(self: ^RunningApplication) -> (^String)SourceSavePanel_URL
SavePanel_URL :: proc(self: ^SavePanel) -> (^URL)SourceSavePanel_runModal
SavePanel_runModal :: proc(self: ^SavePanel) -> (ModalResponse)SourceSavePanel_savePanel
SavePanel_savePanel :: proc() -> (^SavePanel)SourceScreen_backingScaleFactor
Screen_backingScaleFactor :: proc(self: ^Screen) -> (Float)SourceScreen_colorSpace
Screen_colorSpace :: proc(self: ^Screen) -> (^ColorSpace)SourceScreen_deepestScreen
Screen_deepestScreen :: proc() -> (^Screen)SourceScreen_depth
Screen_depth :: proc(self: ^Screen) -> (Depth)SourceScreen_frame
Screen_frame :: proc(self: ^Screen) -> (Rect)SourceScreen_mainScreen
Screen_mainScreen :: proc() -> (^Screen)SourceScreen_screens
Screen_screens :: proc() -> (^Array)SourceScreen_screensHaveSeparateSpaces
Screen_screensHaveSeparateSpaces :: proc() -> (BOOL)SourceScreen_visibleFrame
Screen_visibleFrame :: proc(self: ^Screen) -> (Rect)SourceSet_alloc
Set_alloc :: proc() -> (^Set)SourceSet_init
Set_init :: proc(self: ^Set) -> (^Set)SourceSet_initWithCoder
Set_initWithCoder :: proc(self: ^Set, coder: ^Coder) -> (^Set)SourceSet_initWithObjects
Set_initWithObjects :: proc(self: ^Set, objects: [^]^Object, count: UInteger) -> (^Set)SourceString_UTF8String
String_UTF8String :: proc(self: ^String) -> (cstring)SourceString_alloc
String_alloc :: proc() -> (^String)SourceString_characterAtIndex
String_characterAtIndex :: proc(self: ^String, index: UInteger) -> (unichar)SourceString_cstringUsingEncoding
String_cstringUsingEncoding :: proc(self: ^String, encoding: StringEncoding) -> (cstring)SourceString_init
String_init :: proc(self: ^String) -> (^String)SourceString_initWithBytesNoCopy
String_initWithBytesNoCopy :: proc(self: ^String, pBytes: rawptr, length: UInteger, encoding: StringEncoding, freeWhenDone: bool) -> (^String)SourceString_initWithCString
String_initWithCString :: proc(self: ^String, pString: cstring, encoding: StringEncoding) -> (^String)SourceString_initWithOdinString
String_initWithOdinString :: proc(self: ^String, str: string) -> (^String)SourceString_initWithString
String_initWithString :: proc(self: ^String, other: ^String) -> (^String)SourceString_isEqualToString
String_isEqualToString :: proc(self: ^String, other: ^String) -> (BOOL)SourceString_length
String_length :: proc(self: ^String) -> (UInteger)SourceString_lengthOfBytesUsingEncoding
String_lengthOfBytesUsingEncoding :: proc(self: ^String, encoding: StringEncoding) -> (UInteger)SourceString_maximumLengthOfBytesUsingEncoding
String_maximumLengthOfBytesUsingEncoding :: proc(self: ^String, encoding: StringEncoding) -> (UInteger)SourceString_odinString
String_odinString :: proc(self: ^String) -> (string)SourceString_rangeOfString
String_rangeOfString :: proc(self: ^String, other: ^String, options: StringCompareOptions) -> (Range)SourceString_stringByAppendingString
String_stringByAppendingString :: proc(self: ^String, other: ^String) -> (^String)SourceTimer_scheduledTimerWithTimeIntervalRepeatsBlock
Timer_scheduledTimerWithTimeIntervalRepeatsBlock :: proc(interval: TimeInterval, repeats: BOOL, block: ^Block) -> (^Timer)SourceTimer_scheduledTimerWithTimeIntervalTargetSelectorUserInfoRepeat
Timer_scheduledTimerWithTimeIntervalTargetSelectorUserInfoRepeat :: proc(interval: TimeInterval, aTarget: id, aSelector: SEL, userInfo: id, repeats: BOOL) -> (^Timer)SourceToolbar_alloc
Toolbar_alloc :: proc() -> (^Toolbar)SourceToolbar_init
Toolbar_init :: proc(self: ^Toolbar) -> (^Toolbar)SourceURLRequest_alloc
URLRequest_alloc :: proc() -> (^URLRequest)SourceURLRequest_init
URLRequest_init :: proc(self: ^URLRequest) -> (^URLRequest)SourceURLRequest_requestWithURL
URLRequest_requestWithURL :: proc(url: ^URL) -> (^URLRequest)SourceURLRequest_url
URLRequest_url :: proc(self: ^URLRequest) -> (^URL)SourceURLResponse_alloc
URLResponse_alloc :: proc() -> (^URLResponse)SourceURLResponse_init
URLResponse_init :: proc(self: ^URLResponse) -> (^URLResponse)SourceURLResponse_initWithURL
URLResponse_initWithURL :: proc(self: ^URLResponse, url: ^URL, mime_type: ^String, length: int, encoding: ^String) -> (^URLResponse)SourceURL_alloc
URL_alloc :: proc() -> (^URL)SourceURL_fileSystemRepresentation
URL_fileSystemRepresentation :: proc(self: ^URL) -> (cstring)SourceURL_init
URL_init :: proc(self: ^URL) -> (^URL)SourceURL_initFileURLWithPath
URL_initFileURLWithPath :: proc(self: ^URL, path: ^String) -> (^URL)SourceURL_initWithString
URL_initWithString :: proc(self: ^URL, value: ^String) -> (^URL)SourceURL_relativePath
URL_relativePath :: proc(self: ^URL) -> (^String)SourceUserDefaults_setBoolForKey
UserDefaults_setBoolForKey :: proc(self: ^UserDefaults, value: BOOL, name: ^String)SourceUserDefaults_standardUserDefaults
UserDefaults_standardUserDefaults :: proc() -> (^UserDefaults)SourceValue_alloc
Value_alloc :: proc() -> (^Value)SourceValue_getValue
Value_getValue :: proc(self: ^Value, value: rawptr, size: UInteger)SourceValue_init
Value_init :: proc(self: ^Value) -> (^Value)SourceValue_initWithBytes
Value_initWithBytes :: proc(self: ^Value, value: rawptr, type: cstring) -> (^Value)SourceValue_initWithCoder
Value_initWithCoder :: proc(self: ^Value, coder: ^Coder) -> (^Value)SourceValue_isEqualToValue
Value_isEqualToValue :: proc(self: ^Value, other: ^Value) -> (BOOL)SourceValue_objCType
Value_objCType :: proc(self: ^Value) -> (cstring)SourceValue_pointerValue
Value_pointerValue :: proc(self: ^Value) -> (rawptr)SourceValue_valueWithBytes
Value_valueWithBytes :: proc(value: rawptr, type: cstring) -> (^Value)SourceValue_valueWithPointer
Value_valueWithPointer :: proc(pointer: rawptr) -> (^Value)SourceView_addSubview
View_addSubview :: proc(self: ^View, view: ^View)SourceView_alloc
View_alloc :: proc() -> (^View)SourceView_bounds
View_bounds :: proc(self: ^View) -> (Rect)SourceView_convertPointFromView
View_convertPointFromView :: proc(self: ^View, point: Point, view: ^View) -> (Point)SourceView_initWithFrame
View_initWithFrame :: proc(self: ^View, frame: Rect) -> (^View)SourceView_isFlipped
View_isFlipped :: proc(self: ^View) -> (BOOL)SourceView_layer
View_layer :: proc(self: ^View) -> (^Layer)SourceView_setIsFlipped
View_setIsFlipped :: proc(self: ^View, flipped: BOOL)SourceView_setLayer
View_setLayer :: proc(self: ^View, layer: ^Layer)SourceView_setWantsLayer
View_setWantsLayer :: proc(self: ^View, wantsLayer: BOOL)SourceView_wantsLayer
View_wantsLayer :: proc(self: ^View) -> (BOOL)SourceWindow_alloc
Window_alloc :: proc() -> (^Window)SourceWindow_backgroundColor
Window_backgroundColor :: proc(self: ^Window) -> (^Color)SourceWindow_backingScaleFactor
Window_backingScaleFactor :: proc(self: ^Window) -> (Float)SourceWindow_center
Window_center :: proc(self: ^Window)SourceWindow_close
Window_close :: proc(self: ^Window)SourceWindow_collectionBehavior
Window_collectionBehavior :: proc(self: ^Window) -> (WindowCollectionBehavior)SourceWindow_contentLayoutRect
Window_contentLayoutRect :: proc(self: ^Window) -> (Rect)SourceWindow_contentRectForFrameRectInstance
Window_contentRectForFrameRectInstance :: proc(self: ^Window, frameRect: Rect) -> (Rect)SourceWindow_contentRectForFrameRectType
Window_contentRectForFrameRectType :: proc(frameRect: Rect, styleMask: WindowStyleMask) -> (Rect)SourceWindow_contentView
Window_contentView :: proc(self: ^Window) -> (^View)SourceWindow_convertPointFromBacking
Window_convertPointFromBacking :: proc(self: ^Window, point: Point) -> (Point)SourceWindow_convertPointFromScreen
Window_convertPointFromScreen :: proc(self: ^Window, point: Point) -> (Point)SourceWindow_convertPointToBacking
Window_convertPointToBacking :: proc(self: ^Window, point: Point) -> (Point)SourceWindow_convertPointToScreen
Window_convertPointToScreen :: proc(self: ^Window, point: Point) -> (Point)SourceWindow_convertRectFromBacking
Window_convertRectFromBacking :: proc(self: ^Window, rect: Rect) -> (Rect)SourceWindow_convertRectFromScreen
Window_convertRectFromScreen :: proc(self: ^Window, rect: Rect) -> (Rect)SourceWindow_convertRectToBacking
Window_convertRectToBacking :: proc(self: ^Window, rect: Rect) -> (Rect)SourceWindow_convertRectToScreen
Window_convertRectToScreen :: proc(self: ^Window, rect: Rect) -> (Rect)SourceWindow_delegate
Window_delegate :: proc(self: ^Window) -> (^WindowDelegate)SourceWindow_frame
Window_frame :: proc(self: ^Window) -> (Rect)SourceWindow_frameRectForContentRectInstance
Window_frameRectForContentRectInstance :: proc(self: ^Window, contentRect: Rect) -> (Rect)SourceWindow_frameRectForContentRectType
Window_frameRectForContentRectType :: proc(contentRect: Rect, styleMask: WindowStyleMask) -> (Rect)SourceWindow_hasCloseBox
Window_hasCloseBox :: proc(self: ^Window) -> (BOOL)SourceWindow_hasTitleBar
Window_hasTitleBar :: proc(self: ^Window) -> (BOOL)SourceWindow_initWithContentRect
Window_initWithContentRect :: proc(self: ^Window, contentRect: Rect, styleMask: WindowStyleMask, backing: BackingStoreType, doDefer: BOOL) -> (^Window)SourceWindow_isFloatingPanel
Window_isFloatingPanel :: proc(self: ^Window) -> (BOOL)SourceWindow_isMiniaturizable
Window_isMiniaturizable :: proc(self: ^Window) -> (BOOL)SourceWindow_isModalPanel
Window_isModalPanel :: proc(self: ^Window) -> (BOOL)SourceWindow_isResizable
Window_isResizable :: proc(self: ^Window) -> (BOOL)SourceWindow_isZoomable
Window_isZoomable :: proc(self: ^Window) -> (BOOL)SourceWindow_keyWindow
Window_keyWindow :: proc(self: ^Window) -> (BOOL)SourceWindow_mainWindow
Window_mainWindow :: proc(self: ^Window) -> (BOOL)SourceWindow_makeFirstResponder
Window_makeFirstResponder :: proc(self: ^Window, responder: ^Responder) -> (BOOL)SourceWindow_makeKeyAndOrderFront
Window_makeKeyAndOrderFront :: proc(self: ^Window, key: ^Object)SourceWindow_minFrameWidthWithTitle
Window_minFrameWidthWithTitle :: proc(title: ^String, styleMask: WindowStyleMask) -> (Float)SourceWindow_opaque
Window_opaque :: proc(self: ^Window) -> (BOOL)SourceWindow_orderFront
Window_orderFront :: proc(self: ^Window, sender: id)SourceWindow_orderOut
Window_orderOut :: proc(self: ^Window, sender: id)SourceWindow_orderedIndex
Window_orderedIndex :: proc(self: ^Window) -> (Integer)SourceWindow_parentWindow
Window_parentWindow :: proc(self: ^Window) -> (^Window)SourceWindow_performClose
Window_performClose :: proc(self: ^Window, sender: id)SourceWindow_performWindowDragWithEvent
Window_performWindowDragWithEvent :: proc(self: ^Window, event: ^Event)SourceWindow_performZoom
Window_performZoom :: proc(self: ^Window)SourceWindow_screen
Window_screen :: proc(self: ^Window) -> (^Screen)SourceWindow_setAcceptsMouseMovedEvents
Window_setAcceptsMouseMovedEvents :: proc(self: ^Window, ok: BOOL)SourceWindow_setBackgroundColor
Window_setBackgroundColor :: proc(self: ^Window, color: ^Color)SourceWindow_setCollectionBehavior
Window_setCollectionBehavior :: proc(self: ^Window, behavior: WindowCollectionBehavior)SourceWindow_setContentView
Window_setContentView :: proc(self: ^Window, content_view: ^View)SourceWindow_setDelegate
Window_setDelegate :: proc(self: ^Window, delegate: ^WindowDelegate)SourceWindow_setFrame
Window_setFrame :: proc(self: ^Window, frame: Rect, display: BOOL)SourceWindow_setFrameOrigin
Window_setFrameOrigin :: proc(self: ^Window, origin: Point)SourceWindow_setIsMiniaturized
Window_setIsMiniaturized :: proc(self: ^Window, ok: BOOL)SourceWindow_setIsVisible
Window_setIsVisible :: proc(self: ^Window, ok: BOOL)SourceWindow_setIsZoomed
Window_setIsZoomed :: proc(self: ^Window, ok: BOOL)SourceWindow_setLevel
Window_setLevel :: proc(self: ^Window, level: WindowLevel)SourceWindow_setMinSize
Window_setMinSize :: proc(self: ^Window, size: Size)SourceWindow_setMovable
Window_setMovable :: proc(self: ^Window, ok: BOOL)SourceWindow_setMovableByWindowBackground
Window_setMovableByWindowBackground :: proc(self: ^Window, ok: BOOL)SourceWindow_setOpaque
Window_setOpaque :: proc(self: ^Window, ok: BOOL)SourceWindow_setReleasedWhenClosed
Window_setReleasedWhenClosed :: proc(self: ^Window, flag: BOOL)SourceWindow_setRestorable
Window_setRestorable :: proc(self: ^Window, flag: BOOL)SourceWindow_setStyleMask
Window_setStyleMask :: proc(self: ^Window, style_mask: WindowStyleMask)SourceWindow_setTabbingMode
Window_setTabbingMode :: proc(self: ^Window, mode: WindowTabbingMode)SourceWindow_setTitle
Window_setTitle :: proc(self: ^Window, title: ^String)SourceWindow_setTitleVisibility
Window_setTitleVisibility :: proc(self: ^Window, visibility: Window_Title_Visibility)SourceWindow_setTitlebarAppearsTransparent
Window_setTitlebarAppearsTransparent :: proc(self: ^Window, ok: BOOL)SourceWindow_setToolbar
Window_setToolbar :: proc(self: ^Window, toolbar: ^Toolbar)SourceWindow_setWantsLayer
Window_setWantsLayer :: proc(self: ^Window, ok: BOOL)SourceWindow_toggleFullScreen
Window_toggleFullScreen :: proc(self: ^Window, sender: id)Sourcealloc
alloc :: proc(T: typeid) -> (^T)Sourcealloc_user_object
alloc_user_object :: proc(cls: Class, _context: Maybe(runtime.Context)) -> (id)Sourceapplication_delegate_register_and_alloc
application_delegate_register_and_alloc :: proc(template: ApplicationDelegateTemplate, class_name: string, delegate_context: Maybe(runtime.Context)) -> (^ApplicationDelegate)Sourceautorelease
autorelease :: proc(self: ^Object)SourcebridgingCast
bridgingCast :: proc(T: typeid, obj: ^Object)Sourceclass
class :: proc(self: ^Object) -> (Class)Sourceclass_get_metaclass
class_get_metaclass :: proc(cls: Class) -> (Class)Sourceclass_get_vtable_info
class_get_vtable_info :: proc(cls: Class) -> (^Class_VTable_Info)Sourcecopy
copy :: proc(self: ^Copying($T)) -> (^T)SourcedebugDescription
debugDescription :: proc(self: ^Object) -> (^String)Sourcedescription
description :: proc(self: ^Object) -> (^String)Sourcehash
hash :: proc(self: ^Object) -> (UInteger)Sourceinit
init :: proc(self: ^T) -> (^T)SourceisEqual
isEqual :: proc(self: ^Object, pObject: ^Object) -> (BOOL)Sourcemake_subclasser
make_subclasser :: proc(vtable: ^T, impl: proc(cls: Class, vt: ^T)) -> (Object_VTable_Info)SourcemethodSignatureForSelector
methodSignatureForSelector :: proc(obj: ^Object, selector: SEL) -> (rawptr)SourcemsgSendSafeCheck
msgSendSafeCheck :: proc(obj: ^Object, selector: SEL) -> (BOOL)Sourcenew
new :: proc(T: typeid) -> (^T)Sourceobject_get_vtable_info
object_get_vtable_info :: proc(obj: id) -> (^Class_VTable_Info)SourceperformSelectorOnMainThread
performSelectorOnMainThread :: proc(self: ^Object, aSelector: SEL, arg: id, wait: BOOL)Sourceregister_subclass
register_subclass :: proc(class_name: cstring, superclass: Class, superclass_overrides: Maybe(Object_VTable_Info), protocol: Maybe(Object_VTable_Info), _context: Maybe(runtime.Context)) -> (Class)Sourcerelease
release :: proc(self: ^Object)SourcerespondsToSelector
respondsToSelector :: proc(obj: ^Object, selector: SEL) -> (BOOL)Sourceretain
retain :: proc(self: ^Object)SourceretainCount
retainCount :: proc(self: ^Object) -> (UInteger)Sourcescoped_autoreleasepool
scoped_autoreleasepool :: proc() -> (^AutoreleasePool)Sourcetilt
tilt :: proc(self: ^Event) -> (Point)Sourcewindow_delegate_register_and_alloc
window_delegate_register_and_alloc :: proc(template: WindowDelegateTemplate, class_name: string, delegate_context: Maybe(runtime.Context)) -> (^WindowDelegate)SourceProcedure Groups
8BitmapImageRep_initWithBitmapDataPlanes
BitmapImageRep_initWithBitmapDataPlanes :: proc{BitmapImageRep_initWithBitmapDataPlanes_legacy, BitmapImageRep_initWithBitmapDataPlanes_bitmapFormat}SourceMenuDelegate_menu
MenuDelegate_menu :: proc{MenuDelegate_menu_updateItem_atIndex_shouldCancel, MenuDelegate_menu_willHighlightItem}SourceMenuItem_cancelPreviousPerformRequestsWithTarget
MenuItem_cancelPreviousPerformRequestsWithTarget :: proc{MenuItem_cancelPreviousPerformRequestsWithTarget_selector_object, MenuItem_cancelPreviousPerformRequestsWithTarget_}SourceMenu_cancelPreviousPerformRequestsWithTarget
Menu_cancelPreviousPerformRequestsWithTarget :: proc{Menu_cancelPreviousPerformRequestsWithTarget_selector_object, Menu_cancelPreviousPerformRequestsWithTarget_}SourceMenu_paletteMenuWithColors
Menu_paletteMenuWithColors :: proc{Menu_paletteMenuWithColors_titles_selectionHandler}SourceMenu_popUpContextMenu
Menu_popUpContextMenu :: proc{Menu_popUpContextMenu_withEvent_forView}SourceNotificationCenter_addObserverForName
NotificationCenter_addObserverForName :: proc{NotificationCenter_addObserverForName_old, NotificationCenter_addObserverForName_new}SourceNumber_number
Number_number :: proc{Number_numberWithI8, Number_numberWithU8, Number_numberWithI16, Number_numberWithU16, Number_numberWithI32, Number_numberWithU32, Number_numberWithInt, Number_numberWithUint, Number_numberWithU64, Number_numberWithI64, Number_numberWithF32, Number_numberWithF64, Number_numberWithBool}Source