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