wok-stable annotate gtkdialog/stuff/examples/14.00-menubar @ rev 191
UP : mpg123 (1.2.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 06 23:40:00 2008 +0100 (2008-02-06) |
parents | |
children |
rev | line source |
---|---|
pankso@28 | 1 #!/bin/sh |
pankso@28 | 2 |
pankso@28 | 3 export MAIN_DIALOG=' |
pankso@28 | 4 <vbox> |
pankso@28 | 5 <menubar> |
pankso@28 | 6 <menu> |
pankso@28 | 7 <menuitem stock="gtk-open"> |
pankso@28 | 8 <action>echo You selected the open menu item.</action> |
pankso@28 | 9 </menuitem> |
pankso@28 | 10 <menuitem stock="gtk-save"> |
pankso@28 | 11 <action>echo You selected the open menu item.</action> |
pankso@28 | 12 </menuitem> |
pankso@28 | 13 <separator></separator> |
pankso@28 | 14 <menuitem stock="gtk-quit"> |
pankso@28 | 15 <action>echo You selected the quit menu item</action> |
pankso@28 | 16 <action type="exit">exit by menu</action> |
pankso@28 | 17 </menuitem> |
pankso@28 | 18 <label>File</label> |
pankso@28 | 19 </menu> |
pankso@28 | 20 <menu> |
pankso@28 | 21 <menuitem stock="gtk-copy"> |
pankso@28 | 22 <action>echo You selected the copy menuitem.</action> |
pankso@28 | 23 </menuitem> |
pankso@28 | 24 <menuitem stock="gtk-cut"> |
pankso@28 | 25 <action>echo You selected the cut menuitem.</action> |
pankso@28 | 26 </menuitem> |
pankso@28 | 27 <menuitem stock="gtk-paste"> |
pankso@28 | 28 <action>echo You selected the paste menuitem.</action> |
pankso@28 | 29 </menuitem> |
pankso@28 | 30 <label>Edit</label> |
pankso@28 | 31 </menu> |
pankso@28 | 32 <menu> |
pankso@28 | 33 <menuitem> |
pankso@28 | 34 <label>A menu item</label> |
pankso@28 | 35 <action>echo You selected the custom menu item.</action> |
pankso@28 | 36 </menuitem> |
pankso@28 | 37 <label>Item</label> |
pankso@28 | 38 </menu> |
pankso@28 | 39 </menubar> |
pankso@28 | 40 <hbox> |
pankso@28 | 41 <button cancel></button> |
pankso@28 | 42 <button ok></button> |
pankso@28 | 43 </hbox> |
pankso@28 | 44 </vbox> |
pankso@28 | 45 ' |
pankso@28 | 46 |
pankso@28 | 47 gtkdialog --program=MAIN_DIALOG |