Re: Code migration.

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

 



Hi Bill,

It sounds like you have some problems with your installation. I'd try
to get a gtk2 "hello world" program going first.

On 7/9/06, William D. Tallman <wtallman@xxxxxxxxxx> wrote:
> 1.  Code written for Gtk+-1.2 will, or will not, compile and run
> correctly under Gtk-2.0.  y/nt..

No, some porting is required. As I remember (I went thorough this a
few years ago) getting something that works is pretty easy. Rewriting
to remove dependencies on deprecated widgets (GtkText, GtkCList, etc.)
is more work.

There's a chapter in the GTK manual about migration:

http://developer.gnome.org/doc/API/2.0/gtk/migrating.html

With a section on 1.2 -> 2.0:

http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html

> 2.  Gtk+-2.4.0 is, or is not, usable for development.  y/n.

All the gtk2 versions are source and binary backwards compatible, so
if you get it working with 2.4 it should work with 2.10.

> 3.  Should I have to redefine a shell variable in order to get the 2.0
> version to work?  y/n.

No, you should be OK without.

John
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux