The GTK Gecko widget is like the other widgets. You can use it if you compile with the good flags.
To use it in your code #include <gtk/gtk.h> [...] // just declare a widget GtkWidget *Moz; /* instanciation, and I don't know why I need to make a cast : the type are the same...but it makes a warning if I don't */ Moz = (GtkWidget *)gtk_moz_embed_new(); // to pack it into the main window (but you may want to use a box instead) gtk_container_add (GTK_CONTAINER (window), HBox); [...] To compile : gcc gtk-app.c -o gtk-app `pkg-config --cflags --libs gtk+-2.0 mozilla-gtkmozembed` -lxpcom Note that you must link xpcom I hope it will help you... Kereoz http://kereoz.sup.fr Matt Rajca wrote: > Hello! > > What exactly is the GTK Gecko Widget? How do I use it. I have Mono and > Glade. I would like to use it visually. How can I do that? > > Matt _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
