I have been working on a glade rewrite from scratch. I have not gotten
too far yet but the framework is staring to come together. I don't have
a lot of time during the week for it, so i am mostly using the weekends.
And even during the weekends i have been busy lately ;-(. Here is a
snapshot of my current work sent for review, I am still not happy with
some of the objects in particular the MVC split of them.

You can find a tarball here :
http://www.gnome.org/~chema/glade2-0.0.3.tar.gz 

You need to get the GNOME 2.0 platform to compile it. I used the
vicious-build-scripts and they where quite helpfull.

the code is **EMBRIONIC** don't exepect to see anything close of a
working glade program, but it makes a nice mockup ;-).


My current roadmap (and for anyone that wants to help out  ) is :
- Implement a tree view for a project, this will need clening of
glade-project-view.c 
- Fix GladeProperty mess, right now they have a pointer to the widget
the property is modifuing inside the editor. I have not found a clean
way to fix this.
- Remove properties from the XML files and query gtk
- Fix the glade_widget_class_create_glade_widget hack
and support all the basic gtk widgets
- Implement the dialog that appears on some widgets before they are
created, this will be done in a generic way with a <query> tag in the
xml file descriptors.
- Implement packing, common and signals tab of the editor
- Add undo/redo support
- Multiple project support, the current code is designed to work with
multiple projects so it shoudl not be too hard to do.
- Implement saving to xml (new XML format)
- Implement loading from xml 
- Implement packing, common and signals tab
- old glade files import


Althou the GUI can be improved, for the first milestone i want it to be
identical to the current glade, i don't want to spend time with this now
and this makes the objective very clear.

If you want to test the current code, after compiling it you can try to:
- Create a gtk window
- change the window title from the editor
- add a label or gtkbutton to the window  
- change the label of the gtklabel or gtkbutton
- Create another gtk window and click between the windows, the property
editor should update and hold each widget properties.

That is pretty much all it can do right now ;-),
it needs lots of love, and i can not give it all the love it needs.

*** NOTE: nobody has decided that this code will be the basiss for
glade2, i am still not sure if i will have the time to make it fly.
Damon might now want to use my code as a starting point, etc. In other
words, i just wrote some code, this means nothing till it is usable. No
desitions have been made yet.

regards,
Chema


_______________________________________________
Glade-devel maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel

Reply via email to