| 1 | |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta name="description" content="Pmw - a toolkit for building high-level compound widgets in Python"> |
| 5 | <meta name="content" content="python, megawidget, mega widget, compound widget, gui, tkinter"> |
| 6 | <title>Pmw.MegaWidget reference manual</title> |
| 7 | </head> |
| 8 | |
| 9 | <body bgcolor="#ffffff" text="#000000" link="#0000ee" |
| 10 | vlink="551a8b" alink="ff0000"> |
| 11 | |
| 12 | <h1 ALIGN="CENTER">Pmw.MegaWidget</h1> |
| 13 | |
| 14 | <dl> |
| 15 | <dt> <h3>Name</h3></dt><dd> |
| 16 | <p>Pmw.MegaWidget() - |
| 17 | base class for megawidgets within a frame |
| 18 | </p> |
| 19 | |
| 20 | |
| 21 | </dd> |
| 22 | <dt> <h3>Inherits</h3></dt><dd> |
| 23 | <a href="MegaArchetype.html">Pmw.MegaArchetype</a><br> |
| 24 | </dd> |
| 25 | <dt> <h3>Description</h3></dt><dd> |
| 26 | <p> |
| 27 | This class creates a megawidget contained within a Tkinter.Frame |
| 28 | window. The class acts as the base class for megawidgets that are |
| 29 | not contained in their own toplevel window, such as <a href="ButtonBox.html">Pmw.ButtonBox</a> and |
| 30 | <a href="ComboBox.html">Pmw.ComboBox</a>. It creates a Tkinter.Frame component, named <strong>hull</strong>, |
| 31 | to act as the container of the megawidget. The window class name |
| 32 | for the <strong>hull</strong> widget is set to the most-specific class name for |
| 33 | the megawidget. Derived classes specialise this class by |
| 34 | creating other widget components as children of the <strong>hull</strong> widget.</p> |
| 35 | |
| 36 | <p></p> |
| 37 | |
| 38 | |
| 39 | </dd> |
| 40 | <dt> <h3>Components</h3></dt><dd> |
| 41 | Components created by this megawidget and its base |
| 42 | classes are described below.<p></p> |
| 43 | <a name=component.hull></a> |
| 44 | <dl><dt> <strong>hull |
| 45 | </strong></dt><dd> |
| 46 | This acts as the body for the entire megawidget. Other components |
| 47 | are created as children of the hull to further specialise this |
| 48 | class. By default, this component is a Tkinter.Frame.</p> |
| 49 | |
| 50 | |
| 51 | </dd></dl> |
| 52 | </dd> |
| 53 | <a name=methods></a> |
| 54 | <dt> <h3>Methods</h3></dt><dd> |
| 55 | This megawidget has no methods of its own. |
| 56 | For a description of its inherited methods, see the |
| 57 | manual for its base class |
| 58 | <strong><a href="MegaArchetype.html#methods">Pmw.MegaArchetype</a></strong>. |
| 59 | In addition, methods from the |
| 60 | <strong>Tkinter.Frame</strong> class |
| 61 | are forwarded by this megawidget to the |
| 62 | <strong>hull</strong> component. |
| 63 | <p></p> |
| 64 | </dd> |
| 65 | </dl> |
| 66 | |
| 67 | <center><P ALIGN="CENTER"> |
| 68 | <IMG SRC = blue_line.gif ALT = "" WIDTH=320 HEIGHT=5> |
| 69 | </p></center> |
| 70 | |
| 71 | |
| 72 | <font size=-1> |
| 73 | <center><P ALIGN="CENTER"> |
| 74 | Pmw 1.2 - |
| 75 | 5 Aug 2003 |
| 76 | - <a href="index.html">Home</a> |
| 77 | <br>Manual page last reviewed: 22 May 1998 |
| 78 | </p></center> |
| 79 | </font> |
| 80 | |
| 81 | </body> |
| 82 | </html> |
| 83 | |