mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-29 22:00:59 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14167 72102866-910b-0410-8b05-ffd578937521
303 lines
13 KiB
HTML
303 lines
13 KiB
HTML
<html>
|
|
<head>
|
|
<title>NSTextAttachment</title>
|
|
</head>
|
|
<body>
|
|
<a href="Gui.html">Up</a>
|
|
<br />
|
|
<h1><a name="title$NSTextAttachment">NSTextAttachment</a></h1>
|
|
<h3>Authors</h3>
|
|
<dl>
|
|
<dt>Fred Kiefer(<a href="mailto:FredKiefer@gmx.de"><code>
|
|
FredKiefer@gmx.de
|
|
</code></a>)</dt>
|
|
<dd>
|
|
</dd>
|
|
</dl>
|
|
<blockquote>
|
|
|
|
Classes to represent text attachments.
|
|
|
|
</blockquote>
|
|
<p><b>Copyright:</b> (C) 2000 Free Software Foundation, Inc.</p>
|
|
<div>
|
|
<hr width="50%" align="left" />
|
|
<h3>Contents -</h3>
|
|
<ol>
|
|
<li>
|
|
<a href="#001000000000">Software documentation for the NSTextAttachment class</a>
|
|
</li>
|
|
<li>
|
|
<a href="#002000000000">Software documentation for the NSTextAttachmentCell
|
|
class</a>
|
|
</li>
|
|
<li>
|
|
<a href="#003000000000">Software documentation for the NSTextAttachmentCell
|
|
protocol</a>
|
|
</li>
|
|
</ol>
|
|
<hr width="50%" align="left" />
|
|
</div>
|
|
<h1><a name="001000000000">
|
|
Software documentation for the NSTextAttachment class
|
|
</a></h1>
|
|
<h2><a name="class$NSTextAttachment">NSTextAttachment</a> : <a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSObject.html#class$NSObject">NSObject</a></h2>
|
|
<blockquote>
|
|
<dl>
|
|
<dt><b>Declared in:</b></dt>
|
|
<dd>AppKit/NSTextAttachment.h</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<blockquote>
|
|
<dl>
|
|
<dt><b>Conforms to:</b></dt>
|
|
<dd><a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSObject.html#protocol$(NSCoding)">NSCoding</a></dd>
|
|
</dl>
|
|
</blockquote>
|
|
<blockquote>
|
|
<b>Standards:</b>
|
|
<ul>
|
|
<li>NotOpenStep</li>
|
|
<li>GNUstep</li>
|
|
<li>MacOS-X</li>
|
|
</ul>
|
|
</blockquote>
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<b>Method summary</b>
|
|
<ul>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$NSTextAttachment-attachmentCell">-attachmentCell</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$NSTextAttachment-fileWrapper">-fileWrapper</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$NSTextAttachment-initWithFileWrapper:">-initWithFileWrapper:</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$NSTextAttachment-setAttachmentCell:">-setAttachmentCell:</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$NSTextAttachment-setFileWrapper:">-setFileWrapper:</a></li>
|
|
</ul>
|
|
<hr width="50%" align="left" />
|
|
<h3><a name="method$NSTextAttachment-attachmentCell">attachmentCell</a></h3>
|
|
- (id) <b>attachmentCell</b>;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$NSTextAttachment-fileWrapper">fileWrapper</a></h3>
|
|
- (<a rel="gsdoc" href="NSFileWrapper.html#class$NSFileWrapper">NSFileWrapper</a>*) <b>fileWrapper</b>;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$NSTextAttachment-initWithFileWrapper:">initWithFileWrapper:</a></h3>
|
|
- (id) <b>initWithFileWrapper:</b> (<a rel="gsdoc" href="NSFileWrapper.html#class$NSFileWrapper">NSFileWrapper</a>*)fileWrapper;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$NSTextAttachment-setAttachmentCell:">setAttachmentCell:</a></h3>
|
|
- (void) <b>setAttachmentCell:</b> (id)cell;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$NSTextAttachment-setFileWrapper:">setFileWrapper:</a></h3>
|
|
- (void) <b>setFileWrapper:</b> (<a rel="gsdoc" href="NSFileWrapper.html#class$NSFileWrapper">NSFileWrapper</a>*)fileWrapper;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h1><a name="002000000000">
|
|
Software documentation for the NSTextAttachmentCell
|
|
class
|
|
</a></h1>
|
|
<h2><a name="class$NSTextAttachmentCell">NSTextAttachmentCell</a> : <a rel="gsdoc" href="NSCell.html#class$NSCell">NSCell</a></h2>
|
|
<blockquote>
|
|
<dl>
|
|
<dt><b>Declared in:</b></dt>
|
|
<dd>AppKit/NSTextAttachment.h</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<blockquote>
|
|
<dl>
|
|
<dt><b>Conforms to:</b></dt>
|
|
<dd><a rel="gsdoc" href="#protocol$(NSTextAttachmentCell)">NSTextAttachmentCell</a></dd>
|
|
</dl>
|
|
</blockquote>
|
|
<blockquote>
|
|
<b>Standards:</b>
|
|
<ul>
|
|
<li>NotOpenStep</li>
|
|
<li>GNUstep</li>
|
|
<li>MacOS-X</li>
|
|
</ul>
|
|
</blockquote>
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<h1><a name="003000000000">
|
|
Software documentation for the NSTextAttachmentCell
|
|
protocol
|
|
</a></h1>
|
|
<h2><a name="protocol$(NSTextAttachmentCell)">NSTextAttachmentCell</a></h2>
|
|
<blockquote>
|
|
<dl>
|
|
<dt><b>Declared in:</b></dt>
|
|
<dd>AppKit/NSTextAttachment.h</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<blockquote>
|
|
<dl>
|
|
<dt><b>Conforms to:</b></dt>
|
|
<dd><a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSObject.html#protocol$(NSObject)">NSObject</a></dd>
|
|
</dl>
|
|
</blockquote>
|
|
<blockquote>
|
|
<b>Standards:</b>
|
|
<ul>
|
|
<li>NotOpenStep</li>
|
|
<li>GNUstep</li>
|
|
<li>MacOS-X</li>
|
|
</ul>
|
|
</blockquote>
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<b>Method summary</b>
|
|
<ul>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-attachment">-attachment</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-cellBaselineOffset">-cellBaselineOffset</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-cellFrameForTextContainer:proposedLineFragment:glyphPosition:characterIndex:">-cellFrameForTextContainer:proposedLineFragment:glyphPosition:characterIndex:</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-cellSize">-cellSize</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-drawWithFrame:inView:">-drawWithFrame:inView:</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-drawWithFrame:inView:characterIndex:">-drawWithFrame:inView:characterIndex:</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-drawWithFrame:inView:characterIndex:layoutManager:">-drawWithFrame:inView:characterIndex:layoutManager:</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-highlight:withFrame:inView:">-highlight:withFrame:inView:</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-setAttachment:">-setAttachment:</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-trackMouse:inRect:ofView:atCharacterIndex:untilMouseUp:">-trackMouse:inRect:ofView:atCharacterIndex:untilMouseUp:</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-trackMouse:inRect:ofView:untilMouseUp:">-trackMouse:inRect:ofView:untilMouseUp:</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-wantsToTrackMouse">-wantsToTrackMouse</a></li>
|
|
<li><a rel="gsdoc" href="NSTextAttachment.html#method$(NSTextAttachmentCell)-wantsToTrackMouseForEvent:inRect:ofView:atCharacterIndex:">-wantsToTrackMouseForEvent:inRect:ofView:atCharacterIndex:</a></li>
|
|
</ul>
|
|
<hr width="50%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-attachment">attachment</a></h3>
|
|
- (<a rel="gsdoc" href="#class$NSTextAttachment">NSTextAttachment</a>*) <b>attachment</b>;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-cellBaselineOffset">cellBaselineOffset</a></h3>
|
|
- (NSPoint) <b>cellBaselineOffset</b>;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-cellFrameForTextContainer:proposedLineFragment:glyphPosition:characterIndex:">cellFrameForTextContainer:proposedLineFragment:glyphPosition:characterIndex:</a></h3>
|
|
- (NSRect) <b>cellFrameForTextContainer:</b> (<a rel="gsdoc" href="NSTextContainer.html#class$NSTextContainer">NSTextContainer</a>*)textContainer<b> proposedLineFragment:</b> (NSRect)lineFrag<b> glyphPosition:</b> (NSPoint)position<b> characterIndex:</b> (unsigned)charIndex;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-cellSize">cellSize</a></h3>
|
|
- (NSSize) <b>cellSize</b>;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-drawWithFrame:inView:">drawWithFrame:inView:</a></h3>
|
|
- (void) <b>drawWithFrame:</b> (NSRect)cellFrame<b> inView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)controlView;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-drawWithFrame:inView:characterIndex:">drawWithFrame:inView:characterIndex:</a></h3>
|
|
- (void) <b>drawWithFrame:</b> (NSRect)cellFrame<b> inView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)controlView<b> characterIndex:</b> (unsigned)charIndex;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-drawWithFrame:inView:characterIndex:layoutManager:">drawWithFrame:inView:characterIndex:layoutManager:</a></h3>
|
|
- (void) <b>drawWithFrame:</b> (NSRect)cellFrame<b> inView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)controlView<b> characterIndex:</b> (unsigned)charIndex<b> layoutManager:</b> (<a rel="gsdoc" href="NSLayoutManager.html#class$NSLayoutManager">NSLayoutManager</a>*)layoutManager;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-highlight:withFrame:inView:">highlight:withFrame:inView:</a></h3>
|
|
- (void) <b>highlight:</b> (BOOL)flag<b> withFrame:</b> (NSRect)cellFrame<b> inView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)controlView;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-setAttachment:">setAttachment:</a></h3>
|
|
- (void) <b>setAttachment:</b> (<a rel="gsdoc" href="#class$NSTextAttachment">NSTextAttachment</a>*)anObject;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-trackMouse:inRect:ofView:atCharacterIndex:untilMouseUp:">trackMouse:inRect:ofView:atCharacterIndex:untilMouseUp:</a></h3>
|
|
- (BOOL) <b>trackMouse:</b> (<a rel="gsdoc" href="NSEvent.html#class$NSEvent">NSEvent</a>*)theEvent<b> inRect:</b> (NSRect)cellFrame<b> ofView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)controlView<b> atCharacterIndex:</b> (unsigned)charIndex<b> untilMouseUp:</b> (BOOL)flag;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-trackMouse:inRect:ofView:untilMouseUp:">trackMouse:inRect:ofView:untilMouseUp:</a></h3>
|
|
- (BOOL) <b>trackMouse:</b> (<a rel="gsdoc" href="NSEvent.html#class$NSEvent">NSEvent</a>*)theEvent<b> inRect:</b> (NSRect)cellFrame<b> ofView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)controlView<b> untilMouseUp:</b> (BOOL)flag;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-wantsToTrackMouse">wantsToTrackMouse</a></h3>
|
|
- (BOOL) <b>wantsToTrackMouse</b>;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<h3><a name="method$(NSTextAttachmentCell)-wantsToTrackMouseForEvent:inRect:ofView:atCharacterIndex:">wantsToTrackMouseForEvent:inRect:ofView:atCharacterIndex:</a></h3>
|
|
- (BOOL) <b>wantsToTrackMouseForEvent:</b> (<a rel="gsdoc" href="NSEvent.html#class$NSEvent">NSEvent</a>*)theEvent<b> inRect:</b> (NSRect)cellFrame<b> ofView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)controlView<b> atCharacterIndex:</b> (unsigned)charIndex;<br />
|
|
<p>
|
|
|
|
<em>Description forthcoming.</em>
|
|
|
|
</p>
|
|
<hr width="25%" align="left" />
|
|
<br />
|
|
<a href="Gui.html">Up</a>
|
|
</body>
|
|
</html>
|