[Gtk-sharp-list] Documentation of Gtk# generated XML
jonmmorgan at gmail.com
Fri Aug 11 01:36:31 EDT 2006
On 11/08/06, Mike Kestner <mkestner at novell.com> wrote:
> On Fri, 2006-08-11 at 00:57 +1000, Jonathan Morgan wrote:
> > Thanks. I looked at this, but, while interesting, it doesn't give the
> > information I want. One of the things I really want to know is: what
> > is the differences between tags like type, object, boxed and struct,
> > all of which share some common tags, but seem to have different
> > constraints on what can be in them.
> type is only used as an attribute, and indicates the type of a parameter
> or return value.
> object indicates a GObject subclass. They can have fields, methods,
> constructors, virtual_methods, properties, and signals.
Not all objects seem to have parents (see, for example, GtkStock).
> struct and boxed are non-GObject structs where boxed also has a GType.
> They only have fields, methods, and ctors.
Thanks for that - that's pretty well what I wanted to know. The tags
are generally pretty easy to guess what they mean, though not always
all the fine details.
Sorry about type - I really meant class. How does class differ from object?
I'm presuming that interface is something like an object without
fields. Is that correct?
More information about the Gtk-sharp-list