On Sun, 2007-02-11 at 11:55 -0500, Gerald I. Evenden wrote:
> I took a GLADE example and managed to get it to run under GLADE.
> 
> It was suggest that I use libglade instead when generating a finalized 
> program 
> but still using the *.glade file generated by GLADE.
> 
> But I am now to the point of giving up the whole problem because I cannot get 
> a libglade system to function.  I tried starting to learn by copying some of 
> the examples on various websites and attempted to get them to compile and 
> run.  But, alas, everyone of the examples had one problem or another and I 
> failed to get any one of them to function. Part of the problem was that the 
> examples were frequently incomplete and I could not diagnose what was missing 
> or how to reconstruct it.
> 
> I attempted to make my original GLADE example link and run with libglade but 
> was met with a variety of linkage errors and when I finally did get things 
> linked the program it generated made a variety of 'message's and finally died 
> with a memory fault.

Unfortunately we cannot help or comment without seeing any of these
messages, nor any of your command lines, source code, etc.

> 
> I am about ready to kiss the entire GTK experience off and try ncurses.

You probably ought to experiment with ncurses anyway, since it is a very
useful toolkit in its own right.  However it is orthogonal to GTK in
some ways.  They aren't really directly comparable.

> 
> My only plea is for an example of libglade that REALLY functions and would 
> appreciate a pointer.

I've attached one that compiles thusly:

gcc -o gladetest gladetest.c `pkg-config --cflags --libs gtk+-2.0 libglade-2.0`




> 
> Many thanks.
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> 
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to