Fred Drake | 295da24 | 1998-08-10 19:42:37 +0000 | [diff] [blame] | 1 | \section{\module{fl} --- |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 2 | FORMS library interface for GUI applications} |
Fred Drake | b91e934 | 1998-07-23 17:59:49 +0000 | [diff] [blame] | 3 | |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 4 | \declaremodule{builtin}{fl} |
| 5 | \platform{IRIX} |
Fred Drake | b91e934 | 1998-07-23 17:59:49 +0000 | [diff] [blame] | 6 | \modulesynopsis{FORMS library interface for GUI applications.} |
| 7 | |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 8 | |
Fred Drake | 5f874d6 | 1998-03-15 01:59:57 +0000 | [diff] [blame] | 9 | This module provides an interface to the FORMS Library\index{FORMS |
| 10 | Library} by Mark Overmars\index{Overmars, Mark}. The source for the |
| 11 | library can be retrieved by anonymous ftp from host |
| 12 | \samp{ftp.cs.ruu.nl}, directory \file{SGI/FORMS}. It was last tested |
| 13 | with version 2.0b. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 14 | |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 15 | Most functions are literal translations of their C equivalents, |
Guido van Rossum | 470be14 | 1995-03-17 16:07:09 +0000 | [diff] [blame] | 16 | dropping the initial \samp{fl_} from their name. Constants used by |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 17 | the library are defined in module \refmodule{FL} described below. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 18 | |
| 19 | The creation of objects is a little different in Python than in C: |
| 20 | instead of the `current form' maintained by the library to which new |
| 21 | FORMS objects are added, all functions that add a FORMS object to a |
Guido van Rossum | 470be14 | 1995-03-17 16:07:09 +0000 | [diff] [blame] | 22 | form are methods of the Python object representing the form. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 23 | Consequently, there are no Python equivalents for the C functions |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 24 | \cfunction{fl_addto_form()} and \cfunction{fl_end_form()}, and the |
| 25 | equivalent of \cfunction{fl_bgn_form()} is called |
| 26 | \function{fl.make_form()}. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 27 | |
| 28 | Watch out for the somewhat confusing terminology: FORMS uses the word |
| 29 | \dfn{object} for the buttons, sliders etc. that you can place in a form. |
| 30 | In Python, `object' means any value. The Python interface to FORMS |
| 31 | introduces two new Python object types: form objects (representing an |
| 32 | entire form) and FORMS objects (representing one button, slider etc.). |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 33 | Hopefully this isn't too confusing. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 34 | |
| 35 | There are no `free objects' in the Python interface to FORMS, nor is |
| 36 | there an easy way to add object classes written in Python. The FORMS |
Guido van Rossum | 470be14 | 1995-03-17 16:07:09 +0000 | [diff] [blame] | 37 | interface to GL event handling is available, though, so you can mix |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 38 | FORMS with pure GL windows. |
| 39 | |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 40 | \strong{Please note:} importing \module{fl} implies a call to the GL |
| 41 | function \cfunction{foreground()} and to the FORMS routine |
| 42 | \cfunction{fl_init()}. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 43 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 44 | \subsection{Functions Defined in Module \module{fl}} |
Guido van Rossum | 86cb092 | 1995-03-20 12:59:56 +0000 | [diff] [blame] | 45 | \nodename{FL Functions} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 46 | |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 47 | Module \module{fl} defines the following functions. For more |
| 48 | information about what they do, see the description of the equivalent |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 49 | C function in the FORMS documentation: |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 50 | |
Fred Drake | 5f874d6 | 1998-03-15 01:59:57 +0000 | [diff] [blame] | 51 | \begin{funcdesc}{make_form}{type, width, height} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 52 | Create a form with given type, width and height. This returns a |
| 53 | \dfn{form} object, whose methods are described below. |
| 54 | \end{funcdesc} |
| 55 | |
| 56 | \begin{funcdesc}{do_forms}{} |
| 57 | The standard FORMS main loop. Returns a Python object representing |
| 58 | the FORMS object needing interaction, or the special value |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 59 | \constant{FL.EVENT}. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 60 | \end{funcdesc} |
| 61 | |
| 62 | \begin{funcdesc}{check_forms}{} |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 63 | Check for FORMS events. Returns what \function{do_forms()} above |
| 64 | returns, or \code{None} if there is no event that immediately needs |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 65 | interaction. |
| 66 | \end{funcdesc} |
| 67 | |
| 68 | \begin{funcdesc}{set_event_call_back}{function} |
| 69 | Set the event callback function. |
| 70 | \end{funcdesc} |
| 71 | |
Fred Drake | 5f874d6 | 1998-03-15 01:59:57 +0000 | [diff] [blame] | 72 | \begin{funcdesc}{set_graphics_mode}{rgbmode, doublebuffering} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 73 | Set the graphics modes. |
| 74 | \end{funcdesc} |
| 75 | |
| 76 | \begin{funcdesc}{get_rgbmode}{} |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 77 | Return the current rgb mode. This is the value of the C global |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 78 | variable \cdata{fl_rgbmode}. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 79 | \end{funcdesc} |
| 80 | |
Fred Drake | 5f874d6 | 1998-03-15 01:59:57 +0000 | [diff] [blame] | 81 | \begin{funcdesc}{show_message}{str1, str2, str3} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 82 | Show a dialog box with a three-line message and an OK button. |
| 83 | \end{funcdesc} |
| 84 | |
Fred Drake | 5f874d6 | 1998-03-15 01:59:57 +0000 | [diff] [blame] | 85 | \begin{funcdesc}{show_question}{str1, str2, str3} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 86 | Show a dialog box with a three-line message and YES and NO buttons. |
| 87 | It returns \code{1} if the user pressed YES, \code{0} if NO. |
| 88 | \end{funcdesc} |
| 89 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 90 | \begin{funcdesc}{show_choice}{str1, str2, str3, but1\optional{, |
| 91 | but2\optional{, but3}}} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 92 | Show a dialog box with a three-line message and up to three buttons. |
| 93 | It returns the number of the button clicked by the user |
| 94 | (\code{1}, \code{2} or \code{3}). |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 95 | \end{funcdesc} |
| 96 | |
Fred Drake | 5f874d6 | 1998-03-15 01:59:57 +0000 | [diff] [blame] | 97 | \begin{funcdesc}{show_input}{prompt, default} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 98 | Show a dialog box with a one-line prompt message and text field in |
| 99 | which the user can enter a string. The second argument is the default |
| 100 | input string. It returns the string value as edited by the user. |
| 101 | \end{funcdesc} |
| 102 | |
Fred Drake | 5f874d6 | 1998-03-15 01:59:57 +0000 | [diff] [blame] | 103 | \begin{funcdesc}{show_file_selector}{message, directory, pattern, default} |
Guido van Rossum | 470be14 | 1995-03-17 16:07:09 +0000 | [diff] [blame] | 104 | Show a dialog box in which the user can select a file. It returns |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 105 | the absolute filename selected by the user, or \code{None} if the user |
| 106 | presses Cancel. |
| 107 | \end{funcdesc} |
| 108 | |
| 109 | \begin{funcdesc}{get_directory}{} |
| 110 | \funcline{get_pattern}{} |
| 111 | \funcline{get_filename}{} |
| 112 | These functions return the directory, pattern and filename (the tail |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 113 | part only) selected by the user in the last |
| 114 | \function{show_file_selector()} call. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 115 | \end{funcdesc} |
| 116 | |
| 117 | \begin{funcdesc}{qdevice}{dev} |
| 118 | \funcline{unqdevice}{dev} |
| 119 | \funcline{isqueued}{dev} |
| 120 | \funcline{qtest}{} |
| 121 | \funcline{qread}{} |
| 122 | %\funcline{blkqread}{?} |
| 123 | \funcline{qreset}{} |
Fred Drake | 5f874d6 | 1998-03-15 01:59:57 +0000 | [diff] [blame] | 124 | \funcline{qenter}{dev, val} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 125 | \funcline{get_mouse}{} |
Fred Drake | 5f874d6 | 1998-03-15 01:59:57 +0000 | [diff] [blame] | 126 | \funcline{tie}{button, valuator1, valuator2} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 127 | These functions are the FORMS interfaces to the corresponding GL |
| 128 | functions. Use these if you want to handle some GL events yourself |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 129 | when using \function{fl.do_events()}. When a GL event is detected that |
| 130 | FORMS cannot handle, \function{fl.do_forms()} returns the special value |
| 131 | \constant{FL.EVENT} and you should call \function{fl.qread()} to read |
| 132 | the event from the queue. Don't use the equivalent GL functions! |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 133 | \end{funcdesc} |
| 134 | |
| 135 | \begin{funcdesc}{color}{} |
| 136 | \funcline{mapcolor}{} |
| 137 | \funcline{getmcolor}{} |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 138 | See the description in the FORMS documentation of |
| 139 | \cfunction{fl_color()}, \cfunction{fl_mapcolor()} and |
| 140 | \cfunction{fl_getmcolor()}. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 141 | \end{funcdesc} |
| 142 | |
Guido van Rossum | 470be14 | 1995-03-17 16:07:09 +0000 | [diff] [blame] | 143 | \subsection{Form Objects} |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 144 | \label{form-objects} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 145 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 146 | Form objects (returned by \function{make_form()} above) have the |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 147 | following methods. Each method corresponds to a C function whose |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 148 | name is prefixed with \samp{fl_}; and whose first argument is a form |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 149 | pointer; please refer to the official FORMS documentation for |
| 150 | descriptions. |
| 151 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 152 | All the \method{add_*()} methods return a Python object representing |
| 153 | the FORMS object. Methods of FORMS objects are described below. Most |
| 154 | kinds of FORMS object also have some methods specific to that kind; |
| 155 | these methods are listed here. |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 156 | |
| 157 | \begin{flushleft} |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 158 | |
| 159 | \begin{methoddesc}[form]{show_form}{placement, bordertype, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 160 | Show the form. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 161 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 162 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 163 | \begin{methoddesc}[form]{hide_form}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 164 | Hide the form. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 165 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 166 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 167 | \begin{methoddesc}[form]{redraw_form}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 168 | Redraw the form. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 169 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 170 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 171 | \begin{methoddesc}[form]{set_form_position}{x, y} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 172 | Set the form's position. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 173 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 174 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 175 | \begin{methoddesc}[form]{freeze_form}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 176 | Freeze the form. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 177 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 178 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 179 | \begin{methoddesc}[form]{unfreeze_form}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 180 | Unfreeze the form. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 181 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 182 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 183 | \begin{methoddesc}[form]{activate_form}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 184 | Activate the form. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 185 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 186 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 187 | \begin{methoddesc}[form]{deactivate_form}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 188 | Deactivate the form. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 189 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 190 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 191 | \begin{methoddesc}[form]{bgn_group}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 192 | Begin a new group of objects; return a group object. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 193 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 194 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 195 | \begin{methoddesc}[form]{end_group}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 196 | End the current group of objects. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 197 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 198 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 199 | \begin{methoddesc}[form]{find_first}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 200 | Find the first object in the form. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 201 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 202 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 203 | \begin{methoddesc}[form]{find_last}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 204 | Find the last object in the form. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 205 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 206 | |
| 207 | %--- |
| 208 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 209 | \begin{methoddesc}[form]{add_box}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 210 | Add a box object to the form. |
| 211 | No extra methods. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 212 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 213 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 214 | \begin{methoddesc}[form]{add_text}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 215 | Add a text object to the form. |
| 216 | No extra methods. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 217 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 218 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 219 | %\begin{methoddesc}[form]{add_bitmap}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 220 | %Add a bitmap object to the form. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 221 | %\end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 222 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 223 | \begin{methoddesc}[form]{add_clock}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 224 | Add a clock object to the form. \\ |
| 225 | Method: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 226 | \method{get_clock()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 227 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 228 | |
| 229 | %--- |
| 230 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 231 | \begin{methoddesc}[form]{add_button}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 232 | Add a button object to the form. \\ |
| 233 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 234 | \method{get_button()}, |
| 235 | \method{set_button()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 236 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 237 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 238 | \begin{methoddesc}[form]{add_lightbutton}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 239 | Add a lightbutton object to the form. \\ |
| 240 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 241 | \method{get_button()}, |
| 242 | \method{set_button()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 243 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 244 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 245 | \begin{methoddesc}[form]{add_roundbutton}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 246 | Add a roundbutton object to the form. \\ |
| 247 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 248 | \method{get_button()}, |
| 249 | \method{set_button()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 250 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 251 | |
| 252 | %--- |
| 253 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 254 | \begin{methoddesc}[form]{add_slider}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 255 | Add a slider object to the form. \\ |
| 256 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 257 | \method{set_slider_value()}, |
| 258 | \method{get_slider_value()}, |
| 259 | \method{set_slider_bounds()}, |
| 260 | \method{get_slider_bounds()}, |
| 261 | \method{set_slider_return()}, |
| 262 | \method{set_slider_size()}, |
| 263 | \method{set_slider_precision()}, |
| 264 | \method{set_slider_step()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 265 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 266 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 267 | \begin{methoddesc}[form]{add_valslider}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 268 | Add a valslider object to the form. \\ |
| 269 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 270 | \method{set_slider_value()}, |
| 271 | \method{get_slider_value()}, |
| 272 | \method{set_slider_bounds()}, |
| 273 | \method{get_slider_bounds()}, |
| 274 | \method{set_slider_return()}, |
| 275 | \method{set_slider_size()}, |
| 276 | \method{set_slider_precision()}, |
| 277 | \method{set_slider_step()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 278 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 279 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 280 | \begin{methoddesc}[form]{add_dial}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 281 | Add a dial object to the form. \\ |
| 282 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 283 | \method{set_dial_value()}, |
| 284 | \method{get_dial_value()}, |
| 285 | \method{set_dial_bounds()}, |
| 286 | \method{get_dial_bounds()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 287 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 288 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 289 | \begin{methoddesc}[form]{add_positioner}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 290 | Add a positioner object to the form. \\ |
| 291 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 292 | \method{set_positioner_xvalue()}, |
| 293 | \method{set_positioner_yvalue()}, |
| 294 | \method{set_positioner_xbounds()}, |
| 295 | \method{set_positioner_ybounds()}, |
| 296 | \method{get_positioner_xvalue()}, |
| 297 | \method{get_positioner_yvalue()}, |
| 298 | \method{get_positioner_xbounds()}, |
| 299 | \method{get_positioner_ybounds()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 300 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 301 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 302 | \begin{methoddesc}[form]{add_counter}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 303 | Add a counter object to the form. \\ |
| 304 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 305 | \method{set_counter_value()}, |
| 306 | \method{get_counter_value()}, |
| 307 | \method{set_counter_bounds()}, |
| 308 | \method{set_counter_step()}, |
| 309 | \method{set_counter_precision()}, |
| 310 | \method{set_counter_return()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 311 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 312 | |
| 313 | %--- |
| 314 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 315 | \begin{methoddesc}[form]{add_input}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 316 | Add a input object to the form. \\ |
| 317 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 318 | \method{set_input()}, |
| 319 | \method{get_input()}, |
| 320 | \method{set_input_color()}, |
| 321 | \method{set_input_return()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 322 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 323 | |
| 324 | %--- |
| 325 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 326 | \begin{methoddesc}[form]{add_menu}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 327 | Add a menu object to the form. \\ |
| 328 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 329 | \method{set_menu()}, |
| 330 | \method{get_menu()}, |
| 331 | \method{addto_menu()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 332 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 333 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 334 | \begin{methoddesc}[form]{add_choice}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 335 | Add a choice object to the form. \\ |
| 336 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 337 | \method{set_choice()}, |
| 338 | \method{get_choice()}, |
| 339 | \method{clear_choice()}, |
| 340 | \method{addto_choice()}, |
| 341 | \method{replace_choice()}, |
| 342 | \method{delete_choice()}, |
| 343 | \method{get_choice_text()}, |
| 344 | \method{set_choice_fontsize()}, |
| 345 | \method{set_choice_fontstyle()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 346 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 347 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 348 | \begin{methoddesc}[form]{add_browser}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 349 | Add a browser object to the form. \\ |
| 350 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 351 | \method{set_browser_topline()}, |
| 352 | \method{clear_browser()}, |
| 353 | \method{add_browser_line()}, |
| 354 | \method{addto_browser()}, |
| 355 | \method{insert_browser_line()}, |
| 356 | \method{delete_browser_line()}, |
| 357 | \method{replace_browser_line()}, |
| 358 | \method{get_browser_line()}, |
| 359 | \method{load_browser()}, |
| 360 | \method{get_browser_maxline()}, |
| 361 | \method{select_browser_line()}, |
| 362 | \method{deselect_browser_line()}, |
| 363 | \method{deselect_browser()}, |
| 364 | \method{isselected_browser_line()}, |
| 365 | \method{get_browser()}, |
| 366 | \method{set_browser_fontsize()}, |
| 367 | \method{set_browser_fontstyle()}, |
| 368 | \method{set_browser_specialkey()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 369 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 370 | |
| 371 | %--- |
| 372 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 373 | \begin{methoddesc}[form]{add_timer}{type, x, y, w, h, name} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 374 | Add a timer object to the form. \\ |
| 375 | Methods: |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 376 | \method{set_timer()}, |
| 377 | \method{get_timer()}. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 378 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 379 | \end{flushleft} |
| 380 | |
| 381 | Form objects have the following data attributes; see the FORMS |
| 382 | documentation: |
| 383 | |
Fred Drake | ee60191 | 1998-04-11 20:53:03 +0000 | [diff] [blame] | 384 | \begin{tableiii}{l|l|l}{member}{Name}{C Type}{Meaning} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 385 | \lineiii{window}{int (read-only)}{GL window id} |
| 386 | \lineiii{w}{float}{form width} |
| 387 | \lineiii{h}{float}{form height} |
| 388 | \lineiii{x}{float}{form x origin} |
| 389 | \lineiii{y}{float}{form y origin} |
| 390 | \lineiii{deactivated}{int}{nonzero if form is deactivated} |
| 391 | \lineiii{visible}{int}{nonzero if form is visible} |
| 392 | \lineiii{frozen}{int}{nonzero if form is frozen} |
| 393 | \lineiii{doublebuf}{int}{nonzero if double buffering on} |
| 394 | \end{tableiii} |
| 395 | |
Guido van Rossum | 470be14 | 1995-03-17 16:07:09 +0000 | [diff] [blame] | 396 | \subsection{FORMS Objects} |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 397 | \label{forms-objects} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 398 | |
| 399 | Besides methods specific to particular kinds of FORMS objects, all |
| 400 | FORMS objects also have the following methods: |
| 401 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 402 | \begin{methoddesc}[FORMS object]{set_call_back}{function, argument} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 403 | Set the object's callback function and argument. When the object |
| 404 | needs interaction, the callback function will be called with two |
| 405 | arguments: the object, and the callback argument. (FORMS objects |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 406 | without a callback function are returned by \function{fl.do_forms()} |
| 407 | or \function{fl.check_forms()} when they need interaction.) Call this |
| 408 | method without arguments to remove the callback function. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 409 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 410 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 411 | \begin{methoddesc}[FORMS object]{delete_object}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 412 | Delete the object. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 413 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 414 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 415 | \begin{methoddesc}[FORMS object]{show_object}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 416 | Show the object. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 417 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 418 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 419 | \begin{methoddesc}[FORMS object]{hide_object}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 420 | Hide the object. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 421 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 422 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 423 | \begin{methoddesc}[FORMS object]{redraw_object}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 424 | Redraw the object. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 425 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 426 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 427 | \begin{methoddesc}[FORMS object]{freeze_object}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 428 | Freeze the object. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 429 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 430 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 431 | \begin{methoddesc}[FORMS object]{unfreeze_object}{} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 432 | Unfreeze the object. |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 433 | \end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 434 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 435 | %\begin{methoddesc}[FORMS object]{handle_object}{} XXX |
| 436 | %\end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 437 | |
Fred Drake | fc57619 | 1998-04-04 07:15:02 +0000 | [diff] [blame] | 438 | %\begin{methoddesc}[FORMS object]{handle_object_direct}{} XXX |
| 439 | %\end{methoddesc} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 440 | |
| 441 | FORMS objects have these data attributes; see the FORMS documentation: |
| 442 | |
Fred Drake | ee60191 | 1998-04-11 20:53:03 +0000 | [diff] [blame] | 443 | \begin{tableiii}{l|l|l}{member}{Name}{C Type}{Meaning} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 444 | \lineiii{objclass}{int (read-only)}{object class} |
| 445 | \lineiii{type}{int (read-only)}{object type} |
| 446 | \lineiii{boxtype}{int}{box type} |
| 447 | \lineiii{x}{float}{x origin} |
| 448 | \lineiii{y}{float}{y origin} |
| 449 | \lineiii{w}{float}{width} |
| 450 | \lineiii{h}{float}{height} |
| 451 | \lineiii{col1}{int}{primary color} |
| 452 | \lineiii{col2}{int}{secondary color} |
| 453 | \lineiii{align}{int}{alignment} |
| 454 | \lineiii{lcol}{int}{label color} |
| 455 | \lineiii{lsize}{float}{label font size} |
| 456 | \lineiii{label}{string}{label string} |
| 457 | \lineiii{lstyle}{int}{label style} |
| 458 | \lineiii{pushed}{int (read-only)}{(see FORMS docs)} |
| 459 | \lineiii{focus}{int (read-only)}{(see FORMS docs)} |
| 460 | \lineiii{belowmouse}{int (read-only)}{(see FORMS docs)} |
| 461 | \lineiii{frozen}{int (read-only)}{(see FORMS docs)} |
| 462 | \lineiii{active}{int (read-only)}{(see FORMS docs)} |
| 463 | \lineiii{input}{int (read-only)}{(see FORMS docs)} |
| 464 | \lineiii{visible}{int (read-only)}{(see FORMS docs)} |
| 465 | \lineiii{radio}{int (read-only)}{(see FORMS docs)} |
| 466 | \lineiii{automatic}{int (read-only)}{(see FORMS docs)} |
| 467 | \end{tableiii} |
| 468 | |
Fred Drake | b91e934 | 1998-07-23 17:59:49 +0000 | [diff] [blame] | 469 | |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 470 | \section{\module{FL} --- |
| 471 | Constants used with the \module{fl} module} |
| 472 | |
| 473 | \declaremodule{standard}{FL} |
| 474 | \platform{IRIX} |
Fred Drake | b91e934 | 1998-07-23 17:59:49 +0000 | [diff] [blame] | 475 | \modulesynopsis{Constants used with the \module{fl} module.} |
| 476 | |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 477 | |
| 478 | This module defines symbolic constants needed to use the built-in |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 479 | module \refmodule{fl} (see above); they are equivalent to those defined in |
| 480 | the C header file \code{<forms.h>} except that the name prefix |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 481 | \samp{FL_} is omitted. Read the module source for a complete list of |
| 482 | the defined names. Suggested use: |
| 483 | |
Fred Drake | 1947991 | 1998-02-13 06:58:54 +0000 | [diff] [blame] | 484 | \begin{verbatim} |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 485 | import fl |
| 486 | from FL import * |
Fred Drake | 1947991 | 1998-02-13 06:58:54 +0000 | [diff] [blame] | 487 | \end{verbatim} |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 488 | |
Fred Drake | b91e934 | 1998-07-23 17:59:49 +0000 | [diff] [blame] | 489 | |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 490 | \section{\module{flp} --- |
| 491 | Functions for loading stored FORMS designs} |
| 492 | |
| 493 | \declaremodule{standard}{flp} |
| 494 | \platform{IRIX} |
| 495 | \modulesynopsis{Functions for loading stored FORMS designs.} |
Fred Drake | b91e934 | 1998-07-23 17:59:49 +0000 | [diff] [blame] | 496 | |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 497 | |
| 498 | This module defines functions that can read form definitions created |
Fred Drake | 0cf0cfb | 1998-02-19 20:59:19 +0000 | [diff] [blame] | 499 | by the `form designer' (\program{fdesign}) program that comes with the |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 500 | FORMS library (see module \refmodule{fl} above). |
Guido van Rossum | 5fdeeea | 1994-01-02 01:22:07 +0000 | [diff] [blame] | 501 | |
| 502 | For now, see the file \file{flp.doc} in the Python library source |
| 503 | directory for a description. |
| 504 | |
| 505 | XXX A complete description should be inserted here! |