[Vala] gtkaml 0.4.0 released with Gtkon syntax
- From: Vlad Grecescu <b100dian gmail com>
- To: gtkaml-dev googlegroups com, gnome-announce-list gnome org, vala-list <vala-list gnome org>
- Subject: [Vala] gtkaml 0.4.0 released with Gtkon syntax
- Date: Sat, 6 Nov 2010 01:54:24 +0200
Hello,
I am proud to announce the 0.4.0 version of Gtkaml introducing the new
Gtkon syntax.
Gtkaml is a markup language based on Vala which lets you create Gtk+
composite widgets through concise XML:
<HBox homogeneous="false">
<Label label="_Hello" with-mnemonic="true" expand="false" fill="false"/>
<Entry g:public="my_entry" text="World! "/>
</HBox>
Gtkon is an object notation alternative to the XML syntax, contributed
by pancake at nopcode.org:
HBox !homogeneous {
Label with-mnemonic label="_Hello" !expand !fill;
Entry $my_entry text="World!";
}
More information on the Gtkon syntax is available here
http://code.google.com/p/gtkaml/wiki/Gtkon and in the tests and
examples gtkaml comes with.
Changes in gtkaml 0.4.0:
- [breaking] signal values are by default references to methods, and
generate lambda body only when enclosed in braces (behaviour is
reversed wrt gtkaml 0.2.x)
- Fixed Issue #22 "can't find class with nested namespace" - fix by herodjar
- gtkaml builds with vala-0.10.1 and vala-0.12 from HEAD and so it
does not distribute .c/.h files anymore
- added support for run_source with the `gtkaml' command (the source
cannot start with #! yet)
- added the --write-vala (-V) switch which stops gtkamlc right after
generating vala files.
Features:
* compact XML syntax for describing composite Gtk widgets
* Gtkon syntax for JSON-like sources
* code 'islands' (written in Vala) - for signal handling and other
code in your widget class (so you don't modify the generated code
ever)
* you don't depend on gtkaml at run-time
* much more readable than the usual UI boilerplate (e.g. you don't
need to worry about temporary variables, or ever write hundreds of
lines of code)
* works with any library that has a .vapi file, not just Gtk+
(composition methods can be specified in the *.implicits file)
Full release notes: http://code.google.com/p/gtkaml/wiki/ReleaseNotes
Downloads: http://code.google.com/p/gtkaml/downloads/list
[1] Examples: http://code.google.com/p/gtkaml/wiki/Example
Regards,
Vlad Grecescu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]