Re: HTML widget in a GTK window !!!
- From: "youssa voila fr" <youssa voila fr>
- To: tnt linux ca
- Cc: gtk-app-devel-list gnome org
- Subject: Re: HTML widget in a GTK window !!!
- Date: Wed,  2 Jan 2002 18:26:34 +0100
Hi again,
sorry, but really I can't progress, all right for libgtkembedmoz.so,but i  still have a warning :
  gcc -o moz1 moz.c `gtk-config --cflags --libs` -lgtkembedmoz
  moz.c: In function `main':
  moz.c:25: warning: assignment from incompatible pointer type
  The line 25 is :gtk_moz_embed_load_url
                  mozzie, "file:/home/ies/GTK/AideGtk.html");
  So please, is this exemple works on your pc, and if you have any little exemple that works
  on your pc, please send it to me.
  I 'm really sorry if I asked many questions, And I hope this will be the last.
   This is the code :
-------------------------------------------------
 #include <gtk/gtk.h>
 #include <stdio.h>
 #include <time.h>
 #include <stdlib.h>
 #include <signal.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <unistd.h>
 #include <inc.h>
 #include <gtkmozembed.h>
 int main( int argc, char *argv[] )
          {
 GtkWidget *window;
 GtkMozEmbed *mozzie = NULL;
   gtk_init (&argc, &argv);
   window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
   mozzie = gtk_moz_embed_new();
   gtk_window_set_title (GTK_WINDOW (window), " Fenetre HTML ");
   gtk_moz_embed_load_url(mozzie, "file:/home/ies/GTK/AideGtk.html");
   gtk_widget_show(window);
   gtk_main ();
   return (0);
         }
------------------------------------------------
I'm waiting any help so please compile this exemple on your pc or if possible send me any exemple that works.
Thank you very much.
____________________________________________________________
Faites un voeu et puis Voila ! www.voila.fr
Avec Voila Mail, consultez vos e-mails sur votre mobile Wap.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]