},
{
"$ xns" : "Gtk",
- "* init" : [
- "{",
- " ",
- " /*",
- " this.el.add_constraint(",
- " new Clutter.AlignConstraint(",
- " _this.clutterembed.el.get_stage(), ",
- " Clutter.AlignAxis.X_AXIS,",
- " 0.0f",
- " )",
- " );",
- " */",
- " this.el.fixed_x = 50.0f;",
- " this.el.fixed_y = 0.0f;",
- " //this.el.set_position(100,100);",
- " this.el.set_pivot_point(0.0f,0.0f);",
- " this.el.set_scale(0.0f,1.0f);",
- " this.el.set_size((_this.clutterembed.el.get_stage().width-50)/2,",
- " _this.clutterembed.el.get_stage().height);",
- " ",
- "}"
- ],
"* pack" : "add",
"id" : "codeeditviewbox",
"xtype" : "Box"
// my vars (dec)
// set gobject values
-
- // init method
-
- {
-
- /*
- this.el.add_constraint(
- new Clutter.AlignConstraint(
- _this.clutterembed.el.get_stage(),
- Clutter.AlignAxis.X_AXIS,
- 0.0f
- )
- );
- */
- this.el.fixed_x = 50.0f;
- this.el.fixed_y = 0.0f;
- //this.el.set_position(100,100);
- this.el.set_pivot_point(0.0f,0.0f);
- this.el.set_scale(0.0f,1.0f);
- this.el.set_size((_this.clutterembed.el.get_stage().width-50)/2,
- _this.clutterembed.el.get_stage().height);
-
- }
}
// user defined functions