Package pycocoa :: Module apps :: Class Tile
[frames] | no frames]

Class Tile

          object --+                
                   |                
internals._Objectype --+            
                       |            
        baseTypes._Type0 --+        
                           |        
            baseTypes._Type1 --+    
                               |    
                baseTypes._Type2 --+
                                   |
                                  Tile

Dock tile for an App, wrapping an ObjC NSDockTile.

Instance Methods
 
__init__(self, app)
New dock Tile.

Inherited from baseTypes._Type2: __str__

Inherited from baseTypes._Type0: __repr__, type2strepr

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties
  label
Get the badge text of the app's dock tile (str).

Inherited from baseTypes._Type2: title

Inherited from baseTypes._Type1: NSdelegate, app

Inherited from baseTypes._Type0: NS, NSDelegate

Inherited from internals._Objectype: typename

Inherited from object: __class__

Method Details

__init__(self, app)
(Constructor)

 

New dock Tile.

Parameters:
  • app - The app (App).
Overrides: object.__init__

Property Details

label

Get the badge text of the app's dock tile (str).

Get Method:
label(self) - Get the badge text of the app's dock tile (str).
Set Method:
label(self, label) - Set the badge text of the app's dock tile (str).