[Glade-users] GLADE XML to CPP Code

Thanks a lot Tristan , Pablo

I have not profiled the time difference yet.

I simply found on net that loading XML takes time.

And that glade interface is also increasing the number of lines in code.

The application we are going to do is very big database application for
accounts & Inventory.

So first I want to prepare easy concept and defined system for development.

I found "
have some parser from glade to c.

I am planing to modify to work with latest glade and c++.

Any batter idea. please let me know

Thanks & Regards

Piyush Verma

On Tue, Jun 15, 2010 at 1:05 PM, Juan Pablo Daniel <jpdborgna at gmail.com>wrote:

If I remember well older versions of glade (< 3 ?) where able to generate C
code. I think it can help you.

BTW, i'm interested on those timings and the embedded application,
specially the hardware used, are you going to publish something about it?

Best regards, Juan Pablo.

On Tue, Jun 15, 2010 at 12:52 AM, Tristan Van Berkom <
tristan.van.berkom at gmail.com> wrote:

On Mon, Jun 14, 2010 at 10:37 PM, Piyush Verma <piyush.pv at gmail.com>
Hello All

We was developing Application for Embedded Device.

Would it be possible to translate XML output of GLADE to Rich CPP Code.

This can reduce the object loading and searching time while handling

If not where should we start to add this feature ?

I would be interested to know, have you profiled the startup time
between using GtkBuilder and manually creating widgets ?

Is it a significant difference with a large UI ? (say 50+ widgets at least

I am curious because the main issues with libglade on embedded platforms
seemed to be the heavy libxml2 dependency, and the load time with
should be reduced compared with libglade - although honestly I dont know
how much so.

That being said, if using GtkBuilder is too slow/not an option to you, you
consider to write your own script/tool to generate code from Glade xml
(or you can write your own optimized flavor of libglade).


Thanks & Regards

Piyush Verma

Glade-users maillist  -  Glade-users at lists.ximian.com

Glade-users maillist  -  Glade-users at lists.ximian.com

Thanks & Regards

Piyush Verma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20100615/9fb4f85c/attachment.html 

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