wok diff gtkdialog/stuff/examples/slitazbox @ rev 764
Up: gtkdialog (0.7.20) - Tazpkgbox need the last functions
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 10 10:58:33 2008 +0200 (2008-05-10) |
parents | |
children | 501432acf1ae |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gtkdialog/stuff/examples/slitazbox Sat May 10 10:58:33 2008 +0200 1.3 @@ -0,0 +1,55 @@ 1.4 +#!/bin/sh 1.5 +# 1.6 +# SliTaz GTKdialog example (tab used for ident). 1.7 +# 1.8 + 1.9 +export MAIN_DIALOG=' 1.10 +<window title="SliTaz box" icon-name="help"> 1.11 +<vbox> 1.12 + 1.13 + <text use-markup="true"> 1.14 + <label>"<b>SliTaz - Box</b>"</label> 1.15 + </text> 1.16 + <text wrap="true" width-chars="50" use-markup="true"> 1.17 + <label>"Some statiy text"</label> 1.18 + </text> 1.19 + 1.20 + <frame Frame> 1.21 + <hbox> 1.22 + <text use-markup="true"> 1.23 + <label>"<b>Entry:</b>"</label> 1.24 + </text> 1.25 + <entry> 1.26 + <default>defvalue</default> 1.27 + <variable>NAME</variable> 1.28 + </entry> 1.29 + </hbox> 1.30 + </frame> 1.31 + 1.32 + <tree> 1.33 + <width>320</width><height>80</height> 1.34 + <variable>DIR</variable> 1.35 + <label>Directories</label> 1.36 + <input>ls /</input> 1.37 + <action>pcmanfm /$DIR</action> 1.38 + </tree> 1.39 + 1.40 + <hbox> 1.41 + <button> 1.42 + <label>Button label</label> 1.43 + <input file icon="xterm"></input> 1.44 + <action>xterm &</action> 1.45 + </button> 1.46 + <button> 1.47 + <input file icon="exit"></input> 1.48 + <action type="exit">Exit</action> 1.49 + </button> 1.50 + </hbox> 1.51 + 1.52 +</vbox> 1.53 +</window> 1.54 +' 1.55 + 1.56 +gtkdialog --center --program=MAIN_DIALOG 1.57 + 1.58 +exit 0