[89] | 1 | |
---|
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 4 | |
---|
| 5 | <!-- Generated by IDLdoc 2.0 --> |
---|
| 6 | |
---|
| 7 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
| 8 | <head> |
---|
[104] | 9 | <title>cw_slider_pm.pro (SAXO Documentation)</title> |
---|
[89] | 10 | |
---|
| 11 | |
---|
[191] | 12 | <link rel="stylesheet" type="text/css" media="all" href="./../../../main_files.css" /> |
---|
| 13 | <link rel="stylesheet" type="text/css" media="print" href="./../../../main_files_print.css" /> |
---|
[89] | 14 | |
---|
| 15 | |
---|
| 16 | <script type="text/javascript"> |
---|
| 17 | function setTitle() { |
---|
[104] | 18 | parent.document.title="cw_slider_pm.pro (SAXO Documentation)"; |
---|
[89] | 19 | } |
---|
| 20 | </script> |
---|
| 21 | </head> |
---|
| 22 | |
---|
| 23 | <body onload="setTitle();"> |
---|
| 24 | |
---|
| 25 | <div id="navbar_title"> |
---|
[104] | 26 | <h1>SAXO Documentation</h1> |
---|
[89] | 27 | </div> |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | <div id="main_navbar"> |
---|
| 31 | |
---|
| 32 | <table cellspacing="0"> |
---|
| 33 | <tr> |
---|
| 34 | |
---|
[189] | 35 | <td><a href="./../../../overview.html" title="Overview of library">Overview</a></td> |
---|
[89] | 36 | |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | <td >Directory</td> |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | |
---|
[189] | 43 | <td><a href="./../../../idldoc-categories.html" title="Browse library by category">Categories</a></td> |
---|
[89] | 44 | |
---|
| 45 | |
---|
| 46 | |
---|
[189] | 47 | <td><a href="./../../../idldoc-index.html" title="Index of files, routines, and parameters">Index</a></td> |
---|
[89] | 48 | |
---|
| 49 | |
---|
| 50 | |
---|
[189] | 51 | <td><a href="./../../../search-page.html" title="Search library">Search</a></td> |
---|
[89] | 52 | |
---|
| 53 | |
---|
| 54 | <td id="selected">File</td> |
---|
| 55 | |
---|
| 56 | |
---|
[189] | 57 | <td><a href="../../../../../ToBeReviewed/WIDGET/COMPOUND_WIDGET//cw_slider_pm.pro" title="Source code of a file">Source</a></td> |
---|
[89] | 58 | |
---|
| 59 | |
---|
| 60 | |
---|
[189] | 61 | <td><a href="./../../../idldoc-help.html" title="Help on IDLdoc">Help</a></td> |
---|
[89] | 62 | |
---|
| 63 | |
---|
| 64 | <td >Etc</td> |
---|
| 65 | |
---|
| 66 | <td id="flexible">Developer documentation</td> |
---|
| 67 | </tr> |
---|
| 68 | </table> |
---|
| 69 | |
---|
| 70 | </div> |
---|
| 71 | |
---|
| 72 | <div id="secondary_navbar"> |
---|
| 73 | |
---|
[189] | 74 | <a href="cw_slide_slice.html"><<prev file</a> | <a href="cw_specifie.html">next file >></a> <a href="cw_slider_pm.html" target="_TOP">view single page</a> | <a href="./../../../index.html" target="_TOP">view frames</a> summary: fields | <a href="#routine_summary">routine</a> details: <a href="#routine_details">routine</a> |
---|
[89] | 75 | |
---|
| 76 | </div> |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | <div id="container"> |
---|
| 80 | |
---|
[189] | 81 | <h1 class="directory"><a href="directory-overview.html">ToBeReviewed/WIDGET/COMPOUND_WIDGET/</a></h1> |
---|
[89] | 82 | <h2 class="pro_file">cw_slider_pm.pro</h2> |
---|
| 83 | |
---|
| 84 | <div id="file_attr"> |
---|
| 85 | <dl> |
---|
| 86 | </dl> |
---|
| 87 | </div> |
---|
| 88 | |
---|
[151] | 89 | <div id="file_comments"> |
---|
[157] | 90 | |
---|
| 91 | |
---|
| 92 | |
---|
| 93 | |
---|
| 94 | |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | |
---|
[321] | 101 | Like WIDGET_SLIDER but here, there are 2 buttons + and - to move the widget from +/- 1 |
---|
[151] | 102 | </div> |
---|
[89] | 103 | |
---|
| 104 | |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | |
---|
| 111 | <div id="routine_summary"> |
---|
| 112 | <h2>Routine summary</h2> |
---|
| 113 | |
---|
| 114 | <dl> |
---|
| 115 | |
---|
| 116 | <dt><p><a href="#_decvalue"><span class="result">result = </span>decvalue(<span class="result">value</span>)</a></p><dt> |
---|
[234] | 117 | <dd> </dd> |
---|
[89] | 118 | |
---|
| 119 | <dt><p><a href="#_decind"><span class="result">result = </span>decind(<span class="result">value</span>)</a></p><dt> |
---|
[234] | 120 | <dd> </dd> |
---|
[89] | 121 | |
---|
| 122 | <dt><p><a href="#_cw_slider_pm_set_value">cw_slider_pm_set_value<span class="result">, id, value</span></a></p><dt> |
---|
[234] | 123 | <dd> </dd> |
---|
[89] | 124 | |
---|
| 125 | <dt><p><a href="#_cw_slider_pm_get_value"><span class="result">result = </span>cw_slider_pm_get_value(<span class="result">id</span>)</a></p><dt> |
---|
[234] | 126 | <dd> </dd> |
---|
[89] | 127 | |
---|
| 128 | <dt><p><a href="#_cw_slider_pm_event"><span class="result">result = </span>cw_slider_pm_event(<span class="result">event</span>)</a></p><dt> |
---|
[234] | 129 | <dd> </dd> |
---|
[89] | 130 | |
---|
[290] | 131 | <dt><p><a href="#_cw_slider_pm"><span class="result">result = </span>cw_slider_pm(<span class="result">parent</span>, MAXIMUM=<span class="result">MAXIMUM</span>, MINIMUM=<span class="result">MINIMUM</span>, STRMINLEN=<span class="result">STRMINLEN</span>, VALUE=<span class="result">VALUE</span>, UVALUE=<span class="result">UVALUE</span>, UNAME=<span class="result">UNAME</span>, TITLE=<span class="result">TITLE</span>, _EXTRA=<span class="result">_EXTRA</span>)</a></p><dt> |
---|
[151] | 132 | <dd> </dd> |
---|
[89] | 133 | |
---|
| 134 | </dl> |
---|
| 135 | </div> |
---|
| 136 | |
---|
| 137 | |
---|
| 138 | <div id="routine_details"> |
---|
| 139 | |
---|
| 140 | |
---|
| 141 | <div class="routine_details" id="_decvalue"> |
---|
| 142 | |
---|
[157] | 143 | <h2><a class="top" href="#container">top</a>decvalue <span class="categories"> |
---|
| 144 | Compound widget |
---|
| 145 | </span></h2> |
---|
[89] | 146 | |
---|
| 147 | <p class="header"> |
---|
| 148 | <span class="result">result = </span>decvalue(<span class="result"><a href="#_decvalue_param_value">value</a></span>)</p> |
---|
| 149 | |
---|
[234] | 150 | <div class="comments"> |
---|
| 151 | </div> |
---|
[89] | 152 | |
---|
[157] | 153 | <h3>Return value</h3><div class="preformat"> |
---|
[234] | 154 | </div> |
---|
[89] | 155 | |
---|
| 156 | |
---|
| 157 | <h3>Parameters</h3> |
---|
| 158 | |
---|
| 159 | |
---|
| 160 | <h4 id="_decvalue_param_value">value |
---|
| 161 | |
---|
| 162 | |
---|
| 163 | |
---|
| 164 | |
---|
| 165 | |
---|
| 166 | |
---|
| 167 | |
---|
| 168 | |
---|
| 169 | </h4> |
---|
| 170 | |
---|
[157] | 171 | <div class="comments"> |
---|
| 172 | It is the default tick mark value (a floating-point number). |
---|
| 173 | </div> |
---|
[89] | 174 | |
---|
| 175 | |
---|
| 176 | |
---|
| 177 | |
---|
| 178 | |
---|
| 179 | |
---|
[157] | 180 | <h3>Examples</h3><div class="preformat"> |
---|
[234] | 181 | </div> |
---|
[157] | 182 | <h3>Version history</h3> |
---|
[89] | 183 | |
---|
[234] | 184 | <h4>Version</h4><div class="preformat"> |
---|
[338] | 185 | $Id: cw_slider_pm.pro 327 2007-12-13 16:22:35Z pinsard $ |
---|
| 186 | </div> |
---|
[157] | 187 | <h4>History</h4><div class="preformat"> |
---|
[234] | 188 | </div> |
---|
[89] | 189 | |
---|
| 190 | |
---|
[157] | 191 | <h3>Known issues</h3> |
---|
[89] | 192 | |
---|
| 193 | |
---|
| 194 | |
---|
[157] | 195 | <h4>Restrictions</h4><div class="preformat"> |
---|
[234] | 196 | </div> |
---|
[89] | 197 | |
---|
[157] | 198 | <h3>Other attributes</h3> |
---|
[89] | 199 | |
---|
| 200 | |
---|
[157] | 201 | <h4>Uses routines</h4><div class="preformat"> |
---|
[234] | 202 | </div> |
---|
[89] | 203 | |
---|
| 204 | |
---|
| 205 | |
---|
| 206 | |
---|
[163] | 207 | <h3>Statistics</h3> |
---|
| 208 | <table class="statistics"> |
---|
| 209 | <tr><td>McCabe cyclic</td><td> 1</td></tr> |
---|
| 210 | <tr><td>McCabe essential</td><td> 1</td></tr> |
---|
| 211 | <tr><td>McCabe modular design</td><td> 1</td></tr> |
---|
| 212 | </table> |
---|
[89] | 213 | |
---|
| 214 | |
---|
| 215 | </div> |
---|
| 216 | |
---|
| 217 | |
---|
| 218 | <div class="routine_details" id="_decind"> |
---|
| 219 | |
---|
[157] | 220 | <h2><a class="top" href="#container">top</a>decind <span class="categories"> |
---|
| 221 | Compound widget |
---|
| 222 | </span></h2> |
---|
[89] | 223 | |
---|
| 224 | <p class="header"> |
---|
| 225 | <span class="result">result = </span>decind(<span class="result"><a href="#_decind_param_value">value</a></span>)</p> |
---|
| 226 | |
---|
[234] | 227 | <div class="comments"> |
---|
| 228 | </div> |
---|
[89] | 229 | |
---|
[157] | 230 | <h3>Return value</h3><div class="preformat"> |
---|
[234] | 231 | </div> |
---|
[89] | 232 | |
---|
| 233 | |
---|
| 234 | <h3>Parameters</h3> |
---|
| 235 | |
---|
| 236 | |
---|
| 237 | <h4 id="_decind_param_value">value |
---|
| 238 | |
---|
| 239 | |
---|
| 240 | |
---|
| 241 | |
---|
| 242 | |
---|
| 243 | |
---|
| 244 | |
---|
| 245 | |
---|
| 246 | </h4> |
---|
| 247 | |
---|
[157] | 248 | <div class="comments"> |
---|
| 249 | It is the default tick mark value (a floating-point number). |
---|
| 250 | </div> |
---|
[89] | 251 | |
---|
| 252 | |
---|
| 253 | |
---|
| 254 | |
---|
| 255 | |
---|
| 256 | |
---|
[157] | 257 | <h3>Examples</h3><div class="preformat"> |
---|
[234] | 258 | </div> |
---|
[157] | 259 | <h3>Version history</h3> |
---|
[89] | 260 | |
---|
[234] | 261 | <h4>Version</h4><div class="preformat"> |
---|
[338] | 262 | $Id: cw_slider_pm.pro 327 2007-12-13 16:22:35Z pinsard $ |
---|
| 263 | </div> |
---|
[157] | 264 | <h4>History</h4><div class="preformat"> |
---|
[234] | 265 | </div> |
---|
[89] | 266 | |
---|
| 267 | |
---|
[157] | 268 | <h3>Known issues</h3> |
---|
[89] | 269 | |
---|
| 270 | |
---|
| 271 | |
---|
[157] | 272 | <h4>Restrictions</h4><div class="preformat"> |
---|
[234] | 273 | </div> |
---|
[89] | 274 | |
---|
[157] | 275 | <h3>Other attributes</h3> |
---|
[89] | 276 | |
---|
| 277 | |
---|
[157] | 278 | <h4>Uses routines</h4><div class="preformat"> |
---|
[234] | 279 | </div> |
---|
[89] | 280 | |
---|
| 281 | |
---|
| 282 | |
---|
| 283 | |
---|
[163] | 284 | <h3>Statistics</h3> |
---|
| 285 | <table class="statistics"> |
---|
| 286 | <tr><td>McCabe cyclic</td><td> 1</td></tr> |
---|
| 287 | <tr><td>McCabe essential</td><td> 1</td></tr> |
---|
| 288 | <tr><td>McCabe modular design</td><td> 1</td></tr> |
---|
| 289 | </table> |
---|
[89] | 290 | |
---|
| 291 | |
---|
| 292 | </div> |
---|
| 293 | |
---|
| 294 | |
---|
| 295 | <div class="routine_details" id="_cw_slider_pm_set_value"> |
---|
| 296 | |
---|
[157] | 297 | <h2><a class="top" href="#container">top</a>cw_slider_pm_set_value <span class="categories"> |
---|
| 298 | Compound widget |
---|
[234] | 299 | </span></h2> |
---|
[89] | 300 | |
---|
| 301 | <p class="header"> |
---|
| 302 | cw_slider_pm_set_value<span class="result">, <a href="#_cw_slider_pm_set_value_param_id">id</a>, <a href="#_cw_slider_pm_set_value_param_value">value</a></span></p> |
---|
| 303 | |
---|
[234] | 304 | <div class="comments"> |
---|
| 305 | </div> |
---|
[89] | 306 | |
---|
[157] | 307 | <h3>Return value</h3><div class="preformat"> |
---|
[234] | 308 | </div> |
---|
[89] | 309 | |
---|
| 310 | |
---|
| 311 | <h3>Parameters</h3> |
---|
| 312 | |
---|
| 313 | |
---|
| 314 | <h4 id="_cw_slider_pm_set_value_param_id">id |
---|
| 315 | |
---|
| 316 | |
---|
| 317 | |
---|
| 318 | |
---|
| 319 | |
---|
| 320 | |
---|
| 321 | |
---|
| 322 | |
---|
| 323 | </h4> |
---|
| 324 | |
---|
[157] | 325 | <div class="comments"> |
---|
| 326 | </div> |
---|
[89] | 327 | |
---|
| 328 | <h4 id="_cw_slider_pm_set_value_param_value">value |
---|
| 329 | |
---|
| 330 | |
---|
| 331 | |
---|
| 332 | |
---|
| 333 | |
---|
| 334 | |
---|
| 335 | |
---|
| 336 | |
---|
| 337 | </h4> |
---|
| 338 | |
---|
[157] | 339 | <div class="comments"> |
---|
| 340 | It is the default tick mark value (a floating-point number). |
---|
| 341 | </div> |
---|
[89] | 342 | |
---|
| 343 | |
---|
| 344 | |
---|
| 345 | |
---|
| 346 | |
---|
| 347 | |
---|
[157] | 348 | <h3>Examples</h3><div class="preformat"> |
---|
[234] | 349 | </div> |
---|
[157] | 350 | <h3>Version history</h3> |
---|
[89] | 351 | |
---|
[234] | 352 | <h4>Version</h4><div class="preformat"> |
---|
[338] | 353 | $Id: cw_slider_pm.pro 327 2007-12-13 16:22:35Z pinsard $ |
---|
| 354 | </div> |
---|
[157] | 355 | <h4>History</h4><div class="preformat"> |
---|
[234] | 356 | </div> |
---|
[89] | 357 | |
---|
| 358 | |
---|
[157] | 359 | <h3>Known issues</h3> |
---|
[89] | 360 | |
---|
| 361 | |
---|
| 362 | |
---|
[157] | 363 | <h4>Restrictions</h4><div class="preformat"> |
---|
[234] | 364 | </div> |
---|
[89] | 365 | |
---|
[157] | 366 | <h3>Other attributes</h3> |
---|
[89] | 367 | |
---|
| 368 | |
---|
[157] | 369 | <h4>Uses routines</h4><div class="preformat"> |
---|
[234] | 370 | </div> |
---|
[89] | 371 | |
---|
| 372 | |
---|
| 373 | |
---|
| 374 | |
---|
[163] | 375 | <h3>Statistics</h3> |
---|
| 376 | <table class="statistics"> |
---|
| 377 | <tr><td>McCabe cyclic</td><td> 11</td></tr> |
---|
| 378 | <tr><td>McCabe essential</td><td> 1</td></tr> |
---|
| 379 | <tr><td>McCabe modular design</td><td> 1</td></tr> |
---|
| 380 | </table> |
---|
[89] | 381 | |
---|
| 382 | |
---|
| 383 | </div> |
---|
| 384 | |
---|
| 385 | |
---|
| 386 | <div class="routine_details" id="_cw_slider_pm_get_value"> |
---|
| 387 | |
---|
[157] | 388 | <h2><a class="top" href="#container">top</a>cw_slider_pm_get_value <span class="categories"> |
---|
[234] | 389 | Compound widget |
---|
| 390 | </span></h2> |
---|
[89] | 391 | |
---|
| 392 | <p class="header"> |
---|
| 393 | <span class="result">result = </span>cw_slider_pm_get_value(<span class="result"><a href="#_cw_slider_pm_get_value_param_id">id</a></span>)</p> |
---|
| 394 | |
---|
[234] | 395 | <div class="comments"> |
---|
| 396 | </div> |
---|
[89] | 397 | |
---|
[157] | 398 | <h3>Return value</h3><div class="preformat"> |
---|
[234] | 399 | </div> |
---|
[89] | 400 | |
---|
| 401 | |
---|
| 402 | <h3>Parameters</h3> |
---|
| 403 | |
---|
| 404 | |
---|
| 405 | <h4 id="_cw_slider_pm_get_value_param_id">id |
---|
| 406 | |
---|
| 407 | |
---|
| 408 | |
---|
| 409 | |
---|
| 410 | |
---|
| 411 | |
---|
| 412 | |
---|
| 413 | |
---|
| 414 | </h4> |
---|
| 415 | |
---|
[157] | 416 | <div class="comments"> |
---|
| 417 | </div> |
---|
[89] | 418 | |
---|
| 419 | |
---|
| 420 | |
---|
| 421 | |
---|
| 422 | |
---|
| 423 | |
---|
[157] | 424 | <h3>Examples</h3><div class="preformat"> |
---|
[234] | 425 | </div> |
---|
[157] | 426 | <h3>Version history</h3> |
---|
[89] | 427 | |
---|
[234] | 428 | <h4>Version</h4><div class="preformat"> |
---|
[338] | 429 | $Id: cw_slider_pm.pro 327 2007-12-13 16:22:35Z pinsard $ |
---|
| 430 | </div> |
---|
[157] | 431 | <h4>History</h4><div class="preformat"> |
---|
[234] | 432 | </div> |
---|
[89] | 433 | |
---|
| 434 | |
---|
[157] | 435 | <h3>Known issues</h3> |
---|
[89] | 436 | |
---|
| 437 | |
---|
| 438 | |
---|
[157] | 439 | <h4>Restrictions</h4><div class="preformat"> |
---|
[234] | 440 | </div> |
---|
[89] | 441 | |
---|
[157] | 442 | <h3>Other attributes</h3> |
---|
[89] | 443 | |
---|
| 444 | |
---|
[157] | 445 | <h4>Uses routines</h4><div class="preformat"> |
---|
[234] | 446 | </div> |
---|
[89] | 447 | |
---|
| 448 | |
---|
| 449 | |
---|
| 450 | |
---|
[163] | 451 | <h3>Statistics</h3> |
---|
| 452 | <table class="statistics"> |
---|
| 453 | <tr><td>McCabe cyclic</td><td> 1</td></tr> |
---|
| 454 | <tr><td>McCabe essential</td><td> 1</td></tr> |
---|
| 455 | <tr><td>McCabe modular design</td><td> 1</td></tr> |
---|
| 456 | </table> |
---|
[89] | 457 | |
---|
| 458 | |
---|
| 459 | </div> |
---|
| 460 | |
---|
| 461 | |
---|
| 462 | <div class="routine_details" id="_cw_slider_pm_event"> |
---|
| 463 | |
---|
[157] | 464 | <h2><a class="top" href="#container">top</a>cw_slider_pm_event <span class="categories"> |
---|
| 465 | Compound widget |
---|
[234] | 466 | </span></h2> |
---|
[89] | 467 | |
---|
| 468 | <p class="header"> |
---|
| 469 | <span class="result">result = </span>cw_slider_pm_event(<span class="result"><a href="#_cw_slider_pm_event_param_event">event</a></span>)</p> |
---|
| 470 | |
---|
[234] | 471 | <div class="comments"> |
---|
| 472 | </div> |
---|
[89] | 473 | |
---|
[157] | 474 | <h3>Return value</h3><div class="preformat"> |
---|
[234] | 475 | </div> |
---|
[89] | 476 | |
---|
| 477 | |
---|
| 478 | <h3>Parameters</h3> |
---|
| 479 | |
---|
| 480 | |
---|
| 481 | <h4 id="_cw_slider_pm_event_param_event">event |
---|
| 482 | |
---|
| 483 | |
---|
| 484 | |
---|
| 485 | |
---|
| 486 | |
---|
| 487 | |
---|
| 488 | |
---|
| 489 | |
---|
| 490 | </h4> |
---|
| 491 | |
---|
[157] | 492 | <div class="comments"> |
---|
| 493 | </div> |
---|
[89] | 494 | |
---|
| 495 | |
---|
| 496 | |
---|
| 497 | |
---|
| 498 | |
---|
| 499 | |
---|
[157] | 500 | <h3>Examples</h3><div class="preformat"> |
---|
[234] | 501 | </div> |
---|
[157] | 502 | <h3>Version history</h3> |
---|
[89] | 503 | |
---|
[234] | 504 | <h4>Version</h4><div class="preformat"> |
---|
[338] | 505 | $Id: cw_slider_pm.pro 327 2007-12-13 16:22:35Z pinsard $ |
---|
| 506 | </div> |
---|
[157] | 507 | <h4>History</h4><div class="preformat"> |
---|
[234] | 508 | </div> |
---|
[89] | 509 | |
---|
| 510 | |
---|
[157] | 511 | <h3>Known issues</h3> |
---|
[89] | 512 | |
---|
| 513 | |
---|
| 514 | |
---|
[157] | 515 | <h4>Restrictions</h4><div class="preformat"> |
---|
[234] | 516 | </div> |
---|
[89] | 517 | |
---|
[157] | 518 | <h3>Other attributes</h3> |
---|
[89] | 519 | |
---|
| 520 | |
---|
[157] | 521 | <h4>Uses routines</h4><div class="preformat"> |
---|
[234] | 522 | </div> |
---|
[89] | 523 | |
---|
| 524 | |
---|
| 525 | |
---|
| 526 | |
---|
[163] | 527 | <h3>Statistics</h3> |
---|
| 528 | <table class="statistics"> |
---|
| 529 | <tr><td>McCabe cyclic</td><td> 11</td></tr> |
---|
| 530 | <tr><td>McCabe essential</td><td> 1</td></tr> |
---|
| 531 | <tr><td>McCabe modular design</td><td> 1</td></tr> |
---|
| 532 | </table> |
---|
[89] | 533 | |
---|
| 534 | |
---|
| 535 | </div> |
---|
| 536 | |
---|
| 537 | |
---|
| 538 | <div class="routine_details" id="_cw_slider_pm"> |
---|
| 539 | |
---|
[151] | 540 | <h2><a class="top" href="#container">top</a>cw_slider_pm <span class="categories"> |
---|
[157] | 541 | Compound widget |
---|
[234] | 542 | </span></h2> |
---|
[89] | 543 | |
---|
| 544 | <p class="header"> |
---|
[290] | 545 | <span class="result">result = </span>cw_slider_pm(<span class="result"><a href="#_cw_slider_pm_param_parent">parent</a></span>, <a href="#_cw_slider_pm_keyword_MAXIMUM">MAXIMUM</a>=<span class="result">MAXIMUM</span>, <a href="#_cw_slider_pm_keyword_MINIMUM">MINIMUM</a>=<span class="result">MINIMUM</span>, <a href="#_cw_slider_pm_keyword_STRMINLEN">STRMINLEN</a>=<span class="result">STRMINLEN</span>, <a href="#_cw_slider_pm_keyword_VALUE">VALUE</a>=<span class="result">VALUE</span>, <a href="#_cw_slider_pm_keyword_UVALUE">UVALUE</a>=<span class="result">UVALUE</span>, <a href="#_cw_slider_pm_keyword_UNAME">UNAME</a>=<span class="result">UNAME</span>, <a href="#_cw_slider_pm_keyword_TITLE">TITLE</a>=<span class="result">TITLE</span>, <a href="#_cw_slider_pm_keyword__EXTRA">_EXTRA</a>=<span class="result">_EXTRA</span>)</p> |
---|
[89] | 546 | |
---|
[151] | 547 | <div class="comments"> |
---|
| 548 | </div> |
---|
[89] | 549 | |
---|
[151] | 550 | <h3>Return value</h3><div class="preformat"> |
---|
| 551 | The returned value of this function is the widget ID of the |
---|
| 552 | newly-created animation widget. |
---|
| 553 | </div> |
---|
[89] | 554 | |
---|
| 555 | |
---|
| 556 | <h3>Parameters</h3> |
---|
| 557 | |
---|
| 558 | |
---|
| 559 | <h4 id="_cw_slider_pm_param_parent">parent |
---|
[151] | 560 | <span class="attr">in</span> |
---|
[89] | 561 | |
---|
| 562 | |
---|
[151] | 563 | <span class="attr">required</span> |
---|
[89] | 564 | |
---|
| 565 | |
---|
| 566 | |
---|
| 567 | |
---|
| 568 | </h4> |
---|
| 569 | |
---|
[151] | 570 | <div class="comments"> |
---|
| 571 | The widget ID of the parent widget. |
---|
| 572 | </div> |
---|
[89] | 573 | |
---|
| 574 | |
---|
| 575 | |
---|
| 576 | |
---|
| 577 | |
---|
| 578 | |
---|
| 579 | <h3>Keywords</h3> |
---|
| 580 | |
---|
| 581 | <h4 id="_cw_slider_pm_keyword_MAXIMUM">MAXIMUM |
---|
| 582 | |
---|
| 583 | |
---|
| 584 | |
---|
| 585 | |
---|
| 586 | |
---|
| 587 | |
---|
| 588 | |
---|
| 589 | |
---|
| 590 | </h4> |
---|
| 591 | |
---|
[151] | 592 | <div class="comments"> |
---|
[234] | 593 | </div> |
---|
[89] | 594 | |
---|
| 595 | <h4 id="_cw_slider_pm_keyword_MINIMUM">MINIMUM |
---|
| 596 | |
---|
| 597 | |
---|
| 598 | |
---|
| 599 | |
---|
| 600 | |
---|
| 601 | |
---|
| 602 | |
---|
| 603 | |
---|
| 604 | </h4> |
---|
| 605 | |
---|
[151] | 606 | <div class="comments"> |
---|
[234] | 607 | </div> |
---|
[89] | 608 | |
---|
| 609 | <h4 id="_cw_slider_pm_keyword_STRMINLEN">STRMINLEN |
---|
| 610 | |
---|
| 611 | |
---|
| 612 | |
---|
| 613 | |
---|
| 614 | |
---|
| 615 | |
---|
| 616 | |
---|
| 617 | |
---|
| 618 | </h4> |
---|
| 619 | |
---|
[151] | 620 | <div class="comments"> |
---|
| 621 | </div> |
---|
[89] | 622 | |
---|
| 623 | <h4 id="_cw_slider_pm_keyword_VALUE">VALUE |
---|
| 624 | |
---|
| 625 | |
---|
| 626 | |
---|
| 627 | |
---|
| 628 | |
---|
| 629 | |
---|
| 630 | |
---|
| 631 | |
---|
| 632 | </h4> |
---|
| 633 | |
---|
[151] | 634 | <div class="comments"> |
---|
| 635 | </div> |
---|
[89] | 636 | |
---|
| 637 | <h4 id="_cw_slider_pm_keyword_UVALUE">UVALUE |
---|
| 638 | |
---|
| 639 | |
---|
| 640 | |
---|
| 641 | |
---|
| 642 | |
---|
| 643 | |
---|
| 644 | |
---|
| 645 | |
---|
| 646 | </h4> |
---|
| 647 | |
---|
[151] | 648 | <div class="comments"> |
---|
| 649 | The user value to be associated with the widget. |
---|
[234] | 650 | </div> |
---|
[89] | 651 | |
---|
| 652 | <h4 id="_cw_slider_pm_keyword_UNAME">UNAME |
---|
| 653 | |
---|
| 654 | |
---|
| 655 | |
---|
| 656 | |
---|
| 657 | |
---|
| 658 | |
---|
| 659 | |
---|
| 660 | |
---|
| 661 | </h4> |
---|
| 662 | |
---|
[151] | 663 | <div class="comments"> |
---|
| 664 | The user name to be associated with the widget. |
---|
[234] | 665 | </div> |
---|
[89] | 666 | |
---|
[290] | 667 | <h4 id="_cw_slider_pm_keyword_TITLE">TITLE |
---|
[89] | 668 | |
---|
| 669 | |
---|
| 670 | |
---|
| 671 | |
---|
| 672 | |
---|
| 673 | |
---|
| 674 | |
---|
| 675 | |
---|
| 676 | </h4> |
---|
| 677 | |
---|
| 678 | <div class="comments"></div> |
---|
| 679 | |
---|
[234] | 680 | <h4 id="_cw_slider_pm_keyword__EXTRA">_EXTRA |
---|
[89] | 681 | |
---|
| 682 | |
---|
| 683 | |
---|
| 684 | |
---|
| 685 | |
---|
| 686 | |
---|
| 687 | |
---|
| 688 | |
---|
| 689 | </h4> |
---|
| 690 | |
---|
[151] | 691 | <div class="comments"> |
---|
[234] | 692 | Used to pass keywords |
---|
[151] | 693 | </div> |
---|
[89] | 694 | |
---|
| 695 | |
---|
| 696 | |
---|
[151] | 697 | <h3>Examples</h3><div class="preformat"> |
---|
| 698 | See the program provided above (testwid and the associated procedure, testwid_event). |
---|
| 699 | </div> |
---|
| 700 | <h3>Version history</h3> |
---|
[89] | 701 | |
---|
[151] | 702 | <h4>Version</h4><div class="preformat"> |
---|
[338] | 703 | $Id: cw_slider_pm.pro 327 2007-12-13 16:22:35Z pinsard $ |
---|
[151] | 704 | </div> |
---|
[157] | 705 | <h4>History</h4><div class="preformat"> |
---|
| 706 | Sebastien Masson (smasson@lodyc.jussieu.fr) |
---|
| 707 | 5/9/1999 |
---|
| 708 | </div> |
---|
[89] | 709 | |
---|
| 710 | |
---|
[151] | 711 | <h3>Known issues</h3> |
---|
[89] | 712 | |
---|
| 713 | |
---|
[151] | 714 | <h4>Todo items</h4><div class="preformat"> |
---|
| 715 | seb: documenter |
---|
| 716 | </div> |
---|
| 717 | <h4>Restrictions</h4><div class="preformat"> |
---|
| 718 | |
---|
| 719 | Widget Events Returned by the CW_SLIDER_PM Widget |
---|
| 720 | |
---|
| 721 | Slider widgets generate events when the mouse is used to change |
---|
| 722 | their value. The event structure returned by the WIDGET_EVENT |
---|
| 723 | function is defined by the following statement: |
---|
| 724 | |
---|
| 725 | {CW_SLIDER_PM, ID:0L, TOP:0L, HANDLER:0L, VALUE:0L, DRAG:0, OUT:0} |
---|
| 726 | |
---|
| 727 | ID is the widget ID of the button generating the event. TOP is the |
---|
| 728 | widget ID of the top level widget containing ID. |
---|
| 729 | HANDLER contains the widget ID of the widget associated with the |
---|
| 730 | handler routine. |
---|
| 731 | VALUE returns the new value of the slider. |
---|
| 732 | DRAG returns integer 1 if the slider event was generated as part of |
---|
| 733 | a drag operation, or zero if the event was generated when the user |
---|
| 734 | had finished positioning the slider. Note that the slider widget |
---|
| 735 | only generates events during the drag operation if the DRAG keyword |
---|
| 736 | is set, and if the application is running under Motif. When the |
---|
| 737 | DRAG keyword is set, the DRAG field can be used to avoid |
---|
| 738 | computationally expensive operations until the user releases the |
---|
| 739 | slider. |
---|
[234] | 740 | OUT:It is an integer which can take 3 values: |
---|
[151] | 741 | 1 : If we press + when the index is already at the max |
---|
| 742 | Comment: In this case, the index stay at the max |
---|
| 743 | -1: If we press - when the index is already at the min |
---|
| 744 | Comment: In this case, the index stay at the min |
---|
| 745 | 0 : In other cases |
---|
| 746 | |
---|
| 747 | Keywords to WIDGET_CONTROL |
---|
| 748 | |
---|
| 749 | A number of keywords to the WIDGET_CONTROL procedure affect the |
---|
| 750 | behavior of cw_slider_pm widget: GET_VALUE and SET_VALUE. |
---|
| 751 | 1) GET_VALUE |
---|
| 752 | widget_control,wid_id,get_value=resultat |
---|
[234] | 753 | Send back in the result variable a structure of 2 elements whose name |
---|
| 754 | are inspired from keywords we can pass at |
---|
[163] | 755 | widget_control when we use WIDGET_SLIDER: |
---|
[151] | 756 | VALUE:the value setting of the widget |
---|
| 757 | SLIDER_MIN_MAX: a 2 elements array: The minimum and the |
---|
| 758 | maximum value of the range encompassed by the slider |
---|
| 759 | 2) SET_VALUE |
---|
| 760 | widget_control,wid_id,set_value=impose |
---|
[234] | 761 | Allows to modify the state of the combobox like we can do it for |
---|
| 762 | WIDGET_COMBOBOX. May impose: |
---|
[163] | 763 | a) a integer: give the new position of the slider. |
---|
[234] | 764 | b) A structure which can have for elements (from 1 to 3): |
---|
[151] | 765 | VALUE: an integer which give the new position of the slider |
---|
| 766 | SLIDER_MIN:Set to a new minimum value for the specified |
---|
| 767 | slider widget. |
---|
| 768 | SLIDER_MAX:Set to a new minimum value for the specified |
---|
| 769 | slider widget. |
---|
| 770 | |
---|
| 771 | </div> |
---|
[89] | 772 | |
---|
| 773 | |
---|
| 774 | |
---|
| 775 | |
---|
| 776 | |
---|
| 777 | |
---|
| 778 | |
---|
| 779 | |
---|
| 780 | |
---|
[163] | 781 | <h3>Statistics</h3> |
---|
| 782 | <table class="statistics"> |
---|
| 783 | <tr><td>McCabe cyclic</td><td> 9</td></tr> |
---|
| 784 | <tr><td>McCabe essential</td><td> 1</td></tr> |
---|
| 785 | <tr><td>McCabe modular design</td><td> 1</td></tr> |
---|
| 786 | </table> |
---|
[89] | 787 | |
---|
| 788 | |
---|
| 789 | </div> |
---|
| 790 | |
---|
| 791 | </div> |
---|
| 792 | |
---|
| 793 | |
---|
| 794 | |
---|
| 795 | <div id="tagline">Produced by IDLdoc 2.0.</div> |
---|
| 796 | |
---|
| 797 | </div> |
---|
| 798 | |
---|
| 799 | </body> |
---|
[249] | 800 | </html> |
---|