Avoid potential negative array index access to cached text.
[LibreOffice.git] / sc / uiconfig / scalc / ui / functionpanel.ui
blob72c9cedbbcae390dcf2f7373130df5e3637909a0
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Generated with glade 3.40.0 -->
3 <interface domain="sc">
4 <requires lib="gtk+" version="3.20"/>
5 <object class="GtkImage" id="image1">
6 <property name="visible">True</property>
7 <property name="can-focus">False</property>
8 <property name="icon-name">sc/res/fx.png</property>
9 </object>
10 <object class="GtkTreeStore" id="liststore1">
11 <columns>
12 <!-- column-name text -->
13 <column type="gchararray"/>
14 <!-- column-name id -->
15 <column type="gchararray"/>
16 </columns>
17 </object>
18 <!-- n-columns=1 n-rows=1 -->
19 <object class="GtkGrid" id="FunctionPanel">
20 <property name="visible">True</property>
21 <property name="can-focus">False</property>
22 <property name="hexpand">True</property>
23 <property name="vexpand">True</property>
24 <child>
25 <!-- n-columns=1 n-rows=2 -->
26 <object class="GtkGrid">
27 <property name="visible">True</property>
28 <property name="can-focus">False</property>
29 <property name="hexpand">True</property>
30 <property name="vexpand">True</property>
31 <property name="border-width">6</property>
32 <property name="row-spacing">6</property>
33 <child>
34 <!-- n-columns=1 n-rows=3 -->
35 <object class="GtkGrid">
36 <property name="visible">True</property>
37 <property name="can-focus">False</property>
38 <property name="hexpand">True</property>
39 <property name="vexpand">True</property>
40 <property name="row-spacing">6</property>
41 <child>
42 <!-- n-columns=2 n-rows=1 -->
43 <object class="GtkGrid">
44 <property name="visible">True</property>
45 <property name="can-focus">False</property>
46 <property name="hexpand">True</property>
47 <property name="column-spacing">12</property>
48 <child>
49 <object class="GtkButton" id="insert">
50 <property name="visible">True</property>
51 <property name="can-focus">True</property>
52 <property name="can-default">True</property>
53 <property name="receives-default">True</property>
54 <property name="tooltip-text" translatable="yes" context="functionpanel|insert|tooltip_text">Insert Function into calculation sheet</property>
55 <property name="image">image1</property>
56 <property name="always-show-image">True</property>
57 </object>
58 <packing>
59 <property name="left-attach">0</property>
60 <property name="top-attach">0</property>
61 </packing>
62 </child>
63 <child>
64 <object class="GtkComboBoxText" id="category">
65 <property name="visible">True</property>
66 <property name="can-focus">False</property>
67 <property name="hexpand">True</property>
68 <items>
69 <item translatable="yes" context="functionpanel|category">Last Used</item>
70 <item translatable="yes" context="functionpanel|category">All</item>
71 <item translatable="yes" context="functionpanel|category">Database</item>
72 <item translatable="yes" context="functionpanel|category">Date&amp;Time</item>
73 <item translatable="yes" context="functionpanel|category">Financial</item>
74 <item translatable="yes" context="functionpanel|category">Information</item>
75 <item translatable="yes" context="functionpanel|category">Logical</item>
76 <item translatable="yes" context="functionpanel|category">Mathematical</item>
77 <item translatable="yes" context="functionpanel|category">Array</item>
78 <item translatable="yes" context="functionpanel|category">Statistical</item>
79 <item translatable="yes" context="functionpanel|category">Spreadsheet</item>
80 <item translatable="yes" context="functionpanel|category">Text</item>
81 <item translatable="yes" context="functionpanel|category">Add-in</item>
82 </items>
83 <child internal-child="accessible">
84 <object class="AtkObject" id="category-atkobject">
85 <property name="AtkObject::accessible-description" translatable="yes" context="functionpanel|extended_tip|category">Displays the available functions.</property>
86 </object>
87 </child>
88 </object>
89 <packing>
90 <property name="left-attach">1</property>
91 <property name="top-attach">0</property>
92 </packing>
93 </child>
94 </object>
95 <packing>
96 <property name="left-attach">0</property>
97 <property name="top-attach">1</property>
98 </packing>
99 </child>
100 <child>
101 <object class="GtkScrolledWindow">
102 <property name="visible">True</property>
103 <property name="can-focus">True</property>
104 <property name="hexpand">True</property>
105 <property name="vexpand">True</property>
106 <property name="shadow-type">in</property>
107 <child>
108 <object class="GtkTreeView" id="funclist">
109 <property name="visible">True</property>
110 <property name="can-focus">True</property>
111 <property name="hexpand">True</property>
112 <property name="vexpand">True</property>
113 <property name="model">liststore1</property>
114 <property name="headers-visible">False</property>
115 <property name="headers-clickable">False</property>
116 <property name="search-column">0</property>
117 <property name="show-expanders">False</property>
118 <child internal-child="selection">
119 <object class="GtkTreeSelection"/>
120 </child>
121 <child>
122 <object class="GtkTreeViewColumn" id="treeviewcolumn1">
123 <child>
124 <object class="GtkCellRendererText" id="cellrenderertext1"/>
125 <attributes>
126 <attribute name="text">0</attribute>
127 </attributes>
128 </child>
129 </object>
130 </child>
131 <child internal-child="accessible">
132 <object class="AtkObject" id="funclist-atkobject">
133 <property name="AtkObject::accessible-description" translatable="yes" context="functionpanel|extended_tip|funclist">Displays the available functions.</property>
134 </object>
135 </child>
136 </object>
137 </child>
138 </object>
139 <packing>
140 <property name="left-attach">0</property>
141 <property name="top-attach">2</property>
142 </packing>
143 </child>
144 <child>
145 <object class="GtkBox">
146 <property name="visible">True</property>
147 <property name="can-focus">False</property>
148 <property name="orientation">vertical</property>
149 <property name="spacing">6</property>
150 <child>
151 <object class="GtkEntry" id="search">
152 <property name="visible">True</property>
153 <property name="can-focus">True</property>
154 <property name="hexpand">True</property>
155 <property name="placeholder-text" translatable="yes" context="functionpanel|search">Search all functions</property>
156 <property name="truncate-multiline">True</property>
157 <child internal-child="accessible">
158 <object class="AtkObject" id="search-atkobject">
159 <property name="AtkObject::accessible-name" translatable="yes" context="functionpanel|accessiblename|search">Search all functions</property>
160 </object>
161 </child>
162 </object>
163 <packing>
164 <property name="expand">False</property>
165 <property name="fill">True</property>
166 <property name="position">1</property>
167 </packing>
168 </child>
169 </object>
170 <packing>
171 <property name="left-attach">0</property>
172 <property name="top-attach">0</property>
173 </packing>
174 </child>
175 </object>
176 <packing>
177 <property name="left-attach">0</property>
178 <property name="top-attach">0</property>
179 </packing>
180 </child>
181 <child>
182 <object class="GtkScrolledWindow" id="funcscroll">
183 <property name="visible">True</property>
184 <property name="can-focus">True</property>
185 <property name="valign">end</property>
186 <property name="shadow-type">in</property>
187 <child>
188 <object class="GtkTextView" id="funcdesc">
189 <property name="visible">True</property>
190 <property name="can-focus">True</property>
191 <property name="editable">False</property>
192 <property name="wrap-mode">word-char</property>
193 <property name="cursor-visible">False</property>
194 </object>
195 </child>
196 </object>
197 <packing>
198 <property name="left-attach">0</property>
199 <property name="top-attach">1</property>
200 </packing>
201 </child>
202 </object>
203 <packing>
204 <property name="left-attach">0</property>
205 <property name="top-attach">0</property>
206 </packing>
207 </child>
208 </object>
209 </interface>