From: <lik...@us...> - 2006-07-18 17:29:11
|
Update of /cvsroot/xbgtk/xbgtk In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv6729 Modified Files: ChangeLog MAPPING README Log Message: 2006-07-18 Phil Krylov <phil a t newstar.rinet.ru> * MAPPING * README Some documentation updates. * codegen/argtypes_xb.py * codegen/codegen_xb.py * include/xbgtk.h * source/gdk.defs * source/gdk_xb.override * source/gtk.defs * source/gtk_xb.override * source/xbgobject.prg Added support for conversion between XBase arrays and gchar **, GList * and GSList * containers with object or string values. It gives us some more GTK+ API coverage. * source/gtk-types.defs GtkIconView implements GtkCellLayout. * examples/glade/Makefile.am Include *.glade files in the distribution package. * examples/xbgtk_demo/xbgtk_demo.prg Use the generic Monospace font family instead of Courier. Index: ChangeLog =================================================================== RCS file: /cvsroot/xbgtk/xbgtk/ChangeLog,v retrieving revision 1.53 retrieving revision 1.54 diff -u -d -r1.53 -r1.54 --- ChangeLog 5 Jul 2006 22:04:06 -0000 1.53 +++ ChangeLog 18 Jul 2006 17:29:04 -0000 1.54 @@ -1,5 +1,27 @@ /* $Id$ */ +2006-07-18 Phil Krylov <phil a t newstar.rinet.ru> + * MAPPING + * README + Some documentation updates. + * codegen/argtypes_xb.py + * codegen/codegen_xb.py + * include/xbgtk.h + * source/gdk.defs + * source/gdk_xb.override + * source/gtk.defs + * source/gtk_xb.override + * source/xbgobject.prg + Added support for conversion between XBase arrays and gchar **, + GList * and GSList * containers with object or string values. + It gives us some more GTK+ API coverage. + * source/gtk-types.defs + GtkIconView implements GtkCellLayout. + * examples/glade/Makefile.am + Include *.glade files in the distribution package. + * examples/xbgtk_demo/xbgtk_demo.prg + Use the generic Monospace font family instead of Courier. + 2006-07-06 Phil Krylov <phil a t newstar.rinet.ru> * configure.in * include/xbgtk.h Index: MAPPING =================================================================== RCS file: /cvsroot/xbgtk/xbgtk/MAPPING,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- MAPPING 22 Feb 2005 19:54:10 -0000 1.6 +++ MAPPING 18 Jul 2006 17:29:05 -0000 1.7 @@ -1,5 +1,5 @@ -The mapping of GTK+ onto Harbour -=============================== +The mapping of GTK+ onto [x]Harbour +=================================== This file is originally borrowed from pygtk, but its contents are changed to reflect xbgtk features. @@ -130,6 +130,20 @@ GtkWindow():list_toplevels() --> aToplevels +Translation from pygtk-based code +================================= + +If you want to use a pygtk-based example, you have to: + +Replace gtk. module prefix from pygtk with Gtk prefix. + +Replace calls using named (non-positional) arguments by positional +arguments or (only in xHarbour) a single argument which is a hash +containing real arguments, like this: + GtkMessageDialog():new( { "buttons" => GTK_BUTTONS_OK, + "message_format" => "Hello world" } ) + + Conclusions =========== Index: README =================================================================== RCS file: /cvsroot/xbgtk/xbgtk/README,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- README 6 Apr 2006 13:29:25 -0000 1.14 +++ README 18 Jul 2006 17:29:05 -0000 1.15 @@ -140,6 +140,13 @@ /usr/local/mingw32-xharbour. +XBase Dialect Differences +========================= + + Harbour xHarbour +Hash value support: No Yes + + BUGS / TODO =========== @@ -168,3 +175,6 @@ Contact Niko Mikkila <nm...@ph...> if you have problems with the makefiles or Linux-related stuff. +Finally, the best sources of information is pygtk site at http://www.pygtk.org +and GTK site at http://www.gtk.org. + |