Am 13.08.2007 um 13:20 schrieb Namaz:
Hi All,
There is an API layer in WebKit/Gtk folder (although it is not used by GdkLauncher presently). It provides the GObject interfaces for WebKitGtkFrame, WebKitGtkPage, etc. Great!
GdkLauncher creates a WebKitGtkPage and is using that. So the API is used by the GdkLauncher, the Openmoko RSS Reader, midori can use it as well.
+ Any idea, what are all the advantages of using these kind of GObjects instead of C++ class interfaces (Frame, Page classes).
Having a C/GObject API is great because you can easily bind it to other languages (e.g. python)and it can be used by C Applications. For some strange reasons most of the GNOME stack is still implemented in C, so this is quite important.
+ And what classes are going to be added in future into this API layer as GObjects.
We aim for implementing what WebView [1] on OS X is offering. So if you have need some feature, we will take a look at WebView and consider how to map it to the Gtk+/GObject world. z. [1] http://developer.apple.com/documentation/Cocoa/Reference/WebKit/ Classes/WebView_Class/Reference/Reference.html