wok-6.x annotate gtkdialog/stuff/examples/slitazbox @ rev 10537
libgd: fix path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 18:31:49 2011 +0200 (2011-05-25) |
parents | d1a479ee9872 |
children |
rev | line source |
---|---|
pankso@764 | 1 #!/bin/sh |
pankso@764 | 2 # |
pankso@764 | 3 # SliTaz GTKdialog example (tab used for ident). |
pankso@764 | 4 # |
pankso@764 | 5 |
pankso@764 | 6 export MAIN_DIALOG=' |
pankso@764 | 7 <window title="SliTaz box" icon-name="help"> |
pankso@764 | 8 <vbox> |
pankso@764 | 9 |
pankso@764 | 10 <text use-markup="true"> |
pankso@764 | 11 <label>"<b>SliTaz - Box</b>"</label> |
pankso@764 | 12 </text> |
pankso@764 | 13 <text wrap="true" width-chars="50" use-markup="true"> |
paul@1105 | 14 <label>"Some static text"</label> |
pankso@764 | 15 </text> |
pankso@764 | 16 |
pankso@764 | 17 <frame Frame> |
pankso@764 | 18 <hbox> |
pankso@764 | 19 <text use-markup="true"> |
pankso@764 | 20 <label>"<b>Entry:</b>"</label> |
pankso@764 | 21 </text> |
pankso@764 | 22 <entry> |
pankso@764 | 23 <default>defvalue</default> |
pankso@764 | 24 <variable>NAME</variable> |
pankso@764 | 25 </entry> |
pankso@764 | 26 </hbox> |
pankso@764 | 27 </frame> |
pankso@764 | 28 |
pankso@764 | 29 <tree> |
pankso@764 | 30 <width>320</width><height>80</height> |
pankso@764 | 31 <variable>DIR</variable> |
pankso@764 | 32 <label>Directories</label> |
pankso@764 | 33 <input>ls /</input> |
pankso@764 | 34 <action>pcmanfm /$DIR</action> |
pankso@764 | 35 </tree> |
pankso@764 | 36 |
pankso@764 | 37 <hbox> |
pankso@764 | 38 <button> |
pankso@764 | 39 <label>Button label</label> |
pankso@764 | 40 <input file icon="xterm"></input> |
pankso@764 | 41 <action>xterm &</action> |
pankso@764 | 42 </button> |
pankso@764 | 43 <button> |
pankso@764 | 44 <input file icon="exit"></input> |
pankso@764 | 45 <action type="exit">Exit</action> |
pankso@764 | 46 </button> |
pankso@764 | 47 </hbox> |
pankso@764 | 48 |
pankso@764 | 49 </vbox> |
pankso@764 | 50 </window> |
pankso@764 | 51 ' |
pankso@764 | 52 |
pankso@764 | 53 gtkdialog --center --program=MAIN_DIALOG |
pankso@764 | 54 |
pankso@764 | 55 exit 0 |