[maemo-developers] [maemo-developers] How can I show embed mozilla in HildonAppView ?

From: Antônio Gomes antonio.gomes at indt.org.br
Date: Wed Nov 9 15:18:26 EET 2005
What is the big deal ??? The GtkMozEmbed is a graphical widget as any other. Have you tried something like this (not tested):


  /* QUOTED */
  // hildon stuff 
  currentPageView = HILDON_APPVIEW (hildon_appview_new(NULL));

  hildon_app_set_appview(yourHildonApp, currentPageView);


    // creating the engine
    GtkWidget yourMozEngine = gtk_moz_embed_new ();
   
    g_object_ref(yourMozEngine);
   
    // adding the engine widget in current page view
    gtk_container_add (GTK_CONTAINER(currentPageView),
          GTK_WIDGET (yourMozEngine));

    gtk_container_set_focus_child (GTK_CONTAINER (currentPageView),
                  GTK_WIDGET(yourMozEngine));
    gtk_widget_show(GTK_WIDGET(yourMozEngine));


regards

>	Now I create moz = gtk_moz_embed_new(), how can I show it in the 
>HildonAppView ?
>  
>


More information about the maemo-developers mailing list