Re: [Vala] Metatada files doubts



On Wed, 2012-10-24 at 14:07 +0200, Alejandro T. Colombini wrote:
    My doubts are: are there two different metadata languages? And, is the
Gtk.TreeIter created binded using just these three lines of metadata or is
there something more?

Yes, there is a metadata format for GIR and a metadata format GIDL.
GIDL, which is what gtk+ is using, is deprecated.  Documentation for the
GIR format is at [1], and there are examples in the vapi/metadata
directory of valac.

Yes, that is all the the data needed for Gtk.TreeIter.  Well, that and
the GIDL file.

In GIR, if something is a compact class and you want it to be a struct,
you just do

  Foo struct

To go the other way

  Foo struct=false 

[1] https://live.gnome.org/Vala/Manual/GIR%20metadata%20format




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]