Re: How to add a GtkWidget to an existing X-Window Widget hierarchy?



Marcel, 

I really really sorry for the VERY delayed anwser, but I'm think that
there is a simplest approach to embed mozilla into a GTK-2 app  ...
see http://www.mozilla.org/unix/gtk-embedding.html

Best Regards

On Apr 1, 2005 6:50 PM, Kevin DeKorte <kdekorte yahoo com> wrote:
On Friday 01 April 2005 03:42 pm, Kevin DeKorte wrote:
        XReparentWindow(GDK_WINDOW_XDISPLAY(gtkwidget->window),
                        GDK_WINDOW_XWINDOW(gtkwidget->window), x_window,
0,0);

Should be...

        XReparentWindow(GDK_WINDOW_XDISPLAY(gtkwidget->window),
                        GDK_WINDOW_XWINDOW(gtkwidget->window),
                        aWindow->window, 0,0);

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




-- 
Antonio Gomes
E-mail: antonio gomes indt org br
Embedded Linux Lab - 10LE
INdT - Instituto Nokia de Tecnologia (Manaus/Br)
NOKIA's Technology Institute



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]