User forums > Using Code::Blocks

Question about Wizard Script entry function and other required functions

(1/2) > >>

kccheng:
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

MortenMacFly:

--- Quote from: kccheng on May 29, 2011, 11:11:36 am ---Any document describes the structure of Wizard script ?

--- End quote ---
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).

kccheng:
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

MortenMacFly:

--- Quote from: kccheng on May 30, 2011, 07:42:27 am ---Where is the object "Wizard" comes from ?

--- End quote ---
It's provided by the scripting engine.

kccheng:

--- Quote from: MortenMacFly on May 30, 2011, 09:13:41 am ---
--- Quote from: kccheng on May 30, 2011, 07:42:27 am ---Where is the object "Wizard" comes from ?

--- End quote ---
It's provided by the scripting engine.

--- End quote ---

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

Navigation

[0] Message Index

[#] Next page

Go to full version