Classes

NSActionCell
NSAlert
NSApplication
NSArrayController
NSBezierPath
NSBitmapImageRep
NSBox
NSBrowser
NSBrowserCell
NSButton
NSButtonCell
NSCachedImageRep
NSCell
NSClipView
NSCollectionView
NSCollectionViewItem
NSColor
NSColorList
NSColorPanel
NSColorPicker
NSColorWell
NSComboBox
NSComboBoxCell
NSControl
NSController
NSCursor
NSCustomImageRep
NSDataLink
NSDataLinkManager
NSDataLinkPanel
NSDatePicker
NSDatePickerCell
NSDocument
NSDocumentController
NSDrawer
NSDrawerDelegate
NSEPSImageRep
NSEvent
NSFont
NSFontDescriptor
NSFontManager
NSFontPanel
NSForm
NSFormCell
NSGraphicsContext
NSHelpManager
NSHelpPanel
NSImage
NSImageCell
NSImageRep
NSImageView
NSInputServer
NSMatrix
NSMenu
NSMenuItem
NSMenuItemCell
NSMenuView
NSMovie
NSMovieView
NSMutableParagraphStyle
NSNib
NSObjectController
NSOpenGLContext
NSOpenGLPixelFormat
NSOpenGLView
NSOpenPanel
NSOutlineView
NSPageLayout
NSPanel
NSParagraphStyle
NSPasteboard
NSPasteboardItem
NSPopUpButton
NSPopUpButtonCell
NSPredicateEditor
NSPredicateEditorRowTemplate
NSPrintInfo
NSPrintOperation
NSPrintPanel
NSPrinter
NSProgressIndicator
NSResponder
NSRuleEditor
NSRulerMarker
NSSavePanel
NSScreen
NSScrollView
NSScroller
NSSecureTextField
NSSecureTextFieldCell
NSSelection
NSSharingService
NSSharingServicePicker
NSSlider
NSSliderCell
NSSound
NSSpeechSynthesizer
NSSpellChecker
NSSplitView
NSStepper
NSStepperCell
NSTabView
NSTabViewItem
NSTableColumn
NSTableHeaderCell
NSTableHeaderView
NSTableView
NSText
NSTextAttachment
NSTextAttachmentCell
NSTextContainer
NSTextField
NSTextFieldCell
NSTextStorage
NSTextTab
NSTextView
NSTokenField
NSTokenFieldCell
NSUserDefaultsController
NSView
NSWindow
NSWindowController
NSWorkspace

Protocols

<GSImageDelegateProtocol>
<NSAlertDelegate>
<NSApplicationDelegate>
<NSBrowserDelegate>
<NSCollectionViewDataSource>
<NSCollectionViewDelegate>
<NSCollectionViewElement>
<NSCollectionViewPrefetching>
<NSComboBoxCellDataSource>
<NSComboBoxDataSource>
<NSComboBoxDelegate>
<NSControlTextEditingDelegate>
<NSInputServerMouseTracker>
<NSInputServiceProvider>
<NSMatrixDelegate>
<NSMenuDelegate>
<NSMenuItem>
<NSMenuValidation>
<NSMenuView>
<NSOpenSavePanelDelegate>
<NSOutlineViewDataSource>
<NSOutlineViewDelegate>
<NSPasteboardItemDataProvider>
<NSPasteboardReading>
<NSPasteboardWriting>
<NSPrintPanelAccessorizing>
<NSRuleEditorDelegate>
<NSSharingServiceDelegate>
<NSSharingServicePickerDelegate>
<NSSpeechSynthesizerDelegate>
<NSSplitViewDelegate>
<NSTabViewDelegate>
<NSTableViewDataSource>
<NSTableViewDelegate>
<NSTextAttachmentCell>
<NSTextFieldDelegate>
<NSTextViewDelegate>
<NSWindowDelegate>
(NSAlertDelegate)
(NSApplicationDelegate)
(NSBrowserDelegate)
(NSComboBoxCellDataSource)
(NSControlDelegate)
(NSControlTextEditingDelegate)
(NSDataLinkManagerDelegate)
(NSDataPickerCellDelegate)
(NSEditor)
(NSEditorRegistration)
(NSFontManagerDelegate)
(NSFontPanelValidation)
(NSMenuActionResponder)
(NSMenuDelegate)
(NSOpenSavePanelDelegate)
(NSPasteboardItemDataProvider)
(NSPasteboardOwner)
(NSPasteboardReading)
(NSPasteboardWriting)
(NSPlaceholder)
(NSSavePanelDelegate)
(NSServicesRequests)
(NSSoundDelegate)
(NSSpeechSynthesizerDelegate)
(NSSplitViewDelegate)
(NSTableDataSource)
(NSTableViewDelegate)
(NSTextDelegate)
(NSTextStorageDelegate)
(NSTextViewDelegate)
(NSWindowDelegate)
(NSWindowDelegateAdditions)

Constants

Functions

Macros

Types

Variables

Up

NSClipView

Authors

Ovidiu Predescu (ovidiu@net-community.com)
Richard Frith-Macdonald (richard@brainstorm.co.uk)

Date: Generated at 2025-07-12 14:18:56 +0000

Copyright: (C) 1996 Free Software Foundation, Inc.

Software documentation for the NSClipView class

NSClipView : NSView

Declared in:
AppKit/NSClipView.h
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary


autoscroll: 

- (BOOL) autoscroll: (NSEvent*)theEvent;
Availability: OpenStep

Scrolls in response to mouse-dragged events.


backgroundColor 

- (NSColor*) backgroundColor;
Availability: OpenStep

Returns the NSClipView's background color

See Also: -setBackgroundColor:


constrainScrollPoint: 

- (NSPoint) constrainScrollPoint: (NSPoint)proposedNewOrigin;
Availability: OpenStep


copiesOnScroll 

- (BOOL) copiesOnScroll;
Availability: OpenStep

Description forthcoming.

documentCursor 

- (NSCursor*) documentCursor;
Availability: OpenStep

Returns the cursor of the document view

See Also: -setDocumentCursor:


documentRect 

- (NSRect) documentRect;
Availability: OpenStep

Returns the document rectangle.

See Also: -documentVisibleRect


documentView 

- (id) documentView;
Availability: OpenStep

Returns the NSClipView's document view.

See Also: -setDocumentView:


documentVisibleRect 

- (NSRect) documentVisibleRect;
Availability: OpenStep

Returns the document visible rectangle in the document views coordinate system.

See Also: -documentRect [NSView -convertRect:toView:]


drawsBackground 

- (BOOL) drawsBackground;
Availability: MacOS-X 10.0.0

Description forthcoming.

scrollToPoint: 

- (void) scrollToPoint: (NSPoint)aPoint;
Availability: OpenStep

Description forthcoming.

setBackgroundColor: 

- (void) setBackgroundColor: (NSColor*)aColor;
Availability: OpenStep

Sets the NSClipView's background color to aColor and marks self for display. Sets the opaque flag if needed (to YES if the NSClipView does not draw its background, if the background color is nil or if the background color alpha component is less than 1.0, NO otherwise)

See Also: -backgroundColor [NSView -isOpaque]


setCopiesOnScroll: 

- (void) setCopiesOnScroll: (BOOL)flag;
Availability: OpenStep

Description forthcoming.

setDocumentCursor: 

- (void) setDocumentCursor: (NSCursor*)aCursor;
Availability: OpenStep

Sets the cursor for the document view to aCursor

See Also: -documentCursor


setDocumentView: 

- (void) setDocumentView: (NSView*)aView;
Availability: OpenStep

Sets aView the NSClipView's document view to aView

See Also: -documentView


setDrawsBackground: 

- (void) setDrawsBackground: (BOOL)flag;
Availability: MacOS-X 10.0.0

Description forthcoming.



Instance Variables for NSClipView Class

_backgroundColor

@protected NSColor* _backgroundColor;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_copiesOnScroll

@protected BOOL _copiesOnScroll;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_cursor

@protected NSCursor* _cursor;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_documentView

@protected NSView* _documentView;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_drawsBackground

@protected BOOL _drawsBackground;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_isOpaque

@protected BOOL _isOpaque;
Availability: OpenStep

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.





Up