1994689c1Smrg<sect1 id="SmeLine_Object">
2994689c1Smrg<title>SmeLine Object</title>
3994689c1Smrg<para>
4994689c1Smrg<!-- .LP -->
5994689c1Smrg<!-- .XS -->
6994689c1Smrg<!-- 	SmeLine Object -->
7994689c1Smrg<!-- .XE -->
85ec34c4cSmrg<indexterm significance="preferred"><primary>SmeLine object</primary></indexterm>
9994689c1Smrg<!-- .sp -->
10994689c1Smrg<literallayout class="monospaced">
11994689c1Smrg<!-- .TA 2.0i -->
12994689c1Smrg<!-- .ta 2.0i -->
13994689c1SmrgApplication Header file	&lt;X11/Xaw/SmeLine.h&gt;
145ec34c4cSmrg<indexterm><primary>SmeLine.h</primary></indexterm>
15994689c1SmrgClass Header file	&lt;X11/Xaw/SmeLineP.h&gt;
165ec34c4cSmrg<indexterm><primary>SmeLineP.h</primary></indexterm>
17994689c1SmrgClass		smeLineObjectClass
185ec34c4cSmrg<indexterm><primary>smeLineObjectClass</primary></indexterm>
19994689c1SmrgClass Name	SmeLine
205ec34c4cSmrg<indexterm><primary>SmeLine object</primary><secondary>class name</secondary></indexterm>
21994689c1SmrgSuperclass	Sme
22994689c1Smrg</literallayout>
23994689c1Smrg<!-- .sp -->
24994689c1Smrg</para>
25994689c1Smrg<para>
26994689c1Smrg<!-- .LP -->
27994689c1SmrgThe SmeLine object is used to add a horizontal line or menu separator to
28994689c1Smrga menu.  Since each SmeLine is an independent object, the application
29994689c1Smrgis able to change the color, height, and other attributes of the SmeLine
30994689c1Smrgobjects on an entry by entry basis.  This object is not selectable, and
31994689c1Smrgwill not highlight when the pointer cursor is over it.
32994689c1Smrg</para>
33421c997bSmrg<sect2 id='SmeLine::Resources'>
34994689c1Smrg<title>Resources</title>
355ec34c4cSmrg<indexterm><primary>SmeLine object</primary><secondary>resources</secondary></indexterm>
36994689c1Smrg<para>
37994689c1Smrg<!-- .LP -->
38994689c1SmrgThe resources associated with the SmeLine object are defined in this section,
39994689c1Smrgand affect only the single menu entry specified by this object.
40994689c1Smrg<informaltable>
41994689c1Smrg  <tgroup cols='5' align='center'>
42994689c1Smrg  <colspec colname='c1'/>
43994689c1Smrg  <colspec colname='c2'/>
44994689c1Smrg  <colspec colname='c3'/>
45994689c1Smrg  <colspec colname='c4'/>
46994689c1Smrg  <colspec colname='c5'/>
47994689c1Smrg  <thead>
48994689c1Smrg    <row>
49994689c1Smrg      <entry>Name</entry>
50994689c1Smrg      <entry>Class</entry>
51994689c1Smrg      <entry>Type</entry>
52994689c1Smrg      <entry>Notes</entry>
53994689c1Smrg      <entry>Default Value</entry>
54994689c1Smrg    </row>
55994689c1Smrg  </thead>
56994689c1Smrg  <tbody>
57994689c1Smrg    <row>
58994689c1Smrg      <entry>destroyCallback</entry>
59994689c1Smrg      <entry>Callback</entry>
60994689c1Smrg      <entry>XtCallbackList</entry>
61994689c1Smrg      <entry></entry>
62994689c1Smrg      <entry>NULL</entry>
63994689c1Smrg    </row>
64994689c1Smrg    <row>
65994689c1Smrg      <entry>foreground</entry>
66994689c1Smrg      <entry>Foreground</entry>
67994689c1Smrg      <entry>Pixel</entry>
68994689c1Smrg      <entry></entry>
69994689c1Smrg      <entry>XtDefaultForeground</entry>
70994689c1Smrg    </row>
71994689c1Smrg    <row>
72994689c1Smrg      <entry>height</entry>
73994689c1Smrg      <entry>Height</entry>
74994689c1Smrg      <entry>Dimension</entry>
75994689c1Smrg      <entry></entry>
76994689c1Smrg      <entry><function>lineWidth</function></entry>
77994689c1Smrg    </row>
78994689c1Smrg    <row>
79994689c1Smrg      <entry>international</entry>
80994689c1Smrg      <entry>International</entry>
81994689c1Smrg      <entry>Boolean</entry>
82994689c1Smrg      <entry>C</entry>
83994689c1Smrg      <entry>False</entry>
84994689c1Smrg    </row>
85994689c1Smrg    <row>
86994689c1Smrg      <entry>lineWidth</entry>
87994689c1Smrg      <entry>LineWidth</entry>
88994689c1Smrg      <entry>Dimension</entry>
89994689c1Smrg      <entry></entry>
90994689c1Smrg      <entry>1</entry>
91994689c1Smrg    </row>
92994689c1Smrg    <row>
93994689c1Smrg      <entry>stipple</entry>
94994689c1Smrg      <entry>Stipple</entry>
95994689c1Smrg      <entry>Pixmap</entry>
96994689c1Smrg      <entry></entry>
97994689c1Smrg      <entry>XtUnspecifiedPixmap</entry>
98994689c1Smrg    </row>
99994689c1Smrg    <row>
100994689c1Smrg      <entry>width</entry>
101994689c1Smrg      <entry>Width</entry>
102994689c1Smrg      <entry>Dimension</entry>
103994689c1Smrg      <entry></entry>
104994689c1Smrg      <entry>1</entry>
105994689c1Smrg    </row>
106994689c1Smrg  </tbody>
107994689c1Smrg  </tgroup>
108994689c1Smrg</informaltable>
109994689c1Smrg<!-- .Dc -->
110994689c1Smrg<variablelist>
111994689c1Smrg  <varlistentry>
112994689c1Smrg    <term>foreground</term>
113994689c1Smrg    <listitem>
114994689c1Smrg      <para>
115994689c1SmrgA pixel value which indexes the SimpleMenu's colormap to derive the
116994689c1Smrgforeground color used to draw the separator line.
117994689c1Smrg<!-- .Hw -->
118994689c1SmrgKeep in mind that the SimpleMenu widget will force all menu items to
119994689c1Smrgbe the width of the widest entry.  Thus, setting the width is generally not
120994689c1Smrgvery important.
121994689c1Smrg<!-- .Ix -->
122994689c1Smrg      </para>
123994689c1Smrg    </listitem>
124994689c1Smrg  </varlistentry>
125994689c1Smrg  <varlistentry>
126994689c1Smrg    <term>lineWidth</term>
127994689c1Smrg    <listitem>
128994689c1Smrg      <para>
129994689c1SmrgThe width of the horizontal line that is to be displayed.
130994689c1Smrg      </para>
131994689c1Smrg    </listitem>
132994689c1Smrg  </varlistentry>
133994689c1Smrg
134994689c1Smrg  <varlistentry>
135994689c1Smrg    <term>stipple</term>
136994689c1Smrg    <listitem>
137994689c1Smrg      <para>
138994689c1SmrgIf a bitmap is specified for this resource, the line will be stippled
139994689c1Smrgthrough it.  This allows the menu separator to be rendered as something
140994689c1Smrgmore exciting than just a line.  For instance, if you define a stipple
141994689c1Smrgthat is a chain link, then your menu separators will look like chains.
142994689c1Smrg      </para>
143994689c1Smrg    </listitem>
144994689c1Smrg  </varlistentry>
145994689c1Smrg</variablelist>
146994689c1Smrg</para>
147994689c1Smrg</sect2>
148994689c1Smrg</sect1>
149