Creating NSWindow programmatically in Mono using MonoMac.dll Ref -


this question here because trying 2 routes same conclusion.

i have application written in c# , porting mac. working using mono.

i using mac mini mid 2011 2.3 ghz intel core i5 osx 10.8.2
ide
xamarin studio
version 4.0.4 (build 2)
installation uuid: 0df3cd36-37ed-4451-8ca7-370ec8220237
mono 2.10.11 (mono-2-10/2baeee2)
gtk 2.24.14
gtk# (2.12.0.0)
package version: 210110000
apple developer tools
xcode 4.6 (2066)
build 4h127

i need simple web view gui changing html5 frontend. mono not have web browser mac can used. monomac trying add monomac.dll mono project.

    lock(typeof(frontend2)) {   nsapplication.init(); }     rectanglef rec = new rectanglef(0,0,500,500); webview web = new webview(rec, "a", "b");  nswindow win = new nswindow(rec, nswindowstyle.resizable,           nsbackingstore.buffered,false);     nsapplication.sharedapplication.addwindowsitem(win, "hello",false); 

the application runs , compiles unfortunately unable make nswindow appear.
understand in monomac project there xib file , things.
wondering if knew way make work or if possible doing.
thank feed back.
paul


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -