Advertisement
To-Slalom

Select Directory

Aug 25th, 2021
1,449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.57 KB | None | 0 0
  1. #! /bin/bash
  2.  
  3. export MAIN_DIALOG='
  4. <vbox>
  5.  
  6.  
  7.  <frame New Directory>
  8.    <hbox>
  9.      <entry accept="newdirectory">
  10.        <label>Create New Directory (really)</label>
  11.        <variable>FILE_NEWDIRECTORY</variable>
  12.      </entry>
  13.      <button>
  14.        <input file stock="gtk-open"></input>
  15.        <variable>FILE_BROWSE_NEWDIRECTORY</variable>
  16.        <action type="fileselect">FILE_NEWDIRECTORY</action>
  17.      </button>
  18.    </hbox>
  19.  </frame>
  20.  
  21.  <hbox>
  22.   <button ok></button>
  23.   <button cancel></button>
  24.  </hbox>
  25. </vbox>
  26. '
  27.  
  28. gtkdialog --program=MAIN_DIALOG
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement