here goes:

1) The <project> tag and it's children. I've said this before, this
   shouldn't be in the xml file. None of the information is useful
   for applications that want to work with the interface described in
   the xml file. They are all project settings belonging in some
   .ini like file, along with a line

        project_xml_file=nameofxmlfile.glade

   Putting it in the xml file is like putting the source in that file
   too, so we don't have too many files. It describes a totally
   different sort of information, it should not be there.

2) The <child> tag. This has several problems.
   a) It's being used for different things. A child of a GtkBox is
      not the same as a child of a GtkTable. These should have
      different names, so you don't have the same tag containing
      different attributes/elements
   b) It's in completely the wrong place. the data in <child>
      is not a part of the child widget, it's a part of the
      container.

3) Labels in buttons. Creating a button, and just filling in a label
   generates a different result than creating a button, removing
   the original label, and putting a label of your own in its
   place. This is wrong. You can't change the properties of the
   former label, and they don't even get stored.

4) CLists. Apart from not being completely controllable from within
   glade, they have the following problems
   a) It's children are currently the row title widgets. The way
      it should be is clist->colums->titlewidget. A column has
      several properties currently not settable and
   b) the column-width is part of a column, not something that
      should be a property of the clist widget as a comma seperated
      list.

This list is probably far from complete, but I think it clearly
shows how the current structure ('simple' indeed!) is wrong, thus
warranting a rewrite. And, again, if we're going to rewrite it
anyway, why not pick up the advantages of attributes as we go.

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.

Reply via email to