o
    'h                     @   s&   d Z dd Ze d  dd ZdS )z
Python mapping for the AppKit framework.

This module does not contain docstrings for the wrapped code, check Apple's
documentation for details on how to use these functions and classes.
c               	   C   s   dd l } dd l}dd l}ddlm}m}m} ddlm} |j	dd|
dt ||||f|jd\}}|t d	< |t d
< dD ]
\}	}
||	|
 q>| jd= ddd}ddd}|dd|fd|ff t }dD ]}z
tt|||< W qh ty}   Y qhw d S )N       )	_metadata_nsapp_AppKit)_inline_list_ZAppKitzcom.apple.AppKitz+/System/Library/Frameworks/AppKit.framework)nameZframeworkIdentifierZframeworkPathglobals_dictZinline_listparentsZmetadict__dir____getattr__)E)ZNSTouchBarItem   init)ZNSTextFieldCell   initImageCell:)NSTextViewportLayoutControllerr   )r      new)Z
NSFormCellr   )ZNSTextListElements   initWithAttributedString:)NSTextSelectionNavigationr   )r   r   )NSTextRanger   )r   r   )ZNSTextCheckingControllerr   )ZNSFontAssetRequestr   )Z"NSDictionaryControllerKeyValuePairr   )ZNSSharingServicer   )ZNSSharingServicePickerr   )ZNSMenuItemBadger   )ZNSTextInputContextr   )$NSAccessibilityCustomRotorItemResultr   )r   r   )ZNSWindows   initWithCoder:)"NSCollectionViewDiffableDataSourcer   )r   r   )ZNSDraggingImageComponentr   )ZNSDraggingItemr   )ZNSSearchToolbarItems   view)NSTableViewDiffableDataSourcer   )r   r   )ZNSSearchFieldCellr   )ZNSDataAssetr   )ZNSRulerMarkerr   )ZNSTextSelectionr   )ZNSDatePickerCells   initWithImageCell:)#NSCollectionViewCompositionalLayoutr   )r   r   )NSCollectionLayoutSectionr   )r   r   )NSCollectionLayoutItemr   )r   r   )!NSCollectionLayoutGroupCustomItemr   )r   r   )NSCollectionLayoutGroupr   )r   r   )NSCollectionLayoutDimensionr   )r   r   )NSCollectionLayoutSizer   )r   r   )NSCollectionLayoutSpacingr   )r   r   )NSCollectionLayoutEdgeSpacingr   )r   r   )#NSCollectionLayoutSupplementaryItemr   )r   r   )+NSCollectionLayoutBoundarySupplementaryItemr   )r   r   ) NSCollectionLayoutDecorationItemr   )r    r   )NSCollectionLayoutAnchorr   )r!   r   )ZNSTextLineFragmentr   )!NSPreviewRepresentingActivityItemr   )r"   r   )ZNSTextLayoutFragmentr   )ZNSBindingSelectionMarkerr   )NSTextAttachmentViewProviderr   )r#   r   ),NSWritingToolsCoordinatorAnimationParametersr   )r$   r   ) NSWritingToolsCoordinatorContextr   )r%   r   zAppKit._metadatac                 S   s   |  |}|d u r|S |S N)objectForKey_selfkeydefaultvalue r-   f/Users/merlin/projects/employee-monitoring-system/venv/lib/python3.10/site-packages/AppKit/__init__.pyfontdescriptor_geto   s   
z"_setup.<locals>.fontdescriptor_getc                 S   s   |  |}|d u rt||S r&   )r'   KeyErrorr(   r-   r-   r.   fontdescriptor_getitemu   s   
z&_setup.<locals>.fontdescriptor_getitemZNSFontDescriptor__getitem__get)RZNSEnterCharacterZNSBackspaceCharacterZNSTabCharacterZNSNewlineCharacterZNSFormFeedCharacterZNSCarriageReturnCharacterZNSBackTabCharacterZNSDeleteCharacterZNSLineSeparatorCharacterZNSParagraphSeparatorCharacterZNSUpArrowFunctionKeyZNSDownArrowFunctionKeyZNSLeftArrowFunctionKeyZNSRightArrowFunctionKeyZNSF1FunctionKeyZNSF2FunctionKeyZNSF3FunctionKeyZNSF4FunctionKeyZNSF5FunctionKeyZNSF6FunctionKeyZNSF7FunctionKeyZNSF8FunctionKeyZNSF9FunctionKeyZNSF10FunctionKeyZNSF11FunctionKeyZNSF12FunctionKeyZNSF13FunctionKeyZNSF14FunctionKeyZNSF15FunctionKeyZNSF16FunctionKeyZNSF17FunctionKeyZNSF18FunctionKeyZNSF19FunctionKeyZNSF20FunctionKeyZNSF21FunctionKeyZNSF22FunctionKeyZNSF23FunctionKeyZNSF24FunctionKeyZNSF25FunctionKeyZNSF26FunctionKeyZNSF27FunctionKeyZNSF28FunctionKeyZNSF29FunctionKeyZNSF30FunctionKeyZNSF31FunctionKeyZNSF32FunctionKeyZNSF33FunctionKeyZNSF34FunctionKeyZNSF35FunctionKeyZNSInsertFunctionKeyZNSDeleteFunctionKeyZNSHomeFunctionKeyZNSBeginFunctionKeyZNSEndFunctionKeyZNSPageUpFunctionKeyZNSPageDownFunctionKeyZNSPrintScreenFunctionKeyZNSScrollLockFunctionKeyZNSPauseFunctionKeyZNSSysReqFunctionKeyZNSBreakFunctionKeyZNSResetFunctionKeyZNSStopFunctionKeyZNSMenuFunctionKeyZNSUserFunctionKeyZNSSystemFunctionKeyZNSPrintFunctionKeyZNSClearLineFunctionKeyZNSClearDisplayFunctionKeyZNSInsertLineFunctionKeyZNSDeleteLineFunctionKeyZNSInsertCharFunctionKeyZNSDeleteCharFunctionKeyZNSPrevFunctionKeyZNSNextFunctionKeyZNSSelectFunctionKeyZNSExecuteFunctionKeyZNSUndoFunctionKeyZNSRedoFunctionKeyZNSFindFunctionKeyZNSHelpFunctionKeyZNSModeSwitchFunctionKeyr&   )sys
Foundationobjc r   r   r   Z_inlinesr   ZcreateFrameworkDirAndGetattrZpathForFrameworkglobals__dict__ZregisterUnavailableMethodmodulesZaddConvenienceForClasschrr   AttributeError)r4   r5   r6   r   r   r   r   Zdir_funcZgetattr_funcclsselr/   r1   r   nmr-   r-   r.   _setup	   sL   


G

Tr@   c                     s&   ddl }|dj  fdd| D S )zD
    Return a dictionary with the given names and there values.
    r   Nr   c                    s   i | ]}| | qS r-   r-   ).0r?   	variablesr-   r.   
<dictcomp>   s    z2NSDictionaryOfVariableBindings.<locals>.<dictcomp>)r4   	_getframef_locals)namesr4   r-   rB   r.   NSDictionaryOfVariableBindings   s   rH   N)__doc__r@   r8   poprH   r-   r-   r-   r.   <module>   s
     U