From tvb at gnome.org Tue Apr 8 00:35:33 2008
From: tvb at gnome.org (Tristan Van Berkom)
Date: Tue, 8 Apr 2008 01:35:33 -0300
Subject: [Glade-devel] Glade 3.5.0 first development release
Message-ID: <560259cb0804072135i72d6109bj1fa9a027727ad54e@mail.gmail.com>
Hi,
This is the first development release leading up to Glade 3.6
(which in turn will be targetting GNOME 2.24), its the first shot at GtkBuilder
support in Glade, and already comes with fresh docs, which can currently
be viewed at http://glade.gnome.org/docs/index.html .
Special thanks to Johan Dahlin who has been throwing huge UIManager
support patches at me and this way helping me keep the core in check
to the GtkBuilder's special needs.
Good thing this happened near the beginning of the GNOME release
cycle, now you can all convert your old glade files and tell us early
what is breaking, please ! :D
What is Glade ?
===============
Glade is a RAD tool to enable quick & easy development of user interfaces
for the Gtk+ toolkit and the GNOME desktop environment.
The user interfaces designed in Glade are stored in XML format,
enabling easy integration with external tools.
In particular libglade can load the XML files and create the interfaces
at runtime. The DTD for the XML files is included with libglade, and is
also at http://glade.gnome.org/glade-2.0.dtd.
Other tools are available which can turn the XML files into source code
in languages such as C++, Perl and Python.
===========
Glade 3.5.0
===========
- Resurrected GtkScaleButton and GtkVolumeButton
- We finally have Vincent Geddes's icon choser dialog
(was skipped before because of string changes)
- Not allowed to have duplicate widget names anymore (bug 442860)
- Now the first widget in a project shows up automatically
when opening the project.
- Old parser was trashed and rewritten from the ground up.
- New plugin support for read_widget() and write_widget(), also
create_eprop() which allows the plugin to create widgets to
edit properties in the editor (accelerators are edited from
the plugin now for instance).
- Dual file format support available, its a beginning, you dont
get any of the GObjects that GtkBuilder supports but all widgets
you were formerly using with glade can now be loaded/saved in
builder format.
- Api reference docs for embedders and widget authors ressurected
after 2 years, concerning integrating widgets, the docs are
practically rewritten.
New and updated translations
============================
- Priit Laes (et)
- Laurent Dhima (sq)
- Baris Cicek (tr)
- Alexander Shopov (bg)
Where can I get it ?
====================
http://download.gnome.org/sources/glade3/3.5/
For more information consult our home page at http://glade.gnome.org/
Enjoy,
- The Glade team
From cnkknd+maillist at gmail.com Tue Apr 8 21:43:06 2008
From: cnkknd+maillist at gmail.com (Daniel King)
Date: Wed, 9 Apr 2008 09:43:06 +0800
Subject: [Glade-devel] Feature request: exporting data of glade file content
Message-ID: <210902b20804081843k5fcb9a2cjc2509c1861c463a6@mail.gmail.com>
I use libglade with my apps. Sometime I don't want user to change the
glade file, so I use "glade_xml_new_from_buffer" to load the xml data
from a char*.
I need to do some modification as below everytime when distributing.
....>
<..>
to
#ifndef XXX_H
#define XXX_H
static const char* xxx_glade =
"....>"
""
" <..>"
"";
#endif
It would be very convenient if this function added to glade.
From tristan.van.berkom at gmail.com Wed Apr 9 05:24:10 2008
From: tristan.van.berkom at gmail.com (Tristan Van Berkom)
Date: Wed, 9 Apr 2008 06:24:10 -0300
Subject: [Glade-devel] Feature request: exporting data of glade file
content
In-Reply-To: <210902b20804081843k5fcb9a2cjc2509c1861c463a6@mail.gmail.com>
References: <210902b20804081843k5fcb9a2cjc2509c1861c463a6@mail.gmail.com>
Message-ID: <560259cb0804090224m64e4d45eg2eda60715bcdeb95@mail.gmail.com>
On Tue, Apr 8, 2008 at 10:43 PM, Daniel King wrote:
[...]
> #ifndef XXX_H
> #define XXX_H
>
> static const char* xxx_glade =
> "....>"
> ""
> " <..>"
> "";
> #endif
>
> It would be very convenient if this function added to glade.
I agree its a good idea, so I filed a bug for anjuta:
http://bugzilla.gnome.org/show_bug.cgi?id=527094
Thoghts ?
-Tristan
From tvb at gnome.org Wed Apr 9 15:48:40 2008
From: tvb at gnome.org (Tristan Van Berkom)
Date: Wed, 9 Apr 2008 16:48:40 -0300
Subject: [Glade-devel] Glade 3.5.1 released !
Message-ID: <560259cb0804091248v7de0d488pecb73ccc7ee24710@mail.gmail.com>
Hi,
This is the second development release leading up to Glade 3.6.
Last night I sweat really hard and was able to deliver you full versioning
support in glade, I hope you enjoy, please report bugs :D
What is Glade ?
===============
Glade is a RAD tool to enable quick & easy development of user interfaces
for the Gtk+ toolkit and the GNOME desktop environment.
The user interfaces designed in Glade are stored in XML format,
enabling easy integration with external tools.
In particular libglade can load the XML files and create the interfaces
at runtime. The DTD for the XML files is included with libglade, and is
also at http://glade.gnome.org/glade-2.0.dtd.
Other tools are available which can turn the XML files into source code
in languages such as C++, Perl and Python.
===========
Glade 3.5.1
===========
- Added versioning support, you can always chose the target version of
your project starting with gtk+ 2.8 - a project preferences dialog has
been added where you can switch your format, switch your
target version
and test for incompatabilities. incompatability error dialogs are also
launched on save as. Target versions are saved to the glade file;
TODO: patch GtkBuilder to test the required gtk+ version from
and at least warn, also let
third party widget developers test thier own versions using builder
(all new catalog tags and properties are also documented).
Where can I get it ?
====================
http://download.gnome.org/sources/glade3/3.5/
For more information consult our home page at http://glade.gnome.org/
Enjoy,
- The Glade team
From tvb at gnome.org Wed Apr 9 16:55:21 2008
From: tvb at gnome.org (Tristan Van Berkom)
Date: Wed, 9 Apr 2008 17:55:21 -0300
Subject: [Glade-devel] Glade 3.5.2 released :-S
Message-ID: <560259cb0804091355k7400db91kc24a66e5874de168@mail.gmail.com>
Yeah its one of those embaressing last minute bugfix releases ;-)
What is Glade ?
===============
Glade is a RAD tool to enable quick & easy development of user interfaces
for the Gtk+ toolkit and the GNOME desktop environment.
The user interfaces designed in Glade are stored in XML format,
enabling easy integration with external tools.
In particular libglade can load the XML files and create the interfaces
at runtime. The DTD for the XML files is included with libglade, and is
also at http://glade.gnome.org/glade-2.0.dtd.
Other tools are available which can turn the XML files into source code
in languages such as C++, Perl and Python.
===========
Glade 3.5.2
===========
- oops, was parsing booleans as doubles, fixed bugs with
builder-unsupported and deprecated.
Where can I get it ?
====================
http://download.gnome.org/sources/glade3/3.5/
For more information consult our home page at http://glade.gnome.org/
Enjoy,
- The Glade team
From kundan.nitrkl at gmail.com Mon Apr 14 01:40:12 2008
From: kundan.nitrkl at gmail.com (kundan das)
Date: Mon, 14 Apr 2008 11:10:12 +0530
Subject: [Glade-devel] a small problem, please help
Message-ID: <5d050d0c0804132240q2b14491eq184078ae953993cd@mail.gmail.com>
Hi all
I am developing an application where there are a lot of gtk_entry (text
boxes) arranged in vbox over a window widget. Scroll window is added . The
setting is exactly similar to that of the glade3.1.0 "propertyeditor" window
with the notepads General, packing common, signals etc.
Now the problem is that while I am going up-down with the keys, the scroll
is not working i.e the cursor has reached to a gtk_entry (thats hidden) but
it is not visible because scrolling didn't happen. Mouse scrolling is
working but I need scrolling with keyboard.
The same problem is not there in glade3.1.0 property editor UI.
*I wanted to know how the scroll window and toggle buttons etc are used in
the glade property editor UI so that I'll implement the same in my
application to make the scrolling work.*
**
*Pls Pls help.*
*kundan*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-devel/attachments/20080414/a72e20b9/attachment.html
From tristan.van.berkom at gmail.com Tue Apr 15 17:22:11 2008
From: tristan.van.berkom at gmail.com (Tristan Van Berkom)
Date: Tue, 15 Apr 2008 18:22:11 -0300
Subject: [Glade-devel] a small problem, please help
In-Reply-To: <5d050d0c0804132240q2b14491eq184078ae953993cd@mail.gmail.com>
References: <5d050d0c0804132240q2b14491eq184078ae953993cd@mail.gmail.com>
Message-ID: <560259cb0804151422n1f6881ddn92b84537a46d39eb@mail.gmail.com>
Hi,
note that this is a gtk+ question and would be better recieved
at gtk-app-devel-list at gnome.org.
If you want to look, the source is in glade3/gladeui/glade-editor.c,
I dont remember off hand but I had to implement it a couple of
times, something just about setting up the adjustments of the
scrolled window. (I dont think you have to connect to focus changes
and add code in signal connections, I really think it was just a setup
issue).
Cheers,
-Tristan
2008/4/14 kundan das :
> Hi all
> I am developing an application where there are a lot of gtk_entry (text
> boxes) arranged in vbox over a window widget. Scroll window is added . The
> setting is exactly similar to that of the glade3.1.0 "propertyeditor" window
> with the notepads General, packing common, signals etc.
> Now the problem is that while I am going up-down with the keys, the scroll
> is not working i.e the cursor has reached to a gtk_entry (thats hidden) but
> it is not visible because scrolling didn't happen. Mouse scrolling is
> working but I need scrolling with keyboard.
> The same problem is not there in glade3.1.0 property editor UI.
> I wanted to know how the scroll window and toggle buttons etc are used in
> the glade property editor UI so that I'll implement the same in my
> application to make the scrolling work.
>
> Pls Pls help.
> kundan
> _______________________________________________
> Glade-devel maillist - Glade-devel at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-devel
>
>
From timovwb at gmail.com Wed Apr 16 15:28:36 2008
From: timovwb at gmail.com (Timo)
Date: Wed, 16 Apr 2008 21:28:36 +0200
Subject: [Glade-devel] Glade freezes trying to populate comboboxes
Message-ID: <48065364.3040706@gmail.com>
I'm using Ubuntu Hardy beta with Glade 3.4.2. Whenever I try to add
items to a combobox, Glade freezes and shuts down after 10-15 seconds.
Anyone else heard about this or has the same problem?
Timo
From alexey.kurochkin at pathfinderlwd.com Wed Apr 16 15:35:23 2008
From: alexey.kurochkin at pathfinderlwd.com (Alexey Kurochkin)
Date: Wed, 16 Apr 2008 14:35:23 -0500
Subject: [Glade-devel] Glade freezes trying to populate comboboxes
In-Reply-To: <48065364.3040706@gmail.com>
References: <48065364.3040706@gmail.com>
Message-ID: <1208374523.18290.9.camel@localhost.localdomain>
I can confirm. Glade 3.4.3. Fedora 8. Same problem.
On Wed, 2008-04-16 at 21:28 +0200, Timo wrote:
> I'm using Ubuntu Hardy beta with Glade 3.4.2. Whenever I try to add
> items to a combobox, Glade freezes and shuts down after 10-15 seconds.
> Anyone else heard about this or has the same problem?
>
> Timo
> _______________________________________________
> Glade-devel maillist - Glade-devel at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-devel
From devans at orindasoftware.com Wed Apr 16 15:38:33 2008
From: devans at orindasoftware.com (David Evans)
Date: Wed, 16 Apr 2008 12:38:33 -0700
Subject: [Glade-devel] Glade freezes trying to populate comboboxes
In-Reply-To: <48065364.3040706@gmail.com>
References: <48065364.3040706@gmail.com>
Message-ID: <480655B9.2060501@orindasoftware.com>
Timo wrote:
> I'm using Ubuntu Hardy beta with Glade 3.4.2. Whenever I try to add
> items to a combobox, Glade freezes and shuts down after 10-15 seconds.
> Anyone else heard about this or has the same problem?
>
> Timo
> _______________________________________________
> Glade-devel maillist - Glade-devel at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-devel
>
>
Yes, I've just run into the same problem with Glade 3.4.3 on Fedora 8.
I've gotten around
it by creating a model for the combobox and populating it in software.
Dave
From alexey.kurochkin at pathfinderlwd.com Wed Apr 16 15:56:52 2008
From: alexey.kurochkin at pathfinderlwd.com (Alexey Kurochkin)
Date: Wed, 16 Apr 2008 14:56:52 -0500
Subject: [Glade-devel] Glade freezes trying to populate comboboxes
In-Reply-To: <480655B9.2060501@orindasoftware.com>
References: <48065364.3040706@gmail.com> <480655B9.2060501@orindasoftware.com>
Message-ID: <1208375812.18290.11.camel@localhost.localdomain>
On Wed, 2008-04-16 at 12:38 -0700, David Evans wrote:
> Timo wrote:
> > I'm using Ubuntu Hardy beta with Glade 3.4.2. Whenever I try to add
> > items to a combobox, Glade freezes and shuts down after 10-15 seconds.
> > Anyone else heard about this or has the same problem?
> >
> > Timo
> > _______________________________________________
> > Glade-devel maillist - Glade-devel at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/glade-devel
> >
> >
> Yes, I've just run into the same problem with Glade 3.4.3 on Fedora 8.
> I've gotten around
> it by creating a model for the combobox and populating it in software.
Yeah, that's why I never noticed the bug in the first place ;)
>
> Dave
> _______________________________________________
> Glade-devel maillist - Glade-devel at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-devel
From debarshi.ray at gmail.com Wed Apr 16 23:04:15 2008
From: debarshi.ray at gmail.com (Debarshi Ray)
Date: Thu, 17 Apr 2008 08:34:15 +0530
Subject: [Glade-devel] Glade freezes trying to populate comboboxes
In-Reply-To: <48065364.3040706@gmail.com>
References: <48065364.3040706@gmail.com>
Message-ID: <3170f42f0804162004y3461b99eh3aaca0e86c314abd@mail.gmail.com>
I filed a bug: http://bugzilla.gnome.org/show_bug.cgi?id=528511
Could you please add your comments there?
Thank you,
Debarshi
--
"From what we get, we can make a living; what we give, however, makes a life."
-- Arthur Ashe
From tristan.van.berkom at gmail.com Fri Apr 18 01:52:03 2008
From: tristan.van.berkom at gmail.com (Tristan Van Berkom)
Date: Fri, 18 Apr 2008 02:52:03 -0300
Subject: [Glade-devel] Glade 3.4.4 released
Message-ID: <560259cb0804172252we59c1c6o26407690fc70f1b3@mail.gmail.com>
Hi, bugfix release heads up !
What is Glade ?
===============
Glade is a RAD tool to enable quick & easy development of user interfaces
for the Gtk+ toolkit and the GNOME desktop environment.
The user interfaces designed in Glade are stored in XML format,
enabling easy integration with external tools.
In particular libglade can load the XML files and create the interfaces
at runtime. The DTD for the XML files is included with libglade, and is
also at http://glade.gnome.org/glade-2.0.dtd.
Other tools are available which can turn the XML files into source code
in languages such as C++, Perl and Python.
===========
Glade 3.4.4
===========
- Now first toplevel in project automatically shows up in
the workspace
- Project no longer allows duplicate widget names
- Fixed bugs 528511, and 528552.
New and updated translations
============================
- Laurent Dhima (sq)
- Baris Cicek (tr)
- Alexander Shopov (bg)
- Kenneth Nielsen (da)
- Jorge Gonzalez (es)
- Philip Withnall (en_GB)
- Ani Peter (ml)
- Leonardo Ferreira Fontenelle (pt_BR)
- Rajesh Ranjan (hi)
Where can I get it ?
====================
http://download.gnome.org/sources/glade3/3.4/
For more information consult our home page at http://glade.gnome.org/
Enjoy,
- The Glade team
From debarshi.ray at gmail.com Fri Apr 18 22:57:10 2008
From: debarshi.ray at gmail.com (Debarshi Ray)
Date: Sat, 19 Apr 2008 08:27:10 +0530
Subject: [Glade-devel] Glade 3.4.4 released
In-Reply-To: <560259cb0804172252we59c1c6o26407690fc70f1b3@mail.gmail.com>
References: <560259cb0804172252we59c1c6o26407690fc70f1b3@mail.gmail.com>
Message-ID: <3170f42f0804181957i474f548fgc5e598bf48432a92@mail.gmail.com>
> For more information consult our home page at http://glade.gnome.org/
That page does not contain information about any of the releases made
in the year 2008. Is this intentional? Or do you need helping hands to
keep it updated, in which case I can volunteer.
Congratulations on the new release.
Happy hacking,
Debarshi
--
"From what we get, we can make a living; what we give, however, makes a life."
-- Arthur Ashe
From tristan.van.berkom at gmail.com Fri Apr 18 23:04:10 2008
From: tristan.van.berkom at gmail.com (Tristan Van Berkom)
Date: Sat, 19 Apr 2008 00:04:10 -0300
Subject: [Glade-devel] Glade 3.4.4 released
In-Reply-To: <3170f42f0804181957i474f548fgc5e598bf48432a92@mail.gmail.com>
References: <560259cb0804172252we59c1c6o26407690fc70f1b3@mail.gmail.com>
<3170f42f0804181957i474f548fgc5e598bf48432a92@mail.gmail.com>
Message-ID: <560259cb0804182004x74db69ffw3d37c98f9f2edfee@mail.gmail.com>
YES PLEASE HELP !!!
I am meeting with Juan Pablo this week, and
you can reach us by email or at #glade3 on
gnome irc, I just cant be bothered to update
that page everytime I throw out a tarball, we
were hoping maybe to have something more
simple that just points to the release page, but
need to brainstorm a little.
Cheers,
-Tristan
On Fri, Apr 18, 2008 at 11:57 PM, Debarshi Ray wrote:
> > For more information consult our home page at http://glade.gnome.org/
>
> That page does not contain information about any of the releases made
> in the year 2008. Is this intentional? Or do you need helping hands to
> keep it updated, in which case I can volunteer.
>
> Congratulations on the new release.
>
> Happy hacking,
> Debarshi
> --
> "From what we get, we can make a living; what we give, however, makes a life."
> -- Arthur Ashe
>
From kunal at singhkunal.com Mon Apr 28 06:10:16 2008
From: kunal at singhkunal.com (kunal at singhkunal.com)
Date: Mon, 28 Apr 2008 06:10:16 -0400
Subject: [Glade-devel] enhancing glade for non-GTK tool-kits
Message-ID: <380-220084128101016135@M2W014.mail2web.com>
Hi All,
I am an embedded system developer.
Off recently, GUI Design has gained (and is gaining) a critical
importance in EMbedded Systems.
So, I have decided to familiarize (actually more than just familiarize)
myself with at least one GUI tool-kit.
I had two options to choose from GTK+ and Qt.
I have decided to go for GTK+.
I will initially focus on GUI design using Glade.
While I am picking up on Glade, a thought keep on striking my mind. What
if I some client asks me to design a product with Qt for him?
I know that being a GTK+ user, my first effort should be to convince him
that GTK+ can do as good (or ever far better than) job as Qt. But, what if
he just wants to go for Qt (he has a stable platform based on Qt)? The only
choice which I will have in that case will be to hire a resource who has a
good hold on "Qt-Designer".
I think that there should be an interface builder, which does not care
about the underlying tool-kit (whether GTK or Qt). I have two questions:
(a) Is it technically feasible (I guess the answer is YES).
(b) Is any such tool already available (I guess the answer is NO).
If (a) is YES and (b) is NO, does it makes sense to enhance glade so
as to support the Qt as well? It will help development engineers to just
focus on the Interface builder details, without worrying about what is the
underlying toolkit. glade will attract more user in that case.
I am not sure if it will be feasible to modify Glade in such a way. May
be Glade has already come to a shape where it can not be so easily modified
for Qt support. In that case, may be it will make sense to think of a new
project.
I am not sure if this is the right mailing list to post this question.
But, I felt it is. So, I did it.
Regards,
Kunal
www.singhkunal.com
PS: Nokia was initially using GTK+ for its internet tablet development
platform "Maemo". Now it has announced support (on the same platform) for
Qt as well (not sure if it has something to do with Qt acquisition). In
future more platforms might support both GTK+ And Qt. In such a scenario a
Unified GUI builder will come handy
--------------------------------------------------------------------
mail2web.com ? Enhanced email for the mobile individual based on Microsoft?
Exchange - http://link.mail2web.com/Personal/EnhancedEmail
From architbaweja at gmail.com Mon Apr 28 14:23:51 2008
From: architbaweja at gmail.com (Archit Baweja)
Date: Mon, 28 Apr 2008 14:23:51 -0400
Subject: [Glade-devel] enhancing glade for non-GTK tool-kits
In-Reply-To: <380-220084128101016135@M2W014.mail2web.com>
References: <380-220084128101016135@M2W014.mail2web.com>
Message-ID:
Hey Kunal,
Yes it is definitely possible to take a UI designed in Glade and use
it in a Qt program. This is because Glade spits out a XML file
describing the UI. And then there is libglade that reads the .glade
XML file and creates the UI by making calls to the Gtk+ library. So
its definitely possible to write a libglade for Qt which reads in
.glade files and creates a corresponding Qt interface.
I don't know if anyone's written a libglade for Qt, but its definitely
possible. One problem I see happening is that different UI systems
take slightly different approaches to layout mechanisms.
Hope that helps,
- Archit
On Mon, Apr 28, 2008 at 6:10 AM, kunal at singhkunal.com
wrote:
> Hi All,
>
> I am an embedded system developer.
> Off recently, GUI Design has gained (and is gaining) a critical
> importance in EMbedded Systems.
> So, I have decided to familiarize (actually more than just familiarize)
> myself with at least one GUI tool-kit.
>
> I had two options to choose from GTK+ and Qt.
> I have decided to go for GTK+.
> I will initially focus on GUI design using Glade.
>
> While I am picking up on Glade, a thought keep on striking my mind. What
> if I some client asks me to design a product with Qt for him?
> I know that being a GTK+ user, my first effort should be to convince him
> that GTK+ can do as good (or ever far better than) job as Qt. But, what if
> he just wants to go for Qt (he has a stable platform based on Qt)? The only
> choice which I will have in that case will be to hire a resource who has a
> good hold on "Qt-Designer".
>
> I think that there should be an interface builder, which does not care
> about the underlying tool-kit (whether GTK or Qt). I have two questions:
> (a) Is it technically feasible (I guess the answer is YES).
> (b) Is any such tool already available (I guess the answer is NO).
>
> If (a) is YES and (b) is NO, does it makes sense to enhance glade so
> as to support the Qt as well? It will help development engineers to just
> focus on the Interface builder details, without worrying about what is the
> underlying toolkit. glade will attract more user in that case.
>
> I am not sure if it will be feasible to modify Glade in such a way. May
> be Glade has already come to a shape where it can not be so easily modified
> for Qt support. In that case, may be it will make sense to think of a new
> project.
>
> I am not sure if this is the right mailing list to post this question.
> But, I felt it is. So, I did it.
>
> Regards,
> Kunal
> www.singhkunal.com
>
> PS: Nokia was initially using GTK+ for its internet tablet development
> platform "Maemo". Now it has announced support (on the same platform) for
> Qt as well (not sure if it has something to do with Qt acquisition). In
> future more platforms might support both GTK+ And Qt. In such a scenario a
> Unified GUI builder will come handy
>
>
>
>
>
>
>
> --------------------------------------------------------------------
> mail2web.com ? Enhanced email for the mobile individual based on Microsoft(R)
> Exchange - http://link.mail2web.com/Personal/EnhancedEmail
>
>
> _______________________________________________
> Glade-devel maillist - Glade-devel at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-devel
>
From tristan.van.berkom at gmail.com Mon Apr 28 23:38:15 2008
From: tristan.van.berkom at gmail.com (Tristan Van Berkom)
Date: Tue, 29 Apr 2008 00:38:15 -0300
Subject: [Glade-devel] enhancing glade for non-GTK tool-kits
In-Reply-To:
References: <380-220084128101016135@M2W014.mail2web.com>
Message-ID: <560259cb0804282038v5afa5cbem6cc2cb397b005007@mail.gmail.com>
On Mon, Apr 28, 2008 at 3:23 PM, Archit Baweja wrote:
> Hey Kunal,
>
> Yes it is definitely possible to take a UI designed in Glade and use
> it in a Qt program. This is because Glade spits out a XML file
> describing the UI. And then there is libglade that reads the .glade
> XML file and creates the UI by making calls to the Gtk+ library. So
> its definitely possible to write a libglade for Qt which reads in
> .glade files and creates a corresponding Qt interface.
>
> I don't know if anyone's written a libglade for Qt, but its definitely
> possible. One problem I see happening is that different UI systems
> take slightly different approaches to layout mechanisms.
The output of Glade is xml, but it is serialized GObjects basically,
how well that
scales to QT I dont know, Im quite sure QT uses different container objects, but
something could be written I suppose, but in the end it will be black
magick trickery,
nothing as optimal as using an interface designer intended for the
targetted toolkit.
Consider that the different toolkits have different objects to
represent that work in
different ways, spitting out a QT targetted xml file from glade would
be like a whole
other project inside Glade, in other words I see no reason to not just
do it in QT
designer if you want a QT interface.
Cheers,
-Tristan
BTW: I started hacking on Glade from an embedded standpoint, the whole point
of me taking up the Glade 3 project in the state it was in years ago,
was to be able
to modularly integrate our custom gtk+ widget kit into Glade, Glade was intended
for this, so I sincerely hope to see people start integrating their
catalogs into glade
and experience the power we've been working to provide for you.
Note that in recent days when I went ahead and ploughed through
GtkBuilder support
for glade, I completely rewrote and updated the documentation
concerning integrating
your widgets into Glade. The updated docs for Glade trunk can be found here:
http://glade.gnome.org/docs/index.html