aquaballoon

yad

Dec 9th, 2011
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.15 KB | None | 0 0
  1. ### Form ###
  2. yad \
  3. --form \
  4. --item-separator=, \
  5. --separator=" " \
  6. --field="Combo Box:CB" \
  7. --field="Combo BoxII:CBE" \
  8. --field="_RO:RO" \
  9. --field="Number:NUM" \
  10. --field="Password:H" \
  11. --field="File:FL" \
  12. --field="File II:SFL" \
  13. --field="File III:MFL" \
  14. --field="Directory:DIR" \
  15. --field="Directory II:CDIR" \
  16. --field="Font:FN" \
  17. --field="Date:DT" \
  18. --field="Color:CLR" \
  19. --field="Button:BTN" \
  20. --field="_LBL:LBL" \
  21. --field="Check Box:CHK" \
  22. "apple, banana" \
  23. "apple, banana" \
  24. "radio" \
  25. "1" \
  26. "password" \
  27. "/usr/bin/yad" \
  28. "/usr/bin/yad" \
  29. "/usr/bin/yad" \
  30. "/usr/bin/" \
  31. "/usr/bin/" \
  32. "" \
  33. "Date" \
  34. "Button"  \
  35. "LBL" \
  36. FALSE \
  37. --button="WebUpd8:2" \
  38. --button="gtk-ok:0"  \
  39. --button="gtk-cancel:1"
  40.  
  41.  
  42. ### List ###
  43. yad \
  44. --width=500 --height=300  \
  45. --separator=" " \
  46. --title="Autostart editor" \
  47. --image="gtk-execute" \
  48. --text="Add/remove autostart items" \
  49. --list --editable --print-all --multiple \
  50. --column="Command" \
  51. --column="Name" \
  52. --column="Description" \
  53. --on-top \
  54. --class="on-top" \
  55. --hide-column=3
  56. # --button="PastePW:4" --button="gtk-edit:2" --button="gtk-ok:0" --button="gtk-cancel:1"
  57.  
  58.  
  59. ### Input Box ###
  60. yad \
  61. --width=500 --center \
  62. --window-icon="gtk-execute" \
  63. --title="Title" \
  64. --text="Text" \
  65. --image="gtk-execute" \  
  66. --hide-text \
  67. --entry \
  68. --entry-label="Wallpaper Search:" \
  69.  
  70. # <b>USER</b>
  71. # --image="/usr/share/icons/skype.png"
  72. # --window-icon=/usr/share/icons/skype.png \
  73. # --name="Name"
  74.  
  75. --read-dir="/home/jlee/Pictures"
  76.  
  77. ### Combo Box ###
  78. yad \
  79. --width 300 \
  80. --entry \
  81. --title "System Logout" \
  82. --image=gnome-shutdown \
  83. --button="Switch User:2" \
  84. --button="gtk-ok:0" \
  85. --button="gtk-close:1" \
  86. --text "Choose action:" \
  87. --entry-text \
  88. "Power Off" "Reboot" "Suspend" "Logout"
  89. # --editable
  90.  
  91. ### Text Info ###
  92. yad \
  93. --text-info \
  94. --title="title" \
  95. --text="text:" \
  96. --image="dialog-error"  \
  97. --geometry=400x150+440+435 \
  98. --button="gtk-close:1" \
  99. --filename=/home/jlee/input
  100.  
  101. ### Message Box ###
  102. yad \
  103. --title="title" \
  104. --text="Computer will be shut down soon." \
  105. --image="dialog-error"  \
  106. --button="gtk-close:1"
  107.  
  108. ### Drag and Drop ###
  109. yad --dnd --tooltip --command=vlc
Advertisement
Add Comment
Please, Sign In to add comment