Reimplement the Windows menu.
[pspp] / src / ui / gui / output-window.ui
1 <?xml version="1.0"?>
2 <interface>
3   <object class="GtkUIManager" id="uimanager1">
4     <child>
5       <object class="GtkActionGroup" id="actiongroup1">
6         <child>
7           <object class="GtkAction" id="menuitem1">
8             <property name="name">menuitem1</property>
9             <property name="label" translatable="yes">_File</property>
10           </object>
11         </child>
12         <child>
13           <object class="GtkAction" id="file_print">
14             <property name="name">file_print</property>
15             <property name="stock-id">file-print</property>
16             <property name="label" translatable="yes">_Print...</property>
17           </object>
18           <accelerator key="P" modifiers="GDK_CONTROL_MASK"/>
19         </child>
20         <child>
21           <object class="GtkAction" id="file_export">
22             <property name="name">file_export</property>
23             <property name="stock-id">file-export-data</property>
24             <property name="label" translatable="yes">_Export...</property>
25           </object>
26         </child>
27         <child>
28           <object class="GtkAction" id="menuitem2">
29             <property name="name">menuitem2</property>
30             <property name="label" translatable="yes">_Edit</property>
31           </object>
32         </child>
33         <child>
34           <object class="GtkAction" id="edit_select-all">
35             <property name="name">edit_select-all</property>
36             <property name="stock-id">edit-select-all</property>
37             <property name="label" translatable="yes">Select _All</property>
38           </object>
39         </child>
40         <child>
41           <object class="GtkAction" id="edit_copy">
42             <property name="stock-id">edit-copy</property>
43             <property name="name">edit_copy</property>
44             <property name="label" translatable="yes">_Copy</property>
45           </object>
46         </child>
47       </object>
48     </child>
49     <ui>
50       <menubar name="menubar">
51         <menu action="menuitem1">
52           <menuitem action="file_export"/>
53           <menuitem action="file_print"/>
54         </menu>
55         <menu action="menuitem2">
56           <menuitem action="edit_copy"/>
57           <menuitem action="edit_select-all"/>
58         </menu>
59       </menubar>
60     </ui>
61   </object>
62   <!-- interface-requires gtk+ 2.16 -->
63   <!-- interface-naming-policy toplevel-contextual -->
64   <object class="GtkBox" id="box1">
65     <property name="visible">True</property>
66     <property name="orientation">GTK_ORIENTATION_VERTICAL</property>
67     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
68     <child>
69       <object class="GtkMenuBar" constructor="uimanager1" id="menubar">
70         <property name="visible">True</property>
71         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
72       </object>
73       <packing>
74         <property name="expand">False</property>
75         <property name="position">0</property>
76       </packing>
77     </child>
78     <child>
79       <object class="GtkPaned" id="paned1">
80         <property name="visible">True</property>
81         <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
82         <property name="can_focus">True</property>
83         <property name="position">112</property>
84         <property name="position_set">True</property>
85         <child>
86           <object class="GtkScrolledWindow" id="scrolledwindow2">
87             <property name="visible">True</property>
88             <property name="can_focus">True</property>
89             <property name="hscrollbar_policy">automatic</property>
90             <property name="vscrollbar_policy">automatic</property>
91             <child>
92               <object class="GtkTreeView" id="overview">
93                 <property name="visible">True</property>
94                 <property name="can_focus">True</property>
95                 <property name="headers_visible">False</property>
96               </object>
97             </child>
98           </object>
99           <packing>
100             <property name="resize">False</property>
101             <property name="shrink">True</property>
102           </packing>
103         </child>
104         <child>
105           <object class="GtkScrolledWindow" id="scrolledwindow1">
106             <property name="visible">True</property>
107             <property name="can_focus">True</property>
108             <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
109             <property name="hscrollbar_policy">automatic</property>
110             <property name="vscrollbar_policy">automatic</property>
111             <child>
112               <object class="GtkLayout" id="output">
113                 <property name="visible">True</property>
114                 <property name="border-width">5</property>
115                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
116               </object>
117             </child>
118           </object>
119           <packing>
120             <property name="resize">True</property>
121             <property name="shrink">True</property>
122           </packing>
123         </child>
124       </object>
125       <packing>
126         <property name="position">1</property>
127         <property name="expand">True</property>
128       </packing>
129     </child>
130   </object>
131 </interface>