messenger-gtk

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

new_platform.ui (4880B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!-- Generated with glade 3.38.2 
      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   <requires lib="libhandy" version="1.2"/>
     26   <object class="GtkDialog" id="new_platform_dialog">
     27     <property name="title" translatable="yes">New Platform</property>
     28     <property name="modal">1</property>
     29     <property name="type-hint">dialog</property>
     30     <child internal-child="vbox">
     31       <object class="GtkBox">
     32         <property name="orientation">vertical</property>
     33         <property name="spacing">2</property>
     34         <child internal-child="action_area">
     35           <object class="GtkButtonBox">
     36             <property name="layout-style">end</property>
     37             <child>
     38               <object class="GtkButton" id="cancel_button">
     39                 <property name="label" translatable="yes">Cancel</property>
     40                 <property name="visible">1</property>
     41                 <property name="can-focus">1</property>
     42                 <property name="receives-default">1</property>
     43               </object>
     44               <packing>
     45                 <property name="expand">1</property>
     46               </packing>
     47             </child>
     48             <child>
     49               <object class="GtkButton" id="confirm_button">
     50                 <property name="label" translatable="yes">Confirm</property>
     51                 <property name="visible">1</property>
     52                 <property name="can-focus">1</property>
     53                 <property name="receives-default">1</property>
     54               </object>
     55               <packing>
     56                 <property name="expand">1</property>
     57                 <property name="position">1</property>
     58               </packing>
     59             </child>
     60           </object>
     61           <packing>
     62             <property name="fill">0</property>
     63           </packing>
     64         </child>
     65         <child>
     66           <object class="GtkBox">
     67             <property name="visible">1</property>
     68             <property name="halign">center</property>
     69             <property name="valign">center</property>
     70             <property name="border-width">8</property>
     71             <property name="orientation">vertical</property>
     72             <property name="spacing">4</property>
     73             <child>
     74               <object class="HdyAvatar" id="platform_avatar">
     75                 <property name="visible">True</property>
     76                 <property name="can-focus">False</property>
     77                 <property name="halign">center</property>
     78                 <property name="margin-top">8</property>
     79                 <property name="margin-bottom">8</property>
     80                 <property name="icon-name">network-wired-symbolic</property>
     81                 <property name="size">128</property>
     82               </object>
     83             </child>
     84             <child>
     85               <object class="GtkLabel">
     86                 <property name="visible">1</property>
     87                 <property name="label" translatable="yes">Platform:</property>
     88                 <property name="xalign">0</property>
     89               </object>
     90               <packing>
     91                 <property name="position">1</property>
     92               </packing>
     93             </child>
     94             <child>
     95               <object class="GtkEntry" id="platform_entry">
     96                 <property name="width-request">250</property>
     97                 <property name="visible">1</property>
     98                 <property name="can-focus">1</property>
     99               </object>
    100               <packing>
    101                 <property name="position">2</property>
    102               </packing>
    103             </child>
    104             <child>
    105               <object class="GtkFileChooserButton" id="platform_avatar_file">
    106                 <property name="visible">1</property>
    107                 <property name="title" translatable="yes"></property>
    108               </object>
    109               <packing>
    110                 <property name="position">3</property>
    111               </packing>
    112             </child>
    113           </object>
    114           <packing>
    115             <property name="expand">1</property>
    116             <property name="position">1</property>
    117           </packing>
    118         </child>
    119       </object>
    120     </child>
    121   </object>
    122 </interface>