English 中文(简体)
网上核心
原标题:webcore in webkit gtk
  • 时间:2011-02-25 02:43:50
  •  标签:
  • webkit
  • gtk

在我的项目中(基于网站kit gtk),我想在网上打上某些类别。 但是,网基封顶网分,因此,可以直接称呼这些功能(我知道这些功能通过 go角,因此不知道它是否正确)。 指称:

Frame* frame = m_pPage->focusController()->focusedOrMainFrame();
Document* focusedDocument = frame->document();
frame = frame->tree()->top();
Node* focusedNode = focusedDocument->focusedNode();

这些类别和职能在网络核心中界定,因此可以直接称为。 我想知道如何获得这些机会? 修改网站?

我只需要网络核心模块,如何用网络系统安装网分?

问题回答

You can try download the webkit source, and go to the last line of "Source/WebKit/gtk/webkit/webkitwebview.cpp" to see the "WebCore::Page* core(WebKitWebView* webView);" function, this the core of convert webkit things to webcore things.

你们需要让编辑了解“WebKitWebViewPrivate”的构件,该结构在“webkitwebview private”。 (或您可以界定自己的网页KitWebViewPrivate,以收集汇编者。) 在现阶段,你只让汇编者知道所报“计分”的抵消。

But the difficult thing is you need to export the class Frame, Node, Dcoument and many other class.

因此,这是可能的,但困难。


If you really only want use Frame, Node... You can build the webkit, and in build/.libs dir will have an libWebCore.a which contain all of your needs except the head files.





相关问题
Pointers in Lisp?

I ve started learning Lisp recently and wanted to write a program which uses gtk interface. I ve installed lambda-gtk bindings (on CMUCL). I want to have putpixel/getpixel ability on a pixbuf. But I ...

In Gtk, how do I make a Button with just a stock icon?

I want to create a button with the stock "Remove" icon on it, but without the text "Remove". If I use Button button = new Button(Stock.Remove);, I get the opposite: just the text, and no icon. I will ...

Using GtkMenu in Gtk+-2.14.0

I am building an application which has GtkMenu widget. I am using Glade RAD tool to develop UI and while creating project in Glade I have specified version of GTK as 2.16 which supports GtkMenu and ...

Can you set the FileFilters for a Gtk Dialog in Glade?

In my code, I have lines like this: Builder builder = new Builder(); builder.AddFromFile(gladefile); FileChooserDialog dialog = (FileChooserDialog) builder.GetObject("dialog"); FileFilter[] ...

热门标签