@@ -18,7 +18,20 @@ \section{\module{FrameWork} ---
1818The \module {FrameWork} is still very much work-in-progress, and the
1919documentation describes only the most important functionality, and not
2020in the most logical manner at that. Examine the source or the examples
21- for more details.
21+ for more details. The following are some comments posted on the
22+ MacPython newsgroup about the strengths and limitations of
23+ \module {FrameWork}:
24+
25+ \begin {quotation }
26+ The strong point of \module {FrameWork} is that it allows you to break
27+ into the control-flow at many different places. \refmodule {W}, for
28+ instance, uses a different way to enable/disable menus and that plugs
29+ right in leaving the rest intact. The weak points of
30+ \module {FrameWork} are that it has no abstract command interface (but
31+ that shouldn't be difficult), that it's dialog support is minimal and
32+ that it's control/toolbar support is non-existent.
33+ \end {quotation }
34+
2235
2336The \module {FrameWork} module defines the following functions:
2437
@@ -42,13 +55,13 @@ \section{\module{FrameWork} ---
4255\end {funcdesc }
4356
4457\begin {funcdesc }{MenuItem}{menu, title\optional {, shortcut, callback}}
45- Create a menu item object. The arguments are the menu to crate the
46- item it, the item title string and optionally the keyboard shortcut
58+ Create a menu item object. The arguments are the menu to create, the
59+ item item title string and optionally the keyboard shortcut
4760and a callback routine. The callback is called with the arguments
4861menu-id, item number within menu (1-based), current front window and
4962the event record.
5063
51- In stead of a callable object the callback can also be a string. In
64+ Instead of a callable object the callback can also be a string. In
5265this case menu selection causes the lookup of a method in the topmost
5366window and the application. The method name is the callback string
5467with \code {'domenu_'} prepended.
@@ -79,8 +92,8 @@ \section{\module{FrameWork} ---
7992Return a \code {(\var {left}, \var {top}, \var {right}, \var {bottom})}
8093tuple suitable for creation of a window of given width and height. The
8194window will be staggered with respect to previous windows, and an
82- attempt is made to keep the whole window on-screen. The window will
83- however always be exact the size given, so parts may be offscreen.
95+ attempt is made to keep the whole window on-screen. However, the window will
96+ however always be the exact size given, so parts may be offscreen.
8497\end {funcdesc }
8598
8699\begin {funcdesc }{setwatchcursor}{}
@@ -266,7 +279,7 @@ \subsection{ScrolledWindow Object \label{scrolledwindow-object}}
266279
267280\begin {methoddesc }[ScrolledWindow]{do_activate}{onoff, event}
268281Takes care of dimming/highlighting scrollbars when a window becomes
269- frontmost vv . If you override this method call this one at the end of
282+ frontmost. If you override this method, call this one at the end of
270283your method.
271284\end {methoddesc }
272285
0 commit comments