[MacRuby-devel] Bindings only working one-way

2008-11-21 Thread Michael Winterstein
I'm having difficulty working with bindings and I'm not sure if it's a MacRuby thing or my poor understanding of how they work. I've tried binding to two types of things - an NSMatrix of radio buttons (binding to "selectedTag") and a Checkbox value. Using just an attr_accessor - the variabl

Re: [MacRuby-devel] PBI - HTML and CSS in HotCocoa

2008-11-21 Thread Rich Morin
At 12:52 -0900 11/21/08, elliottcable wrote: > This sounds like an idea with potential. > > Perhaps a new framework for creating "HTML" applications, that takes > the HTML and uses a WebView - but instead of actually ending up with > a WebView, the data is pulled out and passed onto a true Cocoa >

Re: [MacRuby-devel] PBI - HTML and CSS in HotCocoa

2008-11-21 Thread elliottcable
This sounds like an idea with potential. Perhaps a new framework for creating "HTML" applications, that takes the HTML and uses a WebView - but instead of actually ending up with a WebView, the data is pulled out and passed onto a true Cocoa interface, kinda thing? On Nov 21, 2008, at 11:

[MacRuby-devel] PBI - HTML and CSS in HotCocoa

2008-11-21 Thread Rich Morin
It's possible to use HotCocoa to lay out windows, but (AFAIK) the developer still has to do most of the layout, specifying co-ordinates, etc. Like lots of other Ruby developers, I'm comfortable with HTML and CSS layout. So, I wonder how hard it would be to convince WebApp (for example) to accept

Re: [MacRuby-devel] What's the best way to implement a delegate/action with multiple parameters?

2008-11-21 Thread Benjamin Stiglitz
I'm pretty new to Cocoa, so maybe I'm overlooking the obvious here. I just want to make sure I'm not doing more work than necessary. I'd like to be able to control the minimum size for a NSSplitView. As I understand it, I need to have a delegate with a method that can handle splitView:co