On Monday 12 November 2007, [EMAIL PROTECTED] wrote: Hello, Do you need to scroll particularly the gtk_moz_embed, or is scrolling the domwindow enough? http://developer.mozilla.org/en/docs/DOM:window.scroll
If yes, then dom window is an attribute of nsIWebBrowser and nsIWebBrowser can be obtained from gtk_moz_embed. best regards, Michal > Hi, > > Can you please tell me how can I scroll gtkmozebed programatically? > > I have tried getting the gdk_window_scroll() , but it just freezes the > whole application and content does not get repainted. > > GdkWindow* win = browser->topLevelWindow->window; > gdk_window_scroll (window, 1, 880); // scroll to x = 1, y = 880 > > Thank you for any pointer. > > _______________________________________________ > dev-embedding mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-embedding _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
