Allow adding new variables in the var sheet
[pspp] / src / ui / gui / syntax-editor.ui
1 <?xml version="1.0"?>
2 <!--*- mode: xml -*-->
3 <interface>
4   <menu id="syntax-window-menu">
5     <submenu>
6       <attribute name="label" translatable="yes">_File</attribute>
7       <section>
8         <submenu>
9           <attribute name="label" translatable="yes">_New</attribute>
10           <item>
11             <attribute name="label" translatable="yes">Syntax</attribute>
12           <attribute name="action">app.new-syntax</attribute>
13           </item>
14           <item>
15             <attribute name="label" translatable="yes">Data</attribute>
16             <attribute name="action">app.new-data</attribute>
17           </item>
18         </submenu>
19         <item>
20           <attribute name="label" translatable="yes">_Open</attribute>
21           <attribute name="action">win.open</attribute>
22           <attribute name="accel">&lt;Primary&gt;o</attribute>
23         </item>
24         <item>
25           <attribute name="label" translatable="yes">_Save</attribute>
26           <attribute name="action">win.save</attribute>
27           <attribute name="accel">&lt;Primary&gt;s</attribute>
28         </item>
29         <item>
30           <attribute name="label" translatable="yes">Save _As</attribute>
31           <attribute name="action">win.save_as</attribute>
32           <attribute name="accel">&lt;Primary&gt;&lt;Shift&gt;s</attribute>
33         </item>
34       </section>
35       <section>
36         <item>
37           <attribute name="label" translatable="yes">_Print</attribute>
38           <attribute name="action">win.print</attribute>
39         </item>
40       </section>
41       <section>
42         <item>
43           <attribute name="label" translatable="yes">_Quit</attribute>
44           <attribute name="accel">&lt;Primary&gt;q</attribute>
45           <attribute name="action">app.quit</attribute>
46         </item>
47       </section>
48     </submenu>
49     <submenu>
50     <attribute name="label" translatable="yes">_Edit</attribute>
51     <section>
52       <item>
53         <attribute name="label" translatable="yes">Cu_t</attribute>
54         <attribute name="action">win.cut</attribute>
55         <attribute name="accel">&lt;Primary&gt;x</attribute>
56       </item>
57       <item>
58         <attribute name="label" translatable="yes">_Copy</attribute>
59         <attribute name="action">win.copy</attribute>
60         <attribute name="accel">&lt;Primary&gt;c</attribute>
61       </item>
62       <item>
63         <attribute name="label" translatable="yes">_Paste</attribute>
64         <attribute name="action">win.paste</attribute>
65         <attribute name="accel">&lt;Primary&gt;v</attribute>
66       </item>
67       <item>
68         <attribute name="label" translatable="yes">_Delete</attribute>
69         <attribute name="action">win.delete</attribute>
70       </item>
71     </section>
72     <section>
73       <item>
74         <attribute name="label" translatable="yes">_Undo</attribute>
75         <attribute name="action">win.undo</attribute>
76       </item>
77       <item>
78         <attribute name="label" translatable="yes">_Redo</attribute>
79         <attribute name="action">win.redo</attribute>
80       </item>
81     </section>
82   </submenu>
83   <submenu>
84     <attribute name="label" translatable="yes">_Run</attribute>
85     <section>
86       <item>
87         <attribute name="label" translatable="yes">_All</attribute>
88         <attribute name="action">win.run-all</attribute>
89       </item>
90       <item>
91         <attribute name="label" translatable="yes">_Selection</attribute>
92         <attribute name="action">win.run-selection</attribute>
93       </item>
94       <item>
95         <attribute name="label" translatable="yes">_Current Line</attribute>
96         <attribute name="action">win.run-current-line</attribute>
97         <attribute name="accel">&lt;Primary&gt;r</attribute>
98       </item>
99       <item>
100         <attribute name="label" translatable="yes">_To End</attribute>
101         <attribute name="action">win.run-to-end</attribute>
102       </item>
103     </section>
104   </submenu>
105 </menu>
106 <object class="GtkScrolledWindow" id="scrolledwindow8">
107   <property name="visible">True</property>
108   <property name="can_focus">True</property>
109   <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
110   <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
111   <property name="shadow_type">GTK_SHADOW_IN</property>
112   <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
113   <child>
114     <object class="GtkSourceView" id="syntax_text_view">
115       <property name="visible">True</property>
116       <property name="can_focus">True</property>
117       <property name="editable">True</property>
118       <property name="overwrite">False</property>
119       <property name="accepts_tab">True</property>
120       <property name="justification">GTK_JUSTIFY_LEFT</property>
121       <property name="wrap_mode">GTK_WRAP_NONE</property>
122       <property name="cursor_visible">True</property>
123       <property name="pixels_above_lines">0</property>
124       <property name="pixels_below_lines">0</property>
125       <property name="pixels_inside_wrap">0</property>
126       <property name="left_margin">0</property>
127       <property name="right_margin">0</property>
128       <property name="indent">0</property>
129     </object>
130   </child>
131 </object>
132 <object class="GtkStatusbar" id="statusbar2">
133   <property name="visible">True</property>
134 </object>
135 </interface>