anastasis-gtk

Demonstrator GUI for Anastasis
Log | Files | Refs | README | LICENSE

anastasis_gtk_edit_policy.glade (10099B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!-- Generated with glade 3.38.2 
      3 
      4 Copyright (C) 2019-2021 Anastasis SARL
      5 
      6 This file is part of anastasis-gtk.
      7 
      8 anastasis-gtk is free software: you can redistribute it and/or modify
      9 it under the terms of the GNU General Public License as published by
     10 the Free Software Foundation, either version 3 of the License, or
     11 (at your option) any later version.
     12 
     13 anastasis-gtk is distributed in the hope that it will be useful,
     14 but WITHOUT ANY WARRANTY; without even the implied warranty of
     15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     16 GNU General Public License for more details.
     17 
     18 You should have received a copy of the GNU General Public License
     19 along with anastasis-gtk.  If not, see <http://www.gnu.org/licenses/>.
     20 
     21 Author: Christian Grothoff
     22 
     23 -->
     24 <interface>
     25   <requires lib="gtk+" version="3.24"/>
     26   <!-- interface-license-type gplv3 -->
     27   <!-- interface-name anastasis-gtk -->
     28   <!-- interface-description key backup and recovery -->
     29   <!-- interface-copyright 2019-2021 Anastasis SARL -->
     30   <!-- interface-authors Christian Grothoff -->
     31   <object class="GtkAdjustment" id="adjustment_h">
     32     <property name="upper">100</property>
     33     <property name="step-increment">1</property>
     34     <property name="page-increment">10</property>
     35   </object>
     36   <object class="GtkAdjustment" id="adjustment_v">
     37     <property name="upper">100</property>
     38     <property name="step-increment">1</property>
     39     <property name="page-increment">10</property>
     40   </object>
     41   <object class="GtkDialog" id="anastasis_gtk_policy_edit_dialog">
     42     <property name="visible">True</property>
     43     <property name="can-focus">False</property>
     44     <property name="title" translatable="yes">Edit policy</property>
     45     <property name="modal">True</property>
     46     <property name="window-position">center</property>
     47     <property name="type-hint">dialog</property>
     48     <property name="gravity">center</property>
     49     <signal name="response" handler="anastasis_gtk_policy_edit_dialog_response_cb" swapped="no"/>
     50     <child internal-child="vbox">
     51       <object class="GtkBox">
     52         <property name="can-focus">False</property>
     53         <property name="orientation">vertical</property>
     54         <property name="spacing">2</property>
     55         <child internal-child="action_area">
     56           <object class="GtkButtonBox">
     57             <property name="can-focus">False</property>
     58             <property name="layout-style">end</property>
     59             <child>
     60               <object class="GtkButton" id="cancel_button">
     61                 <property name="label">gtk-cancel</property>
     62                 <property name="visible">True</property>
     63                 <property name="can-focus">True</property>
     64                 <property name="receives-default">True</property>
     65                 <property name="use-stock">True</property>
     66                 <property name="always-show-image">True</property>
     67               </object>
     68               <packing>
     69                 <property name="expand">True</property>
     70                 <property name="fill">True</property>
     71                 <property name="position">0</property>
     72               </packing>
     73             </child>
     74             <child>
     75               <object class="GtkButton" id="ok_button">
     76                 <property name="label">gtk-ok</property>
     77                 <property name="visible">True</property>
     78                 <property name="sensitive">False</property>
     79                 <property name="can-focus">True</property>
     80                 <property name="receives-default">True</property>
     81                 <property name="use-stock">True</property>
     82                 <property name="always-show-image">True</property>
     83               </object>
     84               <packing>
     85                 <property name="expand">True</property>
     86                 <property name="fill">True</property>
     87                 <property name="position">1</property>
     88               </packing>
     89             </child>
     90           </object>
     91           <packing>
     92             <property name="expand">False</property>
     93             <property name="fill">False</property>
     94             <property name="position">0</property>
     95           </packing>
     96         </child>
     97         <child>
     98           <object class="GtkBox" id="edit_dialog_vbox">
     99             <property name="visible">True</property>
    100             <property name="can-focus">False</property>
    101             <property name="hexpand">True</property>
    102             <property name="vexpand">True</property>
    103             <property name="orientation">vertical</property>
    104             <child>
    105               <object class="GtkLabel" id="edit_frame_label">
    106                 <property name="visible">True</property>
    107                 <property name="can-focus">False</property>
    108                 <property name="label" translatable="yes">Map challenges to providers to select them!</property>
    109                 <property name="justify">center</property>
    110                 <attributes>
    111                   <attribute name="weight" value="bold"/>
    112                 </attributes>
    113               </object>
    114               <packing>
    115                 <property name="expand">False</property>
    116                 <property name="fill">True</property>
    117                 <property name="padding">15</property>
    118                 <property name="position">1</property>
    119               </packing>
    120             </child>
    121             <child>
    122               <object class="GtkScrolledWindow" id="policy_scrolled_window">
    123                 <property name="visible">True</property>
    124                 <property name="can-focus">True</property>
    125                 <property name="hadjustment">adjustment_h</property>
    126                 <property name="vadjustment">adjustment_v</property>
    127                 <property name="shadow-type">in</property>
    128                 <property name="propagate-natural-width">True</property>
    129                 <property name="propagate-natural-height">True</property>
    130                 <child>
    131                   <object class="GtkViewport" id="grid_viewport">
    132                     <property name="visible">True</property>
    133                     <property name="can-focus">False</property>
    134                     <property name="hadjustment">adjustment_h</property>
    135                     <property name="vadjustment">adjustment_v</property>
    136                     <child>
    137                       <!-- n-columns=3 n-rows=3 -->
    138                       <object class="GtkGrid" id="policy_grid">
    139                         <property name="visible">True</property>
    140                         <property name="can-focus">False</property>
    141                         <property name="margin-top">5</property>
    142                         <property name="margin-bottom">5</property>
    143                         <property name="row-spacing">10</property>
    144                         <property name="column-spacing">5</property>
    145                         <property name="row-homogeneous">True</property>
    146                         <child>
    147                           <object class="GtkLabel" id="methods_label">
    148                             <property name="visible">True</property>
    149                             <property name="can-focus">False</property>
    150                             <property name="margin-left">5</property>
    151                             <property name="margin-right">5</property>
    152                             <property name="label" translatable="yes">Authentication method</property>
    153                             <attributes>
    154                               <attribute name="weight" value="bold"/>
    155                             </attributes>
    156                           </object>
    157                           <packing>
    158                             <property name="left-attach">0</property>
    159                             <property name="top-attach">0</property>
    160                           </packing>
    161                         </child>
    162                         <child>
    163                           <object class="GtkLabel" id="provider_label">
    164                             <property name="visible">True</property>
    165                             <property name="can-focus">False</property>
    166                             <property name="label" translatable="yes">Anastasis provider</property>
    167                             <attributes>
    168                               <attribute name="weight" value="bold"/>
    169                             </attributes>
    170                           </object>
    171                           <packing>
    172                             <property name="left-attach">1</property>
    173                             <property name="top-attach">0</property>
    174                           </packing>
    175                         </child>
    176                         <child>
    177                           <placeholder/>
    178                         </child>
    179                         <child>
    180                           <placeholder/>
    181                         </child>
    182                         <child>
    183                           <placeholder/>
    184                         </child>
    185                         <child>
    186                           <placeholder/>
    187                         </child>
    188                         <child>
    189                           <placeholder/>
    190                         </child>
    191                         <child>
    192                           <placeholder/>
    193                         </child>
    194                         <child>
    195                           <placeholder/>
    196                         </child>
    197                       </object>
    198                     </child>
    199                   </object>
    200                 </child>
    201               </object>
    202               <packing>
    203                 <property name="expand">False</property>
    204                 <property name="fill">True</property>
    205                 <property name="position">2</property>
    206               </packing>
    207             </child>
    208           </object>
    209           <packing>
    210             <property name="expand">False</property>
    211             <property name="fill">True</property>
    212             <property name="position">1</property>
    213           </packing>
    214         </child>
    215       </object>
    216     </child>
    217     <action-widgets>
    218       <action-widget response="-6">cancel_button</action-widget>
    219       <action-widget response="-5">ok_button</action-widget>
    220     </action-widgets>
    221   </object>
    222 </interface>