[Mono-osx] Create window at runtime
troy-dawson at comcast.net
Mon Jan 16 23:31:53 UTC 2012
On Jan 16, 2012, at 3:23 PM, De Santis Luca wrote:
> On the other toolkits like GTK or Winform I can create window at runtime, they don’t need of file like xib. I like know if on MonoMac I can make something like that, without load xib file.
NSWindow has a designated initializer that you can use to instantiate NSWindows (and subclasses of NSWindows) via a new call. Eg (AppWindow is a subclass of NSWindow):
app_window = new AppWindow(new RectangleF(100,100,600,400-44));
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx