Re: [users@lists.monobjc.net] IKImageBrowserView view options keys

2010-12-20 Thread Laurent Etiemble
Hello, If you are overriding a property, the attribute must be placed on the "getter"/"setter", as it is a method: public NSData Model { [ObjectiveCMessage("model")] get { } [ObjectiveCMessage("setModel:")] se

RE: [users@lists.monobjc.net] IKImageBrowserView view options keys

2010-12-20 Thread Steven Spencer
Ok, I have identified the problem and can see there is a potential source of confusion in using the monobjc bindings. The root of the problem is that the borderless windows was not the key window. In objective-c, this can be achieved by adding: -(BOOL)canBecomeKeyWindow { return YES; } to th

RE: [users@lists.monobjc.net] IKImageBrowserView view options keys

2010-12-20 Thread Steven Spencer
Ok, After further investigation, I have tracked this down to a problem with Cocoa, not Monobjc. The problem is that I have a borderless window (initialised with the NSBorderlessWindowMask style) - this seems to be causing the issues with the IKImageBrowserView. I have recreated this using Objectiv

[users@lists.monobjc.net] IKImageBrowserView view options keys

2010-12-20 Thread Steven Spencer
Hi I am currently trying to use the IKImageBrowserView and am struggling with trying to set some of the view options. The apple docs for this class state that the following keys are available: NSString * const IKImageBrowserBackgroundColorKey; NSString * const IKImageBrowserSelect