Related class | |
Availability | Available in Mac OS X v10.3 and later.
|
Parameters Bindings
Title Bindings
Title With Pattern Bindings
A float
value that specifies the height of the NSWindow's content view. The height is expressed in the NSWindow's base coordinate system. Changing this value alters the size of the NSWindow.
A float
value that specifies the width of the NSWindow's content view. The width is expressed in the NSWindow's base coordinate system. Changing this value alters the size of the NSWindow.
A Boolean value that specifies if the NSWindow's document has been edited and not saved.
The documentEdited
binding should evaluate to YES
if the NSWindow's content needs to be saved.
A Boolean value that specifies if the NSWindow is visible.
If visible
evaluates to YES
, the NSWindow is visible.
An NSString that contains the name of the file that the window represents.
An NSString value that is displayed in the title bar of the NSWindow.
A multiple-value binding that specifies a string value that replaces %{title1}@
in a display pattern string that is used to set the title of the NSWindow.
When displayPatternTitle1
is bound, a new binding, displayPatternTitle2
, is exposed and can be bound. Binding to displayPatternTitle2
causes displayPatternTitle3
to be exposed, and so on.
The Display Pattern binding option is an NSString that is used as the pattern string. The appropriate displayPatternTitleX
binding value is substituted for the %{titleX}@
pattern in the display string.
As an example, if displayPatternTitle1
evaluates to 22
, displayPatternTitle2
evaluates to 5
and the Display Pattern string is "%{title2}@ of %{title1}@ rows are selected"
, the resulting NSWindow title will be "5 of 22 rows are selected".
If displayPatternTitle1
is bound, the title
and representedFilename
bindings are not available.
© 2004, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-10-31)