Re: Learning Glade
- From: Luis Menina <liberforce freeside fr>
- To: Patrick Braga <theunixgeek contact gmail com>
- Cc: Mailing List <gtk-app-devel-list gnome org>
- Subject: Re: Learning Glade
- Date: Mon, 28 Apr 2008 20:01:13 +0200
If you have a recent version of GTK+ (>= 2.12), just go with GtkBuilder
instead of libglade: this is the way things should be done nowadays, if
you create a simple interface (GtkBuilder is still young).
You can design your graphical interface with glade, or gazpacho, or any
tool that will produce *.glade files. Then you use gtk-builder-convert
to generate *.ui files that GtkBuilder will be able to use.
http://library.gnome.org/devel/gtk/2.12/gtk-builder-convert.html
Cheers,
--
Luis
Patrick Braga a écrit :
Thanks - the code included in those docs seem helpful. I'll try them
out.
On Sat, 2008-04-26 at 09:51 -0300, Tristan Van Berkom wrote:
On Sat, Apr 26, 2008 at 7:47 AM, Patrick Braga
<theunixgeek contact gmail com> wrote:
[...]
> On 26/04/2008, Patrick Braga <theunixgeek contact gmail com> wrote:
> > Hi, I'm a relative newcomer to GTK+ programming, but I've been using
> > GNU/Linux for about a year and a half, know it pretty well, and am
> > enjoying writing applications for it.
> >
> > However, I feel it will be easier for me to write graphical applications
> > with an interface designer. The GNOME Library
> > (http://library.gnome.org/ ) wasn't very useful and I haven't been able
> > to find any decent, up-to-date tutorials on Glade.
this came up as google's third hit for "libglade":
http://library.gnome.org/devel/libglade/unstable/
The first chapter "libglade programming basics" displays the 3 or so lines
of code it takes you to load a libglade interface, plus you have the refference
manual that follows.
The GtkBuilder manual, first hit on google for "gtkbuilder":
http://library.gnome.org/devel/gtk/2.12/GtkBuilder.html
doesnt include a code example but its used in the same basic
way as libglade was used.
Cheers,
-Tristan
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]