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