diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-01-14 15:42:02 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-01-14 15:42:02 (GMT) |
commit | 98ed08f24e4b7b7a5d82fb1e07ad5a0319291c2b (patch) | |
tree | ea97c15200ee6221998e0ea6eb1ca5f1b3faccd7 /Doc/library/fl.rst | |
parent | bbd41d0874c49f756b3a7bcdcbf1e5ac61137377 (diff) | |
download | cpython-98ed08f24e4b7b7a5d82fb1e07ad5a0319291c2b.zip cpython-98ed08f24e4b7b7a5d82fb1e07ad5a0319291c2b.tar.gz cpython-98ed08f24e4b7b7a5d82fb1e07ad5a0319291c2b.tar.bz2 |
update to new C roles and directives
Diffstat (limited to 'Doc/library/fl.rst')
-rw-r--r-- | Doc/library/fl.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/fl.rst b/Doc/library/fl.rst index a5a426a..540cac9 100644 --- a/Doc/library/fl.rst +++ b/Doc/library/fl.rst @@ -29,8 +29,8 @@ 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 :cfunc:`fl_addto_form` and :cfunc:`fl_end_form`, and the -equivalent of :cfunc:`fl_bgn_form` is called :func:`fl.make_form`. +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`. 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 @@ -44,7 +44,7 @@ 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. **Please note:** importing :mod:`fl` implies a call to the GL function -:cfunc:`foreground` and to the FORMS routine :cfunc:`fl_init`. +:c:func:`foreground` and to the FORMS routine :c:func:`fl_init`. .. _fl-functions: @@ -88,7 +88,7 @@ documentation: .. function:: get_rgbmode() Return the current rgb mode. This is the value of the C global variable - :cdata:`fl_rgbmode`. + :c:data:`fl_rgbmode`. .. function:: show_message(str1, str2, str3) @@ -153,8 +153,8 @@ documentation: mapcolor() getmcolor() - See the description in the FORMS documentation of :cfunc:`fl_color`, - :cfunc:`fl_mapcolor` and :cfunc:`fl_getmcolor`. + See the description in the FORMS documentation of :c:func:`fl_color`, + :c:func:`fl_mapcolor` and :c:func:`fl_getmcolor`. .. _form-objects: |