On Mon, Jan 03, 2000 at 09:33:17PM +0000, Damon Chaplin wrote:
> The first thing needed is to develop an IDL which everyone agrees on.
> So any draft IDL specs are welcome.
While working on my development environment, I've been writing quite
some idl, and have been thinking about GUI Builder IDL as well.
I think the gui builder itself doesn't need to export a lot of
functionality, since gui building is quite a self contained task.
The gui builder does need to connect to a lot of other parts of
a development environment though.
A first (well, not really, but it's not complete yet) stab at
a gui builder IDL is at
http://cvs.gnome.org/lxr/source/mooonsooon/idl/vde-builder.idl
There isn't any functionality for generating source,
but I think you don't want to do that through idl, but write
directly to files instead. (if at all, imho something like
libglade is _much_ more preferable). Only callback prototypes
are handled in the idl.
The BuilderClient interface needs quite some work now that I
think about it again. I was thinking the editor should support
this, but I don't think that's a good idea now. I guess it needs
an intermediate part that will do the translation from add_prototype
to actual code, so you can put in several modules that generate
code for different languages without either the gui builder or
the editor needing to know about it.
This idl uses other idl from my development environment. you
can find that at
http://cvs.gnome.org/lxr/source/mooonsooon/idl
It's obvious that it uses the VDE::Target interface, but also note
every object needs to export VDE::Part functionality (and thus be
able to talk to a VDE::MasterPart, giving it a generic way to register
windows, property pages, and access to an event channel)
All of the idl is (going to be) nicely wrapped as bonobo objects,
which makes it much easier to use.
I've tried to make the IDL generic, so that it doesn't apply to just
my development environment. I hope other development environment
coders will think I have succeeded in that. Comments on how well
I succeeded in that (or on the IDL in general) are very welcome
cya,
Martijn
--
Martijn van Beers <[EMAIL PROTECTED]>
'Don't worry if it sounds odd. Believe me, you are talking to
someone who has seen a lot of stuff that is odd. And I don't
mean biscuits.' --- Arthur Dent
+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.