X-Received: by 2002:a37:2754:: with SMTP id n81mr1358624qkn.297.1630714285304; Fri, 03 Sep 2021 17:11:25 -0700 (PDT) X-Received: by 2002:a05:6808:604:: with SMTP id y4mr1052922oih.86.1630714284986; Fri, 03 Sep 2021 17:11:24 -0700 (PDT) Path: ...!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: fr.comp.lang.ada Date: Fri, 3 Sep 2021 17:11:24 -0700 (PDT) Injection-Info: google-groups.googlegroups.com; posting-host=102.142.158.252; posting-account=rdYO6wkAAAAd45iu4u7Y67MQUwG0Eumn NNTP-Posting-Host: 102.142.158.252 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <718a2e3b-9959-4b53-909b-9191eb14f45an@googlegroups.com> Subject: comment creer un bouton avec gtkada??? From: Danielle Mandi Mayagha Injection-Date: Sat, 04 Sep 2021 00:11:25 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Bytes: 1749 Lines: 25 Bonsoir, cela fait juste quelqu'un temps que je me suis lance dans programm= ation graphique avec gtkada mais je rencontre des problemes certains. -lorsque je cree une fenetre et que j'execute, le programme m'affiche plusi= eurs fenetre. voici un exemple de code=20 WITH Gtk.Main ; USE Gtk.Main ; WITH Gtk.Window ; USE Gtk.Window ; Procedure test is fenetre : Gtk_Window ; begin init; gtk_new (fenetre); fenetre.show; main; end test; le probleme est que je ne comprend pas pourquoi ce code n'arrete pas d'affi= cher la fenetre en boucle. si quelqu'un ici peut me donner une reponse a mo= n probleme cela m'aidera dans mon apprentissage d'interface graphique avec = gtkada (pour rappel je suis debutant) merci.