Package pycocoa :: Module tables :: Class TableWindow
[frames] | no frames]

Class TableWindow

  object --+                
           |                
bases._Type0 --+            
               |            
    bases._Type1 --+        
                   |        
        bases._Type2 --+    
                       |    
          windows.Window --+
                           |
                          TableWindow

Python Type for a vertically scrollable window, wrapping ObjC NSWindow/NSScrollView.

Instance Methods
 
__init__(self, title='', table=None, frame=None)
New TableWindow.
 
windowClose_(self)
Closing this window callback.

Inherited from windows.Window: cascade, close, front, full, hide, limit, windowCloseOK_, windowKey_, windowMain_, windowPrint_, windowResize_, windowScreen_, windowZoomOK_, zoom

Inherited from bases._Type2: __str__

Inherited from bases._Type0: __repr__, type2strepr

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

Properties
  table
Get the table (Table).

Inherited from windows.Window: NSview, PMview, alpha, frame, isFull, isHidden, isKey, isMain, isPrintable, isVisible, isZoomed, opaque, ratio, screen, transparent, transparentTitlebar

Inherited from bases._Type2: title

Inherited from bases._Type1: NSdelegate, app

Inherited from bases._Type0: NS, NSDelegate, typename

Inherited from object: __class__

Method Details

__init__(self, title='', table=None, frame=None)
(Constructor)

 

New TableWindow.

Parameters:
  • title - Window name or title (str).
  • table - Table data (Table).
  • frame - Optional window frame (Rect).
Raises:
Overrides: object.__init__

windowClose_(self)

 

Closing this window callback.

Overrides: windows.Window.windowClose_

Property Details

table

Get the table (Table).

Get Method:
table(self) - Get the table (Table).
Set Method:
Read_Only(inst, ignored) - Throws an AttributeError, always.