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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581
|
<html>
<head>
<meta name="description" content="Pmw - a toolkit for building high-level compound widgets in Python">
<meta name="content" content="python, megawidget, mega widget, compound widget, gui, tkinter">
<title>Pmw functions reference manual</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ee"
vlink="551a8b" alink="ff0000">
<h1 ALIGN="CENTER">Pmw functions</h1>
<p>
<dl>
<dt> <strong>Pmw.aboutcontact</strong>(<em>value</em>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.aboutcopyright</strong>(<em>value</em>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.aboutversion</strong>(<em>value</em>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.aligngrouptags</strong>(<em>groups</em>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.alignlabels</strong>(<em>widgets</em>, <em>sticky</em> = <strong>None</strong>)<dd>
<p>
Adjust the size of the labels of all the <em>widgets</em> to be equal, so
that the body of each widget lines up vertically. This assumes
that each widget is a megawidget with a <strong>label</strong> component in
column 0 (ie, the <strong>labelpos</strong> option was set to <strong>'w'</strong>, <strong>'wn'</strong> or
<strong>'ws'</strong>). If <em>sticky</em> is set to a combination of <strong>'n'</strong>, <strong>'s'</strong>,
<strong>'e'</strong> and <strong>'w'</strong>, the label will be positioned within its cell
accordingly. For example to make labels right justified, set
<em>sticky</em> to <strong>'e'</strong>, <strong>'ne'</strong> or <strong>'se'</strong>.</p>
<p></p>
</dt>
<dt> <strong>Pmw.alphabeticvalidator</strong>(<em>text</em>)<dd>
<p>
Validator function for <a href="EntryField.html">Pmw.EntryField</a> <strong>alphabetic</strong> standard validator.</p>
<p></p>
</dt>
<dt> <strong>Pmw.alphanumericvalidator</strong>(<em>text</em>)<dd>
<p>
Validator function for <a href="EntryField.html">Pmw.EntryField</a> <strong>alphanumeric</strong> standard validator.</p>
<p></p>
</dt>
<dt> <strong>Pmw.busycallback</strong>(<em>command</em>, <em>updateFunction</em> = <strong>None</strong>)<dd>
<p>
Create a wrapper function which displays a busy cursor while
executing <em>command</em> and return the wrapper. When the wrapper
function is called, it first calls <code>Pmw.showbusycursor()</code>, then
the <em>command</em> (passing any arguments to it), then <code>Pmw.hidebusycursor()</code>.
The return value of <em>command</em> is returned from the wrapper.</p>
<p> If <em>updateFunction</em> is specified, it is called just before the
call to <code>Pmw.hidebusycursor()</code>. This is intended to be the
Tkinter <code>update()</code> method, in which case it will clear any events
that may have occurred while <em>command</em> was executing. An example
of this usage is in the <code>ShowBusy</code> demonstration: run the
demonstration, click on the entry widget then click on the button
and type some characters while the busy cursor is displayed. No
characters should appear in the entry widget.</p>
<p> Note that the Tkinter <code>update()</code> method should only be called when
it is known that it can be safely called. One case where a
problem has been found is when a filehandler has been created (on
a non-blocking Oracle database connection), but the filehandler
does not read from the connection. The connection is read (by a
call to the Oracle fetch function <em>ofen</em>) in a loop which also
contains a call to <code>_tkinter.dooneevent()</code>. If <code>update()</code> is
called from <code>dooneevent()</code> and there is data to be read on the
connection, then the filehandler will be called continuously, thus
hanging the application.</p>
<p></p>
</dt>
<dt> <strong>Pmw.clearbusycursor</strong>()<dd>
<p>
Unconditionally remove the event block and busy cursor from all
windows. This undoes all outstanding calls to
<code>Pmw.showbusycursor()</code>.</p>
<p></p>
</dt>
<dt> <strong>Pmw.datestringtojdn</strong>(<em>text</em>, <em>format</em> = <strong>'ymd'</strong>, <em>separator</em> = <strong>'/'</strong>)<dd>
<p>
Return the Julian Day Number corresponding to the date in <em>text</em>.
A Julian Day Number is defined as the number of days since 1 Jan 4713
BC. The date must be specified as three integers separated by the
<em>separator</em> character. The integers must be in the order specified by
<em>format</em>, which must be a combination of <strong>'d'</strong>, <strong>'m'</strong> and <strong>'y'</strong> in
any order. These give the order of the day, month and year
fields. Examples of valid input are:</p>
<dl><dd><pre> 'dmy': 31/01/99 31/1/1999 31/1/99
'mdy': 01/31/99 1/31/1999 1/31/99
'ymd': 99/01/31 1999/1/31 99/1/31</pre></dl>
<p> If the application's
<em>pivot</em> year (default 50) is not <strong>None</strong> and the year specified
in <em>text</em> has only one or two digits, then the year is
converted to a four digit year. If it is less than or equal to
the pivot year, then it is incremented by the application's
<em>century</em> value (default 2000). If it is more than the pivot year
then it is incremented by the <em>century</em> value less 100.</p>
<p> The function <code>Pmw.setyearpivot()</code> can be used to change the
default values for the application's
<em>pivot</em> and <em>century</em>.</p>
<p></p>
</dt>
<dt> <strong>Pmw.datevalidator</strong>(<em>text</em>, <em>format</em> = <strong>'ymd'</strong>, <em>separator</em> = <strong>'/'</strong>)<dd>
<p>
Validator function for <a href="EntryField.html">Pmw.EntryField</a> <strong>date</strong> standard validator.</p>
<p></p>
</dt>
<dt> <strong>Pmw.displayerror</strong>(<em>text</em>)<dd>
<p>
This is a general purpose method for displaying background errors
to the user. The errors would normally be programming errors and
may be caused by errors in Tk callbacks or functions called by other
asynchronous events. The error messages are shown in a text window.
If further errors occur while the window is displayed, the window
is raised and these new errors are queued. The queued errors may
be viewed by the user or ignored by dismissing the window.</p>
<p></p>
</dt>
<dt> <strong>Pmw.drawarrow</strong>(<em>canvas</em>, <em>fg</em>, <em>direction</em>, <em>tag</em>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.forwardmethods</strong>(<em>fromClass</em>, <em>toClass</em>, <em>toPart</em>, <em>exclude</em> = <strong>()</strong>)<dd>
<p>
Forward methods from one class to another.</p>
<p> This function adds methods to the class <em>fromClass</em>. The names of
the methods added are the names of the methods of the class
<em>toClass</em> (and its base classes) except those which are already
defined by <em>fromClass</em> or are found in the <em>exclude</em> list.
Special methods with one or more leading or trailing underscores
are also excluded.</p>
<p> When one of the added methods is called, the method of the same
name is called on an instance defined by <em>toPart</em> and the return
value passed back. If <em>toPart</em> is a string, then it specifies the
name of an attribute (<em>not</em> a component) of the <em>fromClass</em>
object. The class of this attribute should be <em>toClass</em>. If
<em>toPart</em> is not a string, it must be a function taking a
<em>fromClass</em> object and returning a <em>toClass</em> object.</p>
<p> This function must be called outside of and after the definition
of <em>fromClass</em>.</p>
<p> For example:</p>
<dl><dd><pre>class MyClass:
def __init__(self):
...
self.__target = TargetClass()
...
def foo(self):
pass
def findtarget(self):
return self.__target
Pmw.forwardmethods(MyClass, TargetClass, '__target',
['dangerous1', 'dangerous2'])
# ...or...
Pmw.forwardmethods(MyClass, TargetClass,
MyClass.findtarget, ['dangerous1', 'dangerous2'])</pre></dl>
<p> In both cases, all <code>TargetClass</code> methods will be forwarded from
<code>MyClass</code> except for <code>dangerous1</code>, <code>dangerous2</code>, special methods like
<code>__str__</code>, and pre-existing methods like <code>foo</code>.</p>
<p></p>
</dt>
<dt> <strong>Pmw.grabstacktopwindow</strong>()<dd>
<p></p>
</dt>
<dt> <strong>Pmw.hexadecimalvalidator</strong>(<em>text</em>)<dd>
<p>
Validator function for <a href="EntryField.html">Pmw.EntryField</a> <strong>hexadecimal</strong> standard validator.</p>
<p></p>
</dt>
<dt> <strong>Pmw.hidebusycursor</strong>(<em>forceFocusRestore</em> = <strong>0</strong>)<dd>
<p>
Undo one call to <code>Pmw.showbusycursor()</code>. If there are no
outstanding calls to <code>Pmw.showbusycursor()</code>, remove the event
block and busy cursor.</p>
<p> If the focus window has not been changed since the corresponding
call to <code>Pmw.showbusycursor()</code>, or if <em>forceFocusRestore</em> is true,
then the focus is restored to that saved by <code>Pmw.showbusycursor()</code>.</p>
<p></p>
</dt>
<dt> <strong>Pmw.initialise</strong>(<em>root</em> = <strong>None</strong>, <em>size</em> = <strong>None</strong>, <em>fontScheme</em> = <strong>None</strong>, <em>useTkOptionDb</em> = <strong>0</strong>, <em>noBltBusy</em> = <strong>0</strong>, <em>disableKeyboardWhileBusy</em> = <strong>None</strong>)<dd>
<p>
Initialise Pmw. This performs several functions:</p>
<ul><li><p>Set up a trap in the Tkinter Toplevel constructor so that a
list of Toplevels can be maintained. A list of all Toplevel
windows needs to be kept so that <code>Pmw.showbusycursor()</code> can
create busy cursors for them.</p>
<li><p>Set up a trap in the Tkinter Toplevel and Frame destructors
so that Pmw is notified when these widgets are destroyed.
This allows Pmw to destroy megawidgets when their hull
widget is destroyed and to prune the list of Toplevels.</p>
<li><p>Modify Tkinter's CallWrapper class to improve the display of
errors which occur in callbacks. If an error occurs, the
new CallWrapper class calls <code>Pmw.clearbusycursor()</code> to
remove the any outstanding busy cursors and calls
<code>Pmw.displayerror()</code> to display the error. This behaviour
can be modified by calling <code>Pmw.reporterrorstofile()</code>.</p>
<li><p>Using the window given by <em>root</em>, set the <strong>WM_DELETE_WINDOW</strong>
root window protocol to destroy the root window. This means
that the root window is destroyed if the window manager
deletes it. This is only done if the protocol has not been
set before the call to <code>Pmw.initialise()</code>. This protocol is
required if there is a modal dialog displayed and the window
manager deletes the root window. Otherwise the application
will not exit, even though there are no windows.</p>
<li><p>Set the base font size for the application to <em>size</em>. This
is used by <code>Pmw.logicalfont()</code> as the default point size for
fonts. If this is not given, the default is <strong>14</strong>, except
under NT where it is <strong>16</strong>. These are reasonable default
sizes for most screens, but for unusually high or low screen
resolutions, an appropriate size should be supplied. Note
that Tk's definition of <em>point size</em>, is somewhat
idiosyncratic.</p>
<li><p>Set the Tk option database for <em>root</em> according to
<em>fontScheme</em>. This changes the default fonts set by Tk.
<em>fontScheme</em> may be one of</p>
<dl><dt><strong>None</strong> <dd>Do not change the Tk defaults.</p>
<dt><strong>'pmw1'</strong> <dd>If running under posix (Unix), set the default font to
be Helvetica with bold italic menus and italic scales.
For other operating systems (such as NT or Macintosh),
set the default font to be Helvetica.</p>
</dl>
<li><p>If <em>root</em> is <strong>None</strong>, use the Tkinter default root window as the
root, if it has been created, or create a new Tk root window.
The <code>initialise()</code> method returns this <em>root</em>.</p>
<li><p>If <em>useTkOptionDb</em> is true, then, when a megawidget is
created, the Tk option database will be queried to get the
initial values of the options which have not been set in
the call to the constructor. The resource name used in the
query is the same as the option name and the resource class
is the option name with the first letter capitalised. If
<em>useTkOptionDb</em> is false, then options for newly created
megawidgets will be initialised to default values.</p>
</ul>
<p> It is not absolutely necessary to call this function to be able to use
Pmw. However, some functionality will be lost. Most importantly,
Pmw megawidgets will not be notified when their hull widget is
destroyed. This may prevent the megawidget from cleaning up
timers which will try to access the widget, hence causing a
background error to occur.</p>
<p></p>
</dt>
<dt> <strong>Pmw.installedversions</strong>(<em>alpha</em> = <strong>0</strong>)<dd>
<p>
If <em>alpha</em> is false, return the list of base versions of Pmw
that are currently installed and available for use. If <em>alpha</em> is
true, return the list of alpha versions.</p>
<p></p>
</dt>
<dt> <strong>Pmw.integervalidator</strong>(<em>text</em>)<dd>
<p>
Validator function for <a href="EntryField.html">Pmw.EntryField</a> <strong>integer</strong> standard validator.</p>
<p></p>
</dt>
<dt> <strong>Pmw.jdntoymd</strong>(<em>jdn</em>, <em>julian</em> = <strong>-1</strong>, <em>papal</em> = <strong>1</strong>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.logicalfont</strong>(<em>name</em> = <strong>'Helvetica'</strong>, <em>sizeIncr</em> = <strong>0</strong>, **<em>kw</em>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.logicalfontnames</strong>()<dd>
<p></p>
</dt>
<dt> <strong>Pmw.numericvalidator</strong>(<em>text</em>)<dd>
<p>
Validator function for <a href="EntryField.html">Pmw.EntryField</a> <strong>numeric</strong> standard validator.</p>
<p></p>
</dt>
<dt> <strong>Pmw.popgrab</strong>(<em>window</em>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.pushgrab</strong>(<em>window</em>, <em>globalMode</em>, <em>deactivateFunction</em>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.realvalidator</strong>(<em>text</em>, <em>separator</em> = <strong>'.'</strong>)<dd>
<p>
Validator function for <a href="EntryField.html">Pmw.EntryField</a> <strong>real</strong> standard validator.</p>
<p></p>
</dt>
<dt> <strong>Pmw.releasegrabs</strong>()<dd>
<p></p>
</dt>
<dt> <strong>Pmw.reporterrorstofile</strong>(<em>file</em> = <strong>None</strong>)<dd>
<p>
If <em>file</em> is <strong>None</strong>, or if <code>Pmw.reporterrorstofile()</code> has not been
called, future Tk background errors will be displayed in an error
window (by calling <code>Pmw.displayerror()</code>). If <em>file</em> is not
<strong>None</strong>, future Tk background errors will be written to the file.
<em>file</em> may be any object with a <code>write()</code> method, such as
<code>sys.stderr</code>.</p>
<p></p>
</dt>
<dt> <strong>Pmw.setalphaversions</strong>(*<em>alpha_versions</em>)<dd>
<p>
Set the list of alpha versions of Pmw to use for this session to
the arguments. When searching for Pmw classes and functions,
these alpha versions will be searched, in the order given, before
the base version. This must be called before any other Pmw class
or function, except functions setting or querying versions.</p>
<p></p>
</dt>
<dt> <strong>Pmw.setbusycursorattributes</strong>(<em>window</em>, **<em>kw</em>)<dd>
<p>
Use the keyword arguments to set attributes controlling the effect
on <em>window</em> (which must be a <strong>Tkinter.Toplevel</strong>) of future calls
to <code>Pmw.showbusycursor()</code>. The attributes are:</p>
<dl><dt><strong>exclude</strong><dd>a boolean value which specifies whether the window
will be affected by calls to <code>Pmw.showbusycursor()</code>. If a window
is excluded, then the cursor will not be changed to a busy cursor
and events will still be delivered to the window. By default,
windows are affected by calls to <code>Pmw.showbusycursor()</code>.</p>
<dt><strong>cursorName</strong><dd>the name of the cursor to use when displaying the
busy cursor. If <strong>None</strong>, then the default cursor is used.</p>
</dl>
<p></p>
</dt>
<dt> <strong>Pmw.setgeometryanddeiconify</strong>(<em>window</em>, <em>geom</em>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.setversion</strong>(<em>version</em>)<dd>
<p>
Set the version of Pmw to use for this session to <em>version</em>. If
<code>Pmw.setversion()</code> is not called, the latest installed version of
Pmw will be used. This must be called before any other Pmw class
or function, except functions setting or querying versions.</p>
<p></p>
</dt>
<dt> <strong>Pmw.setyearpivot</strong>(<em>pivot</em>, <em>century</em> = <strong>None</strong>)<dd>
<p>
Set the pivot year and century for the application's date
processing. These values are used in the <code>datestringtojdn()</code>
method, which is used by <a href="Counter.html">Pmw.Counter</a> and <a href="EntryField.html">Pmw.EntryField</a>
and derived classes. The initial values of <em>pivot</em> and <em>century</em>
are <strong>50</strong> and <strong>2000</strong> repectively. Return a tuple containing the
old values of <em>pivot</em> and <em>century</em>.</p>
<p></p>
</dt>
<dt> <strong>Pmw.showbusycursor</strong>()<dd>
<p>
Block events to and display a busy cursor over all windows in this
application that are in the state <strong>'normal'</strong> or <strong>'iconic'</strong>, except
those windows whose <strong>exclude</strong> busycursor attribute has been set to
true by a call to <code>Pmw.setbusycursorattributes()</code>.</p>
<p> If a window and its contents have just been created,
<code>update_idletasks()</code> may have to be called before
<code>Pmw.showbusycursor()</code> so that the window is mapped to the screen.
Windows created or deiconified after calling
<code>Pmw.showbusycursor()</code> will not be blocked.</p>
<p> To unblock events and remove the busy cursor, use
<code>Pmw.hidebusycursor()</code>. Nested calls to <code>Pmw.showbusycursor()</code>
may be made. In this case, a matching number of calls to
<code>Pmw.hidebusycursor()</code> must be made before the event block and
busy cursor are removed.</p>
<p> If the BLT extension to Tk is not present, this function has no
effect other than to save the value of the current focus window,
to be later restored by <code>Pmw.hidebusycursor()</code>.</p>
<p></p>
</dt>
<dt> <strong>Pmw.stringtoreal</strong>(<em>text</em>, <em>separator</em> = <strong>'.'</strong>)<dd>
<p>
Return the real number represented by <em>text</em>. This is similar to
<code>string.atof()</code> except that the character representing the decimal
point in <em>text</em> is given by <em>separator</em>.</p>
<p></p>
</dt>
<dt> <strong>Pmw.timestringtoseconds</strong>(<em>text</em>, <em>separator</em> = <strong>':'</strong>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.timevalidator</strong>(<em>text</em>, <em>separator</em> = <strong>':'</strong>)<dd>
<p>
Validator function for <a href="EntryField.html">Pmw.EntryField</a> <strong>time</strong> standard validator.</p>
<p></p>
</dt>
<dt> <strong>Pmw.tracetk</strong>(<em>root</em> = <strong>None</strong>, <em>on</em> = <strong>1</strong>, <em>withStackTrace</em> = <strong>0</strong>, <em>file</em> = <strong>None</strong>)<dd>
<p>
Print debugging trace of calls to, and callbacks from, the Tk
interpreter associated with the <em>root</em> window . If <em>root</em> is
<strong>None</strong>, use the Tkinter default root. If <em>on</em> is true, start
tracing, otherwise stop tracing. If <em>withStackTrace</em> is true,
print a python function call stacktrace after the trace for each
call to Tk. If <em>file</em> is <strong>None</strong>, print to standard error,
otherwise print to the file given by <em>file</em>.</p>
<p> For each call to Tk, the Tk command and its options are printed as
a python tuple, followed by the return value of the command (if
not the empty string). For example:</p>
<dl><dd><pre>python executed:
button = Tkinter.Button()
button.configure(text = 'Hi')
tracetk output:
CALL TK> 1: ('button', '.3662448') -> '.3662448'
CALL TK> 1: ('.3662448', 'configure', '-text', 'Hi')</pre></dl>
<p> Some calls from python to Tk (such as <strong>update</strong>, <strong>tkwait</strong>,
<strong>invoke</strong>, etc) result in the execution of callbacks from Tk to
python. These python callbacks can then recursively call into Tk.
When displayed by <strong>tracetk()</strong>, these recursive calls are indented
proportionally to the depth of recursion. The depth is also
printed as a leading number. The return value of a call to Tk
which generated recursive calls is printed on a separate line at
the end of the recursion. For example:</p>
<dl><dd><pre>python executed:
def callback():
button.configure(text = 'Bye')
return 'Got me!'
button = Tkinter.Button()
button.configure(command = callback)
button.invoke()</pre></dl>
<dl><dd><pre>tracetk output:
CALL TK> 1: ('button', '.3587144') -> '.3587144'
CALL TK> 1: ('.3587144', 'configure', '-command', '3638368callback')
CALL TK> 1: ('.3587144', 'invoke')
CALLBACK> 2: callback()
CALL TK> 2: ('.3587144', 'configure', '-text', 'Bye')
CALL RTN> 1: -> 'Got me!'</pre></dl>
<p> <strong>Pmw.initialise()</strong> must be called before <strong>tracetk()</strong> so that hooks
are put into the Tkinter CallWrapper class to trace callbacks from
Tk to python and also to handle recursive calls correctly.</p>
<p></p>
</dt>
<dt> <strong>Pmw.version</strong>(<em>alpha</em> = <strong>0</strong>)<dd>
<p>
If <em>alpha</em> is false, return the base version of Pmw being used
for this session. If <code>Pmw.setversion()</code> has not been called, this
will be the latest installed version of Pmw. If <em>alpha</em> is true,
return the list of alpha versions of Pmw being used for this
session, in search order. If <code>Pmw.setalphaversions()</code> has not
been called, this will be the empty list.</p>
<p></p>
</dt>
<dt> <strong>Pmw.ymdtojdn</strong>(<em>y</em>, <em>m</em>, <em>d</em>, <em>julian</em> = <strong>-1</strong>, <em>papal</em> = <strong>1</strong>)<dd>
<p></p>
</dt>
</dl>
<center><P ALIGN="CENTER">
<IMG SRC = blue_line.gif ALT = "" WIDTH=320 HEIGHT=5>
</p></center>
<font size=-1>
<center><P ALIGN="CENTER">
<a href="index.html">Home</a>.
Pmw 0.8.5
Maintainer
<a href="mailto:gregm@iname.com">gregm@iname.com</a>.
9 Feb 2001
</p></center>
</font>
</body>
</html>
|