Documentation du Dr FRAPPE

Ce wiki regroupe les résultats de mes expériences en informatique accumulés au cours de mes recherches sur le net.

Dans la mesure du possible, j'ai cité mes sources ; il en manque certainement… :-)

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révisionLes deux révisions suivantes
logiciel:programmation:python:boa:help:boagettingstarted [2021/02/17 10:36] – ↷ Liens modifiés en raison d'un déplacement. adminlogiciel:programmation:python:boa:help:boagettingstarted [2021/02/17 10:36] – ↷ Liens modifiés en raison d'un déplacement. admin
Ligne 69: Ligne 69:
 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.
  
-{{ fr:logiciel:programmation:python:boa:help:boa2.png?400 |Palette Window}}+{{ logiciel:programmation:python:boa:help:boa2.png?400 |Palette Window}}
  
 The toolbar gives access to the other windows in the Boa Constructor application. You can hold the mouse pointer over the different icons and help tips will appear. These help tips will tell you what the buttons do. The toolbar gives access to the other windows in the Boa Constructor application. You can hold the mouse pointer over the different icons and help tips will appear. These help tips will tell you what the buttons do.
Ligne 173: Ligne 173:
 The icons above let you Find/Replace, Find again, and print the source. The icons above let you Find/Replace, Find again, and print the source.
  
-{{fr:logiciel:programmation:python:boa:help:editortoolbarothersicons.png|Editor toolbar - Other icons}}+{{logiciel:programmation:python:boa:help:editortoolbarothersicons.png|Editor toolbar - Other icons}}
 The icons above let you run to the cursor (in debugger), toggle a breakpoint (you can also use F5), insert module information (Author name etc, this can be customized, see [[#Setting Preferences|Module Info]]), and help. The icons above let you run to the cursor (in debugger), toggle a breakpoint (you can also use F5), insert module information (Author name etc, this can be customized, see [[#Setting Preferences|Module Info]]), and help.
  
Ligne 194: Ligne 194:
 To place the component move the cursor onto the Designer. Click the mouse once in the position where the component is required. Once the component is on the form, it can be moved and resized. You move it by placing the mouse within the component and dragging it. You resize it by dragging one of  the eight markers shown on the edge of a selected control. To place the component move the cursor onto the Designer. Click the mouse once in the position where the component is required. Once the component is on the form, it can be moved and resized. You move it by placing the mouse within the component and dragging it. You resize it by dragging one of  the eight markers shown on the edge of a selected control.
  
-Changes made through the Designer are saved into the applications source code. Changes are saved when you press the Post button {{fr:logiciel:programmation:python:boa:help:post.jpg|}} There are two Post buttons, one on the Editor's toolbar and one on the Inspector's toolbar. Pressing either will close the Designer and the Data View and generate the source code for the changes. Changes can also be posted by closing the Frame.+Changes made through the Designer are saved into the applications source code. Changes are saved when you press the Post button {{logiciel:programmation:python:boa:help:post.jpg|}} There are two Post buttons, one on the Editor's toolbar and one on the Inspector's toolbar. Pressing either will close the Designer and the Data View and generate the source code for the changes. Changes can also be posted by closing the Frame.
  
 To Cancel all changes made since opening the Designer, click the Cancel button {{logiciel:programmation:python:boa:help:cancel.jpg|}} on the Editor or Inspector toolbar. To Cancel all changes made since opening the Designer, click the Cancel button {{logiciel:programmation:python:boa:help:cancel.jpg|}} on the Editor or Inspector toolbar.
Ligne 244: Ligne 244:
 If you are using Zope, you can access projects in your Zope Server using the Zope option. The default TCP/IP connection information is configured in the Inspector pane or in your Explorer configuration file, Explorer.msw.cfg on Windows or Explorer.gtk.cfg on UNIX. If you are using Zope, you can access projects in your Zope Server using the Zope option. The default TCP/IP connection information is configured in the Inspector pane or in your Explorer configuration file, Explorer.msw.cfg on Windows or Explorer.gtk.cfg on UNIX.
  
-{{ fr:logiciel:programmation:python:boa:help:boa7.png?400 |Explorer}}+{{ logiciel:programmation:python:boa:help:boa7.png?400 |Explorer}}
  
 It also allows you to access your Preference settings, above the Key bindings are selected in the Explorer and details are shown in the Inspector. It also allows you to access your Preference settings, above the Key bindings are selected in the Explorer and details are shown in the Inspector.
Ligne 307: Ligne 307:
   * Créer une nouvelle application avec le bouton de la palette **Nouvelle l'application** ci-dessous :\\ {{logiciel:programmation:python:boa:help:wxappicon.png|App Icon}} bouton Application - bulle d'aide : **wx.APP**   * Créer une nouvelle application avec le bouton de la palette **Nouvelle l'application** ci-dessous :\\ {{logiciel:programmation:python:boa:help:wxappicon.png|App Icon}} bouton Application - bulle d'aide : **wx.APP**
  
-{{ fr:logiciel:programmation:python:boa:help:boa2.png?400 |Palette}}+{{ logiciel:programmation:python:boa:help:boa2.png?400 |Palette}}
  
   * Enregistrer les fichiers **App1.py** et **Frame1.py** dans le répertoire créé plus haut. Vous pouvez utiliser le bouton <key>Enregistrer</key> de la barre d'outils de l'éditeur. <WRAP center round tip 60%>   * Enregistrer les fichiers **App1.py** et **Frame1.py** dans le répertoire créé plus haut. Vous pouvez utiliser le bouton <key>Enregistrer</key> de la barre d'outils de l'éditeur. <WRAP center round tip 60%>
Ligne 330: Ligne 330:
     * Deux nouveaux volets s'affichent dans l'éditeur : le volet <<Données>> et le volet <<Sizers>>.     * Deux nouveaux volets s'affichent dans l'éditeur : le volet <<Données>> et le volet <<Sizers>>.
   * La fenêtre de l'inspecteur affiche le volet <<Constr>> (constructeur). Ce volet permet de modifier la taille, la position, le style, un nom de variable et le titre d'un composant. Modifier le champ << Titre >>. Donner au cadre le nom << Bloc-Notes >> ; quand on appuie sur <key>retour</key>, le titre de la fenêtre de l'éditeur graphique change.   * La fenêtre de l'inspecteur affiche le volet <<Constr>> (constructeur). Ce volet permet de modifier la taille, la position, le style, un nom de variable et le titre d'un composant. Modifier le champ << Titre >>. Donner au cadre le nom << Bloc-Notes >> ; quand on appuie sur <key>retour</key>, le titre de la fenêtre de l'éditeur graphique change.
-  * Il faut enregistrer les modifications avec le bouton <<Valider>> {{fr:logiciel:programmation:python:boa:help:post.jpg|Post}}, soit sur la barre d'outils de l'inspecteur ou sur celle de l'éditeur.+  * Il faut enregistrer les modifications avec le bouton <<Valider>> {{logiciel:programmation:python:boa:help:post.jpg|Post}}, soit sur la barre d'outils de l'inspecteur ou sur celle de l'éditeur.
   * La fenêtre de l'éditeur graphique se ferme.   * La fenêtre de l'éditeur graphique se ferme.
   * Noter que le code source a été mis à jour pour refléter le titre.   * Noter que le code source a été mis à jour pour refléter le titre.
Ligne 357: Ligne 357:
   * Cliquer sur le bouton 'Nouveau' {{logiciel:programmation:python:boa:help:collectiontoolbarnew.png|Collection Toolbar - New}} de l'éditeur de collection. Ceci crée un nouveau champ dans la barre d'état qui devient le champ en cours de l'inspecteur.   * Cliquer sur le bouton 'Nouveau' {{logiciel:programmation:python:boa:help:collectiontoolbarnew.png|Collection Toolbar - New}} de l'éditeur de collection. Ceci crée un nouveau champ dans la barre d'état qui devient le champ en cours de l'inspecteur.
   * Éditer le champ texte en changeant le nom <<Fields0>> en <<état>>.   * Éditer le champ texte en changeant le nom <<Fields0>> en <<état>>.
-  * La barre d'outils de l'éditeur de collection contient un bouton <<Rafraîchir>> {{fr:logiciel:programmation:python:boa:help:collectiontoolbarrefresh.png|Collection toolbar - Refresh}}. Appuyer sur ce bouton pour voir le changement dans la fenêtre de l'éditeur de collection.+  * La barre d'outils de l'éditeur de collection contient un bouton <<Rafraîchir>> {{logiciel:programmation:python:boa:help:collectiontoolbarrefresh.png|Collection toolbar - Refresh}}. Appuyer sur ce bouton pour voir le changement dans la fenêtre de l'éditeur de collection.
  
 {{ logiciel:programmation:python:boa:help:boa23c.png?400 |Collection - statusbar}} {{ logiciel:programmation:python:boa:help:boa23c.png?400 |Collection - statusbar}}
Ligne 367: Ligne 367:
 {{ logiciel:programmation:python:boa:help:boa23d.png?400 |Inspector - Frame}} {{ logiciel:programmation:python:boa:help:boa23d.png?400 |Inspector - Frame}}
  
-  * Mettre à jour les modifications du code source à l'aide des boutons Valider {{fr:logiciel:programmation:python:boa:help:post.jpg|Post}}.+  * Mettre à jour les modifications du code source à l'aide des boutons Valider {{logiciel:programmation:python:boa:help:post.jpg|Post}}.
   * Enregistrer les modifications du code source en utilisant le bouton Enregistrer de la barre d'outils de l'éditeur.   * Enregistrer les modifications du code source en utilisant le bouton Enregistrer de la barre d'outils de l'éditeur.
  
Ligne 392: Ligne 392:
   * La barre d'outils de l'éditeur de collection contient un bouton Refresh. Appuyer sur ce bouton pour voir les changements dans la fenêtre de l'éditeur de collection.   * La barre d'outils de l'éditeur de collection contient un bouton Refresh. Appuyer sur ce bouton pour voir les changements dans la fenêtre de l'éditeur de collection.
  
-{{ fr:logiciel:programmation:python:boa:help:boa24b.png?400 |Collection - About}}+{{ logiciel:programmation:python:boa:help:boa24b.png?400 |Collection - About}}
  
   * Dans l'inspecteur, sélectionner le Panneau Événements pour configurer l'action qui se produit lorsque l'élément de menu 'A propos' est sélectionné. Lorsque l'élément de menu 'A propos' est sélectionné, un événement appelé EVT_MENU est généré et envoyé à notre programme. Nous devons ajouter une méthode à notre classe pour gérer cet événement.   * Dans l'inspecteur, sélectionner le Panneau Événements pour configurer l'action qui se produit lorsque l'élément de menu 'A propos' est sélectionné. Lorsque l'élément de menu 'A propos' est sélectionné, un événement appelé EVT_MENU est généré et envoyé à notre programme. Nous devons ajouter une méthode à notre classe pour gérer cet événement.
Ligne 675: Ligne 675:
   * When you run the application you should see something along these lines.   * When you run the application you should see something along these lines.
  
-{{ fr:logiciel:programmation:python:boa:help:boa28c.png?400 |Address entry form}}+{{ logiciel:programmation:python:boa:help:boa28c.png?400 |Address entry form}}
  
   * We will also need some buttons for this, so we can add, delete, save and close this form.   * We will also need some buttons for this, so we can add, delete, save and close this form.