开发者

NSSegmentedCell in NSTableView in Interface Builder

I am trying to implement an NSSegmentedCell in an NSTableView (I'm usin开发者_如何学编程g Ruby, though it's not relevant). I am confused as to how to wire the cell - if I add a table to my application, and then drag an NSSegmentedCell into one of the columns, choose "select any," make sure the cell is enabled and then run a simple application that displays a row, the NSSegmentedCell acts like a momentary push in button rather than a segmented control. What is the necessary code to properly wire a NSSegmentedCell so the user can choose any of the segments, and they remain depressed?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜