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
|
<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.Blt reference manual</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ee"
vlink="551a8b" alink="ff0000">
<h1 ALIGN="CENTER">Pmw.Blt</h1>
<p>
<dl>
<dt> <h3>Description</h3><dd>
<p>
This contains the classes <strong>Pmw.Blt.Vector</strong>, <strong>Pmw.Blt.Graph</strong>,
<strong>Pmw.Blt.Stripchart</strong> and <strong>Pmw.Blt.Tabset</strong>, which are interfaces to
the vector, graph, stripchart and tabset commands of version 2.4
of the <strong>BLT</strong> extension to Tk. The interfaces are complete except
for <strong>Pmw.Blt.Vector</strong> where several creation options, methods and
operations have not been implemented.</p>
<p> The blt graph and barchart widgets are essentially the same and so
only the graph widget has been ported. The <code>element_create()</code>
method is not implememted for <strong>Pmw.Blt.Graph</strong>, so instead:</p>
<ul><li><p>to create a <em>line</em> element, use the <code>line_create()</code> method and</p>
<li><p>to create a <em>bar</em> element, use the <code>bar_create()</code> method.</p>
</ul>
<p> To operate on elements, use the <code>element_*()</code> methods, such as
<code>element_bind()</code>, <code>element_activate()</code>, etc.</p>
<p> <strong>Note:</strong> Full documentation of Pmw.Blt.Graph is available in
<a href="http://www.ifi.uio.no/~hpl/Pmw.Blt/doc/">A User's Guide to Pmw.Blt</a>
written by Bjrn Ove Thue and Hans Petter Langtangen.
You can also download
<a href="http://www.ifi.uio.no/~hpl/Pmw.Blt/Pmw.Blt.doc.tar.gz">the full HTML document</a>
of the guide for local viewing.</p>
<p></p>
<dt> <h3>Functions</h3><dd>
The following functions are available.<p>
<dl>
<dt> <strong>Pmw.Blt.busy_forget</strong>(<em>window</em>)<dd>
Interface to the BLT <code>busy forget</code> command.</p>
<p></p>
</dt>
<dt> <strong>Pmw.Blt.busy_hold</strong>(<em>window</em>, <em>cursor</em> = <strong>None</strong>)<dd>
Interface to the BLT <code>busy hold</code> command.</p>
<p></p>
</dt>
<dt> <strong>Pmw.Blt.busy_release</strong>(<em>window</em>)<dd>
Interface to the BLT <code>busy release</code> command.</p>
<p></p>
</dt>
<dt> <strong>Pmw.Blt.haveblt</strong>(<em>window</em>)<dd>
Returns true if any commands in the BLT extension are available.</p>
<p></p>
</dt>
<dt> <strong>Pmw.Blt.havebltbusy</strong>(<em>window</em>)<dd>
Returns true if the BLT <strong>busy</strong> command is available.</p>
<p></p>
</dt>
<dt> <strong>Pmw.Blt.vector_expr</strong>(<em>expression</em>)<dd>
<p></p>
</dt>
<dt> <strong>Pmw.Blt.vector_names</strong>(<em>pattern</em> = <strong>None</strong>)<dd>
<p></p>
</dt>
</dl>
</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>
|