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
Prochaine révisionLes deux révisions suivantes
kivy_liste_des_elements_graphiques_widgets_complexes [2018/09/05 06:50] – [Virtual Keyboard] sergekivy_liste_des_elements_graphiques_widgets_complexes [2020/02/08 12:15] – [Kivy: Liste des éléments graphiques Widgets complexes] serge
Ligne 1: Ligne 1:
 ======Kivy: Liste des éléments graphiques Widgets complexes====== ======Kivy: Liste des éléments graphiques Widgets complexes======
 +<WRAP center round box 60% centeralign> 
 +**{{tagpage>kivy|Toutes les pages Kivy}}** 
 +**[[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>
 ===== Buble ===== ===== Buble =====
  
 {{:Bubble1.png?200|Bubble1.png Bubble1.png}} {{:Bubble1.png?200|Bubble1.png Bubble1.png}}
  
-**bubble.py** +<code python bubble.py>
- +
-<code python>+
 #! /usr/bin/env python3 #! /usr/bin/env python3
 # -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
Ligne 23: 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 46: 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 65: Ligne 68:
 {{:Dropdown1.png?300|fig:Dropdown1.png}} {{: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 95: 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 132: 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 159: Ligne 159:
 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 223: 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 303: Ligne 300:
 {{:Spinner.jpg?200|Spinner.jpg Spinner.jpg}} {{: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 331: Ligne 328:
 {{:Listview1.png?300|Listview1.png Listview1.png}} {{: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 356: 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 408: 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 446: 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 463: Ligne 458:
     VkeyboardApp().run()     VkeyboardApp().run()
 </code> </code>
-{{tag>kivy sb verified}}+ 
 +{{tag>kivy sb python3}}
kivy_liste_des_elements_graphiques_widgets_complexes.txt · Dernière modification : 2020/12/01 17:43 de serge