anastasis-gtk

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

anastasis_gtk_challenge_question.glade (10254B)


      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.6"/>
     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="GtkDialog" id="anastasis_gtk_c_question_dialog">
     32     <property name="can-focus">False</property>
     33     <property name="type-hint">dialog</property>
     34     <signal name="response" handler="anastasis_gtk_c_question_dialog_response_cb" swapped="no"/>
     35     <child internal-child="vbox">
     36       <object class="GtkBox">
     37         <property name="can-focus">False</property>
     38         <property name="orientation">vertical</property>
     39         <property name="spacing">2</property>
     40         <child internal-child="action_area">
     41           <object class="GtkButtonBox">
     42             <property name="can-focus">False</property>
     43             <property name="layout-style">end</property>
     44             <child>
     45               <object class="GtkButton" id="anastasis_gtk_b_question_dialog_btn_cancel">
     46                 <property name="label">gtk-cancel</property>
     47                 <property name="visible">True</property>
     48                 <property name="can-focus">True</property>
     49                 <property name="receives-default">False</property>
     50                 <property name="use-stock">True</property>
     51                 <property name="always-show-image">True</property>
     52               </object>
     53               <packing>
     54                 <property name="expand">True</property>
     55                 <property name="fill">True</property>
     56                 <property name="position">0</property>
     57               </packing>
     58             </child>
     59             <child>
     60               <object class="GtkButton" id="anastasis_gtk_c_question_dialog_btn_ok">
     61                 <property name="label">gtk-ok</property>
     62                 <property name="visible">True</property>
     63                 <property name="sensitive">False</property>
     64                 <property name="can-focus">False</property>
     65                 <property name="can-default">True</property>
     66                 <property name="has-default">True</property>
     67                 <property name="receives-default">False</property>
     68                 <property name="use-stock">True</property>
     69                 <property name="always-show-image">True</property>
     70               </object>
     71               <packing>
     72                 <property name="expand">True</property>
     73                 <property name="fill">True</property>
     74                 <property name="position">1</property>
     75               </packing>
     76             </child>
     77           </object>
     78           <packing>
     79             <property name="expand">False</property>
     80             <property name="fill">False</property>
     81             <property name="position">0</property>
     82           </packing>
     83         </child>
     84         <child>
     85           <object class="GtkLabel" id="anastasis_gtk_c_question_error_label">
     86             <property name="can-focus">False</property>
     87             <property name="label">ERROR MESSAGE (SET DYNAMICALLY BY PROGRAM)</property>
     88             <attributes>
     89               <attribute name="weight" value="bold"/>
     90               <attribute name="foreground" value="#a5a51d1d2d2d"/>
     91             </attributes>
     92           </object>
     93           <packing>
     94             <property name="expand">False</property>
     95             <property name="fill">True</property>
     96             <property name="padding">5</property>
     97             <property name="position">0</property>
     98           </packing>
     99         </child>
    100         <child>
    101           <object class="GtkBox">
    102             <property name="visible">True</property>
    103             <property name="can-focus">False</property>
    104             <property name="orientation">vertical</property>
    105             <child>
    106               <object class="GtkSeparator">
    107                 <property name="visible">True</property>
    108                 <property name="can-focus">False</property>
    109               </object>
    110               <packing>
    111                 <property name="expand">False</property>
    112                 <property name="fill">True</property>
    113                 <property name="position">0</property>
    114               </packing>
    115             </child>
    116             <child>
    117               <object class="GtkBox">
    118                 <property name="visible">True</property>
    119                 <property name="can-focus">False</property>
    120                 <child>
    121                   <object class="GtkLabel">
    122                     <property name="visible">True</property>
    123                     <property name="can-focus">False</property>
    124                     <property name="label" translatable="yes">Security question:</property>
    125                   </object>
    126                   <packing>
    127                     <property name="expand">False</property>
    128                     <property name="fill">True</property>
    129                     <property name="padding">5</property>
    130                     <property name="position">0</property>
    131                   </packing>
    132                 </child>
    133                 <child>
    134                   <object class="GtkLabel" id="security_question_label">
    135                     <property name="visible">True</property>
    136                     <property name="can-focus">False</property>
    137                     <property name="label">SET DYNAMICALLY BY PROGRAM</property>
    138                     <attributes>
    139                       <attribute name="style" value="italic"/>
    140                     </attributes>
    141                   </object>
    142                   <packing>
    143                     <property name="expand">False</property>
    144                     <property name="fill">True</property>
    145                     <property name="position">1</property>
    146                   </packing>
    147                 </child>
    148               </object>
    149               <packing>
    150                 <property name="expand">False</property>
    151                 <property name="fill">True</property>
    152                 <property name="padding">5</property>
    153                 <property name="position">1</property>
    154               </packing>
    155             </child>
    156             <child>
    157               <object class="GtkSeparator">
    158                 <property name="visible">True</property>
    159                 <property name="can-focus">False</property>
    160               </object>
    161               <packing>
    162                 <property name="expand">False</property>
    163                 <property name="fill">True</property>
    164                 <property name="position">2</property>
    165               </packing>
    166             </child>
    167           </object>
    168           <packing>
    169             <property name="expand">False</property>
    170             <property name="fill">True</property>
    171             <property name="position">1</property>
    172           </packing>
    173         </child>
    174         <child>
    175           <object class="GtkBox">
    176             <property name="visible">True</property>
    177             <property name="can-focus">False</property>
    178             <child>
    179               <object class="GtkLabel">
    180                 <property name="visible">True</property>
    181                 <property name="can-focus">False</property>
    182                 <property name="label" translatable="yes">Answer:</property>
    183               </object>
    184               <packing>
    185                 <property name="expand">False</property>
    186                 <property name="fill">True</property>
    187                 <property name="padding">5</property>
    188                 <property name="position">0</property>
    189               </packing>
    190             </child>
    191             <child>
    192               <object class="GtkEntry" id="anastasis_gtk_c_question_dialog_answer_entry">
    193                 <property name="visible">True</property>
    194                 <property name="can-focus">True</property>
    195                 <property name="hexpand">True</property>
    196                 <property name="activates-default">True</property>
    197                 <property name="width-chars">60</property>
    198                 <property name="primary-icon-stock">gtk-dialog-authentication</property>
    199                 <signal name="changed" handler="anastasis_gtk_c_question_dialog_answer_entry_changed_cb" swapped="no"/>
    200               </object>
    201               <packing>
    202                 <property name="expand">False</property>
    203                 <property name="fill">True</property>
    204                 <property name="padding">5</property>
    205                 <property name="position">1</property>
    206               </packing>
    207             </child>
    208           </object>
    209           <packing>
    210             <property name="expand">False</property>
    211             <property name="fill">True</property>
    212             <property name="padding">5</property>
    213             <property name="position">3</property>
    214           </packing>
    215         </child>
    216       </object>
    217     </child>
    218     <action-widgets>
    219       <action-widget response="-6">anastasis_gtk_b_question_dialog_btn_cancel</action-widget>
    220       <action-widget response="-5">anastasis_gtk_c_question_dialog_btn_ok</action-widget>
    221     </action-widgets>
    222     <child type="titlebar">
    223       <object class="GtkLabel">
    224         <property name="visible">True</property>
    225         <property name="can-focus">False</property>
    226         <property name="label" translatable="yes">Solve secuity question challenge</property>
    227       </object>
    228     </child>
    229     <action-widgets>
    230       <action-widget response="-6">anastasis_gtk_b_question_dialog_btn_cancel</action-widget>
    231       <action-widget response="-5">anastasis_gtk_c_question_dialog_btn_ok</action-widget>
    232     </action-widgets>
    233   </object>
    234 </interface>