<commit_before><?xml version = "1.0"?>
<?xml-stylesheet type="text/xsl" href="pb_help.xsl"?>
<API>
    <MODULE name="NativeToolbar" parent="Rho" generateUnderscoreRubyNames="true">
        <HELP_OVERVIEW>The NativeToolbar methods let you create and remove toolbar at runtime.</HELP_OVERVIEW>
        <MORE_HELP></MORE_HELP>
        
        <TEMPLATES>
        </TEMPLATES>

        <PROPERTIES access="STATIC" generateAccessors="false">
        </PROPERTIES>

        <METHODS  access="STATIC">
            <ALIASES>
            </ALIASES>

            <METHOD name="create" runInThread="UI">
                <DESC>Removes the current toolbar and replaces it with this one.</DESC>
                <PARAMS>
                    <PARAM name="toolbarElements" type="ARRAY">
                        <DESC>Array of Tab elements.</DESC>

                        <PARAM name="toolbarElement" type="HASH">
                            <DESC>Properties of Toolbar elements. Either :icon or :label must be specified: if both are omitted, button will not be aded to the toolbar. If both are specified, :icon is drawn and :label is discarded.</DESC>
                            <PARAMS>
                                <PARAM name="label" type="STRING">
                                    <DESC>Visible label to display instead of an icon.</DESC>
                                </PARAM>
                                <PARAM name="action" type="STRING" rhoAction="true">
                                    <DESC>URL to call when button is pressed or special value.It may be path to Ruby controller action; i.e. '/app/Account' would load the Account index action. For ruby callback use 'callback:/app/Account' Or javascript method to call: 'javascript: methodOnButton();'.</DESC>
                                    <VALUES>
                                        <VALUE value ="separator">
                                            <DESC>Added separator to toolbar.</DESC>
                                        </VALUE>
                                        <VALUE value ="exit">
                                            <DESC>Exit the application.</DESC>
                                        </VALUE>
                                        <VALUE value ="close">
                                            <DESC>Exit the application.</DESC>
                                        </VALUE>
                                        <VALUE value ="options">
                                            <DESC>Navigate to Settings page, defined in configuration file.</DESC>
                                        </VALUE>
                                        <VALUE value ="home">
                                            <DESC>Navigate to Home page, defined in configuration file.</DESC>
                                        </VALUE>
                                        <VALUE value ="refresh">
                                            <DESC>Refresh current page.</DESC>
                                        </VALUE>
                                        <VALUE value ="back">
                                            <DESC>Perform back action or execute browser back.</DESC>
                                        </VALUE>
                                        <VALUE value ="log">
                                            <DESC>Display Log View window.</DESC>
                                        </VALUE>
                                        <VALUE value ="fullscreen">
                                            <DESC>Expand application window to full screen.</DESC>
                                        </VALUE>
                                        <VALUE value ="sync">
                                            <DESC>Run full sync command.</DESC>
                                        </VALUE>
                                        <VALUE value ="minimize">
                                            <DESC>Minimize application window.</DESC>
                                            <PLATFORMS>WM, Win32</PLATFORMS>
                                        </VALUE>
                                        <VALUE value ="SIP">
                                            <DESC>Display software keyboard window.</DESC>
                                            <PLATFORMS>WM</PLATFORMS>
                                        </VALUE>

                                    </VALUES>

                                </PARAM>
                                <PARAM name="icon" type="STRING">
                                    <DESC>Relative path to toolbar item icon in your rhodes app (typically located in '/public/images/'). iPhone and Android: Icons must be no more than 30x30 pixels and must be in .png format. Windows Mobile: Icons can be any size, but all icons should have same size (default - 48x48).</DESC>
                                </PARAM><commit_msg>NativeToolbar.xml: recommended number of toolbar elements and WM image formats<commit_after><?xml version = "1.0"?>
<?xml-stylesheet type="text/xsl" href="pb_help.xsl"?>
<API>
    <MODULE name="NativeToolbar" parent="Rho" generateUnderscoreRubyNames="true">
        <HELP_OVERVIEW>The NativeToolbar methods let you create and remove toolbar at runtime.</HELP_OVERVIEW>
        <MORE_HELP></MORE_HELP>
        
        <TEMPLATES>
        </TEMPLATES>

        <PROPERTIES access="STATIC" generateAccessors="false">
        </PROPERTIES>

        <METHODS  access="STATIC">
            <ALIASES>
            </ALIASES>

            <METHOD name="create" runInThread="UI">
                <DESC>Removes the current toolbar and replaces it with this one.</DESC>
                <PARAMS>
                    <PARAM name="toolbarElements" type="ARRAY">
                        <DESC>Array of Tab elements. Do not create more than five elements for maximum portability.</DESC>

                        <PARAM name="toolbarElement" type="HASH">
                            <DESC>Properties of Toolbar elements. Either :icon or :label must be specified: if both are omitted, button will not be aded to the toolbar. If both are specified, :icon is drawn and :label is discarded.</DESC>
                            <PARAMS>
                                <PARAM name="label" type="STRING">
                                    <DESC>Visible label to display instead of an icon.</DESC>
                                </PARAM>
                                <PARAM name="action" type="STRING" rhoAction="true">
                                    <DESC>URL to call when button is pressed or special value.It may be path to Ruby controller action; i.e. '/app/Account' would load the Account index action. For ruby callback use 'callback:/app/Account' Or javascript method to call: 'javascript: methodOnButton();'.</DESC>
                                    <VALUES>
                                        <VALUE value ="separator">
                                            <DESC>Added separator to toolbar.</DESC>
                                        </VALUE>
                                        <VALUE value ="exit">
                                            <DESC>Exit the application.</DESC>
                                        </VALUE>
                                        <VALUE value ="close">
                                            <DESC>Exit the application.</DESC>
                                        </VALUE>
                                        <VALUE value ="options">
                                            <DESC>Navigate to Settings page, defined in configuration file.</DESC>
                                        </VALUE>
                                        <VALUE value ="home">
                                            <DESC>Navigate to Home page, defined in configuration file.</DESC>
                                        </VALUE>
                                        <VALUE value ="refresh">
                                            <DESC>Refresh current page.</DESC>
                                        </VALUE>
                                        <VALUE value ="back">
                                            <DESC>Perform back action or execute browser back.</DESC>
                                        </VALUE>
                                        <VALUE value ="log">
                                            <DESC>Display Log View window.</DESC>
                                        </VALUE>
                                        <VALUE value ="fullscreen">
                                            <DESC>Expand application window to full screen.</DESC>
                                        </VALUE>
                                        <VALUE value ="sync">
                                            <DESC>Run full sync command.</DESC>
                                        </VALUE>
                                        <VALUE value ="minimize">
                                            <DESC>Minimize application window.</DESC>
                                            <PLATFORMS>WM, Win32</PLATFORMS>
                                        </VALUE>
                                        <VALUE value ="SIP">
                                            <DESC>Display software keyboard window.</DESC>
                                            <PLATFORMS>WM</PLATFORMS>
                                        </VALUE>

                                    </VALUES>

                                </PARAM>
                                <PARAM name="icon" type="STRING">
                                    <DESC>Relative path to toolbar item icon in your rhodes app (typically located in '/public/images/'). iPhone and Android: Icons must be no more than 30x30 pixels and must be in .png format. Windows Mobile: Icons can be any size, but all icons should have same size (default - 48x48). .png and .bmp formats are supported.</DESC>
                                </PARAM>
{'fraction_non_alphanumeric': 0.08149845571385872, 'fraction_numerical': 0.0023911527348809405, 'mean_word_length': 0.9152833428734974, 'pattern_counts': {'":': 0, '<': 187, '<?xml version=': 0, '>': 187, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 5}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 114, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3423047', 'n_tokens_mistral': 1905, 'n_tokens_neox': 1790, 'n_words': 638}