Changes between Version 10 and Version 11 of PadrePluginCookbook01
- Timestamp:
- 07/16/11 09:49:27 (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PadrePluginCookbook01
v10 v11 1 1 [[PageOutline(1-4)]] 2 [wiki:PadrePluginDialog <-menu] 2 3 = Padre::Plugin::Cookbook Recipe-01 3 4 * This page complements {{{Padre::Plugin::Cookbook Recipe-01}}}, it is not meant to be installable, just an aid, with a suggested layout, enjoy. More detail will follow in subsequent Cookbooks. 4 5 * You can either svn Padre::Plugin::Cookbook or build your own with Cookbook01.zip in Attachments. 5 6 ---- 6 7 == Step 1 - Create Skeleton 7 8 Padre can do this for you see [wiki:Features/ProjectSkeletonGeneration Project Skeleton Generation] … … 25 26 └── t 26 27 }}} 27 28 ---- 28 29 == Step 2 Create MainFB.fbp (xml) 29 30 * Use wxFormBuilder, v3.1.70 … … 138 139 * wxRESIZE_BORDER lets you grab lower left hand corner. 139 140 * wxALIGN_CENTER centers text 140 141 ---- 141 142 == Step 3 {{{Padre::Plugin::FormBuilder}}} 142 143 * Use generator to create MainFB.pm from MainFB.fbp 143 144 * Tip have {{{Padre::Plugin::Cookbook01.pm}}} Open before running generator. 144 145 ---- 145 146 == Step 4 Perl Plug-in Code 146 147 * Read POD for {{{Padre::Plugin}}} … … 180 181 Thanks for that azawawi. 181 182 * Run Tests, note results, //critiques welcome. 182 183 ---- 183 184 == Step 5 Run 184 185 * perl dev -a -die 185 186 * You should now have Cookbook01 in your Tools menu, enjoy. 186 187 ---- 187 188 == Foot Notes 188 189 === Why Main
