Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: kccheng on May 29, 2011, 11:11:36 am
-
Hi,
It looks like every Wizard Script start from function BeginScript(), where is
the document describe this.
And any other functions (GetFilesDir, SetupProject ...) are required to
implement a Wizard script ? The Wiki seem only have partial information :-(
Any document describes the structure of Wizard script ?
Thanks
KC
-
Any document describes the structure of Wizard script ?
Any wizard available within C::B is complete and offers nice tutorials on how to implement a wizard. You can start with an easy "console project" wizard and work yourself through the samples e.g. up to the "wxWidgets project" wizard.
Notice the option "edit script" available if you right-click on an item (wizard).
-
Hi
Learn from source code template is a good approach.
In fact, I use the same learning apprach to create my 1st wizard.
The reason I asked is, although my 1st wizard work, but I
really don't know much about "how it work". For example,
Take a look at this .... Wizard.GetWizardType();
Where is the object "Wizard" comes from ?
Thanks
KC
-
Where is the object "Wizard" comes from ?
It's provided by the scripting engine.
-
Where is the object "Wizard" comes from ?
It's provided by the scripting engine.
Any document can tell me Wizard has a member function called "GetWizardType()",
or I still need to hack into source code to see it at this moment ?
Thanks a lot
KC
-
Any document can tell me Wizard has a member function called "GetWizardType()",
or I still need to hack into source code to see it at this moment ?
Look here:
http://wiki.codeblocks.org/index.php?title=Wizard_scripts
http://wiki.codeblocks.org/index.php?title=Script_plugins
http://wiki.codeblocks.org/index.php?title=Scripting_commands
The entry page is here:
http://wiki.codeblocks.org/index.php?title=Scripting
...feel free to add content if you believe information is missing...