wiki:PadrePluginDialog

Version 25 (modified by szabgab, 3 years ago) (diff)

--

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

Recipe-02

Recipe-03

Recipe-04

Recipe-05


Screen-Casts


Blogs



Tickets

summary~=Padre::Plugin::Cookbook

Ticket Type Version Resolution Summary Owner Reporter
No tickets found


ToDo

m/t


Test

  1. n/a
  2. m/t

__END__