<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_bshow__misc_8tcl">
<title>/Users/bernard/b20/bsoft/tcltk/bshow_misc.tcl File Reference</title>
<indexterm><primary>/Users/bernard/b20/bsoft/tcltk/bshow_misc.tcl</primary></indexterm>
<para>

<para>Miscellaneous procedures for Bshow and other scripts. </para>
 
</para>
<simplesect>
    <title>Namespaces    </title>
        <itemizedlist>
            <listitem><para> <link linkend="_namespacetk_1_1mac">tk::mac</link></para>
</listitem>
        </itemizedlist>
</simplesect>
<simplesect>
    <title>Functions    </title>
        <itemizedlist>
            <listitem><para><link linkend="_bshow__misc_8tcl_1ac99bad1a27b03a8b99fbc3446fc367c0">getControlWindow</link> theimg</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a81c870e58de5279c531fa7346886a9f9">getImageCanvas</link> theimg</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a7ff30a91bd712a3a5ae1fda20ab20a52">setupControls</link> w</para>

<para>Creates the right-side controls for image display. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1ac96c631623e172729b8b66c15ca9d9d9">yFlip</link> y</para>

<para>Flips the display y axis. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1ad5c5956387c1ae80bba796d68c10940d">imageCoordinatesFromCanvas</link> x y</para>

<para>Returns the image coordinates given canvas coordinates. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1ad4d157fb313f3e1117e580ff1321da3f">selectColor</link> w</para>

<para>Selects a color. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a7f90aa41e9795606fb6f1ab315aa90b3">setPreferences</link></para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a008a3a7e91b72eb1a977d833372d0d6d">writeSettingsFile</link></para>

<para>Saves the settings file .bshow. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a42573b39b832638b3895ba7674b3ea87">getFileName</link> w</para>

<para>getFileName Edits a file name entry </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a0d3737895b959470a590e01bcd9a399b">checkType</link> type val</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1af49f0f081dbee55cee3787d3f35882b7">setupEntry</link> w name type var desc</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a59fae140210bdf86f3f52e2c53071146">setupCheckEntry</link> w name type var cvar desc</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a0b1f4d3464b49ed8e57498220514c0b4">setupScrollEntry</link> w name var desc</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a526624af452929175ffee5a46847f89a">setupSizeEntry</link> w name type var desc</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a08d7e921e267f25580570cd1ff281c6a">setupCheckSizeEntry</link> w name type var cvar desc</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1ad923214302008deb31824a6d9a445d36">updateCheckSizeEntry</link> w var</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1acf8ef8e00b836f2f59e232a6c0493dd3">setupNewFileEntry</link> w name newfile desc</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a60aefde47b412d060a332804e2870d21">showHelp</link> helpfile</para>

<para>Opens a text documentation file. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1ad1b1a99f1c4ba2ac5b2d8821d582cbb0">showURL</link> url</para>

<para>Opens a URL in a web browser. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1acef7d8651cb492a45ae39d9fee34a56e">toolTip</link> w t</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1aa1eba6efe72cd340ea81bc0e3fd83efb">showTip</link> x y args</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a4998d5fb84e793ed2ce74ac6d77cbe92">hideTip</link></para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a3ad8fd47b2ca07110f7a5313aebfc468">updatePixelsize</link></para>

<para>Updates the pixel size. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a1d505d56391e0e4d6585c04e95970430">setPixelsize</link> theimg</para>

<para>Sets the pixel size. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a572fcf561a39e6819deb8c7c43224c45">updateOrigins</link></para>

<para>Updates the image origins from parameters. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1abfdb6847eb9d317a30067cadb490c9a0">drawOrigin</link></para>

<para>Draws the current image origin. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a59ccb6b853e024d557e752fa9d655260">mousePressed</link> c x y</para>

<para>Update or grabs items closeby whenever the mouse is pressed. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a9834066a5a1821ae427ec34a2a3c88c6">mouseMoved</link> c x y b</para>

<para>Updates or moves grabbed items whenever the mouse is moved. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a222725f53bad25887f422a7ab2bc6056">mouseReleased</link> c</para>

<para>Updates grabbed or nearby items whenever the mouse is released. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a26f3388424afa68f0b9e741aa159d300">showCoords</link></para>

<para>Displays updated coordinates whenever the mouse is moved. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a85e6aef78685563cc8102d1097b892be">setFOMcutoff</link> cutoff</para>

<para>Sets and updates the cutoff FOM. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a5e8a68fe305b02f23c64e74773d94d92">selectCursor</link></para>

<para>Selects a cursor for the canvas window. </para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a8f11c71cce8f00f78c871f1efea059b1">configCursor_destroyWindow</link> c w name</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1a97d4d7fc6e8bb6244e49d796699c3462">configCursor</link> c name</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1af099ea5d276374e3452279a6bc942c39">canvas2Photo</link> canvId</para>
</listitem>
            <listitem><para><link linkend="_bshow__misc_8tcl_1abfa175bd928f078352c11953c678593a">capture</link> W format file</para>
</listitem>
            <listitem><para><link linkend="_namespacetk_1_1mac_1a7b1ddb102018e797b5e341f07adb8d8c">tk::mac::ShowPreferences</link></para>
</listitem>
            <listitem><para><link linkend="_namespacetk_1_1mac_1ae0088b4f59a77c27d3013d5fa0e8df5f">tk::mac::ShowHelp</link></para>
</listitem>
        </itemizedlist>
</simplesect>
<section>
<title>Detailed Description</title>

<para>Miscellaneous procedures for Bshow and other scripts. </para>

<para><formalpara><title>Author: </title>

<para>Bernard Heymann </para>
</formalpara>
<formalpara><title>Date: </title>

<para>Created: 20010516 </para>

<para>Modified: 20190711 </para>
</formalpara>
</para>
</section>
<section>
<title>Function Documentation</title>
<anchor xml:id="_bshow__misc_8tcl_1af099ea5d276374e3452279a6bc942c39"/>    <section>
    <title>canvas2Photo()</title>
<indexterm><primary>canvas2Photo</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>canvas2Photo</secondary></indexterm>
<para><computeroutput>canvas2Photo canvId </computeroutput></para><para>
Definition at line 1051 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1abfa175bd928f078352c11953c678593a"/>    <section>
    <title>capture()</title>
<indexterm><primary>capture</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>capture</secondary></indexterm>
<para><computeroutput>capture W format file </computeroutput></para><para>
Definition at line 1061 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a0d3737895b959470a590e01bcd9a399b"/>    <section>
    <title>checkType()</title>
<indexterm><primary>checkType</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>checkType</secondary></indexterm>
<para><computeroutput>checkType type val </computeroutput></para><para>
Definition at line 468 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a97d4d7fc6e8bb6244e49d796699c3462"/>    <section>
    <title>configCursor()</title>
<indexterm><primary>configCursor</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>configCursor</secondary></indexterm>
<para><computeroutput>configCursor c name </computeroutput></para><para>
Definition at line 1029 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a8f11c71cce8f00f78c871f1efea059b1"/>    <section>
    <title>configCursor_destroyWindow()</title>
<indexterm><primary>configCursor_destroyWindow</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>configCursor_destroyWindow</secondary></indexterm>
<para><computeroutput>configCursor_destroyWindow c w name </computeroutput></para><para>
Definition at line 1024 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1abfdb6847eb9d317a30067cadb490c9a0"/>    <section>
    <title>drawOrigin()</title>
<indexterm><primary>drawOrigin</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>drawOrigin</secondary></indexterm>
<para><computeroutput>drawOrigin</computeroutput></para><para>

<para>Draws the current image origin. </para>
</para>
<para>
Definition at line 745 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1ac99bad1a27b03a8b99fbc3446fc367c0"/>    <section>
    <title>getControlWindow()</title>
<indexterm><primary>getControlWindow</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>getControlWindow</secondary></indexterm>
<para><computeroutput>getControlWindow theimg </computeroutput></para><para>
Definition at line 47 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a42573b39b832638b3895ba7674b3ea87"/>    <section>
    <title>getFileName()</title>
<indexterm><primary>getFileName</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>getFileName</secondary></indexterm>
<para><computeroutput>getFileName w </computeroutput></para><para>

<para>getFileName Edits a file name entry </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>w</entry>
                                <entry>
<para>the entry window </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 459 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a81c870e58de5279c531fa7346886a9f9"/>    <section>
    <title>getImageCanvas()</title>
<indexterm><primary>getImageCanvas</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>getImageCanvas</secondary></indexterm>
<para><computeroutput>getImageCanvas theimg </computeroutput></para><para>
Definition at line 55 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a4998d5fb84e793ed2ce74ac6d77cbe92"/>    <section>
    <title>hideTip()</title>
<indexterm><primary>hideTip</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>hideTip</secondary></indexterm>
<para><computeroutput>hideTip</computeroutput></para><para>
Definition at line 642 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1ad5c5956387c1ae80bba796d68c10940d"/>    <section>
    <title>imageCoordinatesFromCanvas()</title>
<indexterm><primary>imageCoordinatesFromCanvas</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>imageCoordinatesFromCanvas</secondary></indexterm>
<para><computeroutput>imageCoordinatesFromCanvas x y </computeroutput></para><para>

<para>Returns the image coordinates given canvas coordinates. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>x</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>y</entry>
                                <entry>
<para>Canvas coordinates. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 154 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a9834066a5a1821ae427ec34a2a3c88c6"/>    <section>
    <title>mouseMoved()</title>
<indexterm><primary>mouseMoved</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>mouseMoved</secondary></indexterm>
<para><computeroutput>mouseMoved c x y b </computeroutput></para><para>

<para>Updates or moves grabbed items whenever the mouse is moved. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>c</entry>
                                <entry>
<para>Canvas object. </para>
</entry>
                            </row>
                            <row>
                                <entry>x</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>y</entry>
                                <entry>
<para>Coordinates on the canvas. </para>
</entry>
                            </row>
                            <row>
                                <entry>b</entry>
                                <entry>
<para>button pressed. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 815 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a59ccb6b853e024d557e752fa9d655260"/>    <section>
    <title>mousePressed()</title>
<indexterm><primary>mousePressed</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>mousePressed</secondary></indexterm>
<para><computeroutput>mousePressed c x y </computeroutput></para><para>

<para>Update or grabs items closeby whenever the mouse is pressed. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>c</entry>
                                <entry>
<para>Canvas object. </para>
</entry>
                            </row>
                            <row>
                                <entry>x</entry>
                                <entry>
<para></para>
</entry>
                            </row>
                            <row>
                                <entry>y</entry>
                                <entry>
<para>Coordinates on the canvas. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 779 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a222725f53bad25887f422a7ab2bc6056"/>    <section>
    <title>mouseReleased()</title>
<indexterm><primary>mouseReleased</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>mouseReleased</secondary></indexterm>
<para><computeroutput>mouseReleased c </computeroutput></para><para>

<para>Updates grabbed or nearby items whenever the mouse is released. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>c</entry>
                                <entry>
<para>Canvas object. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 870 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1ad4d157fb313f3e1117e580ff1321da3f"/>    <section>
    <title>selectColor()</title>
<indexterm><primary>selectColor</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>selectColor</secondary></indexterm>
<para><computeroutput>selectColor w </computeroutput></para><para>

<para>Selects a color. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>w</entry>
                                <entry>
<para>parent window </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 171 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a5e8a68fe305b02f23c64e74773d94d92"/>    <section>
    <title>selectCursor()</title>
<indexterm><primary>selectCursor</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>selectCursor</secondary></indexterm>
<para><computeroutput>selectCursor</computeroutput></para><para>

<para>Selects a cursor for the canvas window. </para>
</para>
<para>
Definition at line 969 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a85e6aef78685563cc8102d1097b892be"/>    <section>
    <title>setFOMcutoff()</title>
<indexterm><primary>setFOMcutoff</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>setFOMcutoff</secondary></indexterm>
<para><computeroutput>setFOMcutoff cutoff </computeroutput></para><para>

<para>Sets and updates the cutoff FOM. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>cutoff</entry>
                                <entry>
<para>FOM cutoff value. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 959 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a1d505d56391e0e4d6585c04e95970430"/>    <section>
    <title>setPixelsize()</title>
<indexterm><primary>setPixelsize</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>setPixelsize</secondary></indexterm>
<para><computeroutput>setPixelsize theimg </computeroutput></para><para>

<para>Sets the pixel size. </para>
</para>

<para>theimg Image identifier. </para>
<para>
Definition at line 680 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a7f90aa41e9795606fb6f1ab315aa90b3"/>    <section>
    <title>setPreferences()</title>
<indexterm><primary>setPreferences</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>setPreferences</secondary></indexterm>
<para><computeroutput>setPreferences</computeroutput></para><para>
Definition at line 188 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a59fae140210bdf86f3f52e2c53071146"/>    <section>
    <title>setupCheckEntry()</title>
<indexterm><primary>setupCheckEntry</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>setupCheckEntry</secondary></indexterm>
<para><computeroutput>setupCheckEntry w name type var cvar desc </computeroutput></para><para>
Definition at line 486 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a08d7e921e267f25580570cd1ff281c6a"/>    <section>
    <title>setupCheckSizeEntry()</title>
<indexterm><primary>setupCheckSizeEntry</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>setupCheckSizeEntry</secondary></indexterm>
<para><computeroutput>setupCheckSizeEntry w name type var cvar desc </computeroutput></para><para>
Definition at line 522 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a7ff30a91bd712a3a5ae1fda20ab20a52"/>    <section>
    <title>setupControls()</title>
<indexterm><primary>setupControls</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>setupControls</secondary></indexterm>
<para><computeroutput>setupControls w </computeroutput></para><para>

<para>Creates the right-side controls for image display. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>w</entry>
                                <entry>
<para>Control window. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 73 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1af49f0f081dbee55cee3787d3f35882b7"/>    <section>
    <title>setupEntry()</title>
<indexterm><primary>setupEntry</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>setupEntry</secondary></indexterm>
<para><computeroutput>setupEntry w name type var desc </computeroutput></para><para>
Definition at line 476 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1acf8ef8e00b836f2f59e232a6c0493dd3"/>    <section>
    <title>setupNewFileEntry()</title>
<indexterm><primary>setupNewFileEntry</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>setupNewFileEntry</secondary></indexterm>
<para><computeroutput>setupNewFileEntry w name newfile desc </computeroutput></para><para>
Definition at line 543 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a0b1f4d3464b49ed8e57498220514c0b4"/>    <section>
    <title>setupScrollEntry()</title>
<indexterm><primary>setupScrollEntry</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>setupScrollEntry</secondary></indexterm>
<para><computeroutput>setupScrollEntry w name var desc </computeroutput></para><para>
Definition at line 496 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a526624af452929175ffee5a46847f89a"/>    <section>
    <title>setupSizeEntry()</title>
<indexterm><primary>setupSizeEntry</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>setupSizeEntry</secondary></indexterm>
<para><computeroutput>setupSizeEntry w name type var desc </computeroutput></para><para>
Definition at line 509 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a26f3388424afa68f0b9e741aa159d300"/>    <section>
    <title>showCoords()</title>
<indexterm><primary>showCoords</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>showCoords</secondary></indexterm>
<para><computeroutput>showCoords</computeroutput></para><para>

<para>Displays updated coordinates whenever the mouse is moved. </para>
</para>
<para>
Definition at line 909 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a60aefde47b412d060a332804e2870d21"/>    <section>
    <title>showHelp()</title>
<indexterm><primary>showHelp</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>showHelp</secondary></indexterm>
<para><computeroutput>showHelp helpfile </computeroutput></para><para>

<para>Opens a text documentation file. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>helpfile</entry>
                                <entry>
<para>File name. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 558 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1aa1eba6efe72cd340ea81bc0e3fd83efb"/>    <section>
    <title>showTip()</title>
<indexterm><primary>showTip</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>showTip</secondary></indexterm>
<para><computeroutput>showTip x y args </computeroutput></para><para>
Definition at line 636 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1ad1b1a99f1c4ba2ac5b2d8821d582cbb0"/>    <section>
    <title>showURL()</title>
<indexterm><primary>showURL</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>showURL</secondary></indexterm>
<para><computeroutput>showURL url </computeroutput></para><para>

<para>Opens a URL in a web browser. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>url</entry>
                                <entry>
<para>URL. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 592 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1acef7d8651cb492a45ae39d9fee34a56e"/>    <section>
    <title>toolTip()</title>
<indexterm><primary>toolTip</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>toolTip</secondary></indexterm>
<para><computeroutput>toolTip w t </computeroutput></para><para>
Definition at line 627 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1ad923214302008deb31824a6d9a445d36"/>    <section>
    <title>updateCheckSizeEntry()</title>
<indexterm><primary>updateCheckSizeEntry</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>updateCheckSizeEntry</secondary></indexterm>
<para><computeroutput>updateCheckSizeEntry w var </computeroutput></para><para>
Definition at line 535 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a572fcf561a39e6819deb8c7c43224c45"/>    <section>
    <title>updateOrigins()</title>
<indexterm><primary>updateOrigins</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>updateOrigins</secondary></indexterm>
<para><computeroutput>updateOrigins</computeroutput></para><para>

<para>Updates the image origins from parameters. </para>
</para>
<para>
Definition at line 696 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a3ad8fd47b2ca07110f7a5313aebfc468"/>    <section>
    <title>updatePixelsize()</title>
<indexterm><primary>updatePixelsize</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>updatePixelsize</secondary></indexterm>
<para><computeroutput>updatePixelsize</computeroutput></para><para>

<para>Updates the pixel size. </para>
</para>
<para>
Definition at line 658 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1a008a3a7e91b72eb1a977d833372d0d6d"/>    <section>
    <title>writeSettingsFile()</title>
<indexterm><primary>writeSettingsFile</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>writeSettingsFile</secondary></indexterm>
<para><computeroutput>writeSettingsFile</computeroutput></para><para>

<para>Saves the settings file .bshow. </para>
</para>
<para>
Definition at line 308 of file bshow_misc.tcl.</para>
    </section><anchor xml:id="_bshow__misc_8tcl_1ac96c631623e172729b8b66c15ca9d9d9"/>    <section>
    <title>yFlip()</title>
<indexterm><primary>yFlip</primary><secondary>bshow_misc.tcl</secondary></indexterm>
<indexterm><primary>bshow_misc.tcl</primary><secondary>yFlip</secondary></indexterm>
<para><computeroutput>yFlip y </computeroutput></para><para>

<para>Flips the display y axis. </para>
</para>

<para>
                <formalpara>
                    <title>
Parameters                    </title>
                    <para>
                    <table frame="all">
                        <tgroup cols="2" align="left" colsep="1" rowsep="1">
                        <colspec colwidth="1*"/>
                        <colspec colwidth="4*"/>
                        <tbody>
                            <row>
                                <entry>y</entry>
                                <entry>
<para>Canvas y value. </para>
</entry>
                            </row>
                        </tbody>
                        </tgroup>
                    </table>
                    </para>
                </formalpara>
                </para>
<para>
Definition at line 143 of file bshow_misc.tcl.</para>
</section>
</section>
</section>
