mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Update docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13335 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2bc60d6232
commit
228bb345cf
40 changed files with 3582 additions and 4300 deletions
31
ChangeLog
31
ChangeLog
|
@ -6,6 +6,37 @@
|
|||
* Source/NSTextView.m
|
||||
Made [updateRuler] save against missing rulers.
|
||||
|
||||
2002-04-02 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Documentation/gsdoc/DefaultsSummary.gsdoc: Update.
|
||||
* Documentation/gsdoc/Gui.gsdoc: Idem.
|
||||
* Headers/gnustep/gui/NSAffineTransform.h: Tidy for autogsdoc.
|
||||
* Headers/gnustep/gui/NSButtonCell.h: Idem.
|
||||
* Headers/gnustep/gui/NSCell.h: Idem.
|
||||
* Headers/gnustep/gui/NSClipView.h: Idem.
|
||||
* Headers/gnustep/gui/NSFont.h: Idem.
|
||||
* Headers/gnustep/gui/NSFontManager.h: Idem.
|
||||
* Headers/gnustep/gui/NSOutlineView.h: Idem.
|
||||
* Headers/gnustep/gui/NSRulerView.h: Idem.
|
||||
* Headers/gnustep/gui/NSSavePanel.h: Idem.
|
||||
* Source/GSHbox.m: Idem.
|
||||
* Source/GSVbox.m: Idem.
|
||||
* Source/NSCachedImageRep.m: Idem.
|
||||
* Source/NSCell.m: Idem.
|
||||
* Source/NSClipView.m: Idem.
|
||||
* Source/NSDocument.m: Idem.
|
||||
* Source/NSFont.m: Idem.
|
||||
* Source/NSFontManager.m: Idem.
|
||||
* Source/NSFontPanel.m: Idem.
|
||||
* Source/NSFormCell.m: Idem.
|
||||
* Source/NSGraphicsContext.m: Idem.
|
||||
* Source/NSHelpManager.m: Idem.
|
||||
* Source/NSImage.m: Idem.
|
||||
* Source/NSPanel.m: Idem.
|
||||
* Source/NSRulerView.m: Idem.
|
||||
* Source/NSStepperCell.m: Idem.
|
||||
* Source/NSText.m: Idem.
|
||||
|
||||
2002-04-02 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSGraphicsContext.m (-GSDefineGState): Document new
|
||||
|
|
|
@ -29,8 +29,9 @@
|
|||
<p>
|
||||
A string containing the name of the backend bundle to use
|
||||
for display specific GUI handling. The default is
|
||||
"libgnustep-xgps". Currently the only other choice is
|
||||
"libgnustep-xdps".
|
||||
"libgnustep-back". Custom backends can be created during compilation
|
||||
of the libraries. Any other choice for a name is thus system
|
||||
specific.
|
||||
</p>
|
||||
</desc>
|
||||
<term>GSBrowserCellFontify</term>
|
||||
|
@ -185,7 +186,7 @@
|
|||
<section>
|
||||
<heading>Backend Defaults</heading>
|
||||
<p>
|
||||
Below is a list of defaults used to control the xlib-based
|
||||
Below is a list of defaults used to control the x11-based
|
||||
backend. These defaults generally control system specific
|
||||
display and user interaction options which may not be available
|
||||
on all systems.
|
||||
|
|
|
@ -29,8 +29,9 @@
|
|||
|
||||
A string containing the name of the backend bundle to use
|
||||
for display specific GUI handling. The default is
|
||||
"libgnustep-xgps". Currently the only other choice is
|
||||
"libgnustep-xdps".
|
||||
"libgnustep-back". Custom backends can be created during compilation
|
||||
of the libraries. Any other choice for a name is thus system
|
||||
specific.
|
||||
</p>
|
||||
|
||||
|
||||
|
@ -207,10 +208,10 @@
|
|||
|
||||
|
||||
</dl>
|
||||
<h3><a name ="cont-2">XGPS Backend Defaults</a></h3>
|
||||
<h3><a name ="cont-2">Backend Defaults</a></h3>
|
||||
<p>
|
||||
|
||||
Below is a list of defaults used to control the gnustep-xgps
|
||||
Below is a list of defaults used to control the x11-based
|
||||
backend. These defaults generally control system specific
|
||||
display and user interaction options which may not be available
|
||||
on all systems.
|
||||
|
@ -240,14 +241,14 @@
|
|||
</p>
|
||||
|
||||
|
||||
<dt>GSBorderedBorderlessWindows
|
||||
<dt>GSAppOwnsMiniwindow
|
||||
<dd>
|
||||
<p>
|
||||
|
||||
A boolean value which defaults to <code>NO</code>. Some Window
|
||||
Managers and/or X servers put a border around windows that are
|
||||
supposed to be borderless. Set this to <code>YES</code> if you
|
||||
have odd problems of menus/windows moving when you click on them.
|
||||
A boolean value which defaults to <code>YES</code>. Some window
|
||||
managers control the miniaturized versions of windows themselves.
|
||||
Set this default to <code>NO</code> to let the window manager
|
||||
have it's way, otherwise, GNUstep will create a miniwindow.
|
||||
</p>
|
||||
|
||||
|
||||
|
|
|
@ -36,13 +36,11 @@ Gui_GSDOC_FILES = Gui.gsdoc \
|
|||
DefaultsSummary.gsdoc \
|
||||
NSBundleAdditions.gsdoc \
|
||||
NSCoderAdditions.gsdoc \
|
||||
NSMenuItem.gsdoc \
|
||||
NSMutableAttributedStringAdditions.gsdoc \
|
||||
NSMutableParagraphStyle.gsdoc \
|
||||
NSPICTImageRep.gsdoc \
|
||||
NSSecureTextFieldCell.gsdoc \
|
||||
NSStringAdditions.gsdoc \
|
||||
NSTableColumn.gsdoc \
|
||||
NSTextAttachment.gsdoc \
|
||||
NSTextAttachmentCell.gsdoc \
|
||||
NSTextTab.gsdoc
|
||||
|
@ -94,6 +92,7 @@ Gui_AUTOGSDOC_FILES = \
|
|||
NSLayoutManager.gsdoc \
|
||||
NSMatrix.gsdoc \
|
||||
NSMenu.gsdoc \
|
||||
NSMenuItem.gsdoc \
|
||||
NSMenuItemCell.gsdoc \
|
||||
NSMenuView.gsdoc \
|
||||
NSOpenPanel.gsdoc \
|
||||
|
@ -123,6 +122,7 @@ Gui_AUTOGSDOC_FILES = \
|
|||
NSSplitView.gsdoc \
|
||||
NSTabView.gsdoc \
|
||||
NSTabViewItem.gsdoc \
|
||||
NSTableColumn.gsdoc \
|
||||
NSTableHeaderCell.gsdoc \
|
||||
NSTableHeaderView.gsdoc \
|
||||
NSTableView.gsdoc \
|
||||
|
|
853
Documentation/gsdoc/GSDisplayServer.gsdoc
Normal file
853
Documentation/gsdoc/GSDisplayServer.gsdoc
Normal file
|
@ -0,0 +1,853 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 0.6.7//EN" "http://www.gnustep.org/gsdoc-0_6_7.xml">
|
||||
<gsdoc base="GSDisplayServer" up="Gui">
|
||||
<head>
|
||||
<title>GSDisplayServer</title>
|
||||
<author name="Adam Fedor">
|
||||
<email address="fedor@gnu.org">
|
||||
fedor@gnu.org
|
||||
</email>
|
||||
</author>
|
||||
<abstract>Abstract display server class.</abstract>
|
||||
<copy>2002 Free Software Foundation, Inc.</copy>
|
||||
</head>
|
||||
<body>
|
||||
<front><contents /></front>
|
||||
<chapter>
|
||||
<heading>GSDisplayServer</heading>
|
||||
<p>
|
||||
This is an abstract class which provides a framework for a
|
||||
device independant window server. A window server
|
||||
handles the very basic control of the computer display
|
||||
and input. This includes basic window creation and
|
||||
handling, event handling, cursors, and providing
|
||||
miscellaneous information about the display.
|
||||
</p>
|
||||
<p>
|
||||
Typically a backend library will provide a concrete
|
||||
subclass which implements the device specific methods
|
||||
described below.
|
||||
</p>
|
||||
<p>
|
||||
In almost all cases, you should not call these methods
|
||||
directly in an application. You should use the
|
||||
equivalent methods available elsewhere in the
|
||||
library (e.g. NSWindow, NSScreen, etc).
|
||||
</p>
|
||||
<class name="GSDisplayServer" super="NSObject">
|
||||
<declared>AppKit/GSDisplayServer.h</declared>
|
||||
<desc>
|
||||
</desc>
|
||||
<method type="BOOL" factory="yes">
|
||||
<sel>addDragTypes:</sel>
|
||||
<arg type="NSArray*">types</arg>
|
||||
<sel>toWindow:</sel>
|
||||
<arg type="NSWindow*">win</arg>
|
||||
<desc>
|
||||
Convienience method that calls
|
||||
<ref type="method" id="-addDragTypes:toWindow:">
|
||||
-addDragTypes:toWindow:
|
||||
</ref>
|
||||
using the server that controls <var>win</var>.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="NSCountedSet*" factory="yes">
|
||||
<sel>dragTypesForWindow:</sel>
|
||||
<arg type="NSWindow*">win</arg>
|
||||
<desc>
|
||||
Convienience method that calls
|
||||
<ref type="method" id="-dragTypesForWindow:">
|
||||
-dragTypesForWindow:
|
||||
</ref>
|
||||
using the server that controls <var>win</var>.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="BOOL" factory="yes">
|
||||
<sel>removeDragTypes:</sel>
|
||||
<arg type="NSArray*">types</arg>
|
||||
<sel>fromWindow:</sel>
|
||||
<arg type="NSWindow*">win</arg>
|
||||
<desc>
|
||||
Convienience method that calls
|
||||
<ref type="method" id="-removeDragTypes:fromWindow:">
|
||||
-removeDragTypes:fromWindow:
|
||||
</ref>
|
||||
using the server that controls <var>win</var>.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="GSDisplayServer*" factory="yes">
|
||||
<sel>serverWithAttributes:</sel>
|
||||
<arg type="NSDictionary*">attributes</arg>
|
||||
<desc>
|
||||
<p>
|
||||
Create a window server with <var>attributes</var>,
|
||||
which contains key/value pairs which describe the
|
||||
specifics of how the window server is to be
|
||||
initialized. Typically these values are
|
||||
specific to the concrete implementation.
|
||||
Currently there are no standard set of
|
||||
<var>attributes</var> defined for GSDisplayServer.
|
||||
</p>
|
||||
<p>
|
||||
In almost all applications one would only create a
|
||||
single instance of a window server. Although it is
|
||||
possible, it is unlikely that you would need
|
||||
more than one window server (and you would have to
|
||||
be very careful how you handled window creation and
|
||||
events in this case).
|
||||
</p>
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void" factory="yes">
|
||||
<sel>setCurrentServer:</sel>
|
||||
<arg type="GSDisplayServer*">server</arg>
|
||||
<desc>
|
||||
Sets the current <var>server</var> that will be
|
||||
handling windows, events, etc. This method must be
|
||||
called after a window <var>server</var> is created
|
||||
in order to make it available to the rest of the GUI
|
||||
library
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void" factory="yes">
|
||||
<sel>setDefaultServerClass:</sel>
|
||||
<arg type="Class">aClass</arg>
|
||||
<desc>
|
||||
Set the concrete subclass that will provide the device
|
||||
dependant implementation.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="BOOL">
|
||||
<sel>addDragTypes:</sel>
|
||||
<arg type="NSArray*">types</arg>
|
||||
<sel>toWindow:</sel>
|
||||
<arg type="NSWindow*">win</arg>
|
||||
<desc>
|
||||
Add (increment count by 1) each drag type to those
|
||||
registered for the window. If this results in a
|
||||
change to the <var>types</var> registered in the
|
||||
counted set, return <code>YES</code>, otherwise
|
||||
return <code>NO</code>. Subclasses should override
|
||||
this method, call 'super' and take appropriate action
|
||||
if the method returns 'YES'.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="NSDictionary*">
|
||||
<sel>attributes</sel>
|
||||
<desc>
|
||||
Return information used to create the server
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="const NSWindowDepth*">
|
||||
<sel>availableDepthsForScreen:</sel>
|
||||
<arg type="int">screen</arg>
|
||||
<desc>
|
||||
Returns a null terminated list of possible window
|
||||
depths for <var>screen</var>.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="NSRect">
|
||||
<sel>boundsForScreen:</sel>
|
||||
<arg type="int">screen</arg>
|
||||
<desc>
|
||||
Retuns the bounds, in pixels, for the indicated
|
||||
<var>screen</var> of the display.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>closeServer</sel>
|
||||
<desc>
|
||||
Causes the server to disconnect from the display. If
|
||||
the receiver is the current server, it removes itself
|
||||
and sets the current server to <code>nil</code>.
|
||||
Sending any more messages to the receiver after
|
||||
this is likely to cause severe problems and probably
|
||||
crash the application.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="id<NSDraggingInfo>">
|
||||
<sel>dragInfo</sel>
|
||||
<desc>
|
||||
Returns an instance of a class which implements the
|
||||
NSDraggingInfo protocol.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="NSCountedSet*">
|
||||
<sel>dragTypesForWindow:</sel>
|
||||
<arg type="NSWindow*">win</arg>
|
||||
<desc>
|
||||
Returns the drag types set for the window
|
||||
<var>win</var>.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="id" init="yes">
|
||||
<sel>initWithAttributes:</sel>
|
||||
<arg type="NSDictionary*">attributes</arg>
|
||||
<desc>
|
||||
Initializes the server. This typically causes
|
||||
the receiver to <em>connect</em> to the display (e.g.
|
||||
XOpenDisplay() on an X-Windows server).
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="BOOL">
|
||||
<sel>removeDragTypes:</sel>
|
||||
<arg type="NSArray*">types</arg>
|
||||
<sel>fromWindow:</sel>
|
||||
<arg type="NSWindow*">win</arg>
|
||||
<desc>
|
||||
Remove (decrement count by 1) each drag type from
|
||||
those registered for the window. If this results in a
|
||||
change to the <var>types</var> registered in the
|
||||
counted set, return <code>YES</code>, otherwise
|
||||
return <code>NO</code>. If given 'nil' as the array
|
||||
of <var>types</var>, remove ALL. Subclasses should
|
||||
override this method, call 'super' and take
|
||||
appropriate action if the method returns 'YES'.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="NSSize">
|
||||
<sel>resolutionForScreen:</sel>
|
||||
<arg type="int">screen</arg>
|
||||
<desc>
|
||||
Retuns the resolution, in points, for the indicated
|
||||
<var>screen</var> of the display.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="NSArray*">
|
||||
<sel>screenList</sel>
|
||||
<desc>
|
||||
Returns an array of NSNumbers, where each number
|
||||
describes a screen that is available on this
|
||||
display.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void*">
|
||||
<sel>serverDevice</sel>
|
||||
<desc>
|
||||
Returns a display dependant pointer that describes
|
||||
the internal connection to the display. On X-Windows,
|
||||
for example, this is a pointer to the
|
||||
<code>Display</code> variable.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="BOOL">
|
||||
<sel>slideImage:</sel>
|
||||
<arg type="NSImage*">image</arg>
|
||||
<sel>from:</sel>
|
||||
<arg type="NSPoint">from</arg>
|
||||
<sel>to:</sel>
|
||||
<arg type="NSPoint">to</arg>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="NSWindowDepth">
|
||||
<sel>windowDepthForScreen:</sel>
|
||||
<arg type="int">screen</arg>
|
||||
<desc>
|
||||
Returns the default depth of windows that are
|
||||
created on <var>screen</var>.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void*">
|
||||
<sel>windowDevice:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Returns a display dependant pointer that describes
|
||||
the internal window representation for <var>win</var>.
|
||||
On X-Windows, for example, this is a pointer to the
|
||||
<code>Window</code> variable.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</class>
|
||||
</chapter>
|
||||
<chapter>
|
||||
<heading>
|
||||
Software documentation for the
|
||||
GSDisplayServer(EventOps) category
|
||||
</heading>
|
||||
<category name="EventOps" class="GSDisplayServer">
|
||||
<declared>AppKit/GSDisplayServer.h</declared>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<method type="void">
|
||||
<sel>discardEventsMatchingMask:</sel>
|
||||
<arg type="unsigned">mask</arg>
|
||||
<sel>beforeEvent:</sel>
|
||||
<arg type="NSEvent*">limit</arg>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="NSEvent*">
|
||||
<sel>getEventMatchingMask:</sel>
|
||||
<arg type="unsigned">mask</arg>
|
||||
<sel>beforeDate:</sel>
|
||||
<arg type="NSDate*">limit</arg>
|
||||
<sel>inMode:</sel>
|
||||
<arg type="NSString*">mode</arg>
|
||||
<sel>dequeue:</sel>
|
||||
<arg type="BOOL">flag</arg>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>postEvent:</sel>
|
||||
<arg type="NSEvent*">anEvent</arg>
|
||||
<sel>atStart:</sel>
|
||||
<arg type="BOOL">flag</arg>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</category>
|
||||
</chapter>
|
||||
<chapter>
|
||||
<heading>
|
||||
Software documentation for the
|
||||
GSDisplayServer(WindowOps) category
|
||||
</heading>
|
||||
<category name="WindowOps" class="GSDisplayServer">
|
||||
<declared>AppKit/GSDisplayServer.h</declared>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<method type="void">
|
||||
<sel>_setWindowOwnedByServer:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Tells the receiver that it owns the window described
|
||||
by <var>win</var>. Concrete subclasses must call this
|
||||
function when creating a window. Do not call this
|
||||
method in any other case, particularly for a window
|
||||
that has already been created
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="BOOL">
|
||||
<sel>appOwnsMiniwindow</sel>
|
||||
<desc>
|
||||
Returns <code>YES</code> if the application should
|
||||
create the miniwindow counterpart to the full size
|
||||
window and own it. Some display systems handle the
|
||||
miniwindow themselves. In this case the backend
|
||||
subclass should override this method to return
|
||||
<code>NO</code>.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="BOOL">
|
||||
<sel>capturemouse:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Grabs the pointer device so that all future mouse
|
||||
events will be directed only to the window
|
||||
<var>win</var>. If successful, the return value is
|
||||
<code>YES</code> and this message must be balanced
|
||||
by a
|
||||
<ref type="method" id="-releasemouse">
|
||||
-releasemouse
|
||||
</ref>
|
||||
message.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>docedited:</sel>
|
||||
<arg type="int">edited</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Sets the document <var>edited</var> flag for the
|
||||
window
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="BOOL">
|
||||
<sel>findwindow:</sel>
|
||||
<arg type="NSPoint">loc</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">op</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">otherWin</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="NSPoint*">floc</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int*">winFound</arg>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>flushwindowrect:</sel>
|
||||
<arg type="NSRect">rect</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Causes buffered graphics to be flushed to the screen
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>hidecursor</sel>
|
||||
<desc>
|
||||
Hides the cursor
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>imagecursor:</sel>
|
||||
<arg type="NSPoint">hotp</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">w</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">h</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">colors</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="const char*">image</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="void**">cid</arg>
|
||||
<desc>
|
||||
Create a cursor from an <var>image</var>. Returns a
|
||||
pointer to the internal device representation that
|
||||
can be used later to make this cursor the current one
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>miniwindow:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Miniaturizes the window
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="NSPoint">
|
||||
<sel>mouselocation</sel>
|
||||
<desc>
|
||||
Returns the current mouse location
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>movewindow:</sel>
|
||||
<arg type="NSPoint">loc</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Moves the bottom left cornder of the window to
|
||||
<var>loc</var>
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>orderwindow:</sel>
|
||||
<arg type="int">op</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">otherWin</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Causes the window to be ordered onto or off the
|
||||
screen depending on the value of <var>op</var>. The
|
||||
window is ordered relative to <var>otherWin</var>.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>placewindow:</sel>
|
||||
<arg type="NSRect">frame</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Moves and resizes the window on the screen as
|
||||
described by <var>frame</var>.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>releasemouse</sel>
|
||||
<desc>
|
||||
Release a previous captured mouse from
|
||||
<ref type="method" id="-capturemouse:">
|
||||
-capturemouse:
|
||||
</ref>
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>setcursorcolor:</sel>
|
||||
<arg type="NSColor*">fg</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="NSColor*">bg</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="void*">cid</arg>
|
||||
<desc>
|
||||
Set the cursor given by the <var>cid</var>
|
||||
representation as being the current cursor.
|
||||
The cursor has a foreground color <var>fg</var> and a
|
||||
background color <var>bg</var>. To keep the
|
||||
default color for the cursor, pass <code>nil</code>
|
||||
for <var>fg</var> and <var>bg</var>.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>setinputfocus:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Forces focus to the window so that all key events
|
||||
are sent to this window
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>setinputstate:</sel>
|
||||
<arg type="int">state</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Sets the input <var>state</var> for the window given
|
||||
by the GSWindowInputState constant. Instructs the window
|
||||
manager that the specified window is 'key', 'main',
|
||||
or just a normal window.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>setmaxsize:</sel>
|
||||
<arg type="NSSize">size</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Set the maximum <var>size</var> of the window
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>setminsize:</sel>
|
||||
<arg type="NSSize">size</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Set the minimum <var>size</var> of the window
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>setresizeincrements:</sel>
|
||||
<arg type="NSSize">size</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Set the resize incremenet of the window
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>setwindowlevel:</sel>
|
||||
<arg type="int">level</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Set the <var>level</var> of the window as in [NSWindow
|
||||
-setLevel]
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>showcursor</sel>
|
||||
<desc>
|
||||
Show a previously hidden cursor
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>standardcursor:</sel>
|
||||
<arg type="int">style</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="void**">cid</arg>
|
||||
<desc>
|
||||
Create a standard cursor (such as an arror or
|
||||
IBeam). Returns a pointer to the internal device
|
||||
representation that can be used later to
|
||||
make this cursor the current one
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>styleoffsets:</sel>
|
||||
<arg type="float*">l</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="float*">r</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="float*">t</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="float*">b</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">style</arg>
|
||||
<desc>
|
||||
Returns the dimensions of the window that are
|
||||
inside the window frame but are controlled by the
|
||||
window manager. For instance, <var>t</var> gives the
|
||||
height of the title bar for the window
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>stylewindow:</sel>
|
||||
<arg type="int">style</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Sets the <var>style</var> of the window. See [NSWindow
|
||||
-styleMask] for a description of the available
|
||||
styles
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>termwindow:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Destroys the representation of the window and
|
||||
frees and memory associated with it.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>titlewindow:</sel>
|
||||
<arg type="NSString*">window_title</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Sets the window title
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="int">
|
||||
<sel>window:</sel>
|
||||
<arg type="NSRect">frame</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="NSBackingStoreType">type</arg>
|
||||
<sel>:</sel>
|
||||
<arg type="unsigned int">style</arg>
|
||||
<desc>
|
||||
Creates a window whose location and size is
|
||||
described by <var>frame</var> and whose backing
|
||||
store is described by <var>type</var>. This window is
|
||||
not mapped to the screen by this call
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>windowbacking:</sel>
|
||||
<arg type="NSBackingStoreType">type</arg>
|
||||
<desc>
|
||||
Changes window's the backing store to
|
||||
<var>type</var>
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="NSRect">
|
||||
<sel>windowbounds:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Retuns the frame of the window on the screen
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="int">
|
||||
<sel>windowdepth:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Returns the depth of the window
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>windowdevice:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Sets the window drawable for the current
|
||||
NSGraphicsContext, typically by calling
|
||||
[NSGraphicsContext
|
||||
-DPSsetgcdrawable::::], although
|
||||
depending on the concrete implmentation, more
|
||||
information than this may need to be exchanged.
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="int">
|
||||
<sel>windowlevel:</sel>
|
||||
<arg type="int">win</arg>
|
||||
<desc>
|
||||
Returns the window level as in [NSWindow -level]
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="NSArray*">
|
||||
<sel>windowlist</sel>
|
||||
<desc>
|
||||
Returns the list of windows that the server
|
||||
controls
|
||||
</desc>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</method>
|
||||
<standards>
|
||||
<NotOpenStep /> <NotMacOS-X /> <GNUstep />
|
||||
</standards>
|
||||
</category>
|
||||
</chapter>
|
||||
</body>
|
||||
</gsdoc>
|
842
Documentation/gsdoc/GSDisplayServer.html
Normal file
842
Documentation/gsdoc/GSDisplayServer.html
Normal file
|
@ -0,0 +1,842 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>GSDisplayServer</title>
|
||||
</head>
|
||||
<body>
|
||||
<a href="Gui.html">Up</a>
|
||||
<br />
|
||||
<h1><a name="title$GSDisplayServer">GSDisplayServer</a></h1>
|
||||
<h3>Authors</h3>
|
||||
<dl>
|
||||
<dt>Adam Fedor(<a href="mailto:fedor@gnu.org"><code>
|
||||
fedor@gnu.org
|
||||
</code></a>)</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<blockquote>
|
||||
Abstract display server class.
|
||||
</blockquote>
|
||||
<p><b>Copyright:</b> (C) 2002 Free Software Foundation, Inc.</p>
|
||||
<div>
|
||||
<hr width="50%" align="left" />
|
||||
<h3>Contents -</h3>
|
||||
<ol>
|
||||
<li>
|
||||
<a href="#001000000000">GSDisplayServer</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#002000000000">Software documentation for the
|
||||
GSDisplayServer(EventOps) category</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#003000000000">Software documentation for the
|
||||
GSDisplayServer(WindowOps) category</a>
|
||||
</li>
|
||||
</ol>
|
||||
<hr width="50%" align="left" />
|
||||
</div>
|
||||
<h1><a name="001000000000">GSDisplayServer</a></h1>
|
||||
<p>
|
||||
|
||||
This is an abstract class which provides a framework for a
|
||||
device independant window server. A window server
|
||||
handles the very basic control of the computer display
|
||||
and input. This includes basic window creation and
|
||||
handling, event handling, cursors, and providing
|
||||
miscellaneous information about the display.
|
||||
</p>
|
||||
<p>
|
||||
|
||||
Typically a backend library will provide a concrete
|
||||
subclass which implements the device specific methods
|
||||
described below.
|
||||
</p>
|
||||
<p>
|
||||
|
||||
In almost all cases, you should not call these methods
|
||||
directly in an application. You should use the
|
||||
equivalent methods available elsewhere in the
|
||||
library (e.g. NSWindow, NSScreen, etc).
|
||||
</p>
|
||||
<h2><a name="class$GSDisplayServer">GSDisplayServer</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/GSDisplayServer.h</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<blockquote>
|
||||
<b>Standards:</b>
|
||||
<ul>
|
||||
<li>NotOpenStep</li>
|
||||
<li>NotMacOS-X</li>
|
||||
<li>GNUstep</li>
|
||||
</ul>
|
||||
</blockquote>
|
||||
<p>
|
||||
|
||||
|
||||
</p>
|
||||
<b>Method summary</b>
|
||||
<ul>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+addDragTypes:toWindow:">+addDragTypes:toWindow:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+dragTypesForWindow:">+dragTypesForWindow:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+removeDragTypes:fromWindow:">+removeDragTypes:fromWindow:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+serverWithAttributes:">+serverWithAttributes:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+setCurrentServer:">+setCurrentServer:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer+setDefaultServerClass:">+setDefaultServerClass:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-_setWindowOwnedByServer:">-_setWindowOwnedByServer:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-addDragTypes:toWindow:">-addDragTypes:toWindow:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-appOwnsMiniwindow">-appOwnsMiniwindow</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-attributes">-attributes</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-availableDepthsForScreen:">-availableDepthsForScreen:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-boundsForScreen:">-boundsForScreen:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-capturemouse:">-capturemouse:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-closeServer">-closeServer</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-discardEventsMatchingMask:beforeEvent:">-discardEventsMatchingMask:beforeEvent:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-docedited::">-docedited::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-dragInfo">-dragInfo</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-dragTypesForWindow:">-dragTypesForWindow:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-findwindow:::::">-findwindow:::::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-flushwindowrect::">-flushwindowrect::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-getEventMatchingMask:beforeDate:inMode:dequeue:">-getEventMatchingMask:beforeDate:inMode:dequeue:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-hidecursor">-hidecursor</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-imagecursor::::::">-imagecursor::::::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-initWithAttributes:">-initWithAttributes:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-miniwindow:">-miniwindow:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-mouselocation">-mouselocation</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-movewindow::">-movewindow::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-orderwindow:::">-orderwindow:::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-placewindow::">-placewindow::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-postEvent:atStart:">-postEvent:atStart:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-releasemouse">-releasemouse</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-removeDragTypes:fromWindow:">-removeDragTypes:fromWindow:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-resolutionForScreen:">-resolutionForScreen:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-screenList">-screenList</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-serverDevice">-serverDevice</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setcursorcolor:::">-setcursorcolor:::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setinputfocus:">-setinputfocus:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setinputstate::">-setinputstate::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setmaxsize::">-setmaxsize::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setminsize::">-setminsize::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setresizeincrements::">-setresizeincrements::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setwindowlevel::">-setwindowlevel::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-showcursor">-showcursor</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-slideImage:from:to:">-slideImage:from:to:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-standardcursor::">-standardcursor::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-styleoffsets:::::">-styleoffsets:::::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-stylewindow::">-stylewindow::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-termwindow:">-termwindow:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-titlewindow::">-titlewindow::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-window:::">-window:::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowDepthForScreen:">-windowDepthForScreen:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowDevice:">-windowDevice:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowbacking:">-windowbacking:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowbounds:">-windowbounds:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowdepth:">-windowdepth:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowdevice:">-windowdevice:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowlevel:">-windowlevel:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowlist">-windowlist</a></li>
|
||||
</ul>
|
||||
<hr width="50%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer+addDragTypes:toWindow:">addDragTypes:toWindow:</a></h3>
|
||||
+ (BOOL) <b>addDragTypes:</b> (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSArray.html#class$NSArray">NSArray</a>*)types<b> toWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)win;<br />
|
||||
<p>
|
||||
|
||||
Convienience method that calls
|
||||
<a rel="gsdoc" href="#method$GSDisplayServer-addDragTypes:toWindow:">
|
||||
-addDragTypes:toWindow:
|
||||
</a>
|
||||
|
||||
using the server that controls <var>win</var>.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer+dragTypesForWindow:">dragTypesForWindow:</a></h3>
|
||||
+ (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSSet.html#class$NSCountedSet">NSCountedSet</a>*) <b>dragTypesForWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)win;<br />
|
||||
<p>
|
||||
|
||||
Convienience method that calls
|
||||
<a rel="gsdoc" href="#method$GSDisplayServer-dragTypesForWindow:">
|
||||
-dragTypesForWindow:
|
||||
</a>
|
||||
|
||||
using the server that controls <var>win</var>.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer+removeDragTypes:fromWindow:">removeDragTypes:fromWindow:</a></h3>
|
||||
+ (BOOL) <b>removeDragTypes:</b> (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSArray.html#class$NSArray">NSArray</a>*)types<b> fromWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)win;<br />
|
||||
<p>
|
||||
|
||||
Convienience method that calls
|
||||
<a rel="gsdoc" href="#method$GSDisplayServer-removeDragTypes:fromWindow:">
|
||||
-removeDragTypes:fromWindow:
|
||||
</a>
|
||||
|
||||
using the server that controls <var>win</var>.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer+serverWithAttributes:">serverWithAttributes:</a></h3>
|
||||
+ (<a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>*) <b>serverWithAttributes:</b> (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSDictionary.html#class$NSDictionary">NSDictionary</a>*)attributes;<br />
|
||||
<p>
|
||||
|
||||
|
||||
</p>
|
||||
<p>
|
||||
|
||||
Create a window server with <var>attributes</var>,
|
||||
which contains key/value pairs which describe the
|
||||
specifics of how the window server is to be
|
||||
initialized. Typically these values are
|
||||
specific to the concrete implementation.
|
||||
Currently there are no standard set of
|
||||
<var>attributes</var> defined for GSDisplayServer.
|
||||
</p>
|
||||
<p>
|
||||
|
||||
|
||||
</p>
|
||||
<p>
|
||||
|
||||
In almost all applications one would only create a
|
||||
single instance of a window server. Although it is
|
||||
possible, it is unlikely that you would need
|
||||
more than one window server (and you would have to
|
||||
be very careful how you handled window creation and
|
||||
events in this case).
|
||||
</p>
|
||||
<p>
|
||||
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer+setCurrentServer:">setCurrentServer:</a></h3>
|
||||
+ (void) <b>setCurrentServer:</b> (<a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>*)server;<br />
|
||||
<p>
|
||||
|
||||
Sets the current <var>server</var> that will be
|
||||
handling windows, events, etc. This method must be
|
||||
called after a window <var>server</var> is created
|
||||
in order to make it available to the rest of the GUI
|
||||
library
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer+setDefaultServerClass:">setDefaultServerClass:</a></h3>
|
||||
+ (void) <b>setDefaultServerClass:</b> (Class)aClass;<br />
|
||||
<p>
|
||||
|
||||
Set the concrete subclass that will provide the device
|
||||
dependant implementation.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-addDragTypes:toWindow:">addDragTypes:toWindow:</a></h3>
|
||||
- (BOOL) <b>addDragTypes:</b> (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSArray.html#class$NSArray">NSArray</a>*)types<b> toWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)win;<br />
|
||||
<p>
|
||||
|
||||
Add (increment count by 1) each drag type to those
|
||||
registered for the window. If this results in a
|
||||
change to the <var>types</var> registered in the
|
||||
counted set, return <code>YES</code>, otherwise
|
||||
return <code>NO</code>. Subclasses should override
|
||||
this method, call 'super' and take appropriate action
|
||||
if the method returns 'YES'.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-attributes">attributes</a></h3>
|
||||
- (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>attributes</b>;<br />
|
||||
<p>
|
||||
|
||||
Return information used to create the server
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-availableDepthsForScreen:">availableDepthsForScreen:</a></h3>
|
||||
- (const <a rel="gsdoc" href="TypesAndConstants.html#type$NSWindowDepth">NSWindowDepth</a>*) <b>availableDepthsForScreen:</b> (int)screen;<br />
|
||||
<p>
|
||||
|
||||
Returns a null terminated list of possible window
|
||||
depths for <var>screen</var>.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-boundsForScreen:">boundsForScreen:</a></h3>
|
||||
- (NSRect) <b>boundsForScreen:</b> (int)screen;<br />
|
||||
<p>
|
||||
|
||||
Retuns the bounds, in pixels, for the indicated
|
||||
<var>screen</var> of the display.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-closeServer">closeServer</a></h3>
|
||||
- (void) <b>closeServer</b>;<br />
|
||||
<p>
|
||||
|
||||
Causes the server to disconnect from the display. If
|
||||
the receiver is the current server, it removes itself
|
||||
and sets the current server to <code>nil</code>.
|
||||
Sending any more messages to the receiver after
|
||||
this is likely to cause severe problems and probably
|
||||
crash the application.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-dragInfo">dragInfo</a></h3>
|
||||
- (id) <b>dragInfo</b>;<br />
|
||||
<p>
|
||||
|
||||
Returns an instance of a class which implements the
|
||||
NSDraggingInfo protocol.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-dragTypesForWindow:">dragTypesForWindow:</a></h3>
|
||||
- (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSSet.html#class$NSCountedSet">NSCountedSet</a>*) <b>dragTypesForWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)win;<br />
|
||||
<p>
|
||||
|
||||
Returns the drag types set for the window
|
||||
<var>win</var>.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-initWithAttributes:">initWithAttributes:</a></h3>
|
||||
- (id) <b>initWithAttributes:</b> (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSDictionary.html#class$NSDictionary">NSDictionary</a>*)attributes;<br />
|
||||
This is a designated initialiser for the class.<br />
|
||||
<p>
|
||||
|
||||
Initializes the server. This typically causes
|
||||
the receiver to <em>connect</em> to the display (e.g.
|
||||
XOpenDisplay() on an X-Windows server).
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-removeDragTypes:fromWindow:">removeDragTypes:fromWindow:</a></h3>
|
||||
- (BOOL) <b>removeDragTypes:</b> (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSArray.html#class$NSArray">NSArray</a>*)types<b> fromWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)win;<br />
|
||||
<p>
|
||||
|
||||
Remove (decrement count by 1) each drag type from
|
||||
those registered for the window. If this results in a
|
||||
change to the <var>types</var> registered in the
|
||||
counted set, return <code>YES</code>, otherwise
|
||||
return <code>NO</code>. If given 'nil' as the array
|
||||
of <var>types</var>, remove ALL. Subclasses should
|
||||
override this method, call 'super' and take
|
||||
appropriate action if the method returns 'YES'.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-resolutionForScreen:">resolutionForScreen:</a></h3>
|
||||
- (NSSize) <b>resolutionForScreen:</b> (int)screen;<br />
|
||||
<p>
|
||||
|
||||
Retuns the resolution, in points, for the indicated
|
||||
<var>screen</var> of the display.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-screenList">screenList</a></h3>
|
||||
- (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSArray.html#class$NSArray">NSArray</a>*) <b>screenList</b>;<br />
|
||||
<p>
|
||||
|
||||
Returns an array of NSNumbers, where each number
|
||||
describes a screen that is available on this
|
||||
display.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-serverDevice">serverDevice</a></h3>
|
||||
- (void*) <b>serverDevice</b>;<br />
|
||||
<p>
|
||||
|
||||
Returns a display dependant pointer that describes
|
||||
the internal connection to the display. On X-Windows,
|
||||
for example, this is a pointer to the
|
||||
<code>Display</code> variable.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-slideImage:from:to:">slideImage:from:to:</a></h3>
|
||||
- (BOOL) <b>slideImage:</b> (<a rel="gsdoc" href="NSImage.html#class$NSImage">NSImage</a>*)image<b> from:</b> (NSPoint)from<b> to:</b> (NSPoint)to;<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-windowDepthForScreen:">windowDepthForScreen:</a></h3>
|
||||
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSWindowDepth">NSWindowDepth</a>) <b>windowDepthForScreen:</b> (int)screen;<br />
|
||||
<p>
|
||||
|
||||
Returns the default depth of windows that are
|
||||
created on <var>screen</var>.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-windowDevice:">windowDevice:</a></h3>
|
||||
- (void*) <b>windowDevice:</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Returns a display dependant pointer that describes
|
||||
the internal window representation for <var>win</var>.
|
||||
On X-Windows, for example, this is a pointer to the
|
||||
<code>Window</code> variable.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h1><a name="002000000000">
|
||||
Software documentation for the
|
||||
GSDisplayServer(EventOps) category
|
||||
</a></h1>
|
||||
<h2><a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>(<a name="category$GSDisplayServer(EventOps)">EventOps</a>)</h2>
|
||||
<blockquote>
|
||||
<dl>
|
||||
<dt><b>Declared in:</b></dt>
|
||||
<dd>AppKit/GSDisplayServer.h</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<blockquote>
|
||||
<b>Standards:</b>
|
||||
<ul>
|
||||
<li>NotOpenStep</li>
|
||||
<li>NotMacOS-X</li>
|
||||
<li>GNUstep</li>
|
||||
</ul>
|
||||
</blockquote>
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<b>Method summary</b>
|
||||
<ul>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-discardEventsMatchingMask:beforeEvent:">-discardEventsMatchingMask:beforeEvent:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-getEventMatchingMask:beforeDate:inMode:dequeue:">-getEventMatchingMask:beforeDate:inMode:dequeue:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-postEvent:atStart:">-postEvent:atStart:</a></li>
|
||||
</ul>
|
||||
<hr width="50%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-discardEventsMatchingMask:beforeEvent:">discardEventsMatchingMask:beforeEvent:</a></h3>
|
||||
- (void) <b>discardEventsMatchingMask:</b> (unsigned)mask<b> beforeEvent:</b> (<a rel="gsdoc" href="NSEvent.html#class$NSEvent">NSEvent</a>*)limit;<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-getEventMatchingMask:beforeDate:inMode:dequeue:">getEventMatchingMask:beforeDate:inMode:dequeue:</a></h3>
|
||||
- (<a rel="gsdoc" href="NSEvent.html#class$NSEvent">NSEvent</a>*) <b>getEventMatchingMask:</b> (unsigned)mask<b> beforeDate:</b> (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSDate.html#class$NSDate">NSDate</a>*)limit<b> inMode:</b> (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSString.html#class$NSString">NSString</a>*)mode<b> dequeue:</b> (BOOL)flag;<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-postEvent:atStart:">postEvent:atStart:</a></h3>
|
||||
- (void) <b>postEvent:</b> (<a rel="gsdoc" href="NSEvent.html#class$NSEvent">NSEvent</a>*)anEvent<b> atStart:</b> (BOOL)flag;<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h1><a name="003000000000">
|
||||
Software documentation for the
|
||||
GSDisplayServer(WindowOps) category
|
||||
</a></h1>
|
||||
<h2><a rel="gsdoc" href="#class$GSDisplayServer">GSDisplayServer</a>(<a name="category$GSDisplayServer(WindowOps)">WindowOps</a>)</h2>
|
||||
<blockquote>
|
||||
<dl>
|
||||
<dt><b>Declared in:</b></dt>
|
||||
<dd>AppKit/GSDisplayServer.h</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<blockquote>
|
||||
<b>Standards:</b>
|
||||
<ul>
|
||||
<li>NotOpenStep</li>
|
||||
<li>NotMacOS-X</li>
|
||||
<li>GNUstep</li>
|
||||
</ul>
|
||||
</blockquote>
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<b>Method summary</b>
|
||||
<ul>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-_setWindowOwnedByServer:">-_setWindowOwnedByServer:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-appOwnsMiniwindow">-appOwnsMiniwindow</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-capturemouse:">-capturemouse:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-docedited::">-docedited::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-findwindow:::::">-findwindow:::::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-flushwindowrect::">-flushwindowrect::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-hidecursor">-hidecursor</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-imagecursor::::::">-imagecursor::::::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-miniwindow:">-miniwindow:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-mouselocation">-mouselocation</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-movewindow::">-movewindow::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-orderwindow:::">-orderwindow:::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-placewindow::">-placewindow::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-releasemouse">-releasemouse</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setcursorcolor:::">-setcursorcolor:::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setinputfocus:">-setinputfocus:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setinputstate::">-setinputstate::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setmaxsize::">-setmaxsize::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setminsize::">-setminsize::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setresizeincrements::">-setresizeincrements::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-setwindowlevel::">-setwindowlevel::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-showcursor">-showcursor</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-standardcursor::">-standardcursor::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-styleoffsets:::::">-styleoffsets:::::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-stylewindow::">-stylewindow::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-termwindow:">-termwindow:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-titlewindow::">-titlewindow::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-window:::">-window:::</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowbacking:">-windowbacking:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowbounds:">-windowbounds:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowdepth:">-windowdepth:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowdevice:">-windowdevice:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowlevel:">-windowlevel:</a></li>
|
||||
<li><a rel="gsdoc" href="GSDisplayServer.html#method$GSDisplayServer-windowlist">-windowlist</a></li>
|
||||
</ul>
|
||||
<hr width="50%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-_setWindowOwnedByServer:">_setWindowOwnedByServer:</a></h3>
|
||||
- (void) <b>_setWindowOwnedByServer:</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Tells the receiver that it owns the window described
|
||||
by <var>win</var>. Concrete subclasses must call this
|
||||
function when creating a window. Do not call this
|
||||
method in any other case, particularly for a window
|
||||
that has already been created
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-appOwnsMiniwindow">appOwnsMiniwindow</a></h3>
|
||||
- (BOOL) <b>appOwnsMiniwindow</b>;<br />
|
||||
<p>
|
||||
|
||||
Returns <code>YES</code> if the application should
|
||||
create the miniwindow counterpart to the full size
|
||||
window and own it. Some display systems handle the
|
||||
miniwindow themselves. In this case the backend
|
||||
subclass should override this method to return
|
||||
<code>NO</code>.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-capturemouse:">capturemouse:</a></h3>
|
||||
- (BOOL) <b>capturemouse:</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Grabs the pointer device so that all future mouse
|
||||
events will be directed only to the window
|
||||
<var>win</var>. If successful, the return value is
|
||||
<code>YES</code> and this message must be balanced
|
||||
by a
|
||||
<a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-releasemouse">
|
||||
-releasemouse
|
||||
</a>
|
||||
|
||||
message.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-docedited::">docedited::</a></h3>
|
||||
- (void) <b>docedited:</b> (int)edited<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Sets the document <var>edited</var> flag for the
|
||||
window
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-findwindow:::::">findwindow:::::</a></h3>
|
||||
- (BOOL) <b>findwindow:</b> (NSPoint)loc<b> :</b> (int)op<b> :</b> (int)otherWin<b> :</b> (NSPoint*)floc<b> :</b> (int*)winFound;<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-flushwindowrect::">flushwindowrect::</a></h3>
|
||||
- (void) <b>flushwindowrect:</b> (NSRect)rect<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Causes buffered graphics to be flushed to the screen
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-hidecursor">hidecursor</a></h3>
|
||||
- (void) <b>hidecursor</b>;<br />
|
||||
<p>
|
||||
|
||||
Hides the cursor
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-imagecursor::::::">imagecursor::::::</a></h3>
|
||||
- (void) <b>imagecursor:</b> (NSPoint)hotp<b> :</b> (int)w<b> :</b> (int)h<b> :</b> (int)colors<b> :</b> (const char*)image<b> :</b> (void**)cid;<br />
|
||||
<p>
|
||||
|
||||
Create a cursor from an <var>image</var>. Returns a
|
||||
pointer to the internal device representation that
|
||||
can be used later to make this cursor the current one
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-miniwindow:">miniwindow:</a></h3>
|
||||
- (void) <b>miniwindow:</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Miniaturizes the window
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-mouselocation">mouselocation</a></h3>
|
||||
- (NSPoint) <b>mouselocation</b>;<br />
|
||||
<p>
|
||||
|
||||
Returns the current mouse location
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-movewindow::">movewindow::</a></h3>
|
||||
- (void) <b>movewindow:</b> (NSPoint)loc<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Moves the bottom left cornder of the window to
|
||||
<var>loc</var>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-orderwindow:::">orderwindow:::</a></h3>
|
||||
- (void) <b>orderwindow:</b> (int)op<b> :</b> (int)otherWin<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Causes the window to be ordered onto or off the
|
||||
screen depending on the value of <var>op</var>. The
|
||||
window is ordered relative to <var>otherWin</var>.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-placewindow::">placewindow::</a></h3>
|
||||
- (void) <b>placewindow:</b> (NSRect)frame<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Moves and resizes the window on the screen as
|
||||
described by <var>frame</var>.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-releasemouse">releasemouse</a></h3>
|
||||
- (void) <b>releasemouse</b>;<br />
|
||||
<p>
|
||||
|
||||
Release a previous captured mouse from
|
||||
<a rel="gsdoc" href="#method$GSDisplayServer(WindowOps)-capturemouse:">
|
||||
-capturemouse:
|
||||
</a>
|
||||
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-setcursorcolor:::">setcursorcolor:::</a></h3>
|
||||
- (void) <b>setcursorcolor:</b> (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*)fg<b> :</b> (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*)bg<b> :</b> (void*)cid;<br />
|
||||
<p>
|
||||
|
||||
Set the cursor given by the <var>cid</var>
|
||||
representation as being the current cursor.
|
||||
The cursor has a foreground color <var>fg</var> and a
|
||||
background color <var>bg</var>. To keep the
|
||||
default color for the cursor, pass <code>nil</code>
|
||||
for <var>fg</var> and <var>bg</var>.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-setinputfocus:">setinputfocus:</a></h3>
|
||||
- (void) <b>setinputfocus:</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Forces focus to the window so that all key events
|
||||
are sent to this window
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-setinputstate::">setinputstate::</a></h3>
|
||||
- (void) <b>setinputstate:</b> (int)state<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Sets the input <var>state</var> for the window given
|
||||
by the GSWindowInputState constant. Instructs the window
|
||||
manager that the specified window is 'key', 'main',
|
||||
or just a normal window.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-setmaxsize::">setmaxsize::</a></h3>
|
||||
- (void) <b>setmaxsize:</b> (NSSize)size<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Set the maximum <var>size</var> of the window
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-setminsize::">setminsize::</a></h3>
|
||||
- (void) <b>setminsize:</b> (NSSize)size<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Set the minimum <var>size</var> of the window
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-setresizeincrements::">setresizeincrements::</a></h3>
|
||||
- (void) <b>setresizeincrements:</b> (NSSize)size<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Set the resize incremenet of the window
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-setwindowlevel::">setwindowlevel::</a></h3>
|
||||
- (void) <b>setwindowlevel:</b> (int)level<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Set the <var>level</var> of the window as in [NSWindow
|
||||
-setLevel]
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-showcursor">showcursor</a></h3>
|
||||
- (void) <b>showcursor</b>;<br />
|
||||
<p>
|
||||
|
||||
Show a previously hidden cursor
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-standardcursor::">standardcursor::</a></h3>
|
||||
- (void) <b>standardcursor:</b> (int)style<b> :</b> (void**)cid;<br />
|
||||
<p>
|
||||
|
||||
Create a standard cursor (such as an arror or
|
||||
IBeam). Returns a pointer to the internal device
|
||||
representation that can be used later to
|
||||
make this cursor the current one
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-styleoffsets:::::">styleoffsets:::::</a></h3>
|
||||
- (void) <b>styleoffsets:</b> (float*)l<b> :</b> (float*)r<b> :</b> (float*)t<b> :</b> (float*)b<b> :</b> (int)style;<br />
|
||||
<p>
|
||||
|
||||
Returns the dimensions of the window that are
|
||||
inside the window frame but are controlled by the
|
||||
window manager. For instance, <var>t</var> gives the
|
||||
height of the title bar for the window
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-stylewindow::">stylewindow::</a></h3>
|
||||
- (void) <b>stylewindow:</b> (int)style<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Sets the <var>style</var> of the window. See [NSWindow
|
||||
-styleMask] for a description of the available
|
||||
styles
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-termwindow:">termwindow:</a></h3>
|
||||
- (void) <b>termwindow:</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Destroys the representation of the window and
|
||||
frees and memory associated with it.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-titlewindow::">titlewindow::</a></h3>
|
||||
- (void) <b>titlewindow:</b> (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSString.html#class$NSString">NSString</a>*)window_title<b> :</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Sets the window title
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-window:::">window:::</a></h3>
|
||||
- (int) <b>window:</b> (NSRect)frame<b> :</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSBackingStoreType">NSBackingStoreType</a>)type<b> :</b> (unsigned int)style;<br />
|
||||
<p>
|
||||
|
||||
Creates a window whose location and size is
|
||||
described by <var>frame</var> and whose backing
|
||||
store is described by <var>type</var>. This window is
|
||||
not mapped to the screen by this call
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-windowbacking:">windowbacking:</a></h3>
|
||||
- (void) <b>windowbacking:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSBackingStoreType">NSBackingStoreType</a>)type;<br />
|
||||
<p>
|
||||
|
||||
Changes window's the backing store to
|
||||
<var>type</var>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-windowbounds:">windowbounds:</a></h3>
|
||||
- (NSRect) <b>windowbounds:</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Retuns the frame of the window on the screen
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-windowdepth:">windowdepth:</a></h3>
|
||||
- (int) <b>windowdepth:</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Returns the depth of the window
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-windowdevice:">windowdevice:</a></h3>
|
||||
- (void) <b>windowdevice:</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Sets the window drawable for the current
|
||||
NSGraphicsContext, typically by calling
|
||||
[NSGraphicsContext
|
||||
-DPSsetgcdrawable::::], although
|
||||
depending on the concrete implmentation, more
|
||||
information than this may need to be exchanged.
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-windowlevel:">windowlevel:</a></h3>
|
||||
- (int) <b>windowlevel:</b> (int)win;<br />
|
||||
<p>
|
||||
|
||||
Returns the window level as in [NSWindow -level]
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSDisplayServer-windowlist">windowlist</a></h3>
|
||||
- (<a rel="gsdoc" href="/usr/GNUstep-devel/System/Documentation/Base/NSArray.html#class$NSArray">NSArray</a>*) <b>windowlist</b>;<br />
|
||||
<p>
|
||||
|
||||
Returns the list of windows that the server
|
||||
controls
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<br />
|
||||
<a href="Gui.html">Up</a>
|
||||
</body>
|
||||
</html>
|
126
Documentation/gsdoc/GSVbox.gsdoc
Normal file
126
Documentation/gsdoc/GSVbox.gsdoc
Normal file
|
@ -0,0 +1,126 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 0.6.7//EN" "http://www.gnustep.org/gsdoc-0_6_7.xml">
|
||||
<gsdoc base="GSVbox" up="Gui">
|
||||
<head>
|
||||
<title>GSVbox</title>
|
||||
<author name="Nicola Pero">
|
||||
<email address="n.pero@mi.flashnet.it">
|
||||
n.pero@mi.flashnet.it
|
||||
</email>
|
||||
</author>
|
||||
<abstract>The GSVbox class (a GNU extension)</abstract>
|
||||
<copy>1999 Free Software Foundation, Inc.</copy>
|
||||
</head>
|
||||
<body>
|
||||
<front><contents /></front>
|
||||
<chapter>
|
||||
<heading>
|
||||
Software documentation for the GSVbox class
|
||||
</heading>
|
||||
<class name="GSVbox" super="GSTable">
|
||||
<declared>AppKit/GSVbox.h</declared>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<method type="void">
|
||||
<sel>addSeparator</sel>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<GNUstep /> <MacOS-X /> <OpenStep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>addSeparatorWithMinYMargin:</sel>
|
||||
<arg type="float">aMargin</arg>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<GNUstep /> <MacOS-X /> <OpenStep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>addView:</sel>
|
||||
<arg type="NSView*">aView</arg>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<GNUstep /> <MacOS-X /> <OpenStep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>addView:</sel>
|
||||
<arg type="NSView*">aView</arg>
|
||||
<sel>enablingYResizing:</sel>
|
||||
<arg type="BOOL">aFlag</arg>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<GNUstep /> <MacOS-X /> <OpenStep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>addView:</sel>
|
||||
<arg type="NSView*">aView</arg>
|
||||
<sel>enablingYResizing:</sel>
|
||||
<arg type="BOOL">aFlag</arg>
|
||||
<sel>withMinYMargin:</sel>
|
||||
<arg type="float">aMargin</arg>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<GNUstep /> <MacOS-X /> <OpenStep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>addView:</sel>
|
||||
<arg type="NSView*">aView</arg>
|
||||
<sel>withMinYMargin:</sel>
|
||||
<arg type="float">aMargin</arg>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<GNUstep /> <MacOS-X /> <OpenStep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="id">
|
||||
<sel>init</sel>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<GNUstep /> <MacOS-X /> <OpenStep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="int">
|
||||
<sel>numberOfViews</sel>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<GNUstep /> <MacOS-X /> <OpenStep />
|
||||
</standards>
|
||||
</method>
|
||||
<method type="void">
|
||||
<sel>setDefaultMinYMargin:</sel>
|
||||
<arg type="float">aMargin</arg>
|
||||
<desc>
|
||||
<em>Description forthcoming.</em>
|
||||
</desc>
|
||||
<standards>
|
||||
<GNUstep /> <MacOS-X /> <OpenStep />
|
||||
</standards>
|
||||
</method>
|
||||
<standards>
|
||||
<GNUstep /> <MacOS-X /> <OpenStep />
|
||||
</standards>
|
||||
</class>
|
||||
</chapter>
|
||||
</body>
|
||||
</gsdoc>
|
151
Documentation/gsdoc/GSVbox.html
Normal file
151
Documentation/gsdoc/GSVbox.html
Normal file
|
@ -0,0 +1,151 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>GSVbox</title>
|
||||
</head>
|
||||
<body>
|
||||
<a href="Gui.html">Up</a>
|
||||
<br />
|
||||
<h1><a name="title$GSVbox">GSVbox</a></h1>
|
||||
<h3>Authors</h3>
|
||||
<dl>
|
||||
<dt>Nicola Pero(<a href="mailto:n.pero@mi.flashnet.it"><code>
|
||||
n.pero@mi.flashnet.it
|
||||
</code></a>)</dt>
|
||||
<dd>
|
||||
</dd>
|
||||
</dl>
|
||||
<blockquote>
|
||||
The GSVbox class (a GNU extension)
|
||||
</blockquote>
|
||||
<p><b>Copyright:</b> (C) 1999 Free Software Foundation, Inc.</p>
|
||||
<div>
|
||||
<hr width="50%" align="left" />
|
||||
<h3>Contents -</h3>
|
||||
<ol>
|
||||
<li>
|
||||
<a href="#001000000000">Software documentation for the GSVbox class</a>
|
||||
</li>
|
||||
</ol>
|
||||
<hr width="50%" align="left" />
|
||||
</div>
|
||||
<h1><a name="001000000000">
|
||||
Software documentation for the GSVbox class
|
||||
</a></h1>
|
||||
<h2><a name="class$GSVbox">GSVbox</a> : <a rel="gsdoc" href="GSTable.html#class$GSTable">GSTable</a></h2>
|
||||
<blockquote>
|
||||
<dl>
|
||||
<dt><b>Declared in:</b></dt>
|
||||
<dd>AppKit/GSVbox.h</dd>
|
||||
</dl>
|
||||
</blockquote>
|
||||
<blockquote>
|
||||
<b>Standards:</b>
|
||||
<ul>
|
||||
<li>GNUstep</li>
|
||||
<li>MacOS-X</li>
|
||||
<li>OpenStep</li>
|
||||
</ul>
|
||||
</blockquote>
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<b>Method summary</b>
|
||||
<ul>
|
||||
<li><a rel="gsdoc" href="GSVbox.html#method$GSVbox-addSeparator">-addSeparator</a></li>
|
||||
<li><a rel="gsdoc" href="GSVbox.html#method$GSVbox-addSeparatorWithMinYMargin:">-addSeparatorWithMinYMargin:</a></li>
|
||||
<li><a rel="gsdoc" href="GSVbox.html#method$GSVbox-addView:">-addView:</a></li>
|
||||
<li><a rel="gsdoc" href="GSVbox.html#method$GSVbox-addView:enablingYResizing:">-addView:enablingYResizing:</a></li>
|
||||
<li><a rel="gsdoc" href="GSVbox.html#method$GSVbox-addView:enablingYResizing:withMinYMargin:">-addView:enablingYResizing:withMinYMargin:</a></li>
|
||||
<li><a rel="gsdoc" href="GSVbox.html#method$GSVbox-addView:withMinYMargin:">-addView:withMinYMargin:</a></li>
|
||||
<li><a rel="gsdoc" href="GSVbox.html#method$GSVbox-init">-init</a></li>
|
||||
<li><a rel="gsdoc" href="GSVbox.html#method$GSVbox-numberOfViews">-numberOfViews</a></li>
|
||||
<li><a rel="gsdoc" href="GSVbox.html#method$GSVbox-setDefaultMinYMargin:">-setDefaultMinYMargin:</a></li>
|
||||
</ul>
|
||||
<hr width="50%" align="left" />
|
||||
<h3><a name="method$GSVbox-addSeparator">addSeparator</a></h3>
|
||||
- (void) <b>addSeparator</b>;<br />
|
||||
<b>Standards:</b> GNUstep, MacOS-X, OpenStep<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSVbox-addSeparatorWithMinYMargin:">addSeparatorWithMinYMargin:</a></h3>
|
||||
- (void) <b>addSeparatorWithMinYMargin:</b> (float)aMargin;<br />
|
||||
<b>Standards:</b> GNUstep, MacOS-X, OpenStep<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSVbox-addView:">addView:</a></h3>
|
||||
- (void) <b>addView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)aView;<br />
|
||||
<b>Standards:</b> GNUstep, MacOS-X, OpenStep<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSVbox-addView:enablingYResizing:">addView:enablingYResizing:</a></h3>
|
||||
- (void) <b>addView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)aView<b> enablingYResizing:</b> (BOOL)aFlag;<br />
|
||||
<b>Standards:</b> GNUstep, MacOS-X, OpenStep<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSVbox-addView:enablingYResizing:withMinYMargin:">addView:enablingYResizing:withMinYMargin:</a></h3>
|
||||
- (void) <b>addView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)aView<b> enablingYResizing:</b> (BOOL)aFlag<b> withMinYMargin:</b> (float)aMargin;<br />
|
||||
<b>Standards:</b> GNUstep, MacOS-X, OpenStep<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSVbox-addView:withMinYMargin:">addView:withMinYMargin:</a></h3>
|
||||
- (void) <b>addView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)aView<b> withMinYMargin:</b> (float)aMargin;<br />
|
||||
<b>Standards:</b> GNUstep, MacOS-X, OpenStep<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSVbox-init">init</a></h3>
|
||||
- (id) <b>init</b>;<br />
|
||||
<b>Standards:</b> GNUstep, MacOS-X, OpenStep<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSVbox-numberOfViews">numberOfViews</a></h3>
|
||||
- (int) <b>numberOfViews</b>;<br />
|
||||
<b>Standards:</b> GNUstep, MacOS-X, OpenStep<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<h3><a name="method$GSVbox-setDefaultMinYMargin:">setDefaultMinYMargin:</a></h3>
|
||||
- (void) <b>setDefaultMinYMargin:</b> (float)aMargin;<br />
|
||||
<b>Standards:</b> GNUstep, MacOS-X, OpenStep<br />
|
||||
<p>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
</p>
|
||||
<hr width="25%" align="left" />
|
||||
<br />
|
||||
<a href="Gui.html">Up</a>
|
||||
</body>
|
||||
</html>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 0.6.5//EN" "http://www.gnustep.org/gsdoc-0_6_5.xml">
|
||||
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 0.6.7//EN" "http://www.gnustep.org/gsdoc-0_6_7.xml">
|
||||
<gsdoc base="Gui">
|
||||
<head>
|
||||
<title>Gui</title>
|
||||
|
@ -126,10 +126,18 @@
|
|||
<item><uref url="NSWorkspace.html">NSWorkspace</uref></item>
|
||||
</list>
|
||||
<p>
|
||||
There is also documentation on various GUI functions.
|
||||
Documentation on non-OpenStep, non-MacOSX, and private classes
|
||||
</p>
|
||||
<list>
|
||||
<item><uref url="GSDisplayServer.html">GSDisplayServer</uref></item>
|
||||
<item><uref url="GSHbox.html">GSHbox</uref></item>
|
||||
<item><uref url="GSTable.html">GSTable</uref></item>
|
||||
<item><uref url="GSVbox.html">GSVbox</uref></item>
|
||||
</list>
|
||||
<p>
|
||||
Miscellaneous documentation
|
||||
</p>
|
||||
<list>
|
||||
<item><uref url="DPSOperators.html">DPSOperators</uref></item>
|
||||
<item><uref url="DefaultsSummary.html">Available User Defaults</uref></item>
|
||||
</list>
|
||||
|
||||
|
|
|
@ -127,10 +127,19 @@
|
|||
</ul>
|
||||
<p>
|
||||
|
||||
There is also documentation on various GUI functions.
|
||||
Documentation on non-OpenStep, non-MacOSX, and private classes
|
||||
</p>
|
||||
<ul>
|
||||
<li ><a href ="GSDisplayServer.html">GSDisplayServer</a>
|
||||
<li ><a href ="GSHbox.html">GSHbox</a>
|
||||
<li ><a href ="GSTable.html">GSTable</a>
|
||||
<li ><a href ="GSVbox.html">GSVbox</a>
|
||||
</ul>
|
||||
<p>
|
||||
|
||||
Miscellaneous documentation
|
||||
</p>
|
||||
<ul>
|
||||
<li ><a href ="DPSOperators.html">DPSOperators</a>
|
||||
<li ><a href ="DefaultsSummary.html">Available User Defaults</a>
|
||||
</ul>
|
||||
</body>
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -18,45 +18,6 @@
|
|||
NSTableColumn objects represent columns in
|
||||
NSTableViews.
|
||||
</p>
|
||||
<section>
|
||||
<heading>The Column Identifier</heading>
|
||||
<p>
|
||||
Each NSTableColumn object is identified by an object,
|
||||
called the column identifier. The reason is that,
|
||||
after a column has been added to a table view, the user
|
||||
might move the columns around, so there is a need to
|
||||
identify the columns regardless of their position in
|
||||
the table.
|
||||
</p>
|
||||
<p>
|
||||
The identifier is typically a string describing the
|
||||
column. This identifier object is never displayed to
|
||||
the user ! It is only used internally by the program to
|
||||
identify the column - so yes, you may use a funny
|
||||
string for it and nobody will know, except people
|
||||
reading the code.
|
||||
</p>
|
||||
</section>
|
||||
<section>
|
||||
<heading>
|
||||
Information Stored in an NSTableColumn Object
|
||||
</heading>
|
||||
<p>
|
||||
An NSTableColumn object mainly keeps information about the
|
||||
width of the column, its minimum and maximum width;
|
||||
whether the column can be edited or resized; and the
|
||||
cells used to draw the column header and the data in
|
||||
the column. You can change all these attributes of the
|
||||
column by calling the appropriate methods. Please note
|
||||
that the table column does not hold nor has access to
|
||||
the data to be displayed in the column; this data is
|
||||
maintained in the table view's data source, as
|
||||
described in the NSTableView documentation. A last
|
||||
hint: to set the title of a table column, ask the table
|
||||
column for its header cell, and set the string value
|
||||
of this header cell to the desired title.
|
||||
</p>
|
||||
</section>
|
||||
<class name="NSTableColumn" super="NSObject">
|
||||
<declared>AppKit/NSTableColumn.h</declared>
|
||||
<conform>NSCoding</conform>
|
||||
|
@ -326,6 +287,45 @@
|
|||
<GNUstep /> <MacOS-X /> <OpenStep />
|
||||
</standards>
|
||||
</class>
|
||||
<section>
|
||||
<heading>The Column Identifier</heading>
|
||||
<p>
|
||||
Each NSTableColumn object is identified by an object,
|
||||
called the column identifier. The reason is that,
|
||||
after a column has been added to a table view, the user
|
||||
might move the columns around, so there is a need to
|
||||
identify the columns regardless of their position in
|
||||
the table.
|
||||
</p>
|
||||
<p>
|
||||
The identifier is typically a string describing the
|
||||
column. This identifier object is never displayed to
|
||||
the user ! It is only used internally by the program to
|
||||
identify the column - so yes, you may use a funny
|
||||
string for it and nobody will know, except people
|
||||
reading the code.
|
||||
</p>
|
||||
</section>
|
||||
<section>
|
||||
<heading>
|
||||
Information Stored in an NSTableColumn Object
|
||||
</heading>
|
||||
<p>
|
||||
An NSTableColumn object mainly keeps information about the
|
||||
width of the column, its minimum and maximum width;
|
||||
whether the column can be edited or resized; and the
|
||||
cells used to draw the column header and the data in
|
||||
the column. You can change all these attributes of the
|
||||
column by calling the appropriate methods. Please note
|
||||
that the table column does not hold nor has access to
|
||||
the data to be displayed in the column; this data is
|
||||
maintained in the table view's data source, as
|
||||
described in the NSTableView documentation. A last
|
||||
hint: to set the title of a table column, ask the table
|
||||
column for its header cell, and set the string value
|
||||
of this header cell to the desired title.
|
||||
</p>
|
||||
</section>
|
||||
</chapter>
|
||||
</body>
|
||||
</gsdoc>
|
||||
|
|
|
@ -26,6 +26,249 @@
|
|||
NSTableColumn objects represent columns in
|
||||
NSTableViews.
|
||||
</p>
|
||||
<h2><a name ="NSTableColumn">NSTableColumn</a></h2>
|
||||
<p><b>Declared in: </b> AppKit/NSTableColumn.h</p>
|
||||
<p><b>Inherits from: </b> NSObject</p>
|
||||
<p><b>Conforms to: </b> NSCoding
|
||||
</p>
|
||||
<hr>
|
||||
|
||||
|
||||
<h2>Instance Variables </h2>
|
||||
<ul>
|
||||
</ul>
|
||||
<h2>Methods </h2>
|
||||
<ul>
|
||||
<li ><a href ="NSTableColumn.html#method-0">-dataCell</a>
|
||||
<li ><a href ="NSTableColumn.html#method-1">-dataCellForRow:</a>
|
||||
<li ><a href ="NSTableColumn.html#method-2">-headerCell</a>
|
||||
<li ><a href ="NSTableColumn.html#method-3">-identifier</a>
|
||||
<li ><a href ="NSTableColumn.html#method-4">-initWithIdentifier:</a>
|
||||
<li ><a href ="NSTableColumn.html#method-5">-isEditable</a>
|
||||
<li ><a href ="NSTableColumn.html#method-6">-isResizable</a>
|
||||
<li ><a href ="NSTableColumn.html#method-7">-maxWidth</a>
|
||||
<li ><a href ="NSTableColumn.html#method-8">-minWidth</a>
|
||||
<li ><a href ="NSTableColumn.html#method-9">-setDataCell:</a>
|
||||
<li ><a href ="NSTableColumn.html#method-10">-setEditable:</a>
|
||||
<li ><a href ="NSTableColumn.html#method-11">-setHeaderCell:</a>
|
||||
<li ><a href ="NSTableColumn.html#method-12">-setIdentifier:</a>
|
||||
<li ><a href ="NSTableColumn.html#method-13">-setMaxWidth:</a>
|
||||
<li ><a href ="NSTableColumn.html#method-14">-setMinWidth:</a>
|
||||
<li ><a href ="NSTableColumn.html#method-15">-setResizable:</a>
|
||||
<li ><a href ="NSTableColumn.html#method-16">-setTableView:</a>
|
||||
<li ><a href ="NSTableColumn.html#method-17">-setWidth:</a>
|
||||
<li ><a href ="NSTableColumn.html#method-18">-sizeToFit</a>
|
||||
<li ><a href ="NSTableColumn.html#method-19">-tableView</a>
|
||||
<li ><a href ="NSTableColumn.html#method-20">-width</a>
|
||||
</ul>
|
||||
<hr><h2>Instances Methods </h2>
|
||||
<h3><a name ="method-0">dataCell</a></h3>
|
||||
- (NSCell*) <b>dataCell</b>;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Return the cell used to display data in the column.
|
||||
The default data cell is an NSTextFieldCell.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-1">dataCellForRow:</a></h3>
|
||||
- (NSCell*) <b>dataCellForRow:</b> (int)row;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
<em>Description forthcoming.</em>
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-2">headerCell</a></h3>
|
||||
- (NSCell*) <b>headerCell</b>;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Return the cell used to display the column title.
|
||||
The default header cell is an NSTableHeaderCell.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-3">identifier</a></h3>
|
||||
- (id) <b>identifier</b>;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Return the column identifier, an object used to
|
||||
identify the column. This object is usually a
|
||||
string, but might be any kind of object.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-4">initWithIdentifier:</a></h3>
|
||||
- (id) <b>initWithIdentifier:</b> (id)anObject;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Initialize the column. <var>anObject</var> is an
|
||||
object used to identify the column; it is usually a
|
||||
string, but might be any kind of object.
|
||||
<var>anObject</var> is retained.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-5">isEditable</a></h3>
|
||||
- (BOOL) <b>isEditable</b>;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Return whether data displayed in the column can be
|
||||
edited by the user by double-cliking on them.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-6">isResizable</a></h3>
|
||||
- (BOOL) <b>isResizable</b>;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Return whether the column might be resized by the
|
||||
user by dragging the column header border.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-7">maxWidth</a></h3>
|
||||
- (float) <b>maxWidth</b>;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Return the column's max width. The column can in no
|
||||
way be resized to a width bigger than this max width.
|
||||
The default max width is 100000.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-8">minWidth</a></h3>
|
||||
- (float) <b>minWidth</b>;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Return the column's min width. The column can in no
|
||||
way be resized to a width smaller than this min width.
|
||||
The default min width is zero.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-9">setDataCell:</a></h3>
|
||||
- (void) <b>setDataCell:</b> (NSCell*)aCell;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Set the cell used to display data in the column.
|
||||
<var>aCell</var> can't be <code>nil</code>, otherwise
|
||||
a warning will be generated and the method ignored. The
|
||||
old cell is released, the new one is retained. If you
|
||||
want to change the attributes in which a single row in
|
||||
a column is displayed, you should better use a delegate
|
||||
for your NSTableView implementing
|
||||
tableView:willDisplayCell:forTableColumn:row:.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-10">setEditable:</a></h3>
|
||||
- (void) <b>setEditable:</b> (BOOL)flag;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Set whether data in the column might be edited by the
|
||||
user by double-cliking on them.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-11">setHeaderCell:</a></h3>
|
||||
- (void) <b>setHeaderCell:</b> (NSCell*)aCell;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Set the cell used to display the column header.
|
||||
<var>aCell</var> can't be <code>nil</code>, otherwise
|
||||
a warning will be generated and the method call ignored.
|
||||
The old cell is released, the new one is retained.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-12">setIdentifier:</a></h3>
|
||||
- (void) <b>setIdentifier:</b> (id)anObject;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Set the identifier used to identify the table. The old
|
||||
identifier is released, and the new one is
|
||||
retained.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-13">setMaxWidth:</a></h3>
|
||||
- (void) <b>setMaxWidth:</b> (float)maxWidth;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Set the max width of the table column, eventually
|
||||
adjusting the width of the column if it is bigger
|
||||
than the new max width. In no way a table column can
|
||||
be made bigger than its max width.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-14">setMinWidth:</a></h3>
|
||||
- (void) <b>setMinWidth:</b> (float)minWidth;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Set the min width of the table column, eventually
|
||||
adjusting the width of the column if it is
|
||||
smaller than the new min width. In no way a table
|
||||
column can be made smaller than its min width.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-15">setResizable:</a></h3>
|
||||
- (void) <b>setResizable:</b> (BOOL)flag;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Set whether the user can resize the table column by
|
||||
dragging the border of its header with the mouse.
|
||||
The table column can be resized programmatically
|
||||
regardless of this setting.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-16">setTableView:</a></h3>
|
||||
- (void) <b>setTableView:</b> (NSTableView*)aTableView;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Set the table view corresponding to this table column.
|
||||
This method is invoked internally by the table view,
|
||||
and you should not call it directly; it is exposed
|
||||
because you may want to override it in subclasses.
|
||||
To use the table column in a table view, you should use
|
||||
NSTableView's addTableColumn: instead.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-17">setWidth:</a></h3>
|
||||
- (void) <b>setWidth:</b> (float)newWidth;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Set the width of the table column. Before being
|
||||
resized, the new width is constrained to the table
|
||||
column minimum and maximum width: if
|
||||
<var>newWidth</var> is smaller than the table
|
||||
column's min width, the table column is simply
|
||||
resized to its min width. If <var>newWidth</var> is
|
||||
bigger than the table column's max width, the table
|
||||
column is simply resized to its max width.
|
||||
Otherwise, it is resized to <var>newWidth</var>.
|
||||
If the width of the table was actually changed, the
|
||||
table view (if any) is redisplayed (by calling tile),
|
||||
and the NSTableViewColumnDidResizeNotification is
|
||||
posted on behalf of the table view.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-18">sizeToFit</a></h3>
|
||||
- (void) <b>sizeToFit</b>;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Change the width of the column to be just enough to
|
||||
display its header; change the minimum width and
|
||||
maximum width to allow the column to have this
|
||||
width (if the minimum width is bigger than the column
|
||||
header width, it is reduced to it; if the maximum
|
||||
width is smaller than the column header width, it is
|
||||
increased to it).
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-19">tableView</a></h3>
|
||||
- (NSTableView*) <b>tableView</b>;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Return the table view the column belongs to, or
|
||||
<code>nil</code> if the table column was not added
|
||||
to any table view.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="method-20">width</a></h3>
|
||||
- (float) <b>width</b>;<br>
|
||||
Standards: GNUstep MacOS-X OpenStep<br>
|
||||
|
||||
Return the width of the table column.
|
||||
|
||||
<hr>
|
||||
<h3><a name ="cont-1">The Column Identifier</a></h3>
|
||||
<p>
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ typedef struct {
|
|||
- (void) invert;
|
||||
- (void) prependTransform: (NSAffineTransform*)aTransform;
|
||||
- (void) rotateByDegrees: (float)angle;
|
||||
- (void) rotateByRadians: (float)angle;
|
||||
- (void) rotateByRadians: (float)angleRad;
|
||||
- (void) scaleBy: (float)scale;
|
||||
- (void) scaleXBy: (float)scaleX yBy: (float)scaleY;
|
||||
- (void) set;
|
||||
|
@ -82,7 +82,7 @@ typedef struct {
|
|||
|
||||
- (BOOL) isRotated;
|
||||
|
||||
- (void) boundingRectFor: (NSRect)rect result: (NSRect*)result;
|
||||
- (void) boundingRectFor: (NSRect)rect result: (NSRect*)new;
|
||||
|
||||
/* Returns anotherMatrix * self */
|
||||
- (void) concatenateWith: (NSAffineTransform*)anotherMatrix;
|
||||
|
|
|
@ -131,7 +131,7 @@ typedef enum _NSGradientType {
|
|||
- (NSString *)keyEquivalent;
|
||||
- (NSFont *)keyEquivalentFont;
|
||||
- (unsigned int)keyEquivalentModifierMask;
|
||||
- (void)setKeyEquivalent:(NSString *)aKeyEquivalent;
|
||||
- (void)setKeyEquivalent:(NSString *)key;
|
||||
- (void)setKeyEquivalentModifierMask:(unsigned int)mask;
|
||||
- (void)setKeyEquivalentFont:(NSFont *)fontObj;
|
||||
- (void)setKeyEquivalentFont:(NSString *)fontName
|
||||
|
@ -157,9 +157,9 @@ typedef enum _NSGradientType {
|
|||
// Modifying Graphic Attributes
|
||||
//
|
||||
- (int)highlightsBy;
|
||||
- (void)setHighlightsBy:(int)aType;
|
||||
- (void)setShowsStateBy:(int)aType;
|
||||
- (void)setButtonType:(NSButtonType)aType;
|
||||
- (void)setHighlightsBy:(int)mask;
|
||||
- (void)setShowsStateBy:(int)mask;
|
||||
- (void)setButtonType:(NSButtonType)buttonType;
|
||||
- (int)showsStateBy;
|
||||
|
||||
//
|
||||
|
|
|
@ -428,7 +428,7 @@ typedef enum _NSControlSize {
|
|||
- (NSMutableDictionary*) _nonAutoreleasedTypingAttributes;
|
||||
- (NSColor*) textColor;
|
||||
- (NSSize) _sizeText: (NSString*) title;
|
||||
- (void) _drawText: (NSString*)aString inFrame: (NSRect)aRect;
|
||||
- (void) _drawText: (NSString*)aString inFrame: (NSRect)cellFrame;
|
||||
- (void) _drawAttributedText: (NSAttributedString*)aString
|
||||
inFrame: (NSRect)aRect;
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
- (id)documentView;
|
||||
|
||||
/* Scrolling */
|
||||
- (void)scrollToPoint:(NSPoint)newOrigin;
|
||||
- (void)scrollToPoint:(NSPoint)aPoint;
|
||||
- (BOOL)autoscroll:(NSEvent*)theEvent;
|
||||
- (NSPoint)constrainScrollPoint:(NSPoint)proposedNewOrigin;
|
||||
|
||||
|
@ -93,8 +93,4 @@
|
|||
|
||||
@end
|
||||
|
||||
@interface NSClipView (BackendMethods)
|
||||
- (void)_translateToPoint:(NSPoint)point oldPoint:(NSPoint)oldPoint;
|
||||
@end
|
||||
|
||||
#endif /* _GNUstep_H_NSClipView */
|
||||
|
|
|
@ -73,9 +73,9 @@ APPKIT_EXPORT const float *NSFontIdentityMatrix;
|
|||
// Creating a Font Object
|
||||
//
|
||||
+ (NSFont *)boldSystemFontOfSize:(float)fontSize;
|
||||
+ (NSFont *)fontWithName:(NSString *)fontName
|
||||
+ (NSFont *)fontWithName:(NSString *)aFontName
|
||||
matrix:(const float *)fontMatrix;
|
||||
+ (NSFont *)fontWithName:(NSString *)fontName
|
||||
+ (NSFont *)fontWithName:(NSString *)aFontName
|
||||
size:(float)fontSize;
|
||||
+ (NSFont *)systemFontOfSize:(float)fontSize;
|
||||
+ (NSFont *)userFixedPitchFontOfSize:(float)fontSize;
|
||||
|
@ -107,7 +107,7 @@ APPKIT_EXPORT const float *NSFontIdentityMatrix;
|
|||
//
|
||||
+ (void)setUserFixedPitchFont:(NSFont *)aFont;
|
||||
+ (void)setUserFont:(NSFont *)aFont;
|
||||
+ (void)useFont:(NSString *)fontName;
|
||||
+ (void)useFont:(NSString *)aFontName;
|
||||
- (void)set;
|
||||
|
||||
//
|
||||
|
|
|
@ -85,8 +85,8 @@ typedef enum {
|
|||
//
|
||||
// Managing the FontManager
|
||||
//
|
||||
+ (void)setFontManagerFactory:(Class)classId;
|
||||
+ (void)setFontPanelFactory:(Class)classId;
|
||||
+ (void) setFontManagerFactory: (Class)class;
|
||||
+ (void) setFontPanelFactory: (Class)class;
|
||||
+ (NSFontManager *)sharedFontManager;
|
||||
|
||||
//
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
- (int)rowForItem: (id)item;
|
||||
- (void)setAutoresizesOutlineColumn: (BOOL)resize;
|
||||
- (void)setAutosaveExpandedItems: (BOOL)flag;
|
||||
- (void)setDropItem:(id)item dropChildIndex: (int)index;
|
||||
- (void)setDropItem:(id)item dropChildIndex: (int)childIndex;
|
||||
- (void)setIndentationMarkerFollowsCell: (BOOL)followsCell;
|
||||
- (void)setIndentationPerLevel: (float)newIndentLevel;
|
||||
- (void)setOutlineTableColumn: (NSTableColumn *)outlineTableColumn;
|
||||
|
|
|
@ -99,7 +99,7 @@ typedef enum {
|
|||
- (void) setOriginOffset: (float)offset;
|
||||
- (float) originOffset;
|
||||
|
||||
- (void) setMarkers: (NSArray *)markers;
|
||||
- (void) setMarkers: (NSArray *)newMarkers;
|
||||
- (NSArray *) markers;
|
||||
- (void) addMarker: (NSRulerMarker *)aMarker;
|
||||
- (void) removeMarker: (NSRulerMarker *)aMarker;
|
||||
|
|
|
@ -131,7 +131,7 @@ enum {
|
|||
* the extension. Invoke this method each time the Save panel
|
||||
* is used for another file type within the application.
|
||||
*/
|
||||
- (void) setRequiredFileType: (NSString *)type;
|
||||
- (void) setRequiredFileType: (NSString *)fileType;
|
||||
|
||||
/*
|
||||
* Sets the NSSavePanel's behavior for displaying file packages
|
||||
|
@ -179,7 +179,7 @@ enum {
|
|||
file: (NSString *)filename
|
||||
relativeToWindow: (NSWindow*)window;
|
||||
- (void) beginSheetForDirectory: (NSString *)path
|
||||
file: (NSString *)name
|
||||
file: (NSString *)filename
|
||||
modalForWindow: (NSWindow *)docWindow
|
||||
modalDelegate: (id)delegate
|
||||
didEndSelector: (SEL)didEndSelector
|
||||
|
|
|
@ -30,11 +30,6 @@
|
|||
#include <AppKit/NSBox.h>
|
||||
|
||||
@implementation GSHbox: GSTable
|
||||
{
|
||||
// YES if some NSView was already added to the box
|
||||
BOOL _haveViews;
|
||||
float _defaultMinXMargin;
|
||||
}
|
||||
//
|
||||
// Class methods
|
||||
//
|
||||
|
|
|
@ -32,10 +32,6 @@
|
|||
#include <AppKit/NSBox.h>
|
||||
|
||||
@implementation GSVbox: GSTable
|
||||
{
|
||||
BOOL _haveViews;
|
||||
float _defaultMinYMargin;
|
||||
}
|
||||
//
|
||||
// Class methods
|
||||
//
|
||||
|
|
|
@ -88,12 +88,12 @@
|
|||
return self;
|
||||
}
|
||||
|
||||
- (id) initWithWindow: (NSWindow *)win rect: (NSRect)rect
|
||||
- (id) initWithWindow: (NSWindow *)aWindow rect: (NSRect)aRect
|
||||
{
|
||||
[super init];
|
||||
|
||||
_window = RETAIN(win);
|
||||
_rect = rect;
|
||||
_window = RETAIN(aWindow);
|
||||
_rect = aRect;
|
||||
|
||||
/* Either win or rect must be non-NULL. If rect is empty, we get the
|
||||
frame info from the window. If win is nil we create it from the
|
||||
|
|
|
@ -2035,16 +2035,16 @@ static NSColor *shadowCol;
|
|||
[title drawInRect: cellFrame];
|
||||
}
|
||||
|
||||
- (void) _drawText: (NSString*)title inFrame: (NSRect)cellFrame
|
||||
- (void) _drawText: (NSString*)aString inFrame: (NSRect)cellFrame
|
||||
{
|
||||
NSSize titleSize;
|
||||
NSDictionary *attributes;
|
||||
|
||||
if (title == nil)
|
||||
if (aString == nil)
|
||||
return;
|
||||
|
||||
attributes = [self _nonAutoreleasedTypingAttributes];
|
||||
titleSize = [title sizeWithAttributes: attributes];
|
||||
titleSize = [aString sizeWithAttributes: attributes];
|
||||
|
||||
// Determine y position of text
|
||||
|
||||
|
@ -2056,7 +2056,7 @@ static NSColor *shadowCol;
|
|||
cellFrame.origin.y = NSMidY (cellFrame) - titleSize.height/2;
|
||||
cellFrame.size.height = titleSize.height;
|
||||
|
||||
[title drawInRect: cellFrame withAttributes: attributes];
|
||||
[aString drawInRect: cellFrame withAttributes: attributes];
|
||||
RELEASE (attributes);
|
||||
}
|
||||
|
||||
|
|
|
@ -203,18 +203,18 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
|
|||
[self addCursorRect: _bounds cursor: _cursor];
|
||||
}
|
||||
|
||||
- (void) scrollToPoint: (NSPoint)point
|
||||
- (void) scrollToPoint: (NSPoint)aPoint
|
||||
{
|
||||
[self setBoundsOrigin: [self constrainScrollPoint: point]];
|
||||
[self setBoundsOrigin: [self constrainScrollPoint: aPoint]];
|
||||
}
|
||||
|
||||
- (void) setBoundsOrigin: (NSPoint)point
|
||||
- (void) setBoundsOrigin: (NSPoint)aPoint
|
||||
{
|
||||
NSRect originalBounds = _bounds;
|
||||
NSRect newBounds = originalBounds;
|
||||
NSRect intersection;
|
||||
|
||||
newBounds.origin = point;
|
||||
newBounds.origin = aPoint;
|
||||
|
||||
if (NSEqualPoints (originalBounds.origin, newBounds.origin))
|
||||
{
|
||||
|
@ -354,8 +354,8 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
|
|||
/* ?? TODO: Understand the following code - and add explanatory comment */
|
||||
if ([NSView focusView] == _documentView)
|
||||
{
|
||||
PStranslate (NSMinX (originalBounds) - point.x,
|
||||
NSMinY (originalBounds) - point.y);
|
||||
PStranslate (NSMinX (originalBounds) - aPoint.x,
|
||||
NSMinY (originalBounds) - aPoint.y);
|
||||
}
|
||||
|
||||
[_super_view reflectScrolledClipView: self];
|
||||
|
|
|
@ -182,9 +182,9 @@
|
|||
// private; called during nib load.
|
||||
// we do not retain the window, since it should
|
||||
// already have a retain from the nib.
|
||||
- (void)setWindow:(NSWindow *)window
|
||||
- (void)setWindow:(NSWindow *)aWindow
|
||||
{
|
||||
_window = window;
|
||||
_window = aWindow;
|
||||
}
|
||||
|
||||
//FIXME: In the later specification this method has a different return type!!
|
||||
|
|
|
@ -203,14 +203,14 @@ setNSFont(NSString* key, NSFont* font)
|
|||
|
||||
/* Setting the preferred user fonts*/
|
||||
|
||||
+ (void) setUserFixedPitchFont: (NSFont*)font
|
||||
+ (void) setUserFixedPitchFont: (NSFont*)aFont
|
||||
{
|
||||
setNSFont (@"NSUserFixedPitchFont", font);
|
||||
setNSFont (@"NSUserFixedPitchFont", aFont);
|
||||
}
|
||||
|
||||
+ (void) setUserFont: (NSFont*)font
|
||||
+ (void) setUserFont: (NSFont*)aFont
|
||||
{
|
||||
setNSFont (@"NSUserFont", font);
|
||||
setNSFont (@"NSUserFont", aFont);
|
||||
}
|
||||
|
||||
+ (void)setPreferredFontNames:(NSArray *)fontNames
|
||||
|
@ -374,14 +374,14 @@ setNSFont(NSString* key, NSFont* font)
|
|||
return 12.0;
|
||||
}
|
||||
|
||||
+ (NSFont*) fontWithName: (NSString*)name
|
||||
+ (NSFont*) fontWithName: (NSString*)aFontName
|
||||
matrix: (const float*)fontMatrix
|
||||
{
|
||||
return AUTORELEASE([[NSFontClass alloc] initWithName: name
|
||||
return AUTORELEASE([[NSFontClass alloc] initWithName: aFontName
|
||||
matrix: fontMatrix]);
|
||||
}
|
||||
|
||||
+ (NSFont*) fontWithName: (NSString*)name
|
||||
+ (NSFont*) fontWithName: (NSString*)aFontName
|
||||
size: (float)fontSize
|
||||
{
|
||||
NSFont*font;
|
||||
|
@ -398,14 +398,14 @@ setNSFont(NSString* key, NSFont* font)
|
|||
fontMatrix[0] = fontSize;
|
||||
fontMatrix[3] = fontSize;
|
||||
|
||||
font = [self fontWithName: name matrix: fontMatrix];
|
||||
font = [self fontWithName: aFontName matrix: fontMatrix];
|
||||
font->matrixExplicitlySet = NO;
|
||||
return font;
|
||||
}
|
||||
|
||||
+ (void) useFont: (NSString*)name
|
||||
+ (void) useFont: (NSString*)aFontName
|
||||
{
|
||||
[GSCurrentContext() useFont: name];
|
||||
[GSCurrentContext() useFont: aFontName];
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -787,9 +787,9 @@ static Class fontPanelClass = Nil;
|
|||
//
|
||||
// Examining a font
|
||||
//
|
||||
- (NSFontTraitMask) traitsOfFont: (NSFont*)fontObject
|
||||
- (NSFontTraitMask) traitsOfFont: (NSFont*)aFont
|
||||
{
|
||||
return [[fontObject fontInfo] traits];
|
||||
return [[aFont fontInfo] traits];
|
||||
}
|
||||
|
||||
- (int) weightOfFont: (NSFont*)fontObject
|
||||
|
|
|
@ -66,13 +66,15 @@ static inline void _setFloatValue (NSTextField *field, float size)
|
|||
|
||||
NSText *sizeFieldText = nil;
|
||||
|
||||
/* Implemented in NSBrowser */
|
||||
@interface GSBrowserTitleCell : NSTextFieldCell
|
||||
@end
|
||||
|
||||
float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0,
|
||||
14.0, 16.0, 18.0, 24.0, 36.0, 48.0, 64.0};
|
||||
|
||||
/* Implemented in NSBrowser */
|
||||
@interface GSBrowserTitleCell : NSTextFieldCell
|
||||
{
|
||||
}
|
||||
@end
|
||||
|
||||
@interface NSFontPanel (Private)
|
||||
- (NSFont*) _fontForSelection: (NSFont*) fontObject;
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ static NSColor *shadowCol;
|
|||
}
|
||||
}
|
||||
|
||||
- (float)titleWidth: (NSSize)size
|
||||
- (float)titleWidth: (NSSize)aSize
|
||||
{
|
||||
if (_formcell_auto_title_width == NO)
|
||||
return _displayedTitleWidth;
|
||||
|
@ -222,10 +222,10 @@ static NSColor *shadowCol;
|
|||
{
|
||||
NSSize titleSize = [_titleCell cellSize];
|
||||
|
||||
if (size.width > titleSize.width)
|
||||
if (aSize.width > titleSize.width)
|
||||
return titleSize.width;
|
||||
else
|
||||
return size.width;
|
||||
return aSize.width;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ NSGraphicsContext *GSCurrentContext()
|
|||
<p>In addition, this class provides methods to perform the actual
|
||||
drawing. As a convenience, you can also access these through various
|
||||
function interfaces. One is a Display Postscript interface using PS
|
||||
and DPS opeterations. Another is a Quartz interface (not yet written).
|
||||
and DPS operations. Another is a Quartz interface (not yet written).
|
||||
</p>
|
||||
|
||||
</unit> */
|
||||
|
@ -1079,7 +1079,7 @@ NSGraphicsContext *GSCurrentContext()
|
|||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
- (void) DPSarct: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)r;
|
||||
- (void) DPSarct: (float)x1 : (float)y1 : (float)x2 : (float)y2 : (float)r
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
|
|
@ -109,10 +109,6 @@
|
|||
@end
|
||||
|
||||
@implementation NSHelpManager
|
||||
{
|
||||
@private
|
||||
NSMapTable* contextHelpTopics;
|
||||
}
|
||||
|
||||
static NSHelpManager *_gnu_sharedHelpManager = nil;
|
||||
static BOOL _gnu_contextHelpActive = NO;
|
||||
|
|
|
@ -454,11 +454,11 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
return copy;
|
||||
}
|
||||
|
||||
- (BOOL) setName: (NSString *)string
|
||||
- (BOOL) setName: (NSString *)aName
|
||||
{
|
||||
BOOL retained = NO;
|
||||
|
||||
if (!string || [nameDict objectForKey: string])
|
||||
if (!aName || [nameDict objectForKey: aName])
|
||||
return NO;
|
||||
|
||||
if (_name && self == [nameDict objectForKey: _name])
|
||||
|
@ -470,7 +470,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
[nameDict removeObjectForKey: _name];
|
||||
}
|
||||
|
||||
ASSIGN(_name, string);
|
||||
ASSIGN(_name, aName);
|
||||
|
||||
[nameDict setObject: self forKey: _name];
|
||||
if (retained)
|
||||
|
|
|
@ -1232,13 +1232,13 @@ NSRunInformationalAlertPanel(
|
|||
|
||||
|
||||
void
|
||||
NSReleaseAlertPanel(id alertPanel)
|
||||
NSReleaseAlertPanel(id panel)
|
||||
{
|
||||
if ((alertPanel != standardAlertPanel)
|
||||
&& (alertPanel != informationalAlertPanel)
|
||||
&& (alertPanel != criticalAlertPanel))
|
||||
if ((panel != standardAlertPanel)
|
||||
&& (panel != informationalAlertPanel)
|
||||
&& (panel != criticalAlertPanel))
|
||||
{
|
||||
RELEASE(alertPanel);
|
||||
RELEASE(panel);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -485,7 +485,7 @@ static NSMutableDictionary *units = nil;
|
|||
}
|
||||
}
|
||||
|
||||
- (void) drawHashMarksAndLabelsInRect: (NSRect)drawRect
|
||||
- (void) drawHashMarksAndLabelsInRect: (NSRect)aRect
|
||||
{
|
||||
NSGraphicsContext *ctxt = GSCurrentContext();
|
||||
NSFont *font;
|
||||
|
@ -526,7 +526,7 @@ static NSMutableDictionary *units = nil;
|
|||
{
|
||||
baseLineRect.origin.y = baselineLocation;
|
||||
baseLineRect.size.height = 1;
|
||||
baseLineRect = NSIntersectionRect(baseLineRect, drawRect);
|
||||
baseLineRect = NSIntersectionRect(baseLineRect, aRect);
|
||||
firstVisibleLocation = NSMinX(baseLineRect);
|
||||
visibleLength = NSWidth(baseLineRect);
|
||||
}
|
||||
|
@ -534,7 +534,7 @@ static NSMutableDictionary *units = nil;
|
|||
{
|
||||
baseLineRect.origin.x = baselineLocation;
|
||||
baseLineRect.size.width = 1;
|
||||
baseLineRect = NSIntersectionRect(baseLineRect, drawRect);
|
||||
baseLineRect = NSIntersectionRect(baseLineRect, aRect);
|
||||
firstVisibleLocation = NSMinY(baseLineRect);
|
||||
visibleLength = NSHeight(baseLineRect);
|
||||
}
|
||||
|
@ -625,10 +625,10 @@ static NSMutableDictionary *units = nil;
|
|||
_cacheIsValid = NO;
|
||||
}
|
||||
|
||||
- (void) setScrollView: (NSScrollView *)sView
|
||||
- (void) setScrollView: (NSScrollView *)scrollView
|
||||
{
|
||||
/* We do NOT retain the scrollView; the scrollView is retaining us. */
|
||||
_scrollView = sView;
|
||||
_scrollView = scrollView;
|
||||
}
|
||||
|
||||
- (NSScrollView *) scrollView
|
||||
|
|
|
@ -65,9 +65,9 @@
|
|||
return _maxValue;
|
||||
}
|
||||
|
||||
- (void) setMaxValue: (double)newMaxValue
|
||||
- (void) setMaxValue: (double)maxValue
|
||||
{
|
||||
_maxValue = newMaxValue;
|
||||
_maxValue = maxValue;
|
||||
}
|
||||
|
||||
- (double) minValue
|
||||
|
@ -75,9 +75,9 @@
|
|||
return _minValue;
|
||||
}
|
||||
|
||||
- (void) setMinValue: (double)newMinValue
|
||||
- (void) setMinValue: (double)minValue
|
||||
{
|
||||
_minValue = newMinValue;
|
||||
_minValue = minValue;
|
||||
}
|
||||
|
||||
- (double) increment
|
||||
|
@ -97,9 +97,9 @@
|
|||
return _autorepeat;
|
||||
}
|
||||
|
||||
- (void)setAutorepeat: (BOOL)newAutorepeat
|
||||
- (void)setAutorepeat: (BOOL)autorepeat
|
||||
{
|
||||
_autorepeat = newAutorepeat;
|
||||
_autorepeat = autorepeat;
|
||||
}
|
||||
|
||||
- (BOOL)valueWraps
|
||||
|
@ -107,9 +107,9 @@
|
|||
return _valueWraps;
|
||||
}
|
||||
|
||||
- (void)setValueWraps: (BOOL)newValueWraps
|
||||
- (void)setValueWraps: (BOOL)valueWraps
|
||||
{
|
||||
_valueWraps = newValueWraps;
|
||||
_valueWraps = valueWraps;
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
|
|
|
@ -184,9 +184,9 @@ static Class concrete;
|
|||
[self replaceCharactersInRange: aRange withString: aString];
|
||||
}
|
||||
|
||||
- (void) setText: (NSString*)string
|
||||
- (void) setText: (NSString*)aString
|
||||
{
|
||||
[self setString: string];
|
||||
[self setString: aString];
|
||||
}
|
||||
|
||||
- (NSString*) text
|
||||
|
|
Loading…
Reference in a new issue