英文互译镜像站

GNUstep Renaissance

Last updated
Renaissance
Developer(s) Nicola Pero
Stable release
0.9.0 / March 19, 2008 (2008-03-19)
Written in Objective-C
Operating system Cross-platform, Mac OS X, and GNUstep
License GNU Lesser General Public License
Website http://www.gnustep.it/Renaissance/

GNUstep Renaissance is a development framework that reads XML descriptions of graphical user interfaces from an application bundle and converts them into native widgets and connections at runtime under either GNUstep or Mac OS X.

Contents

GNUstep Renaissance was written by Nicola Pero as an alternative to the NIB and gorm files used by Interface Builder and Gorm, respectively. Unlike the aforementioned formats, Renaissance can generate interfaces that can be run without modification on either GNUstep or Mac OS X. It also uses a feature called AutoLayout, which means that localized strings do not have to be manually resized.

As of January 2006, GNUstep Renaissance is beta software. A graphical frontend to Renaissance does not yet exist. A stable release has not been made since 2008, though the downloadable binary has not been rebuilt and is still the previous version. [1]

Example

A simple example of an interface specification:

<gsmarkup><objects><menutype="main"><menuItemtitle="Quit"action="terminate:"key="q"/></menu><windowid="myWindow"title="Hello, World"><vbox><label>Hello,World</label><buttontitle="OK"action="performClose:"target="#myWindow"/></vbox></window></objects></gsmarkup>

Assuming this file is in the application bundle and named Sample.gsmarkup, it can be loaded with the following Objective-C code:

[NSBundleloadGSMarkupNamed:@"Sample"owner:self];

Software using Renaissance

See also

References

  1. "Renaissance". Archived from the original on 2016-03-12. Retrieved 2016-04-22. (TODO: The binary distribution is still the 0.8.0 one, we need to update it)


网站离线镜像 网站镜像克隆 整站镜像下载 网站复制工具 超级站群助手