Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
logiciel:programmation:python:boa:help:boagettingstarted [2021/02/17 10:36] – ↷ Liens modifiés en raison d'un déplacement. admin | logiciel:programmation:python:boa:help:boagettingstarted [2022/08/13 22:27] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 10: | Ligne 10: | ||
;#; | ;#; | ||
- | ====== Une visite de l' | + | ===== Une visite de l' |
- | ===== Installation et démarrage de Boa Constructor | + | ==== Installation et démarrage de Boa Constructor ==== |
Boa s' | Boa s' | ||
- | ==== Installation sous Windows | + | === Installation sous Windows === |
* Instructions détaillées sur wxPython.org | * Instructions détaillées sur wxPython.org | ||
Ligne 28: | Ligne 28: | ||
* Lancer le nouveau raccourci pour exécuter l' | * Lancer le nouveau raccourci pour exécuter l' | ||
- | ==== UNIX Installation | + | === UNIX Installation === |
* Detailed instructions from wxPython.org | * Detailed instructions from wxPython.org | ||
Ligne 61: | Ligne 61: | ||
* Explorer - allows to navigate the file system, gives access to the wxPython demo (via a Plug-in), allows to change your preferences for Boa, and it will have additional tabs, one for each file you are working on | * Explorer - allows to navigate the file system, gives access to the wxPython demo (via a Plug-in), allows to change your preferences for Boa, and it will have additional tabs, one for each file you are working on | ||
- | ==== Installation from CVS ==== | + | === Installation from CVS === |
The Boa installation guide on the wxPython wiki page ([[http:// | The Boa installation guide on the wxPython wiki page ([[http:// | ||
- | ===== The Palette Window | + | ==== The Palette Window ==== |
The Palette window is the main window of the Boa Constructor Program. Closing the Palette window will terminate the program. The Palette contains two sections, a toolbar, and a multi-pane notebook. | The Palette window is the main window of the Boa Constructor Program. Closing the Palette window will terminate the program. The Palette contains two sections, a toolbar, and a multi-pane notebook. | ||
Ligne 87: | Ligne 87: | ||
Boa constuctor opens the source code for the new application and the new form in the Editor Window. | Boa constuctor opens the source code for the new application and the new form in the Editor Window. | ||
- | ==== Toolbar Icons - Application | + | === Toolbar Icons - Application === |
{{logiciel: | {{logiciel: | ||
Ligne 95: | Ligne 95: | ||
\\ The check box will indicate that a compenent is selected and the text " | \\ The check box will indicate that a compenent is selected and the text " | ||
- | ==== Toolbar Icons - Help ==== | + | === Toolbar Icons - Help === |
{{logiciel: | {{logiciel: | ||
Ligne 103: | Ligne 103: | ||
\\ Clicking the third one will bring up Python help | \\ Clicking the third one will bring up Python help | ||
- | ===== The Editor Window | + | ==== The Editor Window ==== |
The Editor window is one of the three windows which is created when you run Boa Constructor. If you close the Editor Window, you can re-open it from the Palette Window using the {{logiciel: | The Editor window is one of the three windows which is created when you run Boa Constructor. If you close the Editor Window, you can re-open it from the Palette Window using the {{logiciel: | ||
Ligne 182: | Ligne 182: | ||
* < | * < | ||
- | ===== The Frame Designer Windows | + | ==== The Frame Designer Windows ==== |
You access the Frame Designer Window using the frame designer button {{logiciel: | You access the Frame Designer Window using the frame designer button {{logiciel: | ||
Ligne 206: | Ligne 206: | ||
</ | </ | ||
- | ===== The Inspector Window | + | ==== The Inspector Window ==== |
The Inspector always shows the configuration of the currently selected component. The Inspector contains 4 pages, the Constructor page (' | The Inspector always shows the configuration of the currently selected component. The Inspector contains 4 pages, the Constructor page (' | ||
Ligne 215: | Ligne 215: | ||
|{{logiciel: | |{{logiciel: | ||
- | ===== Managing the Application | + | ==== Managing the Application ==== |
When the module being edited is an application, | When the module being edited is an application, | ||
Ligne 232: | Ligne 232: | ||
</ | </ | ||
- | ===== Getting around using Explorer | + | ==== Getting around using Explorer ==== |
The second page of the Editor notebook contains a page called the Explorer. You use this page to browse various data sources including the filesystem, CVS, Zope, WebDAV, SSH accounts, FTP. | The second page of the Editor notebook contains a page called the Explorer. You use this page to browse various data sources including the filesystem, CVS, Zope, WebDAV, SSH accounts, FTP. | ||
Ligne 252: | Ligne 252: | ||
</ | </ | ||
- | ===== Using Help ===== | + | ==== Using Help ==== |
The Boa Constructor environment provides links to different help files from your environment. | The Boa Constructor environment provides links to different help files from your environment. | ||
Ligne 289: | Ligne 289: | ||
* Or mail your question to [[wxPython-users@lists.wxwidgets.org]] if they are not Boa specific | * Or mail your question to [[wxPython-users@lists.wxwidgets.org]] if they are not Boa specific | ||
- | ====== Tutoriel - Création de notre première application | + | ===== Tutoriel - Création de notre première application ===== |
Cette section présente un bref tutoriel. Le but de ce tutoriel est de vous familiariser avec l' | Cette section présente un bref tutoriel. Le but de ce tutoriel est de vous familiariser avec l' | ||
Ligne 302: | Ligne 302: | ||
* Concevoir vos propres boîtes de dialogue. | * Concevoir vos propres boîtes de dialogue. | ||
- | ===== Création d'une nouvelle application | + | ==== Création d'une nouvelle application ==== |
* Choisir un répertoire pour l' | * Choisir un répertoire pour l' | ||
Ligne 320: | Ligne 320: | ||
Un clic sur le bouton << | Un clic sur le bouton << | ||
- | ===== Utilisation de l' | + | ==== Utilisation de l' |
* Sélectionnerz l' | * Sélectionnerz l' | ||
Ligne 335: | Ligne 335: | ||
* L' | * L' | ||
- | ===== Ajouter une barre d' | + | ==== Ajouter une barre d' |
Le premier composant que nous allons ajouter à l' | Le premier composant que nous allons ajouter à l' | ||
Ligne 370: | Ligne 370: | ||
* Enregistrer les modifications du code source en utilisant le bouton Enregistrer de la barre d' | * Enregistrer les modifications du code source en utilisant le bouton Enregistrer de la barre d' | ||
- | ===== Ajouter une barre de menus ===== | + | ==== Ajouter une barre de menus ==== |
Nous allons maintenant ajouter une barre de menus à l' | Nous allons maintenant ajouter une barre de menus à l' | ||
Ligne 432: | Ligne 432: | ||
{{ logiciel: | {{ logiciel: | ||
- | ===== Ajout du contrôle texte ===== | + | ==== Ajout du contrôle texte ==== |
La tâche suivante consiste à ajouter du texte principal contrôle d' | La tâche suivante consiste à ajouter du texte principal contrôle d' | ||
Ligne 465: | Ligne 465: | ||
* Les fonctionnalités couper et coller sont également disponibles par défaut, ainsi que le marquage de bloc. | * Les fonctionnalités couper et coller sont également disponibles par défaut, ainsi que le marquage de bloc. | ||
- | ===== Ajout des fonctionnalités du Menu Fichier | + | ==== Ajout des fonctionnalités du Menu Fichier ==== |
La tâche suivante consiste à interagir avec l' | La tâche suivante consiste à interagir avec l' | ||
Ligne 570: | Ligne 570: | ||
{{ logiciel: | {{ logiciel: | ||
- | ===== Créer une fenêtre de dialogue | + | ==== Créer une fenêtre de dialogue ==== |
Les boîtes de dialogue permettent d' | Les boîtes de dialogue permettent d' | ||
Ligne 625: | Ligne 625: | ||
* Concevoir vos propres boîtes de dialogue. | * Concevoir vos propres boîtes de dialogue. | ||
- | ===== Creating an application window using sizers | + | ==== Creating an application window using sizers ==== |
Sizers are a great way to ensure that your GUI layout is nice and clean. They come in especially handy when you do not know exactly how much space a control needs and/or should be allowed to use, this can be the case when you internationalize your application (I18N) or for such controls as lists or grids where you like to give as much space as possible to them (or maybe as little as practical). | Sizers are a great way to ensure that your GUI layout is nice and clean. They come in especially handy when you do not know exactly how much space a control needs and/or should be allowed to use, this can be the case when you internationalize your application (I18N) or for such controls as lists or grids where you like to give as much space as possible to them (or maybe as little as practical). | ||
Ligne 693: | Ligne 693: | ||
For coding guide lines you might also want to consult the wxPython style guide [[http:// | For coding guide lines you might also want to consult the wxPython style guide [[http:// | ||
- | ====== Other Useful Items ====== | + | ===== Other Useful Items ===== |
- | ===== Setting Preferences | + | ==== Setting Preferences ==== |
The Boa Constructor tool provides a number of features which can be customised by you. | The Boa Constructor tool provides a number of features which can be customised by you. | ||
Ligne 707: | Ligne 707: | ||
| {{logiciel: | | {{logiciel: | ||
- | ==== Help books ==== | + | === Help books === |
Boa by default includs its help books and the ones for wxPython and Python. | Boa by default includs its help books and the ones for wxPython and Python. | ||
Ligne 715: | Ligne 715: | ||
{{ logiciel: | {{ logiciel: | ||
- | ==== Bookmarks | + | === Bookmarks === |
If you like to add additional bookmarks just right mouse click on the folder you like to add within the Explorer. | If you like to add additional bookmarks just right mouse click on the folder you like to add within the Explorer. | ||
- | ==== Transport | + | === Transport === |
Adding additional transports works similar to the bookmarks, select the transport type on the left hand side of the Explorer view, e.g. ' | Adding additional transports works similar to the bookmarks, select the transport type on the left hand side of the Explorer view, e.g. ' | ||
Ligne 725: | Ligne 725: | ||
{{ logiciel: | {{ logiciel: | ||
- | ==== Module Info ==== | + | === Module Info === |
You might want to change the following section in the file ' | You might want to change the following section in the file ' |