# SOME DESCRIPTIVE TITLE. # Copyright (C) 1990-2016, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 2.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-10-30 10:44+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../Doc/library/fl.rst:3 msgid ":mod:`fl` --- FORMS library for graphical user interfaces" msgstr "" #: ../Doc/library/fl.rst:11 msgid "The :mod:`fl` module has been removed in Python 3." msgstr "" #: ../Doc/library/fl.rst:19 msgid "" "This module provides an interface to the FORMS Library by Mark Overmars. " "The source for the library can be retrieved by anonymous FTP from host ``ftp." "cs.ruu.nl``, directory :file:`SGI/FORMS`. It was last tested with version " "2.0b." msgstr "" #: ../Doc/library/fl.rst:24 msgid "" "Most functions are literal translations of their C equivalents, dropping the " "initial ``fl_`` from their name. Constants used by the library are defined " "in module :mod:`FL` described below." msgstr "" #: ../Doc/library/fl.rst:28 msgid "" "The creation of objects is a little different in Python than in C: instead " "of the 'current form' maintained by the library to which new FORMS objects " "are added, all functions that add a FORMS object to a form are methods of " "the Python object representing the form. Consequently, there are no Python " "equivalents for the C functions :c:func:`fl_addto_form` and :c:func:" "`fl_end_form`, and the equivalent of :c:func:`fl_bgn_form` is called :func:" "`fl.make_form`." msgstr "" #: ../Doc/library/fl.rst:35 msgid "" "Watch out for the somewhat confusing terminology: FORMS uses the word :dfn:" "`object` for the buttons, sliders etc. that you can place in a form. In " "Python, 'object' means any value. The Python interface to FORMS introduces " "two new Python object types: form objects (representing an entire form) and " "FORMS objects (representing one button, slider etc.). Hopefully this isn't " "too confusing." msgstr "" #: ../Doc/library/fl.rst:42 msgid "" "There are no 'free objects' in the Python interface to FORMS, nor is there " "an easy way to add object classes written in Python. The FORMS interface to " "GL event handling is available, though, so you can mix FORMS with pure GL " "windows." msgstr "" #: ../Doc/library/fl.rst:46 msgid "" "**Please note:** importing :mod:`fl` implies a call to the GL function :c:" "func:`foreground` and to the FORMS routine :c:func:`fl_init`." msgstr "" #: ../Doc/library/fl.rst:53 msgid "Functions Defined in Module :mod:`fl`" msgstr "" #: ../Doc/library/fl.rst:55 msgid "" "Module :mod:`fl` defines the following functions. For more information " "about what they do, see the description of the equivalent C function in the " "FORMS documentation:" msgstr "" #: ../Doc/library/fl.rst:62 msgid "" "Create a form with given type, width and height. This returns a :dfn:`form` " "object, whose methods are described below." msgstr "" #: ../Doc/library/fl.rst:68 msgid "" "The standard FORMS main loop. Returns a Python object representing the " "FORMS object needing interaction, or the special value :const:`FL.EVENT`." msgstr "" #: ../Doc/library/fl.rst:74 msgid "" "Check for FORMS events. Returns what :func:`do_forms` above returns, or " "``None`` if there is no event that immediately needs interaction." msgstr "" #: ../Doc/library/fl.rst:80 msgid "Set the event callback function." msgstr "" #: ../Doc/library/fl.rst:85 msgid "Set the graphics modes." msgstr "" #: ../Doc/library/fl.rst:90 msgid "" "Return the current rgb mode. This is the value of the C global variable :c:" "data:`fl_rgbmode`." msgstr "" #: ../Doc/library/fl.rst:96 msgid "Show a dialog box with a three-line message and an OK button." msgstr "" #: ../Doc/library/fl.rst:101 msgid "" "Show a dialog box with a three-line message and YES and NO buttons. It " "returns ``1`` if the user pressed YES, ``0`` if NO." msgstr "" #: ../Doc/library/fl.rst:107 msgid "" "Show a dialog box with a three-line message and up to three buttons. It " "returns the number of the button clicked by the user (``1``, ``2`` or ``3``)." msgstr "" #: ../Doc/library/fl.rst:113 msgid "" "Show a dialog box with a one-line prompt message and text field in which the " "user can enter a string. The second argument is the default input string. " "It returns the string value as edited by the user." msgstr "" #: ../Doc/library/fl.rst:120 msgid "" "Show a dialog box in which the user can select a file. It returns the " "absolute filename selected by the user, or ``None`` if the user presses " "Cancel." msgstr "" #: ../Doc/library/fl.rst:128 msgid "" "These functions return the directory, pattern and filename (the tail part " "only) selected by the user in the last :func:`show_file_selector` call." msgstr "" #: ../Doc/library/fl.rst:142 msgid "" "These functions are the FORMS interfaces to the corresponding GL functions. " "Use these if you want to handle some GL events yourself when using :func:`fl." "do_events`. When a GL event is detected that FORMS cannot handle, :func:`fl." "do_forms` returns the special value :const:`FL.EVENT` and you should call :" "func:`fl.qread` to read the event from the queue. Don't use the equivalent " "GL functions!" msgstr "" #: ../Doc/library/fl.rst:156 msgid "" "See the description in the FORMS documentation of :c:func:`fl_color`, :c:" "func:`fl_mapcolor` and :c:func:`fl_getmcolor`." msgstr "" #: ../Doc/library/fl.rst:163 msgid "Form Objects" msgstr "" #: ../Doc/library/fl.rst:165 msgid "" "Form objects (returned by :func:`make_form` above) have the following " "methods. Each method corresponds to a C function whose name is prefixed with " "``fl_``; and whose first argument is a form pointer; please refer to the " "official FORMS documentation for descriptions." msgstr "" #: ../Doc/library/fl.rst:170 msgid "" "All the :meth:`add_\\*` methods return a Python object representing the " "FORMS object. Methods of FORMS objects are described below. Most kinds of " "FORMS object also have some methods specific to that kind; these methods are " "listed here." msgstr "" #: ../Doc/library/fl.rst:178 msgid "Show the form." msgstr "" #: ../Doc/library/fl.rst:183 msgid "Hide the form." msgstr "" #: ../Doc/library/fl.rst:188 msgid "Redraw the form." msgstr "" #: ../Doc/library/fl.rst:193 msgid "Set the form's position." msgstr "" #: ../Doc/library/fl.rst:198 msgid "Freeze the form." msgstr "" #: ../Doc/library/fl.rst:203 msgid "Unfreeze the form." msgstr "" #: ../Doc/library/fl.rst:208 msgid "Activate the form." msgstr "" #: ../Doc/library/fl.rst:213 msgid "Deactivate the form." msgstr "" #: ../Doc/library/fl.rst:218 msgid "Begin a new group of objects; return a group object." msgstr "" #: ../Doc/library/fl.rst:223 msgid "End the current group of objects." msgstr "" #: ../Doc/library/fl.rst:228 msgid "Find the first object in the form." msgstr "" #: ../Doc/library/fl.rst:233 msgid "Find the last object in the form." msgstr "" #: ../Doc/library/fl.rst:238 msgid "Add a box object to the form. No extra methods." msgstr "" #: ../Doc/library/fl.rst:243 msgid "Add a text object to the form. No extra methods." msgstr "" #: ../Doc/library/fl.rst:252 msgid "Add a clock object to the form. --- Method: :meth:`get_clock`." msgstr "" #: ../Doc/library/fl.rst:257 msgid "" "Add a button object to the form. --- Methods: :meth:`get_button`, :meth:" "`set_button`." msgstr "" #: ../Doc/library/fl.rst:263 msgid "" "Add a lightbutton object to the form. --- Methods: :meth:`get_button`, :" "meth:`set_button`." msgstr "" #: ../Doc/library/fl.rst:269 msgid "" "Add a roundbutton object to the form. --- Methods: :meth:`get_button`, :" "meth:`set_button`." msgstr "" #: ../Doc/library/fl.rst:275 msgid "" "Add a slider object to the form. --- Methods: :meth:`set_slider_value`, :" "meth:`get_slider_value`, :meth:`set_slider_bounds`, :meth:" "`get_slider_bounds`, :meth:`set_slider_return`, :meth:`set_slider_size`, :" "meth:`set_slider_precision`, :meth:`set_slider_step`." msgstr "" #: ../Doc/library/fl.rst:283 msgid "" "Add a valslider object to the form. --- Methods: :meth:" "`set_slider_value`, :meth:`get_slider_value`, :meth:`set_slider_bounds`, :" "meth:`get_slider_bounds`, :meth:`set_slider_return`, :meth:" "`set_slider_size`, :meth:`set_slider_precision`, :meth:`set_slider_step`." msgstr "" #: ../Doc/library/fl.rst:291 msgid "" "Add a dial object to the form. --- Methods: :meth:`set_dial_value`, :meth:" "`get_dial_value`, :meth:`set_dial_bounds`, :meth:`get_dial_bounds`." msgstr "" #: ../Doc/library/fl.rst:297 msgid "" "Add a positioner object to the form. --- Methods: :meth:" "`set_positioner_xvalue`, :meth:`set_positioner_yvalue`, :meth:" "`set_positioner_xbounds`, :meth:`set_positioner_ybounds`, :meth:" "`get_positioner_xvalue`, :meth:`get_positioner_yvalue`, :meth:" "`get_positioner_xbounds`, :meth:`get_positioner_ybounds`." msgstr "" #: ../Doc/library/fl.rst:306 msgid "" "Add a counter object to the form. --- Methods: :meth:`set_counter_value`, :" "meth:`get_counter_value`, :meth:`set_counter_bounds`, :meth:" "`set_counter_step`, :meth:`set_counter_precision`, :meth:" "`set_counter_return`." msgstr "" #: ../Doc/library/fl.rst:313 msgid "" "Add an input object to the form. --- Methods: :meth:`set_input`, :meth:" "`get_input`, :meth:`set_input_color`, :meth:`set_input_return`." msgstr "" #: ../Doc/library/fl.rst:319 msgid "" "Add a menu object to the form. --- Methods: :meth:`set_menu`, :meth:" "`get_menu`, :meth:`addto_menu`." msgstr "" #: ../Doc/library/fl.rst:325 msgid "" "Add a choice object to the form. --- Methods: :meth:`set_choice`, :meth:" "`get_choice`, :meth:`clear_choice`, :meth:`addto_choice`, :meth:" "`replace_choice`, :meth:`delete_choice`, :meth:`get_choice_text`, :meth:" "`set_choice_fontsize`, :meth:`set_choice_fontstyle`." msgstr "" #: ../Doc/library/fl.rst:333 msgid "" "Add a browser object to the form. --- Methods: :meth:" "`set_browser_topline`, :meth:`clear_browser`, :meth:`add_browser_line`, :" "meth:`addto_browser`, :meth:`insert_browser_line`, :meth:" "`delete_browser_line`, :meth:`replace_browser_line`, :meth:" "`get_browser_line`, :meth:`load_browser`, :meth:`get_browser_maxline`, :meth:" "`select_browser_line`, :meth:`deselect_browser_line`, :meth:" "`deselect_browser`, :meth:`isselected_browser_line`, :meth:`get_browser`, :" "meth:`set_browser_fontsize`, :meth:`set_browser_fontstyle`, :meth:" "`set_browser_specialkey`." msgstr "" #: ../Doc/library/fl.rst:346 msgid "" "Add a timer object to the form. --- Methods: :meth:`set_timer`, :meth:" "`get_timer`." msgstr "" #: ../Doc/library/fl.rst:349 msgid "" "Form objects have the following data attributes; see the FORMS documentation:" msgstr "" #: ../Doc/library/fl.rst:352 ../Doc/library/fl.rst:430 msgid "Name" msgstr "Nom" #: ../Doc/library/fl.rst:352 ../Doc/library/fl.rst:430 msgid "C Type" msgstr "Type C" #: ../Doc/library/fl.rst:352 ../Doc/library/fl.rst:430 msgid "Meaning" msgstr "Signification" #: ../Doc/library/fl.rst:354 msgid ":attr:`window`" msgstr "" #: ../Doc/library/fl.rst:354 ../Doc/library/fl.rst:432 #: ../Doc/library/fl.rst:434 ../Doc/library/fl.rst:460 #: ../Doc/library/fl.rst:462 ../Doc/library/fl.rst:464 #: ../Doc/library/fl.rst:466 ../Doc/library/fl.rst:468 #: ../Doc/library/fl.rst:470 ../Doc/library/fl.rst:472 #: ../Doc/library/fl.rst:474 ../Doc/library/fl.rst:476 msgid "int (read-only)" msgstr "" #: ../Doc/library/fl.rst:354 msgid "GL window id" msgstr "" #: ../Doc/library/fl.rst:356 ../Doc/library/fl.rst:442 msgid ":attr:`w`" msgstr "" #: ../Doc/library/fl.rst:356 ../Doc/library/fl.rst:358 #: ../Doc/library/fl.rst:360 ../Doc/library/fl.rst:362 #: ../Doc/library/fl.rst:438 ../Doc/library/fl.rst:440 #: ../Doc/library/fl.rst:442 ../Doc/library/fl.rst:444 #: ../Doc/library/fl.rst:454 msgid "float" msgstr "*float*" #: ../Doc/library/fl.rst:356 msgid "form width" msgstr "" #: ../Doc/library/fl.rst:358 ../Doc/library/fl.rst:444 msgid ":attr:`h`" msgstr "" #: ../Doc/library/fl.rst:358 msgid "form height" msgstr "" #: ../Doc/library/fl.rst:360 ../Doc/library/fl.rst:438 msgid ":attr:`x`" msgstr "" #: ../Doc/library/fl.rst:360 msgid "form x origin" msgstr "" #: ../Doc/library/fl.rst:362 ../Doc/library/fl.rst:440 msgid ":attr:`y`" msgstr "" #: ../Doc/library/fl.rst:362 msgid "form y origin" msgstr "" #: ../Doc/library/fl.rst:364 msgid ":attr:`deactivated`" msgstr "" #: ../Doc/library/fl.rst:364 ../Doc/library/fl.rst:366 #: ../Doc/library/fl.rst:368 ../Doc/library/fl.rst:370 #: ../Doc/library/fl.rst:436 ../Doc/library/fl.rst:446 #: ../Doc/library/fl.rst:448 ../Doc/library/fl.rst:450 #: ../Doc/library/fl.rst:452 ../Doc/library/fl.rst:458 msgid "int" msgstr "*int*" #: ../Doc/library/fl.rst:364 msgid "nonzero if form is deactivated" msgstr "" #: ../Doc/library/fl.rst:366 ../Doc/library/fl.rst:472 msgid ":attr:`visible`" msgstr "" #: ../Doc/library/fl.rst:366 msgid "nonzero if form is visible" msgstr "" #: ../Doc/library/fl.rst:368 ../Doc/library/fl.rst:466 msgid ":attr:`frozen`" msgstr "" #: ../Doc/library/fl.rst:368 msgid "nonzero if form is frozen" msgstr "" #: ../Doc/library/fl.rst:370 msgid ":attr:`doublebuf`" msgstr "" #: ../Doc/library/fl.rst:370 msgid "nonzero if double buffering on" msgstr "" #: ../Doc/library/fl.rst:377 msgid "FORMS Objects" msgstr "" #: ../Doc/library/fl.rst:379 msgid "" "Besides methods specific to particular kinds of FORMS objects, all FORMS " "objects also have the following methods:" msgstr "" #: ../Doc/library/fl.rst:385 msgid "" "Set the object's callback function and argument. When the object needs " "interaction, the callback function will be called with two arguments: the " "object, and the callback argument. (FORMS objects without a callback " "function are returned by :func:`fl.do_forms` or :func:`fl.check_forms` when " "they need interaction.) Call this method without arguments to remove the " "callback function." msgstr "" #: ../Doc/library/fl.rst:395 msgid "Delete the object." msgstr "" #: ../Doc/library/fl.rst:400 msgid "Show the object." msgstr "" #: ../Doc/library/fl.rst:405 msgid "Hide the object." msgstr "" #: ../Doc/library/fl.rst:410 msgid "Redraw the object." msgstr "" #: ../Doc/library/fl.rst:415 msgid "Freeze the object." msgstr "" #: ../Doc/library/fl.rst:420 msgid "Unfreeze the object." msgstr "" #: ../Doc/library/fl.rst:422 msgid "FORMS objects have these data attributes; see the FORMS documentation:" msgstr "" #: ../Doc/library/fl.rst:432 msgid ":attr:`objclass`" msgstr "" #: ../Doc/library/fl.rst:432 msgid "object class" msgstr "" #: ../Doc/library/fl.rst:434 msgid ":attr:`type`" msgstr "" #: ../Doc/library/fl.rst:434 msgid "object type" msgstr "" #: ../Doc/library/fl.rst:436 msgid ":attr:`boxtype`" msgstr "" #: ../Doc/library/fl.rst:436 msgid "box type" msgstr "" #: ../Doc/library/fl.rst:438 msgid "x origin" msgstr "" #: ../Doc/library/fl.rst:440 msgid "y origin" msgstr "" #: ../Doc/library/fl.rst:442 msgid "width" msgstr "width" #: ../Doc/library/fl.rst:444 msgid "height" msgstr "height" #: ../Doc/library/fl.rst:446 msgid ":attr:`col1`" msgstr "" #: ../Doc/library/fl.rst:446 msgid "primary color" msgstr "" #: ../Doc/library/fl.rst:448 msgid ":attr:`col2`" msgstr "" #: ../Doc/library/fl.rst:448 msgid "secondary color" msgstr "" #: ../Doc/library/fl.rst:450 msgid ":attr:`align`" msgstr "" #: ../Doc/library/fl.rst:450 msgid "alignment" msgstr "" #: ../Doc/library/fl.rst:452 msgid ":attr:`lcol`" msgstr "" #: ../Doc/library/fl.rst:452 msgid "label color" msgstr "" #: ../Doc/library/fl.rst:454 msgid ":attr:`lsize`" msgstr "" #: ../Doc/library/fl.rst:454 msgid "label font size" msgstr "" #: ../Doc/library/fl.rst:456 msgid ":attr:`label`" msgstr "" #: ../Doc/library/fl.rst:456 msgid "string" msgstr "*string*" #: ../Doc/library/fl.rst:456 msgid "label string" msgstr "" #: ../Doc/library/fl.rst:458 msgid ":attr:`lstyle`" msgstr "" #: ../Doc/library/fl.rst:458 msgid "label style" msgstr "" #: ../Doc/library/fl.rst:460 msgid ":attr:`pushed`" msgstr "" #: ../Doc/library/fl.rst:460 ../Doc/library/fl.rst:462 #: ../Doc/library/fl.rst:464 ../Doc/library/fl.rst:466 #: ../Doc/library/fl.rst:468 ../Doc/library/fl.rst:470 #: ../Doc/library/fl.rst:472 ../Doc/library/fl.rst:474 #: ../Doc/library/fl.rst:476 msgid "(see FORMS docs)" msgstr "" #: ../Doc/library/fl.rst:462 msgid ":attr:`focus`" msgstr "" #: ../Doc/library/fl.rst:464 msgid ":attr:`belowmouse`" msgstr "" #: ../Doc/library/fl.rst:468 msgid ":attr:`active`" msgstr "" #: ../Doc/library/fl.rst:470 msgid ":attr:`input`" msgstr "" #: ../Doc/library/fl.rst:474 msgid ":attr:`radio`" msgstr "" #: ../Doc/library/fl.rst:476 msgid ":attr:`automatic`" msgstr "" #: ../Doc/library/fl.rst:481 msgid ":mod:`FL` --- Constants used with the :mod:`fl` module" msgstr "" #: ../Doc/library/fl.rst:489 msgid "The :mod:`FL` module has been removed in Python 3." msgstr "" #: ../Doc/library/fl.rst:493 msgid "" "This module defines symbolic constants needed to use the built-in module :" "mod:`fl` (see above); they are equivalent to those defined in the C header " "file ```` except that the name prefix ``FL_`` is omitted. Read the " "module source for a complete list of the defined names. Suggested use::" msgstr "" #: ../Doc/library/fl.rst:503 msgid ":mod:`flp` --- Functions for loading stored FORMS designs" msgstr "" #: ../Doc/library/fl.rst:511 msgid "The :mod:`flp` module has been removed in Python 3." msgstr "" #: ../Doc/library/fl.rst:515 msgid "" "This module defines functions that can read form definitions created by the " "'form designer' (:program:`fdesign`) program that comes with the FORMS " "library (see module :mod:`fl` above)." msgstr "" #: ../Doc/library/fl.rst:519 msgid "" "For now, see the file :file:`flp.doc` in the Python library source directory " "for a description." msgstr "" #: ../Doc/library/fl.rst:522 msgid "XXX A complete description should be inserted here!" msgstr ""