Sha256: e4bad2e52ac7fd8efafede0c37033fc51c34967b6aeca6a2e053d513e4f56861
Contents?: true
Size: 1.71 KB
Versions: 1
Compression:
Stored size: 1.71 KB
Contents
= TkXML {Homepage}[http://rubyworks.github.com/tkxml] | {Source Code}[http://github.com/rubyworks/tkxml] | {Mailing List}[http://groups.google.com/group/rubyworks-mailinglist] {<img src="http://travis-ci.org/rubyworks/tkxml.png" />}[http://travis-ci.org/rubyworks/tkxml] == DESCRIPTION An XML markup language for generating Tk user-interfaces. It was inspired by GTK's glade format. The TkXML format defines a very simple one-to-one correlation to the Ruby Tk API. == SYNOPSIS Here's an +example.xml+ TkXML file: <Tk:Root name="test" title="Test"> <Tk:Frame name="menuframe"> <Tk:Menubutton name="filebutton" text="File" underline="0"> <Tk:Menu name="filemenu" tearoff="false"> <Tk:_add _1="command" label="Open" underline="0" accel="Ctrl+O" command="openDocument" /> <Tk:_add _1="command" label="Exit" underline="0" accel="Ctrl+Q" command="exitApplication" /> </Tk:Menu> <Tk:_pack side="left" /> </Tk:Menubutton> <Tk:_pack side="left" /> </Tk:Frame> <Tk:_bind _1="Control-o" _2="openDocument" /> <Tk:_bind _1="Control-q" _2="exitApplication" /> </Tk:Root> To use the library: require 'tkxml' tkxml = TkXML.new(File.read('example.xml')) tkxml.build == STATUS At this point, TkXML is little more than an interesting experiment in encoding GUIs via markup. But it may well have the potential of becoming a productive tool if someone were inclined to further it's development. == HISTORY An interesting side note. TkXML is the oldest bit of redistributed Ruby code your humble author had ever writ. == COPYRIGHTS Copyright (c) 2002 Rubyworks TkXML is distributable in accordance with the *BSD-2-Clause* license. See NOTICE.rdoc for details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tkxml-0.3.1 | README.rdoc |