issue201:python
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue201:python [2024/01/27 17:29] – créée auntiee | issue201:python [2024/01/30 11:08] (Version actuelle) – auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | PAGE 8.0 RELEASED | + | **PAGE 8.0 RELEASED |
Well, it’s now 2024 and with the new year, we have a new PAGE GUI designer available. On January 1st, PAGE 8.0 was uploaded to the Sourceforge repository. | Well, it’s now 2024 and with the new year, we have a new PAGE GUI designer available. On January 1st, PAGE 8.0 was uploaded to the Sourceforge repository. | ||
Ligne 7: | Ligne 7: | ||
If you’ve ever run PAGE before, you will probably notice the first change immediately on the Main menu window (shown below). | If you’ve ever run PAGE before, you will probably notice the first change immediately on the Main menu window (shown below). | ||
- | PAGE 8.0 now supports Tcl themes in the designer. | + | PAGE 8.0 now supports Tcl themes in the designer. You’ve always been able to use the ttk Widgets easily, but they always were shown from the “default” theme for your OS. If you were running Linux, that theme would be named “default”, |
- | The problem would show up when you changed to a different theme. | + | The problem would show up when you changed to a different theme. Since you couldn’t change the theme in the Designer, any differences in widget size or anything else that was theme based, meant that you would most likely need to rework the GUI from memory or a screenshot to make the new theme work. A major problem to say the least.** |
- | Now with PAGE 8, you can select any of the themes that PAGE supports (the OS theme set plus the 12 included themes) simply by clicking on the dropdown combo box pick a theme and (pardon the expression) | + | PUBLICATION DE PAGE 8.0 |
- | As you can see, in the PAGE 8.0 Test #5 image, you see exactly what the theme does to the ttk widgets. | + | Nous sommes en 2024 et, avec la nouvelle année, un nouveau concepteur d' |
- | PAGE 8.0 also provides a theme chooser, a quick demo of most of the ttk widgets with a combo box to switch between all the different themes that PAGE knows about, including the various OS based themes as well. As you change themes in the theme chooser, the theme switches for the main design form as well. | + | Je vais essayer de mettre en évidence certains des changements importants qui ont été implémentés dans la nouvelle version. |
- | One of the nice things about PAGE using the actual theme in the design process is the ability to see how different built in styles for different widgets affect the widgets on the Toplevel form. | + | Si vous avez déjà utilisé |
- | For example, all ttk::button widgets (this includes the TButton, TCheckbutton and the TRadiobutton) have a built in style called “Toolbutton”. | + | PAGE 8.0 supporte maintenant les thèmes Tcl dans le concepteur. Vous avez toujours pu utiliser les widgets ttk facilement, mais ils étaient toujours affichés à partir du thème « par défaut » de votre système d' |
+ | |||
+ | Le problème apparaissait lorsque vous changiez de thème. Comme vous ne pouviez pas changer le thème dans le Concepteur, toute différence dans la taille des widgets ou toute autre chose basée sur le thème signifiait que vous auriez probablement dû retravailler l' | ||
+ | |||
+ | |||
+ | **Now with PAGE 8, you can select any of the themes that PAGE supports (the OS theme set plus the 12 included themes) simply by clicking on the dropdown combo box pick a theme and (pardon the expression) BAM! You now can see what everything will look like when using the theme (shown left). | ||
+ | |||
+ | As you can see, in the PAGE 8.0 Test #5 image, you see exactly what the theme does to the ttk widgets. Most third party themes (like the cornsilk-dark theme) use images to modify some of the look and feel of various ttk widgets. Remember, Themes only modify the ttk widgets, not the Tk widgets. | ||
+ | |||
+ | PAGE 8.0 also provides a theme chooser, a quick demo of most of the ttk widgets with a combo box to switch between all the different themes that PAGE knows about, including the various OS based themes as well. As you change themes in the theme chooser, the theme switches for the main design form as well. | ||
+ | |||
+ | One of the nice things about PAGE using the actual theme in the design process is the ability to see how different built in styles for different widgets affect the widgets on the Toplevel form.** | ||
+ | |||
+ | Maintenant, avec PAGE 8, vous pouvez sélectionner n' | ||
+ | |||
+ | Comme vous pouvez le voir, dans l' | ||
+ | |||
+ | PAGE 8.0 fournit également un sélecteur de thème, une démo rapide de la plupart des widgets ttk avec une liste déroulante pour basculer entre tous les thèmes différents connus par PAGE, y compris les différents thèmes basés sur le système d' | ||
+ | |||
+ | L'un des avantages de l' | ||
+ | |||
+ | |||
+ | **For example, all ttk::button widgets (this includes the TButton, TCheckbutton and the TRadiobutton) have a built in style called “Toolbutton”. This gives the widget a “flat” appearance which really looks nice in a Button bar type menu. | ||
This shows the TButton in “normal” style. | This shows the TButton in “normal” style. | ||
- | This, however, is how the same button looks when the “Toolbutton” style is applied. | + | This, however, is how the same button looks when the “Toolbutton” style is applied. Notice there is no border around the button widget. |
- | Not all ttk widgets have special styles and some themes have styles for some widgets that other themes don’t have. Take for example the TNotebook widget. | + | Not all ttk widgets have special styles and some themes have styles for some widgets that other themes don’t have. Take for example the TNotebook widget. Most of the themes that I designed for PAGE 8.0 (notsodark, page-notsodark, |
- | Unfortunately, | + | Unfortunately, |
- | Another big change in PAGE 8.0 is that you can now borrow existing menus from an existing project and paste them into your current project. | + | Par exemple, tous les widgets ttk::button (y compris TButton, TCheckbutton et TRadiobutton) ont un style intégré appelé « Toolbutton ». Cela donne au widget un aspect « plat » qui est très joli dans un menu de type barre de boutons. |
- | One more thing I will mention about new features for PAGE is what I like to call the “Norwegian Lift”. This was a request from my friend Halvard who lives in Norway. | + | Voici le style " |
- | Halvard was trying to create | + | Voici cependant à quoi ressemble le même bouton lorsque le style « Toolbutton » est appliqué. Remarquez qu'il n' |
- | It is a neat way to do things that need configuration or things that you want to show without having to have a separate Toplevel form and deal with all the code to hide and show things. | + | Tous les widgets ttk n'ont pas de style spécial et certains thèmes ont des styles pour certains widgets que d' |
+ | |||
+ | Malheureusement, | ||
+ | |||
+ | |||
+ | **Another big change in PAGE 8.0 is that you can now borrow existing menus from an existing project and paste them into your current project. This has been a problem for a long time and it really makes a big improvement. Once you have a “good” menubar and/or popup menu set that works for you, you can reuse them in a new project by borrowing from the project that has the nice working menu set into your current project. | ||
+ | |||
+ | One more thing I will mention about new features for PAGE is what I like to call the “Norwegian Lift”. This was a request from my friend Halvard who lives in Norway. While it is somewhat difficult to show here, I’ll try to explain the process. | ||
+ | |||
+ | Halvard was trying to create a project that has multiple frames that are stacked on top of each other, all exactly the same size and at the same x/y position. He was using, programmatically, | ||
+ | |||
+ | Un autre grand changement dans PAGE 8.0 est que vous pouvez maintenant emprunter des menus existants d'un projet existant et les coller dans votre projet actuel. C' | ||
+ | |||
+ | Une dernière chose que je mentionnerai à propos des nouvelles fonctionnalités de PAGE est ce que j'aime appeler le « Norwegian Lift » (l' | ||
+ | |||
+ | Halvard essayait de créer un projet comportant plusieurs cadres empilés les uns sur les autres, tous exactement de la même taille et à la même position x/y. Il utilisait, par programmation, | ||
+ | |||
+ | |||
+ | **It is a neat way to do things that need configuration or things that you want to show without having to have a separate Toplevel form and deal with all the code to hide and show things. | ||
I’ll try to put up a blog post and provide a demo on my homepage before this article makes it into Full Circle for January | I’ll try to put up a blog post and provide a demo on my homepage before this article makes it into Full Circle for January | ||
(https:// | (https:// | ||
- | Until next time, as always; stay safe, healthy, positive and creative! | + | Until next time, as always; stay safe, healthy, positive and creative!** |
+ | |||
+ | C'est une façon intéressante de faire des choses qui ont besoin d' | ||
+ | |||
+ | J' | ||
+ | |||
+ | Jusqu' |
issue201/python.1706372949.txt.gz · Dernière modification : 2024/01/27 17:29 de auntiee