• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: custom clipview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom clipview


  • Subject: Re: custom clipview
  • From: Tobias Hermann <email@hidden>
  • Date: Sun, 23 Mar 2003 13:02:32 +0100

An NSScrollView has a method called

- (void)setContentView:(NSClipView *)aView

You can set the contentView of the NSScrollView by hand that way. There you should be able to pass an object of your NSClipView subclass...
Read the documentation for that method in the class description of NSScrollView.

regards

Tobi

On Sunday, March 23, 2003, at 10:54 AM, Francisco Tolmasky wrote:

Ok, if I have an nsscrollview and I want it to use my own custom clipview, say "MyClipView", how would I go about doing this. In other words, have it use MyClipView instead of NSClipView.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >custom clipview (From: Francisco Tolmasky <email@hidden>)

  • Prev by Date: Re: How do you connect two classes (e.g IBOutlet and IBAction) when not using IB
  • Next by Date: read directory in table view
  • Previous by thread: custom clipview
  • Next by thread: NSBezierPath winding rules and glyphs
  • Index(es):
    • Date
    • Thread