Re: Inserting Graphics into NSTextView
Re: Inserting Graphics into NSTextView
- Subject: Re: Inserting Graphics into NSTextView
- From: publiclook <email@hidden>
- Date: Tue, 8 Apr 2003 20:57:49 -0400
There are many examples of using NSImage as an attachment. I recommend
"Cocoa Programming" as a resource for code examples, but many other
sources exist including the source code for TextEdit on your disk.
On Tuesday, April 8, 2003, at 01:01 PM, email@hidden wrote:
How does one insert artwork (NSImage usually) into an NSTextView. I
can find
documentation talking about inserting a Attachment (file wrapper) to an
Attribute String, and inserting that into a NSTextView, but not how to
insert
an NSImage (the image is NOT associated with a file). Does one try to
create
a Glyph (that does not seem suited for inserting graphics either)?
If someone has some source example, that would be great!
Thanks,
Steve Sheets
_______________________________________________
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.