"enter_event" : "( event) => {\n this.el.background_color = Clutter.Color.from_string(\"#fff\");\n this.el.color = Clutter.Color.from_string(\"#000\");\n return false;\n}",
"leave_event" : "( event) => {\n this.el.background_color = Clutter.Color.from_string(\"#000\");\n this.el.color = Clutter.Color.from_string(\"#fff\");\n return false;\n}"
},
- "$ x_expand" : true,
"xtype" : "Text",
- "$ y_align" : "Clutter.ActorAlign.START",
+ "bool x_expand" : true,
+ "Clutter.ActorAlign y_align" : "Clutter.ActorAlign.START",
"$ xns" : "Clutter",
- "bool y_expand" : false,
- "Clutter.ActorAlign x_align" : "Clutter.ActorAlign.START"
+ "Clutter.ActorAlign x_align" : "Clutter.ActorAlign.START",
+ "bool y_expand" : true
}
]
}
this.el.x_align = Clutter.ActorAlign.START;
this.el.x_expand = true;
this.el.y_align = Clutter.ActorAlign.START;
- this.el.y_expand = false;
+ this.el.y_expand = true;
//listeners
this.el.button_press_event.connect( ( event) => {