aboutsummaryrefslogtreecommitdiff
path: root/contrib/gnunet_peerinfo_gtk_main_window.glade
blob: f36555ca350eb30ce4178f44fceb16624a2d2689 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="2.20"/>
  <!-- interface-naming-policy project-wide -->
  <object class="GtkWindow" id="GNUNET_GTK_PEERINFO_main_window">
    <property name="title" translatable="yes">gnunet-gtk</property>
    <property name="window_position">center</property>
    <property name="default_width">700</property>
    <property name="default_height">500</property>
    <property name="icon_name">gnunet-gtk</property>
    <signal name="delete-event" handler="GNUNET_GTK_quit_cb" after="yes" swapped="no"/>
    <child>
      <object class="GtkVBox" id="GNUNET_GTK_main_window_vbox">
        <property name="visible">True</property>
        <child>
          <object class="GtkMenuBar" id="GNUNET_GTK_main_menu">
            <property name="visible">True</property>
            <child>
              <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_edit">
                <property name="use_action_appearance">False</property>
                <property name="label" translatable="yes">_Edit</property>
                <property name="use_underline">True</property>
                <child type="submenu">
                  <object class="GtkMenu" id="GNUNET_GTK_main_menu_edit_box">
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_edit_preferences">
                        <property name="label">gtk-preferences</property>
                        <property name="visible">True</property>
                        <property name="tooltip_text" translatable="yes">Edit the system configuration.</property>
                        <property name="use_action_appearance">False</property>
                        <property name="accel_path">&lt;gnunet-gtk&gt;/Edit/Preferences</property>
                        <property name="use_underline">True</property>
                        <property name="use_stock">True</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkMenuItem" id="GNUNET_GTK_main_menu_help">
                <property name="visible">True</property>
                <property name="use_action_appearance">False</property>
                <property name="label" translatable="yes">_Help</property>
                <property name="use_underline">True</property>
                <child type="submenu">
                  <object class="GtkMenu" id="GNUNET_GTK_main_menu_help_abou">
                    <property name="visible">True</property>
                    <child>
                      <object class="GtkImageMenuItem" id="GNUNET_GTK_main_menu_help_about">
                        <property name="label">gtk-about</property>
                        <property name="visible">True</property>
                        <property name="tooltip_text" translatable="yes">Display information about this version of gnunet-gtk</property>
                        <property name="use_action_appearance">False</property>
                        <property name="accel_path">&lt;gnunet-gtk&gt;/Help/About</property>
                        <property name="use_underline">True</property>
                        <property name="use_stock">True</property>
                        <signal name="activate" handler="GNUNET_GTK_main_menu_help_about_activate_cb" swapped="no"/>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkScrolledWindow" id="GNUNET_GTK_main_window_peerinfo_scroll">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="hadjustment">adjustment3</property>
            <property name="vadjustment">adjustment4</property>
            <property name="hscrollbar_policy">automatic</property>
            <property name="vscrollbar_policy">automatic</property>
            <child>
              <object class="GtkTreeView" id="GNUNET_GTK_main_window_peerinfo_treeview">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="model">GNUNET_GTK_peer_info_list_store</property>
                <property name="hadjustment">adjustment3</property>
                <property name="vadjustment">adjustment4</property>
                <property name="reorderable">True</property>
                <property name="search_column">0</property>
                <child>
                  <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_name_column">
                    <property name="sizing">autosize</property>
                    <property name="title" translatable="yes">Peer</property>
                    <property name="expand">True</property>
                    <property name="clickable">True</property>
                    <property name="reorderable">True</property>
                    <property name="sort_column_id">0</property>
                    <child>
                      <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_peerinfo_name_renderer">
                        <property name="sensitive">False</property>
                        <property name="width_chars">16</property>
                      </object>
                      <attributes>
                        <attribute name="text">0</attribute>
                      </attributes>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_bandwidth_column">
                    <property name="sizing">autosize</property>
                    <property name="title" translatable="yes">Bandwidth</property>
                    <property name="clickable">True</property>
                    <property name="sort_order">descending</property>
                    <property name="sort_column_id">5</property>
                    <child>
                      <object class="GtkCellRendererText" id="GNUNET_GTK_main_window_peerinfo_bandwidth_renderer"/>
                      <attributes>
                        <attribute name="text">4</attribute>
                      </attributes>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkTreeViewColumn" id="GNUNET_GTK_main_window_peerinfo_country_column">
                    <property name="sizing">autosize</property>
                    <property name="title" translatable="yes">Country</property>
                    <property name="clickable">True</property>
                    <property name="reorderable">True</property>
                    <property name="sort_indicator">True</property>
                    <property name="sort_column_id">3</property>
                    <child>
                      <object class="GtkCellRendererPixbuf" id="GNUNET_GTK_main_window_peerinfo_country_renderer"/>
                      <attributes>
                        <attribute name="pixbuf">3</attribute>
                      </attributes>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">True</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
        <child>
          <object class="GtkStatusbar" id="GNUNET_GTK_status_bar">
            <property name="visible">True</property>
            <property name="spacing">2</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">2</property>
          </packing>
        </child>
      </object>
    </child>
  </object>
  <object class="GtkListStore" id="GNUNET_GTK_meta_data_list_store">
    <columns>
      <!-- column-name extractor_meta_type -->
      <column type="guint"/>
      <!-- column-name extractor_meta_format -->
      <column type="guint"/>
      <!-- column-name extractor_meta_type_string -->
      <column type="gchararray"/>
      <!-- column-name extracotr_meta_value -->
      <column type="gchararray"/>
    </columns>
  </object>
  <object class="GtkListStore" id="GNUNET_GTK_peer_info_list_store">
    <columns>
      <!-- column-name peer_identity -->
      <column type="gchararray"/>
      <!-- column-name number_of_known_addresses -->
      <column type="guint"/>
      <!-- column-name country_name -->
      <column type="gchararray"/>
      <!-- column-name country_flag -->
      <column type="GdkPixbuf"/>
      <!-- column-name bandwidth -->
      <column type="guint64"/>
    </columns>
  </object>
  <object class="GtkAdjustment" id="adjustment3">
    <property name="upper">100</property>
    <property name="step_increment">1</property>
    <property name="page_increment">10</property>
    <property name="page_size">10</property>
  </object>
  <object class="GtkAdjustment" id="adjustment4">
    <property name="upper">100</property>
    <property name="step_increment">1</property>
    <property name="page_increment">10</property>
    <property name="page_size">10</property>
  </object>
</interface>