/usr/share/doc/grads/html/gradcomdsetdropmenu.html is in grads 2:2.0.1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | <!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.-->
<html>
<head>
<title>GrADS Command: set dropmenu</title>
</head>
<body bgcolor="e0f0ff" text="#000000">
<h2><b>set dropmenu</b></h2>
<p>
Sets up the color characteristics of a dropmenu widget. The syntax is:
<p>
<code>set dropmenu <i>fc bc oc1 oc2 tfc tbc toc1 toc2 bfc bbc boc1 boc2 soc1 soc2 thick</i></code>
<p>
where:
<p>
<ul>
<code><i>fc </i></code>
menu base text color<br>
<code><i>bc </i></code>
menu base face color<br>
<code><i>oc1 </i></code>
dark color of shadow outline for menu base<br>
<code><i>oc2 </i></code>
bright color of shadow outline for menu base<br>
<code><i>tfc </i></code>
menu base text color when selected with a mouse click<br>
<code><i>tbc </i></code>
menu base face color when selected with a mouse click<br>
<code><i>toc1 </i></code>
dark color of shadow outline for menu base when selected<br>
<code><i>toc2 </i></code>
bright color of shadow outline for menu base when selected<br>
<code><i>bfc </i></code>
menu list text color<br>
<code><i>bbc </i></code>
menu list face color<br>
<code><i>boc1 </i></code>
dark color of shadow outline for menu list<br>
<code><i>boc2 </i></code>
bright color of shadow outline for menu list<br>
<code><i>soc1 </i></code>
dark color of shadow outline for highlighted menu item<br>
<code><i>soc2 </i></code>
bright color of shadow outline for highlighted menu item<br>
<code><i>thick </i></code>
thickness of the shadow outline<br>
</ul>
<p>
<h3>Usage Notes</h3>
<ol>
<li><code>set dropmenu</code> generally precedes the <a
href="gradcomddrawdropmenu.html"><code>draw dropmenu</code></a> command.
<p>
<li>See the section of the User's Guide on <a
href="script.html#widgets">widgets</a> for more information on using
dropmenus.
</ol>
<p>
<h3>Example</h3>
<p>
<pre>
set rgb 90 100 100 100
set rgb 91 50 50 50
set rgb 92 200 200 200
set dropmenu 1 90 91 92 0 90 92 91 1 90 91 92 92 91 6
draw dropmenu 1 1 8 1.5 0.5 Menu Base | Menu Item #1 | Menu Item #2
</pre>
</body>
</html>
|