Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:dialog:start [2023/10/25 06:58] – [Zenity] jsdev:dialog:start [2023/10/25 08:15] (current) – [Newt] js
Line 1: Line 1:
 ====== Dialog Tools ====== ====== Dialog Tools ======
 +\\  
 +\\ 
 ===== Textmode Tools ===== ===== Textmode Tools =====
 +\\ 
 +\\ 
 === Dialog === === Dialog ===
 ncurses textmode version. ncurses textmode version.
Line 7: Line 10:
 Homepage: [[https://www.invisible-island.net/dialog/dialog.html]] Homepage: [[https://www.invisible-island.net/dialog/dialog.html]]
  
 +<code bash>#!/bin/bash
 +dialog –checklist  ‘checklist’ 15 10 10 ‘apple’ 5 ‘on’ ‘banana’ 2 ‘off’ ‘coco’ 3 ‘on’ ‘delta’ 4 ‘off’</code>
 +{{ :dev:dialog:dialog_checklist.png?direct |}}
 +\\ 
 +\\ 
 === Newt === === Newt ===
 Newt is a programming library for color text mode, widget based user Newt is a programming library for color text mode, widget based user
 interfaces. interfaces.
 +
 Homepage: [[https://pagure.io/newt]] Homepage: [[https://pagure.io/newt]]
  
 +GitHub: [[https://github.com/mlichvar/newt]]
 +\\ 
 +\\ 
 ===== GUI Tools ===== ===== GUI Tools =====
 +\\ 
 +\\ 
 === Zenity === === Zenity ===
 Gnome or GTK version. Gnome or GTK version.
Line 27: Line 41:
  
 {{ :dev:dialog:zenity.png?direct |}} {{ :dev:dialog:zenity.png?direct |}}
 +\\ 
 +\\ 
 === Yad === === Yad ===
 Fork of Zenity with more parameters and features. Fork of Zenity with more parameters and features.
  
 +Homepage:
 +
 +<code bash>yad \
 +--title="Field Optionen" \
 +--form \
 +--item-separator=, \
 +--separator=" " \
 +--field="Nur lesbares Feld:RO" Text \
 +--field="Auswahl einer Zahl:NUM" \
 +--field="Ich bin eine Checkbox:CHK" \
 +--field="Editierbares Feld:CBE" Text \
 +--field="Dateiauswahl:FL" \
 +--field="Hier kannst du eine Datei erstellen:SFL" \
 +--field="Verzeichnisauswahl:DIR" \
 +--field="Hier kannst du ein Verzeichnis erstellen:CDIR" \
 +--field="Schriftartauswahl:FN" \
 +--field="Hier kannst du mehrere Dateien wählen:MFL" \
 +--field="Wähle ein Datum:DT" \
 +--field="Wähle eine Farbe:CLR" \
 +--field="Ich bin ein klickbarer Button:BTN" \
 +--field="Ich bin eine Überschrift:LBL" \
 +--field="Texteingabe:TEXT" \
 +--button="Ich bin Button 1" \
 +--button="Ich bin Button 2" \
 +--button="Ich bin Button 3" \
 +--button="Ich bin Button 4"</code>
 +
 +{{ :dev:dialog:yad_examplefield.png?direct |}}
 +\\ 
 +\\ 
 === KDialog === === KDialog ===
 KDE or Plasma version of the dialog utility: KDE or Plasma version of the dialog utility:
Line 42: Line 88:
 {{ :dev:dialog:kdialog_yesnocancelwarning.png?direct |}} {{ :dev:dialog:kdialog_yesnocancelwarning.png?direct |}}
  
 +\\ 
 +\\ 
 ===== Website and Examples ===== ===== Website and Examples =====
   * [[https://www.linux-community.de/ausgaben/linuxuser/2005/02/portabel-programmieren-mit-dialog-gdialog-und-kdialog/|Linux Community (de)]]   * [[https://www.linux-community.de/ausgaben/linuxuser/2005/02/portabel-programmieren-mit-dialog-gdialog-und-kdialog/|Linux Community (de)]]
   * [[https://linuxconfig.org/how-to-use-ncurses-widgets-in-shell-scripts-on-linux|Linuxconfig.org]]   * [[https://linuxconfig.org/how-to-use-ncurses-widgets-in-shell-scripts-on-linux|Linuxconfig.org]]
   * [[https://mostlylinux.wordpress.com/bashscripting/kdialog/|MostlyLinux KDialog Examples]]   * [[https://mostlylinux.wordpress.com/bashscripting/kdialog/|MostlyLinux KDialog Examples]]
- +  * [[https://wiki.ubuntuusers.de/Zenity/|UbuntuUser Zenity (de)]] 
- +  * [[https://wiki.ubuntuusers.de/KDialog/|UbuntuUser KDialog (de)]] 
 +  * [[https://www.geeksforgeeks.org/creating-dialog-boxes-with-the-dialog-tool-in-linux/|GeeksForGeeks Dialog]] 
 +  * [[https://userswww.pd.infn.it/~saccarol/tutorial.html|UsersWWW Newt]]