Advertisement
Mark2020H

Part Two of three for GTK App to control SSH and Apache Servers

Dec 8th, 2024 (edited)
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.07 KB | Source Code | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.40.0 -->
  3. <!-- Part Tow of Three , The Glade file to be used with Part one -->
  4.  
  5. <!-- Link is here for Part 1 https://pastebin.com/Au8wCgLw  -->
  6. <!-- Other links will all files is @ https://github.com/markh2024/GTKServerControl -->
  7.  
  8. <interface>
  9.   <requires lib="gtk+" version="3.24"/>
  10.   <object class="GtkWindow" id="mainwindow">
  11.     <property name="can-focus">False</property>
  12.     <property name="title" translatable="yes">ServerControl MD Harrington London Kent DA6 8NP</property>
  13.     <property name="resizable">False</property>
  14.     <property name="modal">True</property>
  15.     <property name="window-position">center-always</property>
  16.     <property name="default-width">600</property>
  17.     <property name="default-height">250</property>
  18.     <property name="gravity">center</property>
  19.     <child>
  20.       <object class="GtkBox" id="boxlayout1">
  21.         <property name="visible">True</property>
  22.         <property name="can-focus">False</property>
  23.         <property name="orientation">vertical</property>
  24.         <property name="spacing">9</property>
  25.         <child>
  26.           <object class="GtkBox" id="boxhorizontal1">
  27.             <property name="visible">True</property>
  28.             <property name="can-focus">False</property>
  29.             <property name="halign">center</property>
  30.             <property name="valign">center</property>
  31.             <property name="hexpand">False</property>
  32.             <property name="vexpand">False</property>
  33.             <property name="spacing">6</property>
  34.             <child>
  35.               <object class="GtkButton" id="btnstartssh">
  36.                 <property name="label" translatable="yes">Start SSH</property>
  37.                 <property name="visible">True</property>
  38.                 <property name="can-focus">True</property>
  39.                 <property name="receives-default">True</property>
  40.                 <signal name="clicked" handler="on_btnstartssh_clicked" swapped="no"/>
  41.               </object>
  42.               <packing>
  43.                 <property name="expand">False</property>
  44.                 <property name="fill">True</property>
  45.                 <property name="position">0</property>
  46.               </packing>
  47.             </child>
  48.             <child>
  49.               <object class="GtkButton" id="btnstopssh">
  50.                 <property name="label" translatable="yes">Stop SSH</property>
  51.                 <property name="visible">True</property>
  52.                 <property name="can-focus">True</property>
  53.                 <property name="receives-default">True</property>
  54.                 <signal name="clicked" handler="on_btnstopssh_clicked" swapped="no"/>
  55.               </object>
  56.               <packing>
  57.                 <property name="expand">False</property>
  58.                 <property name="fill">True</property>
  59.                 <property name="position">1</property>
  60.               </packing>
  61.             </child>
  62.             <child>
  63.               <object class="GtkButton" id="btnstatussh">
  64.                 <property name="label" translatable="yes">Status SSH</property>
  65.                 <property name="visible">True</property>
  66.                 <property name="can-focus">True</property>
  67.                 <property name="receives-default">True</property>
  68.                 <signal name="clicked" handler="on_btnstatussh_clicked" swapped="no"/>
  69.               </object>
  70.               <packing>
  71.                 <property name="expand">False</property>
  72.                 <property name="fill">True</property>
  73.                 <property name="position">2</property>
  74.               </packing>
  75.             </child>
  76.             <child>
  77.               <object class="GtkButton" id="btnstartapach">
  78.                 <property name="label" translatable="yes">Start Apache</property>
  79.                 <property name="visible">True</property>
  80.                 <property name="can-focus">True</property>
  81.                 <property name="receives-default">True</property>
  82.                 <signal name="clicked" handler="on_btnstartapach_clicked" swapped="no"/>
  83.               </object>
  84.               <packing>
  85.                 <property name="expand">False</property>
  86.                 <property name="fill">True</property>
  87.                 <property name="position">3</property>
  88.               </packing>
  89.             </child>
  90.             <child>
  91.               <object class="GtkButton" id="btnstopapach">
  92.                 <property name="label" translatable="yes">Stop Apache</property>
  93.                 <property name="visible">True</property>
  94.                 <property name="can-focus">True</property>
  95.                 <property name="receives-default">True</property>
  96.                 <signal name="clicked" handler="on_btnstopapach_clicked" swapped="no"/>
  97.               </object>
  98.               <packing>
  99.                 <property name="expand">False</property>
  100.                 <property name="fill">True</property>
  101.                 <property name="position">4</property>
  102.               </packing>
  103.             </child>
  104.             <child>
  105.               <object class="GtkButton" id="btnstatusapache">
  106.                 <property name="label" translatable="yes">Status Apache</property>
  107.                 <property name="visible">True</property>
  108.                 <property name="can-focus">True</property>
  109.                 <property name="receives-default">True</property>
  110.                 <signal name="clicked" handler="on_btnstatusapache_clicked" swapped="no"/>
  111.               </object>
  112.               <packing>
  113.                 <property name="expand">False</property>
  114.                 <property name="fill">True</property>
  115.                 <property name="position">5</property>
  116.               </packing>
  117.             </child>
  118.           </object>
  119.           <packing>
  120.             <property name="expand">False</property>
  121.             <property name="fill">False</property>
  122.             <property name="padding">5</property>
  123.             <property name="position">0</property>
  124.           </packing>
  125.         </child>
  126.         <child>
  127.           <object class="GtkScrolledWindow">
  128.             <property name="width-request">400</property>
  129.             <property name="height-request">300</property>
  130.             <property name="visible">True</property>
  131.             <property name="can-focus">True</property>
  132.             <child>
  133.               <object class="GtkTextView" id="txtview1">
  134.                 <property name="visible">True</property>
  135.                 <property name="can-focus">True</property>
  136.                 <property name="editable">False</property>
  137.                 <property name="wrap-mode">word-char</property>
  138.                 <property name="top-margin">6</property>
  139.                 <property name="indent">1</property>
  140.                 <property name="input-purpose">terminal</property>
  141.               </object>
  142.             </child>
  143.           </object>
  144.           <packing>
  145.             <property name="expand">False</property>
  146.             <property name="fill">False</property>
  147.             <property name="position">1</property>
  148.           </packing>
  149.         </child>
  150.       </object>
  151.     </child>
  152.   </object>
  153. </interface>
  154.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement