Debian Codegraph @

opcodes/flsetbox.xml

raw symbols SCIP
1
2 <refentry id="FLsetBox">
3 <indexterm id="IndexFLsetBox"><primary>FLsetBox</primary></indexterm>
4 <refentryinfo><title>FLTK:Appearance</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>FLsetBox</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>FLsetBox</refname>
13 <refpurpose>
14 Sets the appearance of a box surrounding a FLTK widget.
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 <emphasis>FLsetBox</emphasis> sets the appearance of a box surrounding the target widget.
25 </para>
26 </refsect1>
27
28 <refsect1>
29 <title>Syntax</title>
30 <synopsis><command>FLsetBox</command> itype, ihandle</synopsis>
31 </refsect1>
32
33 <refsect1>
34 <title>Initialization</title>
35 <para>
36 <emphasis>itype</emphasis> -- an integer number that modify the appearance of the target widget.
37 </para>
38
39 <para>
40 Legal values for the <emphasis>itype</emphasis> argument are:
41
42 <itemizedlist>
43 <listitem><para>1 - flat box</para></listitem>
44 <listitem><para>2 - up box</para></listitem>
45 <listitem><para>3 - down box</para></listitem>
46 <listitem><para>4 - thin up box</para></listitem>
47 <listitem><para>5 - thin down box</para></listitem>
48 <listitem><para>6 - engraved box</para></listitem>
49 <listitem><para>7 - embossed box</para></listitem>
50 <listitem><para>8 - border box</para></listitem>
51 <listitem><para>9 - shadow box</para></listitem>
52 <listitem><para>10 - rounded box</para></listitem>
53 <listitem><para>11 - rounded box with shadow</para></listitem>
54 <listitem><para>12 - rounded flat box</para></listitem>
55 <listitem><para>13 - rounded up box</para></listitem>
56 <listitem><para>14 - rounded down box</para></listitem>
57 <listitem><para>15 - diamond up box</para></listitem>
58 <listitem><para>16 - diamond down box</para></listitem>
59 <listitem><para>17 - oval box</para></listitem>
60 <listitem><para>18 - oval shadow box</para></listitem>
61 <listitem><para>19 - oval flat box</para></listitem>
62 </itemizedlist>
63 </para>
64
65 <para>
66 <emphasis>ihandle</emphasis> -- an integer number (used as unique identifier) taken from the output of a previously located widget opcode (which corresponds to the target widget). It is used to unequivocally identify the widget when modifying its appearance with this class of opcodes. The user must not set the <emphasis>ihandle</emphasis> value directly, otherwise a Csound crash will occur.
67 </para>
68 </refsect1>
69
70 <refsect1>
71 <title>See Also</title>
72 <para>
73 <link linkend="FLcolor2"><citetitle>FLcolor2</citetitle></link>,
74 <link linkend="FLhide"><citetitle>FLhide</citetitle></link>,
75 <link linkend="FLlabel"><citetitle>FLlabel</citetitle></link>,
76 <link linkend="FLsetAlign"><citetitle>FLsetAlign</citetitle></link>,
77 <link linkend="FLsetBox"><citetitle>FLsetBox</citetitle></link>,
78 <link linkend="FLsetColor"><citetitle>FLsetColor</citetitle></link>,
79 <link linkend="FLsetColor2"><citetitle>FLsetColor2</citetitle></link>,
80 <link linkend="FLsetFont"><citetitle>FLsetFont</citetitle></link>,
81 <link linkend="FLsetPosition"><citetitle>FLsetPosition</citetitle></link>,
82 <link linkend="FLsetSize"><citetitle>FLsetSize</citetitle></link>,
83 <link linkend="FLsetText"><citetitle>FLsetText</citetitle></link>,
84 <link linkend="FLsetTextColor"><citetitle>FLsetTextColor</citetitle></link>,
85 <link linkend="FLsetTextSize"><citetitle>FLsetTextSize</citetitle></link>,
86 <link linkend="FLsetTextType"><citetitle>FLsetTextType</citetitle></link>,
87 <link linkend="FLsetVal_i"><citetitle>FLsetVal_i</citetitle></link>,
88 <link linkend="FLsetVal"><citetitle>FLsetVal</citetitle></link>,
89 <link linkend="FLshow"><citetitle>FLshow</citetitle></link>
90 </para>
91 </refsect1>
92
93 <refsect1>
94 <title>Credits</title>
95 <para>Author: &namegabriel;</para>
96 <para>New in version 4.22</para>
97 </refsect1>
98 </refentry>