<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xml:base="https://www.programmez.com/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Kivy</title>
    <link>https://www.programmez.com/</link>
    <description></description>
    <language>fr</language>
    
    <item>
  <title>Kivy : un framework pour créer des UI complexes en Python</title>
  <link>https://www.programmez.com/actualites/kivy-un-framework-pour-creer-des-ui-complexes-en-python-37633</link>
  <description>&lt;span class=&quot;field field--name-title field--type-string field--label-hidden&quot;&gt;Kivy : un framework pour créer des UI complexes en Python&lt;/span&gt;
&lt;span class=&quot;field field--name-uid field--type-entity-reference field--label-hidden&quot;&gt;&lt;span&gt;francoistonic&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;field field--name-created field--type-created field--label-hidden&quot;&gt;&lt;time datetime=&quot;2025-04-29T11:13:55+02:00&quot; title=&quot;Mardi, 29 avril 2025 - 11:13&quot; class=&quot;datetime&quot;&gt;mar, 29 Avr 2025 - 11:13&lt;/time&gt;
&lt;/span&gt;


  &lt;div class=&quot;inline__links&quot;&gt;&lt;nav class=&quot;links inline nav links-inline&quot;&gt;&lt;span class=&quot;comment-forbidden nav-link&quot;&gt;&lt;a href=&quot;/user/login?destination=/actualites/kivy-un-framework-pour-creer-des-ui-complexes-en-python-37633%23comment-form&quot;&gt;Se connecter&lt;/a&gt; ou &lt;a href=&quot;/user/register?destination=/actualites/kivy-un-framework-pour-creer-des-ui-complexes-en-python-37633%23comment-form&quot;&gt;s&#039;inscrire&lt;/a&gt; pour publier un commentaire&lt;/span&gt;&lt;/nav&gt;
  &lt;/div&gt;

&lt;div class=&quot;btn btn-light&quot;&gt;
      &lt;a href=&quot;/actualites/outils/frameworks&quot; hreflang=&quot;fr&quot;&gt;Frameworks&lt;/a&gt;
  &lt;/div&gt;

&lt;div class=&quot;mots-cles-actualite d-flex flex-wrap gap-2&quot;&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/python&quot; hreflang=&quot;fr&quot;&gt;Python&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/kivy&quot; hreflang=&quot;fr&quot;&gt;Kivy&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;

      &lt;div class=&quot;field field--name-field-image-actualite field--type-entity-reference field--label-hidden field__items&quot;&gt;
              &lt;div class=&quot;field__item&quot;&gt;&lt;div&gt;
  
  
  &lt;div class=&quot;field field--name-field-media-image field--type-image field--label-visually_hidden&quot;&gt;
    &lt;div class=&quot;field__label visually-hidden&quot;&gt;Image&lt;/div&gt;
              &lt;div class=&quot;field__item&quot;&gt;  &lt;img loading=&quot;lazy&quot; src=&quot;/sites/default/files/styles/large/public/images_actus/kivy1.png.webp?itok=DaYoo2JT&quot; width=&quot;480&quot; height=&quot;426&quot; class=&quot;image-style-large&quot; /&gt;


&lt;/div&gt;
          &lt;/div&gt;

&lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class=&quot;clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item&quot;&gt;&lt;p&gt;Pour construire des applications Python avec des interfaces graphiques, il existe plusieurs solutions dont le framework multiplateforme Kivy. Il utilise des widgets pour coder des apps UI complexes. On peut utiliser de nombreux objets : textes, listes, fenêtres, menus, onglets, radians, etc. Il fonctionne sur Linux, macOS, BSD, Windows, iOS, Android, etc. Pour faciliter la manipulation des éléments, le framework utilise un langage spécifique pour séparer la logique applicative et l&#039;interface.&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Kivy définit donc une librairie de widgets, chaque widget est vu comme une classe Python que l&#039;on implémente, par exemple :&lt;/p&gt;
&lt;p&gt;class ButtonApp -&amp;gt; pour un bouton&lt;/p&gt;
&lt;p&gt;class SpinnerApp -&amp;gt; pour un menu type spinner&lt;/p&gt;
&lt;p&gt;Comme toujours, il faut importer dans son code Python, le module : import kivy. Chaque widget est importé avec from kivy.uix.[nom du widget]&lt;/p&gt;
&lt;p&gt;La version 2.3.1 est la dernière disponible. Elle fixe de nombreux bugs et le framework supporte les dernières versions de Python 3.x. Elle retire le support de Windows 32 bits et de Python 3.7. Il faut minimum Python 3.8.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A découvrir :&lt;a href=&quot;https://kivy.org/&quot;&gt;https://kivy.org/&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
      &lt;section class=&quot;field field--name-field-commentaire-actu field--type-comment field--label-above comment-wrapper&quot;&gt;
  
  

  
&lt;/section&gt;
</description>
  <pubDate>Tue, 29 Apr 2025 09:13:55 +0000</pubDate>
    <dc:creator>francoistonic</dc:creator>
    <guid isPermaLink="false">77610 at https://www.programmez.com</guid>
    </item>

  </channel>
</rss>
