projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c417ae9
)
XObjectBase/GtkTreeViewColumn.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 2 Dec 2010 10:58:11 +0000
(18:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 2 Dec 2010 10:58:11 +0000
(18:58 +0800)
XObjectBase/GtkTreeViewColumn.js
patch
|
blob
|
history
diff --git
a/XObjectBase/GtkTreeViewColumn.js
b/XObjectBase/GtkTreeViewColumn.js
index
785b93e
..
77d1c87
100644
(file)
--- a/
XObjectBase/GtkTreeViewColumn.js
+++ b/
XObjectBase/GtkTreeViewColumn.js
@@
-13,10
+13,13
@@
GtkTreeViewColumn = XObject.define(
// this is an example...
GtkTreeViewColumn.ids++;
this.col_id = GtkTreeViewColumn.ids;
// this is an example...
GtkTreeViewColumn.ids++;
this.col_id = GtkTreeViewColumn.ids;
+
},
XObject,
{
pack : function(parent, item) {
},
XObject,
{
pack : function(parent, item) {
+ this.list = this.parent;
+
parent.el.append_column(this.el);
var n = 0;
var _t = this;
parent.el.append_column(this.el);
var n = 0;
var _t = this;
@@
-42,6
+45,7
@@
GtkTreeViewColumn = XObject.define(
if (this.items.length) {
print("child : " + XObject.type(this.items[0].xtype));
if (this.items.length) {
print("child : " + XObject.type(this.items[0].xtype));
+ this.items[0].list = this.list;
switch (XObject.type(this.items[0].xtype)) {
case "GtkCellRendererText":
this.el.add_attribute(this.items[0].el , 'markup', col );
switch (XObject.type(this.items[0].xtype)) {
case "GtkCellRendererText":
this.el.add_attribute(this.items[0].el , 'markup', col );