• Home
  • Raw
  • Download

Lines Matching refs:form

29 the 'current form' maintained by the library to which new FORMS objects are
30 added, all functions that add a FORMS object to a form are methods of the Python
31 object representing the form. Consequently, there are no Python equivalents for
36 :dfn:`object` for the buttons, sliders etc. that you can place in a form. In
38 new Python object types: form objects (representing an entire form) and FORMS
62 Create a form with given type, width and height. This returns a :dfn:`form`
167 whose first argument is a form pointer; please refer to the official FORMS
176 .. method:: form.show_form(placement, bordertype, name)
178 Show the form.
181 .. method:: form.hide_form()
183 Hide the form.
186 .. method:: form.redraw_form()
188 Redraw the form.
191 .. method:: form.set_form_position(x, y)
193 Set the form's position.
196 .. method:: form.freeze_form()
198 Freeze the form.
201 .. method:: form.unfreeze_form()
203 Unfreeze the form.
206 .. method:: form.activate_form()
208 Activate the form.
211 .. method:: form.deactivate_form()
213 Deactivate the form.
216 .. method:: form.bgn_group()
221 .. method:: form.end_group()
226 .. method:: form.find_first()
228 Find the first object in the form.
231 .. method:: form.find_last()
233 Find the last object in the form.
236 .. method:: form.add_box(type, x, y, w, h, name)
238 Add a box object to the form. No extra methods.
241 .. method:: form.add_text(type, x, y, w, h, name)
243 Add a text object to the form. No extra methods.
245 .. \begin{methoddesc}[form]{add_bitmap}{type, x, y, w, h, name}
246 .. Add a bitmap object to the form.
250 .. method:: form.add_clock(type, x, y, w, h, name)
252 Add a clock object to the form. --- Method: :meth:`get_clock`.
255 .. method:: form.add_button(type, x, y, w, h, name)
257 Add a button object to the form. --- Methods: :meth:`get_button`,
261 .. method:: form.add_lightbutton(type, x, y, w, h, name)
263 Add a lightbutton object to the form. --- Methods: :meth:`get_button`,
267 .. method:: form.add_roundbutton(type, x, y, w, h, name)
269 Add a roundbutton object to the form. --- Methods: :meth:`get_button`,
273 .. method:: form.add_slider(type, x, y, w, h, name)
275 Add a slider object to the form. --- Methods: :meth:`set_slider_value`,
281 .. method:: form.add_valslider(type, x, y, w, h, name)
283 Add a valslider object to the form. --- Methods: :meth:`set_slider_value`,
289 .. method:: form.add_dial(type, x, y, w, h, name)
291 Add a dial object to the form. --- Methods: :meth:`set_dial_value`,
295 .. method:: form.add_positioner(type, x, y, w, h, name)
297 Add a positioner object to the form. --- Methods:
304 .. method:: form.add_counter(type, x, y, w, h, name)
306 Add a counter object to the form. --- Methods: :meth:`set_counter_value`,
311 .. method:: form.add_input(type, x, y, w, h, name)
313 Add an input object to the form. --- Methods: :meth:`set_input`,
317 .. method:: form.add_menu(type, x, y, w, h, name)
319 Add a menu object to the form. --- Methods: :meth:`set_menu`,
323 .. method:: form.add_choice(type, x, y, w, h, name)
325 Add a choice object to the form. --- Methods: :meth:`set_choice`,
331 .. method:: form.add_browser(type, x, y, w, h, name)
333 Add a browser object to the form. --- Methods: :meth:`set_browser_topline`,
344 .. method:: form.add_timer(type, x, y, w, h, name)
346 Add a timer object to the form. --- Methods: :meth:`set_timer`,
356 | :attr:`w` | float | form width |
358 | :attr:`h` | float | form height |
360 | :attr:`x` | float | form x origin |
362 | :attr:`y` | float | form y origin |
364 | :attr:`deactivated` | int | nonzero if form is deactivated |
366 | :attr:`visible` | int | nonzero if form is visible |
368 | :attr:`frozen` | int | nonzero if form is frozen |
515 This module defines functions that can read form definitions created by the
516 'form designer' (:program:`fdesign`) program that comes with the FORMS library