Outils pour utilisateurs

Outils du site


kivy_liste_des_elements_graphiques_widgets_complexes

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évision
Révision précédente
kivy_liste_des_elements_graphiques_widgets_complexes [2020/01/02 10:05] – [Kivy: Liste des éléments graphiques Widgets complexes] sergekivy_liste_des_elements_graphiques_widgets_complexes [2020/12/01 17:43] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. serge
Ligne 2: Ligne 2:
 <WRAP center round box 60% centeralign> <WRAP center round box 60% centeralign>
 **{{tagpage>kivy|Toutes les pages Kivy}}** **{{tagpage>kivy|Toutes les pages Kivy}}**
-**[[http://translate.google.com/translate?hl=&sl=auto&tl=en&u=https%3A%2F%2Fressources.labomedia.org%2Fkivy_liste_des_elements_graphiques_widgets_complexes|English Version]]**+**[[http://translate.google.com/translate?hl=&sl=fr&tl=en&u=https%3A%2F%2Fressources.labomedia.org%2Fkivy_liste_des_elements_graphiques_widgets_complexes&sandbox=1|English Version]]** 
 +</WRAP> 
 +<WRAP center round box 40% centeralign> 
 +**[[les_pages_kivy_en_details|Les pages Kivy en détails]]**
 </WRAP> </WRAP>
 ===== Buble ===== ===== Buble =====
  
-{{:Bubble1.png?200|Bubble1.png Bubble1.png}} +{{media_05:bubble1.png?200|Bubble1.png Bubble1.png}}
- +
-**bubble.py**+
  
-<code python>+<code python bubble.py>
 #! /usr/bin/env python3 #! /usr/bin/env python3
 # -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
Ligne 26: Ligne 27:
  
     def __init__(self, **kwargs):     def __init__(self, **kwargs):
-        super(BubbleDemo, self).__init__(**kwargs)+        super().__init__(**kwargs)
         self.but_bubble = Button(text='Press to show bubble')         self.but_bubble = Button(text='Press to show bubble')
         self.but_bubble.bind(on_release=self.show_bubble)         self.but_bubble.bind(on_release=self.show_bubble)
Ligne 49: Ligne 50:
     BubbleApp().run()     BubbleApp().run()
 </code> </code>
-**bubble.kv** 
  
-<code python>+<code python bubble.kv>
 <Cut_copy_paste>: <Cut_copy_paste>:
     size_hint: (None, None)     size_hint: (None, None)
Ligne 66: Ligne 66:
  
 Sélection dans une liste et exemple d'utilisation du choix.\\ Sélection dans une liste et exemple d'utilisation du choix.\\
-{{:Dropdown1.png?300|fig:Dropdown1.png}}+{{media_03:dropdown1.png?300|fig:Dropdown1.png}}
  
-**dropdown_with_kv.py** +<code python dropdown_with_kv.py>
- +
-<code python>+
 #! /usr/bin/env python3 #! /usr/bin/env python3
 # -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
Ligne 98: Ligne 96:
         pas dans kv         pas dans kv
         '''         '''
-        super(DropdownDemo, self).__init__(**kwargs)+        super().__init__(**kwargs)
         self.dropdown = CustomDropDown()         self.dropdown = CustomDropDown()
         # Création d'un widget bouton         # Création d'un widget bouton
Ligne 135: Ligne 133:
     DropdownApp().run()     DropdownApp().run()
 </code> </code>
-**dropdown.kv** 
  
-<code python>+<code python dropdown.kv>
 #:kivy 1.8.0 #:kivy 1.8.0
  
Ligne 158: Ligne 155:
 ===== File Chooser ===== ===== File Chooser =====
  
-{{:Filechooser1.png?300|Filechooser1.png Filechooser1.png}}+{{media_06:filechooser1.png?300|Filechooser1.png Filechooser1.png}}
  
 On cherche à comprendre FileChooser et hop on te colle du Factory.register ! Nul ! On cherche à comprendre FileChooser et hop on te colle du Factory.register ! Nul !
  
-**filechooser.py** +<code python filechooser.py>
- +
-<code python>+
 #! /usr/bin/env python3 #! /usr/bin/env python3
 # -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
Ligne 226: Ligne 221:
     Filechooser().run()     Filechooser().run()
 </code> </code>
-**filechooser.kv** 
  
-<code python>+<code python filechooser.kv>
 #:kivy 1.1.0 #:kivy 1.1.0
  
Ligne 304: Ligne 298:
 ===== Spinner ===== ===== Spinner =====
  
-{{:Spinner.jpg?200|Spinner.jpg Spinner.jpg}}+{{media_12:spinner.jpg?200|Spinner.jpg Spinner.jpg}}
  
-<code python>+<code python spinner_ex.py>
 #! /usr/bin/env python3 #! /usr/bin/env python3
 # -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
Ligne 332: Ligne 326:
 ===== List View ===== ===== List View =====
  
-{{:Listview1.png?300|Listview1.png Listview1.png}}+{{media_08:listview1.png?300|Listview1.png Listview1.png}}
  
-<code python>+<code python list_view.py>
 #! /usr/bin/env python3 #! /usr/bin/env python3
 # -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
Ligne 359: Ligne 353:
 Des onglets classiques: {{:Tabbed1.png?300|fig:Tabbed1.png}} Des onglets classiques: {{:Tabbed1.png?300|fig:Tabbed1.png}}
  
-<code python>+<code python tabbed_panel.py>
 #! /usr/bin/env python3 #! /usr/bin/env python3
 # -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
Ligne 411: Ligne 405:
 Double clic pour plein écran ! {{:Videoplayer1.png?300|fig:Videoplayer1.png}} Double clic pour plein écran ! {{:Videoplayer1.png?300|fig:Videoplayer1.png}}
  
-**videoplayerdemo.py** +<code python videoplayerdemo.py>
- +
-<code python>+
 #! /usr/bin/env python3 #! /usr/bin/env python3
 # -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
Ligne 449: Ligne 441:
 Le clavier seul: {{:Vkeyboard1.png?300|fig:Vkeyboard1.png}} Le clavier seul: {{:Vkeyboard1.png?300|fig:Vkeyboard1.png}}
  
-<code python>+<code python clavier.py>
 #! /usr/bin/env python3 #! /usr/bin/env python3
 # -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
Ligne 466: Ligne 458:
     VkeyboardApp().run()     VkeyboardApp().run()
 </code> </code>
-{{tag>kivy sb}}+ 
 +{{tag> kivy python sb }}
kivy_liste_des_elements_graphiques_widgets_complexes.1577959557.txt.gz · Dernière modification : 2020/01/02 10:05 de serge