mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 19:31:18 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12323 72102866-910b-0410-8b05-ffd578937521
69 lines
2.3 KiB
HTML
69 lines
2.3 KiB
HTML
<html><head>
|
|
<title>NSTableColumn</title>
|
|
</head>
|
|
<body>
|
|
<a href ="Gui.html">[Up] </a>
|
|
<h1>NSTableColumn</h1>
|
|
<h3>Authors </h3>
|
|
<dl>
|
|
<dt>Nicola Pero
|
|
<dd>
|
|
</dl>
|
|
<p>Copyright: 1999 Free Software Foundation, Inc.</p>
|
|
<h1>Contents </h1>
|
|
<ul>
|
|
<li ><a href ="#cont-0">Class Description</a>
|
|
<ul>
|
|
<li ><a href ="#cont-1">The Column Identifier</a>
|
|
<li ><a href ="#cont-2">
|
|
Information Stored in an NSTableColumn Object
|
|
</a>
|
|
</ul>
|
|
</ul>
|
|
<h2><a name ="cont-0">Class Description</a></h2>
|
|
<p>
|
|
|
|
NSTableColumn objects represent columns in
|
|
NSTableViews.
|
|
</p>
|
|
<h3><a name ="cont-1">The Column Identifier</a></h3>
|
|
<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>
|
|
<h3><a name ="cont-2">
|
|
Information Stored in an NSTableColumn Object
|
|
</a></h3>
|
|
<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>
|
|
</body>
|
|
|
|
</html>
|