// listener is added on show..
// we should really add a hock to destroy it..
+
+GtkCellRenderText = XObject.define(
+ function(cfg) {
+ XObject.call(this, cfg);
+ if (!this.items.length) {
+ XObject.fatal("Actor does not have any children");
+ return;
+ }
+
+ this.items[0].pack = false;
+ },
+ XObject,
+ {
+ pack : 'pack_start'
+ }
+};
+
GtkClutterActor = {
pack : function(parent, item)
},
- onConstruct : function() {
- if (!this.items.length) {
- XObject.fatal("Actor does not have any children");
- return;
- }
-
- this.items[0].pack = false;
-
- },
+
init : function() {
print ("Actor init");