A mini-texte editor » History » Version 2
iri, 10/03/2012 09:46 PM
| 1 | 1 | iri | h1. A mini-texte editor |
|---|---|---|---|
| 2 | |||
| 3 | 2 | iri | * Load packages |
| 4 | 1 | iri | * Define and call a function |
| 5 | 2 | iri | * A structure |
| 6 | * Create and use a (pseudo) class (Oriented-Object Programming) |
||
| 7 | 1 | iri | * Manage a window, text and button components |
| 8 | * Callbacks |
||
| 9 | * Default dialog boxes |
||
| 10 | 2 | iri | |
| 11 | First, Scol is case sensitive, remember this ! |
||
| 12 | MyVariable, myVariable, myvariABle are differents. MyFunction, myFunction, MYFunction are differents too. |
||
| 13 | fun is a Scol keyword but Fun is not one. |
||
| 14 | |||
| 15 | h2. Create the graphic interface |
||
| 16 | |||
| 17 | In our project, we need a window, a text field (multi lines) and two buttons. Add the width and the height of the window to put our graphics components. |
||
| 18 | 1 | iri | |
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | License : "GNU FDL v1.3":https://www.gnu.org/licenses/fdl-1.3-standalone.html |
||
| 23 | Tutorial by iri |
||
| 24 | Updated by / |