I'm happy to report, that GTK+ is in the Harbour.

Samples building / running just fine, after simply adding a few libs
to HB_USER_LIBS, -I for the headers and copying in the required RT .dlls.

Congrats for the xhgtk team, very nice job.

Brgds,
Viktor

------------
After some tweaking, now I have an xhgtk.lib for MSVC.
I had to manually fix the makefile and fix one error in code in
latest SVN.

I've used packages from here:
http://www.gtk.org/download-windows.html

The missing bit was "libglade-2.0", which I got from here:
http://gladewin32.sourceforge.net/

Here's the patch for the error:
---
Index: source/gtk/gtkcomboboxentry.c
===================================================================
--- source/gtk/gtkcomboboxentry.c (revision 357)
+++ source/gtk/gtkcomboboxentry.c (working copy)
@@ -90,6 +90,7 @@

 HB_FUNC( XHGTK_COMBO_BOX_ENTRY_GET_ENTRY )
 {
-   GtkWidget *widget = hb_gtk_param(1, TRUE);
+   GtkWidget *widget = ( GtkWidget * ) hb_gtk_param(1, TRUE);
    hb_gtk_ret( (GtkEntry*) GTK_ENTRY( GTK_BIN( widget )->child ), FALSE );
 }
+
---
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to