Changes between Version 7 and Version 8 of PadrePluginCookbook03


Ignore:
Timestamp:
Jul 16, 2011, 11:45:33 AM (3 years ago)
Author:
bowtie
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PadrePluginCookbook03

    v7 v8  
    11[[PageOutline(1-4)]] 
     2[wiki:PadrePluginDialog <-menu] 
    23= Padre::Plugin::Cookbook Recipe-03 
    34* Every Plug-in needs an About dialogue or Multiple Dialogues. 
    45* This page complements {{{Padre::Plugin::Cookbook Recipe-03}}}, it is not meant to be installable, just an aid, with a suggested layout, enjoy. More detail will follow in subsequent Cookbooks. 
    56* You can either svn Padre::Plugin::Cookbook of build your own with Cookbook03.zip in Attachments. 
    6  
     7---- 
    78== Step 1 - Create Skeleton 
    89Padre can do this for you see [wiki:Features/ProjectSkeletonGeneration Project Skeleton Generation] 
     
    3334    └── 06-perlcritic.t 
    3435}}} 
    35  
     36---- 
    3637== Step 2 multiple.fbp (xml) 
    3738* Use wxFormBuilder, v3.1.70 
     
    151152|---------------------------------- 
    152153 
    153  
     154---- 
    154155== Step 3 {{{Padre::Plugin::FormBuilder}}} 
    155156* {{{Padre::Plugin::FormBuilder}}} dose not support Wx menus yet, hence //fudge// work around in Main. 
     
    159160*  {{{Padre::Plugin::FormBuilder}}} {{{use FBP::Perl  ();}}} 
    160161* You need to read Source FBP::Perl for which Wx features are supported, **it's the only reference :(** 
    161  
     162---- 
    162163== Step 4 Perl Plug-in Code 
    163164* Read POD for {{{Padre::Plugin}}} 
     
    177178* All tests successful if you use replacement PerlX.pm 
    178179* critiques welcome.   
    179  
     180---- 
    180181== Step 5 Run 
    181182* perl dev -a -die 
    182183* You should now have Cookbook03 in your Tools menu, enjoy. 
    183  
     184---- 
    184185== Foot Notes 
    185186=== Why Main, So we can have About