Add mouse vertical scrolling.
[familia.git] / data / gui.glade
index 1c512edfa509ec0a3d5843bcb513030f233e0116..6140265b41b174231d5243dfb9037b245c960e04 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.18.3 -->
 <interface>
-  <!-- interface-requires gtk+ 3.0 -->
+  <requires lib="gtk+" version="3.0"/>
   <object class="GtkAccelGroup" id="FileAccel"/>
   <object class="GtkActionGroup" id="FileActions">
     <property name="accel_group">FileAccel</property>
       <accelerator key="q" modifiers="GDK_CONTROL_MASK"/>
     </child>
   </object>
+  <object class="GtkAdjustment" id="horizontal-adjustment">
+    <property name="lower">-100</property>
+    <property name="upper">100</property>
+    <property name="step_increment">0.10000000000000001</property>
+    <property name="page_increment">10</property>
+    <signal name="changed" handler="horizontal_scrollbar_changed" swapped="no"/>
+    <signal name="value-changed" handler="horizontal_scrollbar_value_changed" swapped="no"/>
+  </object>
   <object class="GtkImage" id="image1">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
     <property name="stock">gtk-missing-image</property>
-    <property name="icon-size">1</property>
+    <property name="icon_size">1</property>
   </object>
   <object class="GtkImage" id="image2">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
     <property name="stock">gtk-missing-image</property>
   </object>
-  <object class="GtkWindow" id="logger-window">
+  <object class="GtkFileChooserDialog" id="open-file-dialog">
     <property name="can_focus">False</property>
-    <property name="window_position">center</property>
-    <child>
-      <object class="GtkTextView" id="textview">
-        <property name="visible">True</property>
-        <property name="can_focus">True</property>
+    <property name="border_width">5</property>
+    <property name="type_hint">dialog</property>
+    <child internal-child="vbox">
+      <object class="GtkBox" id="filechooserdialog-vbox1">
+        <property name="can_focus">False</property>
+        <property name="orientation">vertical</property>
+        <property name="spacing">2</property>
+        <child internal-child="action_area">
+          <object class="GtkButtonBox" id="filechooserdialog-action_area1">
+            <property name="can_focus">False</property>
+            <property name="layout_style">end</property>
+            <child>
+              <object class="GtkButton" id="openfiledialog-cancel">
+                <property name="label">gtk-cancel</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">True</property>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkButton" id="openfiledialog-ok">
+                <property name="label">gtk-open</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="has_default">True</property>
+                <property name="receives_default">True</property>
+                <property name="use_stock">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">True</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
       </object>
     </child>
+    <action-widgets>
+      <action-widget response="-6">openfiledialog-cancel</action-widget>
+      <action-widget response="-5">openfiledialog-ok</action-widget>
+    </action-widgets>
+  </object>
+  <object class="GtkAdjustment" id="vertical-adjustment">
+    <property name="lower">-100</property>
+    <property name="upper">100</property>
+    <property name="step_increment">0.10000000000000001</property>
+    <property name="page_increment">10</property>
+    <signal name="changed" handler="vertical_scrollbar_changed" swapped="no"/>
+    <signal name="value-changed" handler="vertical_scrollbar_value_changed" swapped="no"/>
   </object>
   <object class="GtkWindow" id="main-window">
     <property name="can_focus">False</property>
           </packing>
         </child>
         <child>
-          <object class="GtkViewport" id="viewport">
+          <object class="GtkBox" id="box2">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
+            <property name="orientation">vertical</property>
             <child>
-              <object class="GtkDrawingArea" id="drawing-area">
+              <object class="GtkBox" id="box3">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <signal name="draw" handler="drawing_area_draw" swapped="no"/>
-                <signal name="configure-event" handler="drawing_area_configure_event" swapped="no"/>
-                <signal name="unrealize" handler="drawing_area_unrealize" swapped="no"/>
-                <signal name="realize" handler="drawing_area_realize" swapped="no"/>
-              </object>
-            </child>
-          </object>
-          <packing>
-            <property name="expand">True</property>
-            <property name="fill">True</property>
-            <property name="position">1</property>
-          </packing>
-        </child>
-      </object>
-    </child>
-  </object>
-  <object class="GtkFileChooserDialog" id="open-file-dialog">
-    <property name="can_focus">False</property>
-    <property name="border_width">5</property>
-    <property name="type_hint">dialog</property>
-    <child internal-child="vbox">
-      <object class="GtkBox" id="filechooserdialog-vbox1">
-        <property name="can_focus">False</property>
-        <property name="orientation">vertical</property>
-        <property name="spacing">2</property>
-        <child internal-child="action_area">
-          <object class="GtkButtonBox" id="filechooserdialog-action_area1">
-            <property name="can_focus">False</property>
-            <property name="layout_style">end</property>
-            <child>
-              <object class="GtkButton" id="openfiledialog-cancel">
-                <property name="label">gtk-cancel</property>
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">True</property>
-                <property name="use_stock">True</property>
+                <child>
+                  <object class="GtkDrawingArea" id="drawing-area">
+                    <property name="width_request">450</property>
+                    <property name="height_request">240</property>
+                    <property name="visible">True</property>
+                    <property name="app_paintable">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="events">GDK_STRUCTURE_MASK | GDK_SCROLL_MASK | GDK_SMOOTH_SCROLL_MASK</property>
+                    <signal name="configure-event" handler="drawing_area_configure_event" swapped="no"/>
+                    <signal name="draw" handler="drawing_area_draw" swapped="no"/>
+                    <signal name="realize" handler="drawing_area_realize" swapped="no"/>
+                    <signal name="scroll-event" handler="drawing_area_event_scroll" swapped="no"/>
+                    <signal name="unrealize" handler="drawing_area_unrealize" swapped="no"/>
+                  </object>
+                  <packing>
+                    <property name="expand">True</property>
+                    <property name="fill">True</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkScrollbar" id="vertical-scrollbar">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="orientation">vertical</property>
+                    <property name="adjustment">vertical-adjustment</property>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
               </object>
               <packing>
-                <property name="expand">False</property>
+                <property name="expand">True</property>
                 <property name="fill">True</property>
                 <property name="position">0</property>
               </packing>
             </child>
             <child>
-              <object class="GtkButton" id="openfiledialog-ok">
-                <property name="label">gtk-open</property>
+              <object class="GtkScrollbar" id="horizontal-scrollbar">
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="can_default">True</property>
-                <property name="has_default">True</property>
-                <property name="receives_default">True</property>
-                <property name="use_stock">True</property>
+                <property name="can_focus">False</property>
+                <property name="adjustment">horizontal-adjustment</property>
               </object>
               <packing>
                 <property name="expand">False</property>
             </child>
           </object>
           <packing>
-            <property name="expand">False</property>
+            <property name="expand">True</property>
             <property name="fill">True</property>
-            <property name="pack_type">end</property>
-            <property name="position">0</property>
+            <property name="position">1</property>
           </packing>
         </child>
-        <child>
-          <placeholder/>
-        </child>
       </object>
     </child>
-    <action-widgets>
-      <action-widget response="-6">openfiledialog-cancel</action-widget>
-      <action-widget response="-5">openfiledialog-ok</action-widget>
-    </action-widgets>
   </object>
 </interface>