Download Padre

Padre Plugin Dialog

Padre::Plugin::Cookbook

Description

You start off doing one thing, look at something else, then ALIAS releases Padre::Plugin::wxFormBuilder, you stumble around in the dark, bang your head against the wall, read the Padre::Plugin API, and Padre::Plugin::My. Not forgetting wxFormBuilder, ( a bit like Glade but not :( ). You get short tempered on IRC , then you pester Alias with your blatherings.

Which only makes you feel you are a child with a shape sorter, wooden toy with slots, shapes and a hammer :)

So to speed up the process for developers, contributors and others, I created these Cookbooks. I have assumed that you have probably already looked at My-Plugin and it's accompanying screen cast. As you will have noted of late, all of Padres internal Dialogues are now being created using {{{Padre::Plugin::FormBuilder}}}, so it only makes sense that the Plug-ins follow suite.

Recipes 01, 02 & 03 each have a zip file you can download, and play along with. They are now quite static, probably contain some mistakes or mistaken ideas, which have been rectified in the latter Recipes. The emphasis is on the boiler plate for {{{Wx::Dialogs}}} relating to Padre rather than on Perl itself. Havering said that Recipe-02 shows how to retrieve your Padre configuration data stored in config.yml.

Recipe 04 and its siblings, you will now find in Padres SVN, located in {{{Padre::Plugin::Cookbook}}} surprisingly, ConfigDB is a view of your local catalogue, which you may find interesting from the point of a future Plug-in developer.

Recipe 05, As this code is changing periodicity to keep up with Padre and my understanding of what is expected of a {{{Padre::Plugin}}}. Due to this, several references are now to other Plug-ins, which better show or require these features in working code.


Recipe-01

Cookbook 01: Hello World what else could it be.

Recipe-02

Cookbook 02: Fun with widgets and a Dialog (method modifiers and event handlers)

Recipe-03

Every Plug-in needs an Cookbook 03: About Dialogue or Multiple Dialogues.

Recipe-04

ListCtrl or ConfigDB that is the question.

Recipe-05

Icons DEBUG and Translations or Conformance and all the bit's I have missed so far.

Screen-Casts

Blogs

Links