1 # Constants used by the FORMS library (module fl).
2 # This corresponds to "forms.h".
3 # Recommended use: import FL; ... FL.NORMAL_BOX ... etc.
4 # Alternate use: from FL import *; ... NORMAL_BOX ... etc.
5 from warnings
import warnpy3k
6 warnpy3k("the FL module has been removed in Python 3.0", stacklevel
=2)
13 ## _v20 = (fl.get_rgbmode is not None)
33 FL_PLACE_FULLSCREEN
= 6
73 FONT_NAME
= 'Helvetica'
74 FONT_BOLDNAME
= 'Helvetica-Bold'
75 FONT_ITALICNAME
= 'Helvetica-Oblique'
76 FONT_FIXEDNAME
= 'Courier'
77 FONT_ICONNAME
= 'Icon'
89 BITMAP_BOXTYPE
= NO_BOX
93 BITMAP_ALIGN
= ALIGN_BOTTOM
94 BITMAP_MAXSIZE
= 128*128
95 BITMAP_BW
= BOUND_WIDTH
100 BOX_ALIGN
= ALIGN_CENTER
107 BROWSER_BOXTYPE
= DOWN_BOX
111 BROWSER_ALIGN
= ALIGN_BOTTOM
113 BROWSER_BW
= BOUND_WIDTH
114 BROWSER_LINELENGTH
= 128
115 BROWSER_MAXLINE
= 512
125 HIDDEN_RET_BUTTON
= 7
126 BUTTON_BOXTYPE
= UP_BOX
130 BUTTON_ALIGN
= ALIGN_CENTER
133 BUTTON_BW
= BOUND_WIDTH
143 CHART_BOXTYPE
= BORDER_BOX
146 CHART_ALIGN
= ALIGN_BOTTOM
147 CHART_BW
= BOUND_WIDTH
151 CHOICE_BOXTYPE
= DOWN_BOX
155 CHOICE_ALIGN
= ALIGN_LEFT
156 CHOICE_BW
= BOUND_WIDTH
158 CHOICE_MAXITEMS
= 128
163 CLOCK_BOXTYPE
= UP_BOX
167 CLOCK_ALIGN
= ALIGN_BOTTOM
169 CLOCK_BW
= BOUND_WIDTH
173 COUNTER_BOXTYPE
= UP_BOX
177 COUNTER_ALIGN
= ALIGN_BOTTOM
179 COUNTER_BW
= BOUND_WIDTH
187 DIAL_BOXTYPE
= NO_BOX
191 DIAL_ALIGN
= ALIGN_BOTTOM
193 DIAL_BW
= BOUND_WIDTH
211 INPUT_BOXTYPE
= DOWN_BOX
215 INPUT_ALIGN
= ALIGN_LEFT
218 INPUT_BW
= BOUND_WIDTH
221 LIGHTBUTTON_BOXTYPE
= UP_BOX
222 LIGHTBUTTON_COL1
= 39
224 LIGHTBUTTON_LCOL
= LCOL
225 LIGHTBUTTON_ALIGN
= ALIGN_CENTER
226 LIGHTBUTTON_TOPCOL
= COL1
227 LIGHTBUTTON_MCOL
= MCOL
228 LIGHTBUTTON_BW1
= BOUND_WIDTH
229 LIGHTBUTTON_BW2
= BOUND_WIDTH
/2.0
230 LIGHTBUTTON_MINSIZE
= 12.0
234 MENU_BOXTYPE
= BORDER_BOX
238 MENU_ALIGN
= ALIGN_CENTER
239 MENU_BW
= BOUND_WIDTH
242 NORMAL_POSITIONER
= 0
243 POSITIONER_BOXTYPE
= DOWN_BOX
244 POSITIONER_COL1
= COL1
246 POSITIONER_LCOL
= LCOL
247 POSITIONER_ALIGN
= ALIGN_BOTTOM
248 POSITIONER_BW
= BOUND_WIDTH
250 ROUNDBUTTON_BOXTYPE
= NO_BOX
253 ROUNDBUTTON_LCOL
= LCOL
254 ROUNDBUTTON_ALIGN
= ALIGN_CENTER
255 ROUNDBUTTON_TOPCOL
= COL1
256 ROUNDBUTTON_MCOL
= MCOL
257 ROUNDBUTTON_BW
= BOUND_WIDTH
266 SLIDER_BOXTYPE
= DOWN_BOX
270 SLIDER_ALIGN
= ALIGN_BOTTOM
271 SLIDER_BW1
= BOUND_WIDTH
272 SLIDER_BW2
= BOUND_WIDTH
*0.75
277 TEXT_BOXTYPE
= NO_BOX
280 TEXT_ALIGN
= ALIGN_LEFT
281 TEXT_BW
= BOUND_WIDTH
286 TIMER_BOXTYPE
= DOWN_BOX
290 TIMER_ALIGN
= ALIGN_CENTER
291 TIMER_BW
= BOUND_WIDTH
292 TIMER_BLINKRATE
= 0.2