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

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

index 74dea3a..0ca8598 100644 (file)
@@ -3,8 +3,12 @@
  "items" : [
   {
    "$ xns" : "Gtk",
-   "string content_type" : "",
-   "xtype" : "AppChooserWidget"
+   "bool obey_child" : true,
+   "float ratio" : 1,
+   "float xalign" : 1,
+   "float yalign" : "",
+   "string label" : "asdf",
+   "xtype" : "AspectFrame"
   }
  ],
  "modOrder" : "",
index ae2497c..17adac9 100644 (file)
@@ -2,7 +2,7 @@ static GladeView  _GladeView;
 
 public class GladeView : Object
 {
-    public Gtk.AppChooserWidget el;
+    public Gtk.AspectFrame el;
     private GladeView  _this;
 
     public static GladeView singleton()
@@ -19,7 +19,7 @@ public class GladeView : Object
     public GladeView()
     {
         _this = this;
-        this.el = new Gtk.AppChooserWidget( "" );
+        this.el = new Gtk.AspectFrame( "asdf", 1, , 1, true );
 
         // my vars (dec)