[macruby-changes] [1601] MacRuby/trunk/lib/hotcocoa/mappings/column.rb
source_changes at macosforge.org
source_changes at macosforge.org
Tue May 26 14:11:45 PDT 2009
Revision: 1601
http://trac.macosforge.org/projects/ruby/changeset/1601
Author: rich at infoether.com
Date: 2009-05-26 14:11:44 -0700 (Tue, 26 May 2009)
Log Message:
-----------
add additional accessor methods TICKET #263
Modified Paths:
--------------
MacRuby/trunk/lib/hotcocoa/mappings/column.rb
Modified: MacRuby/trunk/lib/hotcocoa/mappings/column.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/mappings/column.rb 2009-05-26 20:27:12 UTC (rev 1600)
+++ MacRuby/trunk/lib/hotcocoa/mappings/column.rb 2009-05-26 21:11:44 UTC (rev 1601)
@@ -15,7 +15,19 @@
def title=(newTitle)
headerCell.stringValue = newTitle
end
-
+
+ def data_cell=(cell)
+ setDataCell(cell)
+ end
+
+ def max_width=(val)
+ setMaxWidth(val)
+ end
+
+ def min_width=(val)
+ setMinWidth(val)
+ end
+
end
end
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090526/38da74dc/attachment.html>
More information about the macruby-changes
mailing list