|
|
__init__(self,
title='Main',
frame=None,
excl=0,
auto=False,
**kwds)
Create a new Window. |
|
|
|
|
cascade(self)
Cascade window placement (from the top left screen corner). |
|
|
|
|
close(self)
Close this window (by a click of the close button). |
|
|
|
|
front(self,
focus=False)
Order this window to the front. |
|
|
|
|
full(self,
full)
Enter or exit full screen mode for this window. |
|
|
|
|
hide(self,
hide)
Hide or unhide this window. |
|
|
|
|
limit(self,
width=3840,
height=4160)
Limit this window's content size. |
|
|
|
|
|
|
|
windowClose_(self)
Closing window callback. |
|
|
|
|
windowKey_(self,
key)
Callback window becomes/resigns Key. |
|
|
|
|
windowMain_(self,
main)
Callback window becomes/resigns Main. |
|
|
|
|
windowPrint_(self)
Print window callback. |
|
|
|
|
windowResize_(self)
Resizing window callback. |
|
|
|
|
windowZoomOK_(self,
frame=None)
Is it OK? to toggle zoom window callback. |
|
|
|
|
zoom(self,
zoom)
Toggle, zoom or un-zoom this window. |
|
|
|
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__
|
|
|
NSview
Get this window's view (NSView...).
|
|
|
PMview
Get this window's print view (NSView...).
|
|
|
frame
Get this window's frame (Rect).
|
|
|
isFull
Get this window's full screen state (bool).
|
|
|
isHidden
Get this window's hidden state (bool).
|
|
|
isKey
Get this window's Key state (bool).
|
|
|
isMain
Get this window's Main state (bool).
|
|
|
isPrintable
Get this window's printable state (bool).
|
|
|
isVisible
Get this window's visible state (bool).
|
|
|
isZoomed
Get this window's zoomed state (bool).
|
|
|
ratio
Get this window's aspect ratio as 2-tuple (width, height).
|
|
Inherited from bases._Type2:
tag,
title
Inherited from bases._Type1:
NSdelegate,
app
Inherited from bases._Type0:
NS,
NSDelegate
Inherited from object:
__class__
|