[webkit-help] New to webkit
jackwootton at gmail.com
Mon Aug 3 01:59:33 PDT 2009
some time ago (copied and pasted).
Here is the API:
If this is what you wish to do, then the following is a rough guide of
what you need to do:
1. Create an empty class definition, you can create an empty class
definition using kJSClassDefinitionEmpty.
2. Use the class definition with the JSCoreAPI method "JSClassCreate"
to create your class.
3. Use your new class with JSObjectMake to create your new JSObject
(this will be your widget object).
4 Use JSObjectSetProperty to add your new JSObject as a property of
the Window object.
It maybe useful to look at the following files in the
easy to understand.)
There are also some example programs that do what you want to do, only
with different objects.
More programs can be found here:
On Mon, Aug 3, 2009 at 5:34 AM, LG<lgmagic at gmail.com> wrote:
> Hi all,
> can someone share and example and tell me how to compile it in webkit
> anyhelp would be useful
> thanks a lot
> webkit-help mailing list
> webkit-help at lists.webkit.org
More information about the webkit-help