| 1 | |
| 2 | <refentry id="FLgroup"> |
| 3 | <indexterm id="IndexFLgroup"><primary>FLgroup</primary></indexterm> |
| 4 | <refentryinfo><title>FLTK:Containers</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>FLgroup</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>FLgroup</refname> |
| 13 | <refpurpose> |
| 14 | A FLTK container opcode that groups child widgets. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | Plugin opcode in widgets. This opcode is part of the plugin repository and has to be installed separately. These FLTK widgets do not work on the Mac. |
| 22 | The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para> |
| 23 | <para> |
| 24 | A FLTK container opcode that groups child widgets. |
| 25 | </para> |
| 26 | </refsect1> |
| 27 | |
| 28 | <refsect1> |
| 29 | <title>Syntax</title> |
| 30 | <synopsis><command>FLgroup</command> "label", iwidth, iheight, ix, iy [, iborder] [, image]</synopsis> |
| 31 | </refsect1> |
| 32 | |
| 33 | <refsect1> |
| 34 | <title>Initialization</title> |
| 35 | <para> |
| 36 | <emphasis><quote>label</quote></emphasis> -- a double-quoted string containing some user-provided text, placed near the corresponding widget. |
| 37 | </para> |
| 38 | |
| 39 | <para> |
| 40 | <emphasis>iwidth</emphasis> -- width of widget. |
| 41 | </para> |
| 42 | |
| 43 | <para> |
| 44 | <emphasis>iheight</emphasis> -- height of widget. |
| 45 | </para> |
| 46 | |
| 47 | <para> |
| 48 | <emphasis>ix</emphasis> -- horizontal position of upper left corner of the valuator, relative to the upper left corner of corresponding window (expressed in pixels). |
| 49 | </para> |
| 50 | |
| 51 | <para> |
| 52 | <emphasis>iy</emphasis> -- vertical position of upper left corner of the valuator, relative to the upper left corner of corresponding window (expressed in pixels). |
| 53 | </para> |
| 54 | |
| 55 | <para> |
| 56 | <emphasis>iborder</emphasis> (optional, default=0) -- border type of the container. It is expressed by means of an integer number chosen from the following: |
| 57 | |
| 58 | <itemizedlist> |
| 59 | <listitem><para>0 - no border</para></listitem> |
| 60 | <listitem><para>1 - down box border</para></listitem> |
| 61 | <listitem><para>2 - up box border</para></listitem>f |
| 62 | <listitem><para>3 - engraved border</para></listitem> |
| 63 | <listitem><para>4 - embossed border</para></listitem> |
| 64 | <listitem><para>5 - black line border</para></listitem> |
| 65 | <listitem><para>6 - thin down border</para></listitem> |
| 66 | <listitem><para>7 - thin up border</para></listitem> |
| 67 | </itemizedlist> |
| 68 | |
| 69 | If the integer number does not match any of the previous values, no border is provided as the default. |
| 70 | </para> |
| 71 | |
| 72 | <para> |
| 73 | <emphasis>image</emphasis> (optional) -- a handle referring to an eventual image opened with the <emphasis>bmopen</emphasis> opcode. If it is set, it allows a skin for that widget. |
| 74 | </para> |
| 75 | |
| 76 | <note> |
| 77 | <title>Note about the bmopen opcode</title> |
| 78 | <para> |
| 79 | Although the documentation mentions the <emphasis>bmopen</emphasis> opcode, it has not been implemented in Csound 4.22. |
| 80 | </para> |
| 81 | </note> |
| 82 | </refsect1> |
| 83 | |
| 84 | <refsect1> |
| 85 | <title>Performance</title> |
| 86 | <para> |
| 87 | Containers are useful to format the graphic appearance of the widgets. The most important container is <link linkend="FLpanel"><citetitle>FLpanel</citetitle></link>, that actually creates a window. It can be filled with other containers and/or valuators or other kinds of widgets. |
| 88 | </para> |
| 89 | |
| 90 | <para> |
| 91 | There are no k-rate arguments in containers. |
| 92 | </para> |
| 93 | </refsect1> |
| 94 | |
| 95 | <refsect1> |
| 96 | <title>See Also</title> |
| 97 | <para> |
| 98 | <link linkend="FLgroupEnd"><citetitle>FLgroupEnd</citetitle></link>, |
| 99 | <link linkend="FLpack"><citetitle>FLpack</citetitle></link>, |
| 100 | <link linkend="FLpackEnd"><citetitle>FLpackEnd</citetitle></link>, |
| 101 | <link linkend="FLpanel"><citetitle>FLpanel</citetitle></link>, |
| 102 | <link linkend="FLpanelEnd"><citetitle>FLpanelEnd</citetitle></link>, |
| 103 | <link linkend="FLscroll"><citetitle>FLscroll</citetitle></link>, |
| 104 | <link linkend="FLscrollEnd"><citetitle>FLscrollEnd</citetitle></link>, |
| 105 | <link linkend="FLtabs"><citetitle>FLtabs</citetitle></link>, |
| 106 | <link linkend="FLtabsEnd"><citetitle>FLtabsEnd</citetitle></link> |
| 107 | </para> |
| 108 | </refsect1> |
| 109 | |
| 110 | <refsect1> |
| 111 | <title>Credits</title> |
| 112 | <para>Author: &namegabriel;</para> |
| 113 | <para>New in version 4.22</para> |
| 114 | </refsect1> |
| 115 | </refentry> |