Changes between Version 7 and Version 8 of PadrePluginCookbook03
- Timestamp:
- 07/16/11 11:45:33 (23 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PadrePluginCookbook03
v7 v8 1 1 [[PageOutline(1-4)]] 2 [wiki:PadrePluginDialog <-menu] 2 3 = Padre::Plugin::Cookbook Recipe-03 3 4 * Every Plug-in needs an About dialogue or Multiple Dialogues. 4 5 * 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. 5 6 * You can either svn Padre::Plugin::Cookbook of build your own with Cookbook03.zip in Attachments. 6 7 ---- 7 8 == Step 1 - Create Skeleton 8 9 Padre can do this for you see [wiki:Features/ProjectSkeletonGeneration Project Skeleton Generation] … … 33 34 └── 06-perlcritic.t 34 35 }}} 35 36 ---- 36 37 == Step 2 multiple.fbp (xml) 37 38 * Use wxFormBuilder, v3.1.70 … … 151 152 |---------------------------------- 152 153 153 154 ---- 154 155 == Step 3 {{{Padre::Plugin::FormBuilder}}} 155 156 * {{{Padre::Plugin::FormBuilder}}} dose not support Wx menus yet, hence //fudge// work around in Main. … … 159 160 * {{{Padre::Plugin::FormBuilder}}} {{{use FBP::Perl ();}}} 160 161 * You need to read Source FBP::Perl for which Wx features are supported, **it's the only reference :(** 161 162 ---- 162 163 == Step 4 Perl Plug-in Code 163 164 * Read POD for {{{Padre::Plugin}}} … … 177 178 * All tests successful if you use replacement PerlX.pm 178 179 * critiques welcome. 179 180 ---- 180 181 == Step 5 Run 181 182 * perl dev -a -die 182 183 * You should now have Cookbook03 in your Tools menu, enjoy. 183 184 ---- 184 185 == Foot Notes 185 186 === Why Main, So we can have About
