Re: glade project mini-rfc



On Sun, 03 Oct 2004 09:34:22 +0200, Xavier Bestel <xavier bestel free fr> wrote:
[...]
> Maybe you should integrate with Gob to use its .gob widget definition
> (or generate your xml format from the .gob), to have a unique source of
> widget definition (no useless info duplication => no copy/paste error).

Hmmm, 
    I'm not so sure I follow you.

Gob is a kind of way to get around wiritng you boiler plate code to generate
actual object oriented code. In glade we are only concerned with some aspects
of the external API of an object (g_object_new(), get_property(),
set_property(),
add_child() ...)  and how to represent an object heirarchy or "widget layout"
so that it can later be interpreted by libglade.

Actualy, in some cases the xml will define properties that are only needed
for the glade environment and are never needed in real life (example, 
GtkBox gets a "size" property so that it can be filled with "size" placeholders
that serve as "click" areas for the user to add new widgets).

My goal is that all of these kinks and twists can be handled in the xml
catalog and its accompanied plugin.

Cheers,
                                                                -Tristan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]