|Version 19 (modified by bowtie, 3 years ago) (diff)|
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 probaly already looked at My-Plugin and it's accomping screen cast
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 of 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 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 Plug-in, due to this several references are to other Plug-ins which better show or require these features in working code.
- Hello World what else could it be.
- Fun with widgets and a Dialog (method modifiers and event handlers).
- Every Plug-in needs an About Dialogue or Multiple Dialogues.
- ListCtrl or ConfigDB that is the question.
- Icons DEBUG and Translations or Conformance and all the bit's I have missed so far.
- My-Plugin Creating a plugin for Padre, the Perl IDE v0.84 ( June 13, 2011 )
- Padre Plugin FormBuilder A cross platform gui design solution for perl ( July 19, 2011 )
- Padre 0.86
- Padre::Plugin http://search.cpan.org/~plaven/Padre/lib/Padre/Plugin.pm
- Padre::Wx::Role::Main http://search.cpan.org/dist/Padre/lib/Padre/Wx/Role/Main.pm
- Padre::Wx::Main http://search.cpan.org/~plaven/Padre/lib/Padre/Wx/Main.pm
- wxPerl: Another GUI for Perl http://www.perl.com/pub/2001/09/12/wxtutorial1.html
- wxAlphabetical class reference http://docs.wxwidgets.org/stable/wx_classref.html
- Layout management in wxPython http://zetcode.com/wxpython/layout/
- How GUI Toolkits Work http://learnperl.scratchcomputing.com/tutorials/wxperl/