|
|
__init__(self,
title='PyCocao',
raiser=False,
**kwds)
New App. |
|
|
|
|
append(self,
menu)
Add a menu to this app's menu bar. |
|
|
|
|
full(self,
full)
Enter or exit full screen mode for this app. |
|
|
|
|
hide(self,
hide)
Hide or show this app's main window. |
|
|
|
|
hideOther(self,
hide)
Hide other or show all apps's windows. |
|
|
|
|
run(self,
timeout=None)
Run this app (never returns). |
|
|
|
|
terminate(self)
Terminate this app (never returns). |
|
|
|
|
appLaunched_(self,
app)
Callback, the app launched and is up. |
|
|
|
|
menuFullScreen_(self,
item)
Callback for Full Screen menu item. |
|
|
|
|
menuHide_(self,
item)
Callback for Hide menu item. |
|
|
|
|
menuOther_(self,
item)
Callback for Hide/Show Other menu item. |
|
|
|
|
menuTerminate_(self,
item)
Callback for Quit menu item. |
|
|
|
|
windowClose_(self,
window)
Closing window callback. |
|
|
|
|
|
|
|
windowKey_(self,
window)
Callback window becomes/resigns Key. |
|
|
|
|
windowLast_(self,
window)
Callback window becomes Key or Main. |
|
|
|
|
windowMain_(self,
window)
Callback window becomes/resigns Main. |
|
|
|
|
windowPrint_(self,
window)
Print window callback. |
|
|
|
|
windowResize_(self,
window)
Resizing window callback. |
|
|
|
|
windowZoomOK_(self,
window,
frame=None)
Is it OK? to toggle zoom window callback. |
|
|
|
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__
|
|
|
badge
Get this app's dock tile/badge (Tile).
|
|
|
isHidden
Get this app's hidden state (bool).
|
|
|
isRunning
Get this app's running state (bool).
|
|
|
isUp
Get this app's launched state (bool).
|
|
|
keyWindow
Get this app's key window (Window) or
None.
|
|
|
lastWindow
Get this app's most recent key or main window (Window).
|
|
|
mainWindow
Get this app's main window (Window) or
None.
|
|
|
menubar
Get this app's menu bar (MenuBar).
|
|
|
raiser
Get raise errors option (bool).
|
|
Inherited from bases._Type2:
tag,
title
Inherited from bases._Type1:
NSdelegate,
app
Inherited from bases._Type0:
NS,
NSDelegate
Inherited from object:
__class__
|