ó
_\¬Qc           @   sº  d  Z  d d l Z d d l Z d Z d dl d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d	 „  ƒ  YZ e ƒ  Z	 d
 e j f d „  ƒ  YZ
 e
 ƒ  Z e Z d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d  e j f d! „  ƒ  YZ d" e j f d# „  ƒ  YZ d$ e j f d% „  ƒ  YZ d& e j f d' „  ƒ  YZ d( e j f d) „  ƒ  YZ d* e j f d+ „  ƒ  YZ d, e j f d- „  ƒ  YZ d. e j f d/ „  ƒ  YZ d0 e j f d1 „  ƒ  YZ d2 e j f d3 „  ƒ  YZ  d4 e j f d5 „  ƒ  YZ! d6 e j f d7 „  ƒ  YZ" d8 e j f d9 „  ƒ  YZ# e Z$ g  e _% d d l& Z& i e d: 6e
 d; 6e _' i e& j( d< 6e d 6e _) g  e _% i e d: 6e d= 6e d> 6e d? 6e d@ 6e dA 6e dB 6e dC 6e dD 6e dE 6e dF 6e dG 6e dH 6e dI 6e dJ 6e dK 6e dL 6e
 d; 6e dM 6e dN 6e  dO 6e! dP 6e" dQ 6e# dR 6e _' i  e _) i e dS 6e dT 6Z* i e d@ 6e dU 6e dV 6e dW 6e dX 6e
 dY 6e dZ 6e d[ 6e d\ 6e d] 6e d^ 6e d_ 6e d` 6e da 6e db 6e dc 6e dd 6e de 6e df 6e  dg 6e! dh 6e" di 6e# dj 6e dk 6Z+ i  Z, i  Z- d S(m   sÍ   Suite Terminal Suite: Terms and Events for controlling the Terminal application
Level 1, version 1

Generated from /Applications/Utilities/Terminal.app
AETE/AEUT resource version 1/0, language 0, script 0
iÿÿÿÿNt   trmxt   Terminal_Suite_Eventsc           B   s4   e  Z i  d  „ Z i d d 6d d 6Z i  d „ Z RS(   c         K   sŽ   d } d } | r t  d ‚ n  | | d <|  j | | | | ƒ \ } } } | j d d ƒ rs t j t j | ƒ ‚ n  | j d ƒ rŠ | d Sd S(   s    GetURL: Opens a telnet: URL
        Required argument: the object for the command
        Keyword argument _attributes: AppleEvent attribute dictionary
        t   GURLs   No optional args expecteds   ----t   errni    N(   t	   TypeErrort   sendt   gett   aetoolst   Errort   decodeerrort   has_key(   t   selft   _objectt   _attributest
   _argumentst   _codet   _subcodet   _reply(    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyt   GetURL   s     
t   kfilt   in_t   cmndt   with_commandc         K   s   d } d } t  j | |  j ƒ | | d <|  j | | | | ƒ \ } } } | j d d ƒ rt t  j t  j | ƒ ‚ n  | j d ƒ r‹ | d Sd S(   s±  do script: Run a UNIX shell script or command
        Required argument: the object for the command
        Keyword argument in_: the window in which to execute the command
        Keyword argument with_command: data to be passed to the Terminal application as the command line, deprecated, use direct parameter
        Keyword argument _attributes: AppleEvent attribute dictionary
        Returns: the reply for the command
        t   coret   doscs   ----R   i    N(   R   t   keysubstt   _argmap_do_scriptR   R   R   R	   R
   (   R   R   R   R   R   R   R   (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyt	   do_script(   s    
(   t   __name__t
   __module__R   R   R   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR      s
   
t   applicationc           B   s   e  Z d  Z d Z RS(   s#   application - The Terminal program t   capp(   R   R   t   __doc__t   want(    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR   @   s   t   _Prop__3c_Inheritance_3e_c           B   s   e  Z d  Z d Z d Z RS(   s9   <Inheritance> - All of the properties of the superclass. s   c@#^R   (   R   R   R    t   whichR!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR"   C   s   t   _Prop_propertiesc           B   s   e  Z d  Z d Z d Z RS(   s4   properties - every property of the Terminal program t   pALLs   ****(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR$   H   s   t   windowc           B   s   e  Z d  Z d Z RS(   s   window - A Terminal window t   cwin(   R   R   R    R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR&   R   s   t   _Prop_background_colorc           B   s   e  Z d  Z d Z d Z RS(   s7   background color - the background color for the window t   pbcls   ****(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR(   U   s   t   _Prop_bold_text_colorc           B   s   e  Z d  Z d Z d Z RS(   s5   bold text color - the bold text color for the window t   pbtcs   ****(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR*   Y   s   t   _Prop_boundsc           B   s   e  Z d  Z d Z d Z RS(   s`   bounds - the boundary rectangle for the window, relative to the upper left corner of the screen t   pbnds   ****(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR,   ]   s   t
   _Prop_busyc           B   s   e  Z d  Z d Z d Z RS(   s-   busy - Is the window busy running a process? t   busyt   bool(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR.   a   s   t   _Prop_contentsc           B   s   e  Z d  Z d Z d Z RS(   s8   contents - the currently visible contents of the window t   pcntt   utxt(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR1   e   s   t   _Prop_cursor_colorc           B   s   e  Z d  Z d Z d Z RS(   s/   cursor color - the cursor color for the window t   pcucs   ****(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR4   i   s   t   _Prop_custom_titlec           B   s   e  Z d  Z d Z d Z RS(   s/   custom title - the custom title for the window t   titlR3   (   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR6   m   s   t   _Prop_framec           B   s   e  Z d  Z d Z d Z RS(   s*   frame - the origin and size of the window t   pfras   ****(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR8   q   s   t   _Prop_frontmostc           B   s   e  Z d  Z d Z d Z RS(   sB   frontmost - Is the window in front of the other Terminal windows? t   pisfR0   (   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR:   u   s   t   _Prop_historyc           B   s   e  Z d  Z d Z d Z RS(   sD   history - the contents of the entire scrolling buffer of the window t   histR3   (   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR<   y   s   t   _Prop_normal_text_colorc           B   s   e  Z d  Z d Z d Z RS(   s9   normal text color - the normal text color for the window t   ptxcs   ****(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR>   }   s   t   _Prop_number_of_columnsc           B   s   e  Z d  Z d Z d Z RS(   s8   number of columns - the number of columns in the window t   ccolt   long(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyR@      s   t   _Prop_number_of_rowsc           B   s   e  Z d  Z d Z d Z RS(   s2   number of rows - the number of rows in the window t   crowRB   (   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyRC   …   s   t   _Prop_originc           B   s   e  Z d  Z d Z d Z RS(   sc   origin - the lower left coordinates of the window, relative to the lower left corner of the screen t   poris   ****(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyRE   ‰   s   t   _Prop_positionc           B   s   e  Z d  Z d Z d Z RS(   se   position - the upper left coordinates of the window, relative to the upper left corner of the screen t   pposs   ****(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyRG      s   t   _Prop_processesc           B   s   e  Z d  Z d Z d Z RS(   s6   processes - a list of the currently running processes t   prcsR3   (   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyRI   ‘   s   t
   _Prop_sizec           B   s   e  Z d  Z d Z d Z RS(   s*   size - the width and height of the window t   psizs   ****(   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyRK   •   s   t!   _Prop_title_displays_custom_titlec           B   s   e  Z d  Z d Z d Z RS(   sT   title displays custom title - Does the title for the window contain a custom title? t   tdctR0   (   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyRM   ™   s   t    _Prop_title_displays_device_namec           B   s   e  Z d  Z d Z d Z RS(   sT   title displays device name - Does the title for the window contain the device name? t   tddnR0   (   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyRO      s   t   _Prop_title_displays_file_namec           B   s   e  Z d  Z d Z d Z RS(   sP   title displays file name - Does the title for the window contain the file name? t   tdfnR0   (   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyRQ   ¡   s   t   _Prop_title_displays_shell_pathc           B   s   e  Z d  Z d Z d Z RS(   sR   title displays shell path - Does the title for the window contain the shell path? t   tdspR0   (   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyRS   ¥   s   t    _Prop_title_displays_window_sizec           B   s   e  Z d  Z d Z d Z RS(   sT   title displays window size - Does the title for the window contain the window size? t   tdwsR0   (   R   R   R    R#   R!   (    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyRU   ©   s   t   _3c_Inheritance_3e_t
   propertiest   documentt   background_colort   bold_text_colort   boundsR/   t   contentst   cursor_colort   custom_titlet   framet	   frontmostt   historyt   normal_text_colort   number_of_columnst   number_of_rowst   origint   positiont	   processest   sizet   title_displays_custom_titlet   title_displays_device_namet   title_displays_file_namet   title_displays_shell_patht   title_displays_window_sizeR   R'   s   c@#^RA   RD   R=   R%   R)   R-   R+   R2   R5   R9   R;   RF   RH   RJ   RL   R?   RN   RP   RR   RT   RV   R7   (    (.   R    R   t   MacOSR   R   t   ComponentItemR   t	   NPropertyR"   RW   R$   RX   t   applicationsR&   R(   R*   R,   R.   R1   R4   R6   R8   R:   R<   R>   R@   RC   RE   RG   RI   RK   RM   RO   RQ   RS   RU   t   windowst   _superclassnamest   Standard_Suitet   _privpropdictRY   t   _privelemdictt   _classdeclarationst   _propdeclarationst   _compdeclarationst   _enumdeclarations(    (    (    s{   /tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.pyt   <module>   sÆ   3			
		

