src/Builder4/GladeView.bjs
authorAlan <alan@roojs.com>
Wed, 15 Jun 2022 08:47:58 +0000 (16:47 +0800)
committerAlan <alan@roojs.com>
Wed, 15 Jun 2022 08:47:58 +0000 (16:47 +0800)
src/Builder4/GladeView.vala

src/Builder4/GladeView.bjs
src/Builder4/GladeView.vala

index 34ba4ad..1ca626a 100644 (file)
@@ -7,6 +7,7 @@
     {
      "$ xns" : "Gtk",
      "* prop" : "titlebar",
+     "bool has_subtitle" : true,
      "string title" : "Window Title",
      "xtype" : "HeaderBar"
     }
index e7af4b4..3804390 100644 (file)
@@ -48,6 +48,7 @@ public class GladeView : Object
 
             // set gobject values
             this.el.title = "Window Title";
+            this.el.has_subtitle = true;
         }
 
         // user defined functions