[Mono-osx] Do NSShowAllViews, NSShowAllDrawing, NSShowAllDrawingColor work through monomac?
Phi Le
iamphi at gmail.com
Sun Jun 9 05:20:20 UTC 2013
Do NSShowAllViews, NSShowAllDrawing, NSShowAllDrawingColor work through
monomac?
Documentation for these options
http://developer.apple.com/library/mac/technotes/tn2124/_index.html#//apple_ref/doc/uid/DTS10003391-CH1-SECAPPKIT
I have a test MonoMac program that creates subviews in my custom view
initializer, like so:
AddSubview (new NSView(new RectangleF(100, 100, 100, 100)));
AddSubview(new NSView(new RectangleF(300, 100, 50, 50)));
then I run in Terminal
bin/Debug/ColorPickerTest.app/Contents/MacOS/ColorPickerTest
-NSShowAllViews YES
I am not seeing the expected results. Some of the Cocoa window's chrome's
view do have black rectangle around them. I don't see my content view, and
its subview framed with the rectangles.
I wrote a similar program with objective-c and I get the expected behavior
provide by these debug options.
I am using mono 2.10.11, and Xamarin Studio. I don't know my Xamarin
Studio version. It does not have a proper application menu (File, Edit,
... Help).
Thanks,
Phi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20130608/138afdbe/attachment.html>
More information about the Mono-osx
mailing list