1 /*
2  * gtksourcecompletionui.h
3  * This file is part of gtksourceview
4  *
5  * Copyright (C) 2009 - Jesse van den Kieboom <jessevdk@gnome.org>
6  *
7  * gtksourceview is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * gtksourceview is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20  */
21 
22 #ifndef __GTK_SOURCE_COMPLETION_UI_H__
23 #define __GTK_SOURCE_COMPLETION_UI_H__
24 
25 static gchar gtk_source_completion_ui[] =
26 "<?xml version=\"1.0\"?>"
27 "<interface>"
28 "  <requires lib=\"gtk+\" version=\"2.16\"/>"
29 "  <!-- interface-naming-policy project-wide -->"
30 "  <object class=\"GtkWindow\" id=\"window_completion\">"
31 "    <property name=\"border_width\">1</property>"
32 "    <property name=\"type\">popup</property>"
33 "    <property name=\"resizable\">False</property>"
34 "    <property name=\"skip_taskbar_hint\">True</property>"
35 "    <property name=\"skip_pager_hint\">True</property>"
36 "    <property name=\"accept_focus\">False</property>"
37 "    <property name=\"focus_on_map\">False</property>"
38 "    <property name=\"decorated\">False</property>"
39 "    <child>"
40 "      <object class=\"GtkVBox\" id=\"vbox_completion\">"
41 "        <property name=\"visible\">True</property>"
42 "        <property name=\"orientation\">vertical</property>"
43 "        <child>"
44 "          <object class=\"GtkScrolledWindow\" id=\"scrolled_window_completion\">"
45 "            <property name=\"visible\">True</property>"
46 "            <property name=\"can_focus\">False</property>"
47 "            <property name=\"hscrollbar_policy\">automatic</property>"
48 "            <property name=\"vscrollbar_policy\">automatic</property>"
49 "            <child>"
50 "              <object class=\"GtkTreeView\" id=\"tree_view_completion\">"
51 "                <property name=\"visible\">True</property>"
52 "                <property name=\"headers_visible\">False</property>"
53 "                <property name=\"headers_clickable\">False</property>"
54 "                <property name=\"enable_search\">False</property>"
55 "                <property name=\"fixed_height_mode\">True</property>"
56 "                <property name=\"show_expanders\">False</property>"
57 "                <child>"
58 "                  <object class=\"GtkTreeViewColumn\" id=\"tree_view_column_proposal\">"
59 "                    <property name=\"sizing\">fixed</property>"
60 "                    <property name=\"expand\">False</property>"
61 "                    <child>"
62 "                      <object class=\"GtkCellRendererPixbuf\" id=\"cell_renderer_icon\"/>"
63 "                    </child>"
64 "                    <child>"
65 "                      <object class=\"GtkCellRendererText\" id=\"cell_renderer_proposal\"/>"
66 "                    </child>"
67 "                  </object>"
68 "                </child>"
69 "                <child>"
70 "                  <object class=\"GtkTreeViewColumn\" id=\"tree_view_column_accelerator\">"
71 "                    <property name=\"sizing\">fixed</property>"
72 "                    <property name=\"expand\">False</property>"
73 "                    <child>"
74 "                      <object class=\"GtkCellRendererText\" id=\"cell_renderer_accelerator\"/>"
75 "                    </child>"
76 "                  </object>"
77 "                </child>"
78 "              </object>"
79 "            </child>"
80 "          </object>"
81 "          <packing>"
82 "            <property name=\"position\">0</property>"
83 "          </packing>"
84 "        </child>"
85 "        <child>"
86 "          <object class=\"GtkHBox\" id=\"hbox_bottom_bar\">"
87 "            <property name=\"visible\">True</property>"
88 "            <child>"
89 "              <object class=\"GtkToggleButton\" id=\"toggle_button_info\">"
90 "                <property name=\"visible\">True</property>"
91 "                <property name=\"can_focus\">False</property>"
92 "                <property name=\"receives_default\">True</property>"
93 "                <property name=\"tooltip_text\" translatable=\"yes\">Show detailed proposal information</property>"
94 "                <property name=\"focus_on_click\">False</property>"
95 "                <property name=\"relief\">GTK_RELIEF_NONE</property>"
96 "                <child>"
97 "                  <object class=\"GtkHBox\" id=\"hbox_info\">"
98 "                    <property name=\"visible\">True</property>"
99 "                    <property name=\"spacing\">2</property>"
100 "                    <child>"
101 "                      <object class=\"GtkImage\" id=\"image_info\">"
102 "                        <property name=\"visible\">True</property>"
103 "                        <property name=\"stock\">gtk-info</property>"
104 "                      </object>"
105 "                      <packing>"
106 "                        <property name=\"position\">0</property>"
107 "                      </packing>"
108 "                    </child>"
109 "                    <child>"
110 "                      <object class=\"GtkLabel\" id=\"label_info\">"
111 "                        <property name=\"visible\">True</property>"
112 "                        <property name=\"label\" translatable=\"yes\">_Details...</property>"
113 "                        <property name=\"use_markup\">True</property>"
114 "                        <property name=\"use_underline\">True</property>"
115 "                      </object>"
116 "                      <packing>"
117 "                        <property name=\"position\">1</property>"
118 "                      </packing>"
119 "                    </child>"
120 "                  </object>"
121 "                </child>"
122 "              </object>"
123 "              <packing>"
124 "                <property name=\"expand\">False</property>"
125 "                <property name=\"position\">0</property>"
126 "              </packing>"
127 "            </child>"
128 "            <child>"
129 "              <object class=\"GtkImage\" id=\"image_selection\">"
130 "                <property name=\"visible\">True</property>"
131 "              </object>"
132 "              <packing>"
133 "                <property name=\"expand\">False</property>"
134 "                <property name=\"pack_type\">end</property>"
135 "                <property name=\"position\">2</property>"
136 "              </packing>"
137 "            </child>"
138 "            <child>"
139 "              <object class=\"GtkLabel\" id=\"label_selection\">"
140 "                <property name=\"visible\">True</property>"
141 "              </object>"
142 "              <packing>"
143 "                <property name=\"expand\">False</property>"
144 "                <property name=\"padding\">6</property>"
145 "                <property name=\"pack_type\">end</property>"
146 "                <property name=\"position\">1</property>"
147 "              </packing>"
148 "            </child>"
149 "          </object>"
150 "          <packing>"
151 "            <property name=\"expand\">False</property>"
152 "            <property name=\"position\">1</property>"
153 "          </packing>"
154 "        </child>"
155 "      </object>"
156 "    </child>"
157 "  </object>"
158 "</interface>";
159 
160 #endif /* __GTK_SOURCE_COMPLETION_UI_H__ */
161