Re: building a library using gtk+

2006-05-17 Thread Dov Kruger
Since originally posting this question, I've used the linker to try to create a dll. ar just assembles a number of .o files, I don't believe it resolves any symbols which is useless to me. So, I did ld -dll -o libglpp $(OBJ3) GLPPmain.o -L/opt/lib -lftgl -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0

Re: building under mingw

2006-04-22 Thread Dov Kruger
Building the whole gtk is pretty frustrating at times, but on windows it's downright opaque. If anyone can help, I can't find any references We installed a working mingw, and can build c++ code. mingw is working under minsys. Make works. glib won't build without pkg-config: configure --prefix

Re: gtk-app-devel-list Digest, Vol 24, Issue 16

2006-04-22 Thread Dov Kruger
Building the whole gtk is pretty frustrating at times, but on windows it's downright opaque. If anyone can help, I can't find any references We installed a working mingw, and can build c++ code. mingw is working under minsys. Make works. glib won't build without pkg-config: configure --prefix

How to trap mouse motion, mouse up, and wheel events?

2006-03-31 Thread Dov Kruger
I posted yesterday, but perhaps I was not clear. I have code that works trapping mouse and key presses. It registers for callbacks using the following line: gtk_widget_set_events(GTK_WIDGET(glarea),GDK_ALL_EVENTS_MASK); The following signal connect requests are made: gtk_signal_connect

response to events

2006-03-30 Thread Dov Kruger
The following function attempts to turn on event trapping for all GDK events, but I only get the mouse down events, GtkWidget *create_gl_window() { GtkWidget* glwindow; glwindow = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(glwindow), Graphite);