App-Codit

 view release on metacpan or  search on metacpan

lib/App/Codit/ConfigVariables.pod  view on Meta::CPAN

=item B<-tooliconsize> in L<Tk::AppWindow::Ext::ToolBar>

Default value 16

=item B<-toolitems> in L<Tk::AppWindow::Ext::ToolBar>

Default value [].

Configure your tool bar here. Example:

 [    #type             #label    #command       #icon               #help
    [	'tool_button',   'New',     'doc_new',     'document-new',     'Create a new document' ],
 
    [	'tool_list',     'popcommand' ],
    [	'tool_button',   'Save',    'doc_save',    'document-save',    'Save current document' ],
    [	'tool_button',   'Save as', 'doc_save_as', 'document-save-as', 'Rename and save current document' ],
    [	'tool_separator' ],
    [	'tool_button',   'Save all','doc_save_all','document-save-as', 'Save all modified documents' ],
    [	'tool_list_end' ],
 
    [	'tool_separator' ],
 
      #type             #label,   #class
    [	'tool_widget',    'Widget', 'MyWidget', @options ],
    [	'tool_widget',    '*Nolabel,'MyWidget', @options ],
 ]

'MyWidget', must be the class name of a packable Tk widget.

=item B<-tooltextposition> in L<Tk::AppWindow::Ext::ToolBar>

Specifies where text should be displayed in tool buttons.
Default value I<right>. Can be I<top>, I<left>, I<bottom>, I<right> or I<none>.

=item B<-treeiconsize> in L<Tk::AppWindow::Ext::Selector>

By default undefined. Sets and returns the size of icons
in the document tree.

=item B<-uniqueinstance> in L<App::Codit>

Boolean flag. Default value 0. If set only this instance is used
for opening files through the command line.

=item B<-updatesmenuitem> in L<Tk::AppWindow::Ext::Help>

Default value 0;

If set a menu entrie 'Check for updates' is added to the menu.

=item B<-useroptions> I<hookable> in L<Tk::AppWindow::Ext::Settings>

Name of the settings file. Default is I<settingsrc>. A typical setup might look
like this:

 -useroptions => [
    '*page' => 'Editing',
    '*section' => 'User interface',
    -contentforeground => ['color', 'Foreground'],
    -contentbackground => ['color', 'Background'],
    -contentfont => ['font', 'Font'],
    '*end',
    '*section' => 'Editor settings',
    -contenttabs => ['text', 'Tab size'],
    -contentwrap => ['radio', 'Wrap', [qw[none char word]]],
    '*end',
    '*page' => 'Icons',
    -icontheme => ['list', 'Icon theme', 'available_icon_themes'],
    -iconsize => ['list', 'Icon size', 'available_icon_sizes'],
    '*page' => 'Bars',
    '*section' => 'Menubar',
    -menuiconsize => ['list', 'Icon size', 'available_icon_sizes'],
    '*end',
    '*section' => 'Toolbar',
    -toolbarvisible => ['boolean', 'Visible at launch'],
    -tooliconsize => ['list', 'Icon size', 'available_icon_sizes'],
    -tooltextposition => ['radio', 'Text position', [qw[none left right top bottom]]],
    '*end',
    '*section' => 'Statusbar',
    -statusbarvisible => ['boolean', 'Visible at launch'],
    '*end',
 ],

It uses L<Tk::QuickForm> in the popup. See there for details of this option.

=item B<-workspace> I<hookable> in L<Tk::AppWindow::Ext::Panels>

Specifies the central workspace of your application.
Default value is WORK.

=back

=head1 LICENSE

Same as Perl.

=head1 AUTHOR

Hans Jeuken (hanje at cpan dot org)

=cut



( run in 1.218 second using v1.01-cache-2.11-cpan-5735350b133 )