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