Package pycocoa :: Module panels
[frames] | no frames]

Module panels

Types OpenPanel and SavePanel, wrapping ObjC NSOpenPanel and NSSavePanel.


Version: 20.01.08

Classes
  AlertPanel
Python Type to show an alert, wrapping ObjC NSAlert.
  BrowserPanel
Python Type to show a URL or file.
  ErrorPanel
Python Type to show an NSError alert, wrapping ObjC NSAlert.
  OpenPanel
Python Type to select a file, wrapping ObjC NSOpenPanel.
  SavePanel
Python Type to save a file, wrapping ObjC NSSavePanel.
  TextPanel
Scrollable text panel Python Type, wrapping ObjC NSAlert.
Variables
  __all__ = _ALL_LAZY.panels
  AlertStyle = AlertStyle.Critical=1<...
Alert levels (enum).
  PanelButton = PanelButton.Cancel...
Panel button kinds (enum).
Variables Details

AlertStyle

Alert level constants (int).

Value:
AlertStyle.Critical=1<<1,
          .Info=1,
          .Warning=0

PanelButton

Panel button kinds (int).

Value:
PanelButton.Cancel=0,
           .Close=1,
           .Error=-3,
           .OK=1,
           .Other=1<<1,
           .Suppressed=-2,
           .TimedOut=-1