messenger-gtk

Gtk+3 graphical user interfaces for GNUnet Messenger
Log | Files | Refs | Submodules | README | LICENSE

contacts.ui (5393B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!-- Generated with glade 3.40.0 
      3 
      4 Copyright (C) 2021‑‑2025 GNUnet e.V.
      5 
      6 GNUnet is free software: you can redistribute it and/or modify it
      7 under the terms of the GNU Affero General Public License as published
      8 by the Free Software Foundation, either version 3 of the License,
      9 or (at your option) any later version.
     10 
     11 GNUnet is distributed in the hope that it will be useful, but
     12 WITHOUT ANY WARRANTY; without even the implied warranty of
     13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     14 Affero General Public License for more details.
     15 
     16 You should have received a copy of the GNU Affero General Public License
     17 along with this program.  If not, see <http://www.gnu.org/licenses/>.
     18 
     19 SPDX-License-Identifier: AGPL3.0-or-later
     20 Author: Tobias Frisch
     21 
     22 -->
     23 <interface>
     24   <requires lib="gtk+" version="3.24"/>
     25   <object class="GtkDialog" id="contacts_dialog">
     26     <property name="title" translatable="yes">Contacts</property>
     27     <property name="modal">1</property>
     28     <property name="type-hint">dialog</property>
     29     <child internal-child="vbox">
     30       <object class="GtkBox">
     31         <property name="orientation">vertical</property>
     32         <property name="spacing">2</property>
     33         <child internal-child="action_area">
     34           <object class="GtkButtonBox">
     35             <property name="layout-style">end</property>
     36             <child>
     37               <object class="GtkButton" id="close_button">
     38                 <property name="label" translatable="yes">Close</property>
     39                 <property name="visible">1</property>
     40                 <property name="can-focus">1</property>
     41                 <property name="receives-default">1</property>
     42               </object>
     43               <packing>
     44                 <property name="expand">1</property>
     45               </packing>
     46             </child>
     47           </object>
     48           <packing>
     49             <property name="fill">0</property>
     50             <property name="position">2</property>
     51           </packing>
     52         </child>
     53         <child>
     54           <object class="GtkSearchEntry" id="contact_search_entry">
     55             <property name="width-request">250</property>
     56             <property name="visible">1</property>
     57             <property name="can-focus">1</property>
     58             <property name="primary-icon-name">edit-find-symbolic</property>
     59             <property name="primary-icon-activatable">0</property>
     60             <property name="primary-icon-sensitive">0</property>
     61           </object>
     62         </child>
     63         <child>
     64           <object class="GtkScrolledWindow">
     65             <property name="height-request">200</property>
     66             <property name="visible">1</property>
     67             <property name="can-focus">1</property>
     68             <property name="shadow-type">in</property>
     69             <child>
     70               <object class="GtkViewport">
     71                 <property name="visible">1</property>
     72                 <child>
     73                   <object class="GtkListBox" id="contacts_listbox">
     74                     <property name="visible">1</property>
     75                     <child>
     76                       <object class="GtkListBoxRow">
     77                         <property name="visible">1</property>
     78                         <property name="can-focus">1</property>
     79                         <property name="selectable">0</property>
     80                         <child>
     81                           <object class="GtkBox">
     82                             <property name="visible">1</property>
     83                             <property name="spacing">8</property>
     84                             <child>
     85                               <object class="GtkImage">
     86                                 <property name="width-request">48</property>
     87                                 <property name="height-request">48</property>
     88                                 <property name="visible">1</property>
     89                                 <property name="icon-name">contact-new-symbolic</property>
     90                                 <property name="icon-size">3</property>
     91                               </object>
     92                             </child>
     93                             <child>
     94                               <object class="GtkLabel">
     95                                 <property name="visible">1</property>
     96                                 <property name="label" translatable="yes">Add Contact</property>
     97                                 <property name="xalign">0</property>
     98                               </object>
     99                               <packing>
    100                                 <property name="expand">1</property>
    101                                 <property name="pack-type">end</property>
    102                                 <property name="position">1</property>
    103                               </packing>
    104                             </child>
    105                             <style>
    106                               <class name="contact-entry"/>
    107                             </style>
    108                           </object>
    109                         </child>
    110                       </object>
    111                     </child>
    112                   </object>
    113                 </child>
    114               </object>
    115             </child>
    116           </object>
    117           <packing>
    118             <property name="expand">1</property>
    119             <property name="position">1</property>
    120           </packing>
    121         </child>
    122       </object>
    123     </child>
    124   </object>
    125 </interface>