File: properties-window.ui

package info (click to toggle)
gnome-boxes 49.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,836 kB
  • sloc: python: 883; ansic: 802; sh: 487; xml: 327; makefile: 14
file content (102 lines) | stat: -rw-r--r-- 3,182 bytes parent folder | download | duplicates (3)
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.9 -->

  <!-- Widget hierarchy:

     Boxes.PropertiesWindow : Gtk.Window
        |
        |-> notification_overlay = new Gtk.Overlay ();
        |    |
        |    |-> notificationbar = Boxes.Notificationbar ();
        |    |
        |    |-> view = Gtk.Stack ();
        |         |
        |         |-> properties = new Boxes.Properties ();
        |         |
        |         |-> troubleshoot_log = new Boxes.TroubleshootLog ();
        |         |
        |         |-> file_chooser = new Gtk.FileChooserNative ();
        |
        |-> topbar = new Boxes.PropertiesToolbar (); // as titlebar
  -->

  <template class="BoxesPropertiesWindow" parent="GtkWindow">
    <property name="can_focus">False</property>
    <property name="resizable">True</property>
    <property name="modal">True</property>
    <property name="type-hint">dialog</property>
    <property name="width-request">724</property>
    <property name="height-request">468</property>
    <signal name="key-press-event" after="yes" handler="on_key_pressed"/>
    <signal name="delete-event" handler="on_delete_event"/>

    <child>
      <object class="GtkOverlay" id="notification_overlay">
        <property name="visible">True</property>

        <child type="overlay">
          <object class="BoxesNotificationbar" id="notificationbar">
            <property name="visible">True</property>
          </object>
        </child>

        <child>
          <object class="GtkStack" id="view">
            <property name="visible">True</property>
            <property name="transition-type">slide-left-right</property>
            <property name="transition-duration">400</property>
            <style>
              <class name="content-bg"/>
            </style>

            <child>
              <object class="BoxesProperties" id="properties">
                <property name="visible">True</property>
              </object>

              <packing>
                <property name="name">main</property>
              </packing>
            </child>

            <child>
              <object class="BoxesTroubleshootLog" id="troubleshoot_log">
                <property name="visible">True</property>
              </object>

              <packing>
                <property name="name">troubleshoot_log</property>
              </packing>
            </child>

            <child>
              <object class="GtkBox">
                <property name="visible">True</property>
              </object>

              <packing>
                <property name="name">file_chooser</property>
              </packing>
            </child>

          </object>
        </child>

      </object>
    </child>

    <child type="titlebar">
      <object class="BoxesPropertiesToolbar" id="topbar">
        <property name="visible">True</property>
      </object>
    </child>
  </template>

  <object class="GtkFileFilter" id="supported_files_filter">
    <mime-types>
      <mime-type>application/x-cd-image</mime-type>
      <mime-type>application/x-raw-disk-image</mime-type>
    </mime-types>
  </object>
</interface>