Vidéos de ShowMeDo
Ces didacticiels vidéo ont été créés par cmpython et ajoutés le 02/2009 sur http://showmedo.com/videotutorials/video?name=4010000&fromSeriesID=401 (malheuresement ce site n'existe plus. À suivre)
Une série de neuf vidéos d'introduction à Boa Constructor, un IDE wxPython libre multi-plateforme et créateur d'interface visuellement GUI. La série suppose seulement une connaissance de base de Python ou wxPython.
Fichiers |
Commentaires originaux |
Commentaires traduits |
1 - Overview of Boa Constructor and How to Get ItA basic introduction to the Boa Constructor IDE/visual GUI builder for wxPython. Describes what it can do and how to get the most recent version up and running on your computer. In this series I am using Boa 0.6.1 with wxPython 2.8.7.1 and Python 2.5, running on Windows XP (see below for issues with Ubuntu; I have not tested it on Mac). Please note: for users running Boa on Mac or Linux, should use the .zip (source) download instead of the win32 installer. I have also experienced some problems running Boa on 64 bit Ubuntu 8.10. See this reply for a number of issues I have just identified with that platform: http://tiny.cc/TQVUS |
Ceci
est une introduction basique à l'IDE Boa Constructor et à la
création d'interface visuel (GUI) avec wxPython. Cette vidéo
décrit ce qu'il peut faire et comment obtenir la version la plus
récente en cours d'exécution sur votre ordinateur. Dans cette
série de vidéo, je me sers de Boa 0.6.1 avec wxPython 2.8.7.1 et
Python 2.5, fonctionnant sur Windows XP (voir ci-dessous pour des
problèmes avec Ubuntu, je n'ai pas testé sur Mac).
|
|
2 - Feature Tour of Boa Constructor and 'Hello, World!'Here I give a quick tour of Boa Constructor's features and then show you how to create a "Hello, World!" application without writing any Python code yourself--Boa will write it for you. |
Avec celle-ci, je donne un rapide tour d'horizon des fonctionnalités de Boa constructeur ensuite je vous montre comment créer une application "Bonjour tout le monde!" sans écrire de code Python vous-même - Boa l'écrira pour vous. |
|
3 - The Palette in Boa ConstructorThis video shows the various options available from clicking on the Palette, including a large number of wxPython widgets as well as help books. The Palette allows you to select widgets to lay out in a Designer session, and also acts as the "main" frame of Boa, in that, if you close it, you exit Boa Constructor (unless you hide it from within The Editor).
|
Cette
vidéo montre les différentes options disponibles en
cliquant
sur la palette, ce qui inclus un
grand nombre de widgets wxPython ainsi que les livres d'aides. |
|
4 - The Inspector in Boa ConstructorIn this video I discuss Boa Constructor's Inspector in some detail. The Inspector allows one to easily examine (or "inspect") the objects in the GUI, and then change them. It also allows binding of events, and inspection of the object hierarchy. |
Dans cette vidéo, j'explique l'inspecteur de propriétés de Boa constructor en détail. L'inspecteur permet d'examiner facilement (ou «inspecter») des objets dans l'interface graphique, puis les modifier. Il permet également la liaison des événements et l'inspection de la hiérarchie des objets. |
|
5 - The Frame Designer in Boa ConstructorThis is a brief tour of the Designer in Boa Constructor, which lets you place and move wxPython widgets around on a design window, allowing you to get a sense of how your app will look. Although ultimately I recommend using wxPython sizers, sometimes for beginners it is useful to play with moving widgets manually to try out different layout schemes. More advanced users could also use it to make a quick "sketch" of their layouts before using sizers. |
Il s'agit d'une brève visite de l'Editeur graphique de Boa constructeur, qui vous permet de placer et déplacer des widgets wxPython dans une fenêtre de conception, vous permettant d'avoir une idée de la façon dont votre application sera vu. Bien qu'en finalité je recommande d'utiliser les sizers (organiseurs) de wxPython, parfois, pour les débutants, il est plus utile de jouer a déplacer manuellement les widgets pour essayer différents schémas de mise en page. Les utilisateurs plus avancés peuvent également l'utiliser pour faire un "sketch" (une vue) rapide de leurs dispositions avant d'utiliser les sizers. |
|
6 - The Editor in Boa Constructor, Part IThe Editor has tons of interesting features, both for code editing and generally manipulating your wxPython projects. I've broken the videos into two parts. This is part I, in which I mainly discuss the code editing features (the IDE aspect of Boa Constructor), such as code folding, cut/copy/paste, code transformation, code completion, call tips, context help, browse to, indent/dedent, and comment/uncomment. Although I did not mention it in the video, of course the source code in Boa uses syntax highlighting. |
L'éditeur
a des tonnes de fonctionnalités intéressantes, à la fois pour
l'édition de code que
pour la
manipulation
générale vos projets wxPython. |
|
7 - The Editor in Boa Constructor, Part IIIn this second of two videos on The Editor in Boa Constructor, I show more features, including some interesting ones, such as Find/Replace, the TODO list, the explore feature, the profiler, Add Module Info, and other features. Some other features of the Editor are also given in the final video in this series, on 12 tips for using Boa Constructor. Note: About 7:48 into this video I accidentally remove a line, #Boa:Frame:Frame1, while removing the module info. I believe this is actually necessary to allow Boa to run the code in the Designer, so do leave that line in your own Boa-generated code. |
Dans
cette deuxième vidéos sur l'éditeur de Boa Constructor, je
montre plus de fonctionnalités, y compris certaines
intéressantes,
tels que Rechercher / Remplacer, la liste TODO,
la fonction explorer, le profileur, l'ajouter
des bulles
d'aide,
et d'autres caractéristiques. |
|
8 - Using Sizers in Boa ConstructorSizers are the way to go for layout of widgets in wxPython, but learning how to use them can be difficult. This video shows how to use the Designer, Inspector, and Palette to create a very simple layout using a boxsizer and flexgrid sizer. Please note that this is very introductory, just to give the basic idea, and there is much more than can be shown, but this is an introductory series. For example, flexgrid sizers can be tweaked from within Boa for more complex layouts (really, in the simple example shown here, I could have used another boxsizer instead). Also note: The proportion value of 1 is described as meaning "take up 100% of the available space". While that is true for this simple case, when there is more than one widget being sized that has a non-zero proportion value, the sizer will divide the space proportionally (e.g. if one is set to 1 and another set to 3, the first will take up 1/3 the space of the second). I may at some point get around to doing a thorough go-through of sizers in Boa in another, more advanced video.
|
Les
Sizers
sont la voie à suivre pour la présentation des widgets dans
wxPython, mais apprendre à les utiliser peut être difficile.
Cette vidéo montre comment utiliser le concepteur, l'inspecteur
et la palette pour créer une mise en page très simple en
utilisant un sizer boite
et
sizer grille
flexible. |
|
9 - 12 Tips, 6 'bugs' and some resources for Boa ConstructorHere I quickly go over 12 tips for enhancing one's use of Boa Constructor, mention 6 minor issues that are easily gotten around, and point to a few resources for learning more about Boa. This is the final video in this series. Since making this I have noticed that the problems on Ubuntu Linux 8.10 on a 64 bit machine (or others?) are not really solved enough yet by the info in that one link. Let's hope they can be straightened out soon. There is also a little overlap in this video with the point about the Errors Pane in an earlier video.
|
Ici,
je vais rapidement donner plus de 12 conseils pour améliorer
votre première utilisation de Boa Constructor, parler de 6
questions mineures qui peuvent être facilement contourné et
faire le point sur quelques ressources pour en apprendre davantage
au sujet de Boa. Il s'agit de la dernière vidéo de cette
série.
|