messenger-gtk

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

message_content.ui (9941B)


      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="GtkBox" id="message_content_box">
     26     <property name="visible">1</property>
     27     <property name="orientation">vertical</property>
     28     <property name="spacing">4</property>
     29     <child>
     30       <object class="GtkBox">
     31         <property name="visible">1</property>
     32         <property name="spacing">4</property>
     33         <child>
     34           <object class="GtkImage" id="read_receipt_image">
     35             <property name="icon-name">mail-mark-notjunk-symbolic</property>
     36           </object>
     37           <packing>
     38             <property name="pack-type">end</property>
     39           </packing>
     40         </child>
     41         <child>
     42           <object class="GtkLabel" id="timestamp_label">
     43             <property name="visible">1</property>
     44             <attributes>
     45               <attribute name="weight" value="ultralight"/>
     46             </attributes>
     47             <style>
     48               <class name="timestamp-label"/>
     49             </style>
     50           </object>
     51           <packing>
     52             <property name="pack-type">end</property>
     53             <property name="position">1</property>
     54           </packing>
     55         </child>
     56       </object>
     57       <packing>
     58         <property name="pack-type">end</property>
     59       </packing>
     60     </child>
     61     <child>
     62       <object class="GtkStack" id="content_stack">
     63         <property name="visible">1</property>
     64         <child>
     65           <object class="GtkLabel" id="text_label">
     66             <property name="visible">1</property>
     67             <property name="wrap">1</property>
     68             <property name="max-width-chars">64</property>
     69             <property name="xalign">0</property>
     70             <property name="yalign">1</property>
     71           </object>
     72           <packing>
     73             <property name="name">text_page</property>
     74           </packing>
     75         </child>
     76         <child>
     77           <object class="GtkRevealer" id="file_revealer">
     78             <property name="visible">1</property>
     79             <property name="transition-type">none</property>
     80             <child>
     81               <object class="GtkBox">
     82                 <property name="visible">1</property>
     83                 <property name="spacing">4</property>
     84                 <child>
     85                   <object class="GtkBox">
     86                     <property name="visible">1</property>
     87                     <property name="orientation">vertical</property>
     88                     <property name="spacing">4</property>
     89                     <child>
     90                       <object class="GtkLabel" id="filename_label">
     91                         <property name="visible">1</property>
     92                         <property name="xalign">0</property>
     93                         <property name="yalign">1</property>
     94                       </object>
     95                       <packing>
     96                         <property name="expand">1</property>
     97                       </packing>
     98                     </child>
     99                     <child>
    100                       <object class="GtkProgressBar" id="file_progress_bar">
    101                         <property name="visible">1</property>
    102                       </object>
    103                       <packing>
    104                         <property name="pack-type">end</property>
    105                         <property name="position">1</property>
    106                       </packing>
    107                     </child>
    108                   </object>
    109                   <packing>
    110                     <property name="expand">1</property>
    111                   </packing>
    112                 </child>
    113                 <child>
    114                   <object class="GtkButton" id="file_button">
    115                     <property name="visible">1</property>
    116                     <property name="can-focus">1</property>
    117                     <property name="receives-default">1</property>
    118                     <property name="valign">end</property>
    119                     <property name="relief">none</property>
    120                     <child>
    121                       <object class="GtkImage" id="file_status_image">
    122                         <property name="visible">1</property>
    123                         <property name="icon-name">folder-download-symbolic</property>
    124                       </object>
    125                     </child>
    126                   </object>
    127                   <packing>
    128                     <property name="pack-type">end</property>
    129                     <property name="position">1</property>
    130                   </packing>
    131                 </child>
    132               </object>
    133             </child>
    134           </object>
    135           <packing>
    136             <property name="name">file_page</property>
    137             <property name="position">1</property>
    138           </packing>
    139         </child>
    140         <child>
    141           <object class="GtkDrawingArea" id="preview_drawing_area">
    142             <property name="visible">1</property>
    143           </object>
    144           <packing>
    145             <property name="name">preview_page</property>
    146             <property name="position">2</property>
    147           </packing>
    148         </child>
    149         <child>
    150           <object class="GtkRevealer" id="media_revealer">
    151             <property name="visible">1</property>
    152             <property name="transition-type">none</property>
    153             <child>
    154               <object class="GtkBox">
    155                 <property name="visible">1</property>
    156                 <property name="orientation">vertical</property>
    157                 <property name="spacing">4</property>
    158                 <child>
    159                   <object class="GtkImage" id="media_type_image">
    160                     <property name="visible">1</property>
    161                     <property name="xpad">24</property>
    162                     <property name="ypad">24</property>
    163                     <property name="icon-name">video-x-generic-symbolic</property>
    164                     <property name="icon-size">5</property>
    165                   </object>
    166                   <packing>
    167                     <property name="expand">1</property>
    168                   </packing>
    169                 </child>
    170                 <child>
    171                   <object class="GtkBox">
    172                     <property name="visible">1</property>
    173                     <property name="spacing">4</property>
    174                     <child>
    175                       <object class="GtkBox">
    176                         <property name="visible">1</property>
    177                         <property name="orientation">vertical</property>
    178                         <property name="spacing">4</property>
    179                         <child>
    180                           <object class="GtkLabel" id="media_label">
    181                             <property name="visible">1</property>
    182                             <property name="xalign">0</property>
    183                             <property name="yalign">1</property>
    184                           </object>
    185                           <packing>
    186                             <property name="expand">1</property>
    187                           </packing>
    188                         </child>
    189                         <child>
    190                           <object class="GtkProgressBar" id="media_progress_bar">
    191                             <property name="visible">1</property>
    192                           </object>
    193                           <packing>
    194                             <property name="pack-type">end</property>
    195                             <property name="position">1</property>
    196                           </packing>
    197                         </child>
    198                       </object>
    199                       <packing>
    200                         <property name="expand">1</property>
    201                       </packing>
    202                     </child>
    203                     <child>
    204                       <object class="GtkButton" id="media_button">
    205                         <property name="visible">1</property>
    206                         <property name="can-focus">1</property>
    207                         <property name="receives-default">1</property>
    208                         <property name="relief">none</property>
    209                         <child>
    210                           <object class="GtkImage">
    211                             <property name="visible">1</property>
    212                             <property name="icon-name">media-playback-start-symbolic</property>
    213                           </object>
    214                         </child>
    215                       </object>
    216                       <packing>
    217                         <property name="pack-type">end</property>
    218                         <property name="position">1</property>
    219                       </packing>
    220                     </child>
    221                   </object>
    222                   <packing>
    223                     <property name="position">1</property>
    224                   </packing>
    225                 </child>
    226               </object>
    227             </child>
    228           </object>
    229           <packing>
    230             <property name="name">media_page</property>
    231             <property name="position">3</property>
    232           </packing>
    233         </child>
    234       </object>
    235       <packing>
    236         <property name="expand">1</property>
    237         <property name="position">1</property>
    238       </packing>
    239     </child>
    240     <style>
    241       <class name="message-content"/>
    242     </style>
    243   </object>
    244 </interface>