JavascriptResult

Constructors

this
this(WebKitJavascriptResult* webKitJavascriptResult, bool ownedRef)

Sets our main struct and passes it to the parent class.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

doref
alias doref = ref_
Undocumented in source.

Functions

getGlobalContext
JSGlobalContextRef getGlobalContext()

Get the global Javascript context that should be used with the <function>JSValueRef</function> returned by webkit_javascript_result_get_value().

getJavascriptResultStruct
WebKitJavascriptResult* getJavascriptResultStruct(bool transferOwnership)

Get the main Gtk struct

getJsValue
Value getJsValue()

Get the #JSCValue of @js_result.

getStruct
void* getStruct()

the main Gtk struct as a void*

getValue
JSValueRef getValue()

Get the value of @js_result. You should use the <function>JSGlobalContextRef</function> returned by webkit_javascript_result_get_global_context() to use the <function>JSValueRef</function>.

ref_
JavascriptResult ref_()

Atomically increments the reference count of @js_result by one. This function is MT-safe and may be called from any thread.

unref
void unref()

Atomically decrements the reference count of @js_result by one. If the reference count drops to 0, all memory allocated by the #WebKitJavascriptResult is released. This function is MT-safe and may be called from any thread.

Static functions

getType
GType getType()

Variables

ownedRef
bool ownedRef;
Undocumented in source.
webKitJavascriptResult
WebKitJavascriptResult* webKitJavascriptResult;

the main Gtk struct

Meta