Re: Suggestion: Adding a "real class" property

Date view Thread view Subject view Author view

From: Damon Chaplin (damon@helixcode.com)
Date: Thu May 18 2000 - 05:43:08 EDT


Arnaud Charlet wrote:
>
> > Do you mean that the user would insert a GtkCTree into the interface, and set
> > the 'Real Class' to 'MyCtree'?
>
> Right.
>
> > The source code output may be a problem. We could possibly use
> >
> > widget = gtk_type_new (gtk_type_from_name ("MyCTree"))
> >
> > but the type would have to be initialized before this was called.
> > Any arguments passed to construct the widget would be awkward as well.
>
> The arguments would be the same as for the parent class.
> Note that in Ada all we would need is the name of the type and the name of
> the package (file) that contains the type.
>
> So maybe this would also make more sense for Ada only ?
> What about an Ada only property that would define the real type and the
> name of the package where the type is defined ?

Yes, a patch would be helpful (for the 'public/private' property as well).

I have very little time for Glade at present.

Damon

+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to majordomo@ncis.pn.org
with the line "unsubscribe glade-devel" in the body of the message.


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Aug 01 2000 - 19:28:41 EDT