logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).


L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT → ODT PDF Export

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édentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révision Les deux révisions suivantes
utilisateurs:slyfox:tutos:yad [21/11/2015 18:46]
Slyfox [Options boite de dialogue icons]
utilisateurs:slyfox:tutos:yad [22/11/2015 22:26]
Slyfox [Options spécifiques]
Ligne 2: Ligne 2:
  
   * Objet : Installtion et utilisation de yad   * Objet : Installtion et utilisation de yad
-  * Niveau requis : {{tag>avançé}}+  * Niveau requis : {{tag>intermédiaire}}
   * Commentaires : //Contexte d'​utilisation du sujet du tuto. // FIXME   * Commentaires : //Contexte d'​utilisation du sujet du tuto. // FIXME
   * Débutant, à savoir : [[:​doc:​systeme:​commandes:​le_debianiste_qui_papillonne|Utiliser GNU/Linux en ligne de commande, tout commence là !.]] :-)   * Débutant, à savoir : [[:​doc:​systeme:​commandes:​le_debianiste_qui_papillonne|Utiliser GNU/Linux en ligne de commande, tout commence là !.]] :-)
Ligne 29: Ligne 29:
 checkinstall make install checkinstall make install
 </​code>​ </​code>​
- 
- 
- 
- 
  
 ===== Règles d'​utilisation ===== ===== Règles d'​utilisation =====
Ligne 69: Ligne 65:
 ===== Options boîtes de dialogue ===== ===== Options boîtes de dialogue =====
  
-Yad permet d'​afficher ​13 types de boite de dialogue. ​+Yad permet d'​afficher ​17 types de boite de dialogue. ​
  
 ^ Options ​        ^ Descriptions ​                     ​ ^ Options ​        ^ Descriptions ​                     ​
-|**%%--calendar%%** ​    ​| Affiche un calendrier ​                                    | +|**%%--calendar%%** ​      ​| Affiche un calendrier ​                                    | 
-|**%%--color%%** ​       | Sélection de couleurs ​                                    | +|**%%--color%%** ​         | Sélection de couleurs ​                                    | 
-|**%%--dnd %%**         ​| Boîte drag-and-drop ​                                      | +|**%%--dnd %%**           ​| Boîte drag-and-drop ​                                      | 
-|**%%--entry%%** ​       | Permet la saisie de caractères ​                           | +|**%%--entry%%** ​         | Permet la saisie de caractères ​                           | 
-|**%%--icons%%** ​       | Boîte d'​affichage avec icônes de raccourci ​               | +|**%%--icons%%** ​         | Boîte d'​affichage avec icônes de raccourci ​               | 
-|**%%--file%%** ​        ​| Sélection de fichiers ou/et dossiers ​                     | +|**%%--file%%** ​          ​| Sélection de fichiers ou/et dossiers ​                     | 
-|**%%--font%%** ​        ​| Sélection de la police ​                                   | +|**%%--font%%** ​          ​| Sélection de la police ​                                   | 
-|**%%--form%%** ​        ​Permet la saisie ​de caractères ​                           ​+|**%%--form%%** ​          ​Formulaire ​                                               | 
-|**%%--list%%** ​        ​| Affiche une liste                                         | +|**%%--html%%** ​          | Affiche une boite de dialogue HTLM                        ​
-|**%%--notification%%** | Afficher une notification ​dans la zone prévue à cet effet +|**%%--list%%** ​          ​| Affiche une liste                                         | 
-|**%%--progress%%** ​    ​| Permet de suivre une progression ​                         | +|**%%--multi-progress%%** | Affiche plusieurs barres de progressions ​                 | 
-|**%%--text-info%%** ​   | Affiche un texte dans une fenêtre ​                        +|**%%--notebook%%** ​      | FIXME                                                     | 
-|**%%--scale%%** ​       | Choisir une valeur numérique à l'aide d'un curseur ​       |+|**%%--notification%%**   | FIXME                                                     | 
 +|**%%--print%%** ​         | FIXME                                                     
 +|**%%--progress%%** ​      ​| Permet de suivre une progression ​                         | 
 +|**%%--text-info%%** ​     | Affiche un texte d'​information ​                           ​
 +|**%%--scale%%** ​         | Choisir une valeur numérique à l'aide d'un curseur ​       |
  
  
Ligne 101: Ligne 101:
 |**%%--timeout=TIMEOUT%%** ​       | Temps d'​affichage | |**%%--timeout=TIMEOUT%%** ​       | Temps d'​affichage |
 |**%%--timeout-indicator=POSITION%%** ​        | FIXME | |**%%--timeout-indicator=POSITION%%** ​        | FIXME |
-|**%%--kill-parent%%** ​        | Envoie SIGTERM au processus parent |+|**%%--parent-win=XID%%** ​        | FIXME | 
 +|**%%--kill-parent[=SIGNAL]%%**         | Envoie SIGTERM au processus parent ​
 +|**%%--plug=KEY%%** ​        | FIXME | 
 +|**%%--tabnum=NUMBER%%** ​        | FIXME |
 |**%%--text=STRING%%** ​        | Texte à l’intérieur de la boîte de dialogue | |**%%--text=STRING%%** ​        | Texte à l’intérieur de la boîte de dialogue |
 +|**%%--text-align=TYPE%%** ​        | FIXME |
 |**%%--image=IMAGE%%** ​        | Image qui apparaît sur le côté gauche de la boîte de dialogue. \\ IMAGE peut être un nom de fichier ou le nom de l'​icône du thème d'​icônes courant.| |**%%--image=IMAGE%%** ​        | Image qui apparaît sur le côté gauche de la boîte de dialogue. \\ IMAGE peut être un nom de fichier ou le nom de l'​icône du thème d'​icônes courant.|
 |**%%--image-on-top%%** ​        | Place l'​image au-dessus, doit-être utilisé avec l'​option %%--image%% ​ | |**%%--image-on-top%%** ​        | Place l'​image au-dessus, doit-être utilisé avec l'​option %%--image%% ​ |
Ligne 109: Ligne 113:
 |**%%--button=BUTTON:​ID%%** ​   | Rajoute en bouton, ID correspond au code de sortie | |**%%--button=BUTTON:​ID%%** ​   | Rajoute en bouton, ID correspond au code de sortie |
 |**%%--no-buttons%%** ​       | Affiche aucun bouton | |**%%--no-buttons%%** ​       | Affiche aucun bouton |
 +|**%%--buttons-layout=TYPE%%** ​    | FIXME |
 |**%%--no-markup%%** ​    | FIXME | |**%%--no-markup%%** ​    | FIXME |
 +|**%%--no-escape%%** ​    | FIXME |
 |**%%--always-print-result%%** ​       | Imprime toujours le résultat | |**%%--always-print-result%%** ​       | Imprime toujours le résultat |
 |**%%--dialog-sep%%** ​        | FIXME | |**%%--dialog-sep%%** ​        | FIXME |
Ligne 118: Ligne 124:
 |**%%--mouse%%** ​        | Place la boîte dialogue à son ouverture sous la position de la souris ​ | |**%%--mouse%%** ​        | Place la boîte dialogue à son ouverture sous la position de la souris ​ |
 |**%%--on-top%%** ​        | Place la boîte dialogue à son ouverture par-dessus les autre fenêtre. | |**%%--on-top%%** ​        | Place la boîte dialogue à son ouverture par-dessus les autre fenêtre. |
-|**%%--skip-taskbar%%** | N'​affiche pas la boîte de dialogue dans la barre de tâche ou le pager |+|**%%--undecorated%%** | FIXME | 
 +|**%%--skip-taskbar%%** | FIXME | 
 +|**%%--maximized%%** | FIXME | 
 +|**%%--fullscreen%%** | FIXME | 
 +|**%%--splash%%** | FIXME | 
 +|**%%--no-focus%%** | FIXME |
 |**%%--geometry=WIDTHxHEIGHT+X+Y%%** | FIXME | |**%%--geometry=WIDTHxHEIGHT+X+Y%%** | FIXME |
 |**%%--selectable-labels%%** ​   | FIXME | |**%%--selectable-labels%%** ​   | FIXME |
 +|**%%--image-path=PATH%%** ​   | FIXME |
 +|**%%--rest=FILENAME%%** ​   | FIXME |
 +|**%%--gtkrc=FILENAME%%** ​   | FIXME |
 +
  
 ===== Options spécifiques ===== ===== Options spécifiques =====
  
-====  ​Calendrier ​ ====+====  ​--calendar ​ ====
  
 ^ Options ​               ^ Descriptions ​                     ^ Options ​               ^ Descriptions ​                    
Ligne 130: Ligne 145:
 |**%%--month=INT%%** ​        | Mois par défaut ​ | |**%%--month=INT%%** ​        | Mois par défaut ​ |
 |**%%--year=INT%%** ​        | Année par défaut | |**%%--year=INT%%** ​        | Année par défaut |
-|**%%--date-format=MOTIF%%** | Régler le format de retour la date. Par défaut c'est `% x ' \\ Pour plus info sur les format de date faire man date|+|**%%--date-format=PATTERN%%** | Régler le format de retour la date. Par défaut c'est `% x ' \\ Pour plus info sur les format de date faire man date|
 |**%%--details = FILENAME%%** | FIXME | |**%%--details = FILENAME%%** | FIXME |
-|**%%--init-color=COULEUR%%** | Définit une valeur initiale de la couleur. | +
-|**%%--extra%%** ​   | FIXME | +
-|**%%--palette[= fichier]%%** ​   | FIXME |+
  
 <​note>​Si aucun jour, mois, année est spécifiés c'est la date actuel qui est utilisé par défaut</​note>​ <​note>​Si aucun jour, mois, année est spécifiés c'est la date actuel qui est utilisé par défaut</​note>​
Ligne 154: Ligne 167:
 {{/​file-R272fce0547b743152a543eb046f5aaef.png}} {{/​file-R272fce0547b743152a543eb046f5aaef.png}}
  
-====  ​Drag-and-Drop  ====+ 
 +====  --color  ==== 
 + 
 +^ Options ​               ^ Descriptions ​                     
 +|**%%--init-color=COLOR%%** ​        | FIXME | 
 +|**%%--gtk-palette%%** ​        | FIXME | 
 +|**%%--extra%%** ​        | FIXME | 
 +|**%%--alpha%%** ​        | FIXME | 
 +|**%%--palette[=FILENAME]%%** ​        | FIXME | 
 +|**%%--expand-palette%%** ​        | FIXME | 
 +|**%%--mode=MODE%%** ​        | FIXME | 
 + 
 +====  --dnd  ====
  
 ^ Options ​               ^ Descriptions ​ ^ Options ​               ^ Descriptions ​
Ligne 179: Ligne 204:
 {{/​file-R8d6aaf1191e3a1dd0ad35e38247bb657.png}} {{/​file-R8d6aaf1191e3a1dd0ad35e38247bb657.png}}
  
-==== Entry  ====+==== --entry ​ ====
  
 ^ Options ​                         ^ Descriptions ​                     ^ Options ​                         ^ Descriptions ​                    
Ligne 209: Ligne 234:
 {{/​file-Rb6d41888842b6b0356d67fc36125a3c2.png}} {{/​file-Rb6d41888842b6b0356d67fc36125a3c2.png}}
  
-===== Options boite de dialogue ​icons  =====+==== --icons ====
  
 ^ Options ​               ^ Descriptions ​                     ^ Options ​               ^ Descriptions ​                    
Ligne 222: Ligne 247:
 |**%%--term%%** ​        | FIXME | |**%%--term%%** ​        | FIXME |
  
-====  ​Options ​boite de dialogue file  ====+ 
 +=== Exemple ​=== 
 + 
 +Ci-dessous une boite de dialogue ​de type icons, avec une largeur de 1000 et une hauteur de 900, comme titre "Mon menu", qui nous permet de lancer une application par un simple double-clic. 
 + 
 +<file bash> 
 +yad \ 
 +--icons \ 
 +--title="​Mon menu" \ 
 +--width=1000 \ 
 +--height=900 \ 
 +--read-dir=/​usr/​share/​applications yad \ 
 +--sort-by-name 
 +</​file>​ 
 + 
 +{{/​file-Rdbb917fe94e16326ffcb13fc1fcf823c.png?​500}} 
 + 
 +====  --file  ====
  
 ^ Options ​               ^ Descriptions ​                     ^ Options ​               ^ Descriptions ​                    
-|**%%--xxxx%%**         | FIXME | +|**%%--filename=FILENAME%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--multiple%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--directory%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--save%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--separator=STRING%%**         | FIXME | 
-|**%%--xxxx%%** ​        | FIXME | +|**%%--confirm-overwrite[=TEXT]%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--quoted-output%%**         | FIXME |
-|**%%--xxxx%%** ​        | FIXME | +
-|**%%--xxxx%%**         | FIXME |+
  
  
-====  ​Options boite de dialogue ​font  ====+ 
 + 
 + 
 +====  ​--font  ====
  
 ^ Options ​               ^ Descriptions ​                     ^ Options ​               ^ Descriptions ​                    
-|**%%--xxxx%%**         | FIXME | +|**%%--fontname=FONTNAME%%**         | FIXME | 
-|**%%--xxxx%%** ​        | FIXME | +|**%%--preview%%**         | FIXME |
-|**%%--xxxx%%** ​        | FIXME | +
-|**%%--xxxx%%** ​        | FIXME | +
-|**%%--xxxx%%** ​        | FIXME | +
-|**%%--xxxx%%** ​        | FIXME | +
-|**%%--xxxx%%** ​        | FIXME | +
-|**%%--xxxx%%** ​        | FIXME | +
-|**%%--xxxx%%**         | FIXME |+
  
  
-====  ​Options boite de dialogue ​form  ====+ 
 + 
 +====  ​--form  ====
  
 ^ Options ​               ^ Descriptions ​                     ^ Options ​               ^ Descriptions ​                    
-|**%%--xxxx%%**         | FIXME | +|**%%--field=LABEL[:​TYPE]%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|FIXME | FIXME| 
-|**%%--xxxx%%**         | FIXME | +|FIXME...|FIXME| 
-|**%%--xxxx%%**         | FIXME | +|**%%--align=TYPE%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--columns=NUMBER%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--separator=STRING%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--item-separator=STRING%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--date-format=PATTERN%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME |+|**%%--scroll%%**         | FIXME | 
 +|**%%--quoted-output%%**         | FIXME | 
 +|**%%--output-by-row%%** ​        | FIXME | 
 +|**%%--num-output%%**         | FIXME |
  
 +====  --html ​ ====
 +
 +^ Options ​               ^ Descriptions ​                    
 +|**%%--uri=URI%%** ​        | FIXME |
 +|**%%--browser%%** ​        | FIXME |
 +|**%%--print-uri%%** ​        | FIXME |
 +|**%%--mime=MIME%%** ​        | FIXME |
 +|**%%--encodintg=ENCODING%%** ​        | FIXME |
  
-====  ​Options boite de dialogue ​list  ====+ 
 + 
 +====  ​--list  ====
  
 ^ Options ​               ^ Descriptions ​                     ^ Options ​               ^ Descriptions ​                    
-|**%%--xxxx%%**         | FIXME | +|**%%--column=STRING[:​TYPE]%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|FIXME | FIXME| 
-|**%%--xxxx%%**         | FIXME | +|FIXME...|FIXME| 
-|**%%--xxxx%%**         | FIXME | +|**%%--checklist%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--radiolist%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--separator=STRING%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--multiple%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--editable%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME |+|**%%--no-headers%%**         | FIXME | 
 +|**%%--no-click%%**         | FIXME | 
 +|**%%--no-rules-hint%%** ​        | FIXME | 
 +|**%%--print-all%%** ​        | FIXME | 
 +|**%%--print-column=NUMBER%%** ​        | FIXME | 
 +|**%%--hide-column=NUMBER%%** ​        | FIXME | 
 +|**%%--expand-column=NUMBER%%** ​        | FIXME | 
 +|**%%--search-column=NUMBER%%** ​        | FIXME | 
 +|**%%--tooltip-column=NUMBER%%** ​        | FIXME | 
 +|**%%--sep-column=NUMBER%%** ​        | FIXME | 
 +|**%%--sep-value=TEXT%%** ​        | FIXME | 
 +|**%%--limit=NUMBER%%** ​        | FIXME | 
 +|**%%--ellipsize=TYPE%%** ​        | FIXME | 
 +|**%%--dclick-action=CMD%%** ​        | FIXME | 
 +|**%%--regex-search%%** ​        | FIXME | 
 +|**%%--listen%%** ​        | FIXME | 
 +|**%%--quoted-output%%**         | FIXME |
  
 +====  --multi-progress ​ ====
  
-====  ​Options boite de dialogue notification ​ ====+^ Options ​               ^ Descriptions ​                     
 +|**%%--bar=LABEL[:​TYPE]%%** ​        | FIXME | 
 +|**%%--vertical%%** ​        | FIXME | 
 +|**%%--align=TYPE%%** ​        | FIXME | 
 + 
 + 
 + 
 +====  ​--notebook ​ ====
  
 ^ Options ​               ^ Descriptions ​                     ^ Options ​               ^ Descriptions ​                    
-|**%%--xxxx%%**         | FIXME | +|**%%--key=KEY%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--tab=TEXT%%**         | FIXME | 
-|**%%--xxxx%%** ​        | FIXME | +|**%%--tab-pos=TYPE%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--tab-borders=NUMBER%%**         | FIXME |
-|**%%--xxxx%%** ​        | FIXME | +
-|**%%--xxxx%%** ​        | FIXME | +
-|**%%--xxxx%%** ​        | FIXME | +
-|**%%--xxxx%%** ​        | FIXME | +
-|**%%--xxxx%%**         | FIXME |+
  
  
-====  ​Options boite de dialogue progress ​ ====+====  ​--notification ​ ====
  
 ^ Options ​               ^ Descriptions ​                     ^ Options ​               ^ Descriptions ​                    
-|**%%--xxxx%%**         | FIXME | +|**%%--command=CMD%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--listen%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--separator=STRING%%**         | FIXME | 
-|**%%--xxxx%%** ​        | FIXME | +|**%%--item-separator=STRING%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--menu=STRING%%**         | FIXME | 
-|**%%--xxxx%%**         | FIXME | +|**%%--no-middle%%**         | FIXME | 
-|**%%--xxxx%%** ​        | FIXME | +|**%%--hidden%%**         | FIXME |
-|**%%--xxxx%%**         | FIXME | +
-|**%%--xxxx%%**         | FIXME |+
  
  
-====  Options ​boite de dialogue ​text-info ​ ====+====  ​PANED  ==== FIXME 
 + 
 +Options ​               ^ Descriptions ​                     
 +|**%%--key=KEY%%** ​        | FIXME | 
 +|**%%--orient=TYPE%%** ​        | FIXME | 
 +|**%%--splitter=POS%%** ​        | FIXME | 
 + 
 + 
 +====  --print ​ ==== 
 + 
 +^ Options ​               ^ Descriptions ​                     
 +|**%%--type=TYPE%%** ​        | FIXME | 
 +|**%%--filename=FILENAME%%** ​        | FIXME | 
 +|**%%--headers%%** ​        | FIXME | 
 +|**%%--add-preview%%** ​        | FIXME | 
 +|**%%--fontname=FONTNAME%%** ​        | FIXME | 
 + 
 + 
 + 
 +====  --progress ​ ==== 
 + 
 +^ Options ​               ^ Descriptions ​                     
 +|**%%--progress-text=TEXT%%** ​        | FIXME | 
 +|**%%--percentage=NUMBER%%** ​        | FIXME | 
 +|**%%--auto-close%%** ​        | FIXME | 
 +|**%%--auto-kill%%** ​        | FIXME | 
 +|**%%--pulsate%%** ​        | FIXME | 
 +|**%%--enable-log[=TEXT]%%** ​        | FIXME | 
 +|**%%--log-on-top%%** ​        | FIXME | 
 +|**%%--log-expanded%%** ​        | FIXME | 
 +|**%%--log-height%%** ​        | FIXME | 
 + 
 +====  --text-info ​ ====
  
 ^ Options ​               ^ Descriptions ​                     ^ Options ​               ^ Descriptions ​                    
Ligne 319: Ligne 419:
 |**%%--xxxx%%** ​        | FIXME | |**%%--xxxx%%** ​        | FIXME |
  
-====  ​Options boite de dialogue ​scale  ====+====  ​--scale  ====
  
 ^ Options ​               ^ Descriptions ​                     ^ Options ​               ^ Descriptions ​                    
Ligne 331: Ligne 431:
 |**%%--xxxx%%** ​        | FIXME | |**%%--xxxx%%** ​        | FIXME |
 |**%%--xxxx%%** ​        | FIXME | |**%%--xxxx%%** ​        | FIXME |
- 
  
  

Pied de page des forums

Propulsé par FluxBB