You are not logged in.

#1 2012-07-19 07:42:56

neok
Member
From: Cyprus
Registered: 2003-12-14
Posts: 190
Website

Converting Glade-2 files to Glade-3 format

Hi,

I have been using Glade-2 and GTK+-2 till now, but it seems its about time I migrate to GTK+-3 and Glade-3. I am trying to convert my Glade-2 files to a format acceptable to Glade-3 but no luck. I have tried libglade-convert but it seems to be broken.

Please, any hints on how to do this convertion/migration, if at all possible? I have Glade-2 files that are 250Kb big, don't want to create those from scratch! :-(


Regards

Neoklis ... Ham Radio Call: 5B4AZ

Offline

#2 2012-07-20 16:23:28

neok
Member
From: Cyprus
Registered: 2003-12-14
Posts: 190
Website

Re: Converting Glade-2 files to Glade-3 format

neok wrote:

Hi,

I have been using Glade-2 and GTK+-2 till now, but it seems its about time I migrate to GTK+-3 and Glade-3. I am trying to convert my Glade-2 files to a format acceptable to Glade-3 but no luck. I have tried libglade-convert but it seems to be broken.

Please, any hints on how to do this convertion/migration, if at all possible? I have Glade-2 files that are 250Kb big, don't want to create those from scratch! :-(

Seems that its easy enough - at least for one file that I have tried: Replace the <glade-interface> tag with <interface> and replace all "widget class=" statements with "object class=". Glade 3 seems to read the edited file and even fix some discrepancies. Saving the file converts it to glade 3 format, which should be compatible with GTK+-3, I hope. It will take a lot more work to migrate the application source, before I find out ;-)


Regards

Neoklis ... Ham Radio Call: 5B4AZ

Offline

Board footer

Powered by FluxBB