Documentation
¶
Index ¶
- Constants
- func GetMajorVersion() uint32
- func GetMicroVersion() uint32
- func GetMinorVersion() uint32
- type CheckSyntaxMode
- type CheckSyntaxResult
- type Class
- type ClassClass
- type ClassVTable
- type Context
- func (recv *Context) CheckSyntax(code string, mode CheckSyntaxMode, uri string, lineNumber uint32) (CheckSyntaxResult, *Exception)
- func (recv *Context) ClearException()
- func (recv *Context) Equals(other *Context) bool
- func (recv *Context) Evaluate(code string) *Value
- func (recv *Context) EvaluateInObject(code string, objectInstance uintptr, objectClass *Class, uri string, ...) (*Value, *Value)
- func (recv *Context) EvaluateWithSourceUri(code string, uri string, lineNumber uint32) *Value
- func (recv *Context) GetException() *Exception
- func (recv *Context) GetGlobalObject() *Value
- func (recv *Context) GetValue(name string) *Value
- func (recv *Context) GetVirtualMachine() *VirtualMachine
- func (recv *Context) Object() *gobject.Object
- func (recv *Context) PopExceptionHandler()
- func (recv *Context) SetValue(name string, value *Value)
- func (recv *Context) Throw(errorMessage string)
- func (recv *Context) ThrowException(exception *Exception)
- func (recv *Context) ThrowPrintf(format string, args ...interface{})
- func (recv *Context) ThrowWithName(errorName string, errorMessage string)
- func (recv *Context) ThrowWithNamePrintf(errorName string, format string, args ...interface{})
- func (recv *Context) ToC() unsafe.Pointer
- type ContextClass
- type ContextPrivate
- type Exception
- func CastToException(object *gobject.Object) *Exception
- func ExceptionNew(context *Context, message string) *Exception
- func ExceptionNewFromC(u unsafe.Pointer) *Exception
- func ExceptionNewPrintf(context *Context, format string, args ...interface{}) *Exception
- func ExceptionNewWithName(context *Context, name string, message string) *Exception
- func ExceptionNewWithNamePrintf(context *Context, name string, format string, args ...interface{}) *Exception
- func (recv *Exception) Equals(other *Exception) bool
- func (recv *Exception) GetBacktraceString() string
- func (recv *Exception) GetColumnNumber() uint32
- func (recv *Exception) GetLineNumber() uint32
- func (recv *Exception) GetMessage() string
- func (recv *Exception) GetName() string
- func (recv *Exception) GetSourceUri() string
- func (recv *Exception) Object() *gobject.Object
- func (recv *Exception) Report() string
- func (recv *Exception) ToC() unsafe.Pointer
- func (recv *Exception) ToString() string
- type ExceptionClass
- type ExceptionPrivate
- type Value
- func CastToValue(object *gobject.Object) *Value
- func ValueNewArrayFromStrv(context *Context, strv []string) *Value
- func ValueNewBoolean(context *Context, value bool) *Value
- func ValueNewFromC(u unsafe.Pointer) *Value
- func ValueNewNull(context *Context) *Value
- func ValueNewNumber(context *Context, number float64) *Value
- func ValueNewObject(context *Context, instance uintptr, jscClass *Class) *Value
- func ValueNewString(context *Context, string_ string) *Value
- func ValueNewStringFromBytes(context *Context, bytes *glib.Bytes) *Value
- func ValueNewUndefined(context *Context) *Value
- func (recv *Value) Equals(other *Value) bool
- func (recv *Value) GetContext() *Context
- func (recv *Value) IsArray() bool
- func (recv *Value) IsBoolean() bool
- func (recv *Value) IsConstructor() bool
- func (recv *Value) IsFunction() bool
- func (recv *Value) IsNull() bool
- func (recv *Value) IsNumber() bool
- func (recv *Value) IsObject() bool
- func (recv *Value) IsString() bool
- func (recv *Value) IsUndefined() bool
- func (recv *Value) Object() *gobject.Object
- func (recv *Value) ObjectDefinePropertyData(propertyName string, flags ValuePropertyFlags, propertyValue *Value)
- func (recv *Value) ObjectDeleteProperty(name string) bool
- func (recv *Value) ObjectEnumerateProperties() []string
- func (recv *Value) ObjectGetProperty(name string) *Value
- func (recv *Value) ObjectGetPropertyAtIndex(index uint32) *Value
- func (recv *Value) ObjectHasProperty(name string) bool
- func (recv *Value) ObjectIsInstanceOf(name string) bool
- func (recv *Value) ObjectSetProperty(name string, property *Value)
- func (recv *Value) ObjectSetPropertyAtIndex(index uint32, property *Value)
- func (recv *Value) ToBoolean() bool
- func (recv *Value) ToC() unsafe.Pointer
- func (recv *Value) ToDouble() float64
- func (recv *Value) ToInt32() int32
- func (recv *Value) ToString() string
- func (recv *Value) ToStringAsBytes() *glib.Bytes
- type ValueClass
- type ValuePrivate
- type ValuePropertyFlags
- type VirtualMachine
- type VirtualMachineClass
- type VirtualMachinePrivate
- type WeakValue
- func (recv *WeakValue) ConnectCleared(callback WeakValueSignalClearedCallback) int
- func (recv *WeakValue) DisconnectCleared(connectionID int)
- func (recv *WeakValue) Equals(other *WeakValue) bool
- func (recv *WeakValue) GetValue() *Value
- func (recv *WeakValue) Object() *gobject.Object
- func (recv *WeakValue) ToC() unsafe.Pointer
- type WeakValueClass
- type WeakValuePrivate
- type WeakValueSignalClearedCallback
Constants ¶
const MAJOR_VERSION int32 = C.JSC_MAJOR_VERSION
const MICRO_VERSION int32 = C.JSC_MICRO_VERSION
const MINOR_VERSION int32 = C.JSC_MINOR_VERSION
Variables ¶
This section is empty.
Functions ¶
func GetMajorVersion ¶
func GetMajorVersion() uint32
GetMajorVersion is a wrapper around the C function jsc_get_major_version.
func GetMicroVersion ¶
func GetMicroVersion() uint32
GetMicroVersion is a wrapper around the C function jsc_get_micro_version.
func GetMinorVersion ¶
func GetMinorVersion() uint32
GetMinorVersion is a wrapper around the C function jsc_get_minor_version.
Types ¶
type CheckSyntaxMode ¶
type CheckSyntaxMode C.JSCCheckSyntaxMode
const ( CHECK_SYNTAX_MODE_SCRIPT CheckSyntaxMode = 0 CHECK_SYNTAX_MODE_MODULE CheckSyntaxMode = 1 )
type CheckSyntaxResult ¶
type CheckSyntaxResult C.JSCCheckSyntaxResult
const ( CHECK_SYNTAX_RESULT_SUCCESS CheckSyntaxResult = 0 CHECK_SYNTAX_RESULT_RECOVERABLE_ERROR CheckSyntaxResult = 1 CHECK_SYNTAX_RESULT_IRRECOVERABLE_ERROR CheckSyntaxResult = 2 CHECK_SYNTAX_RESULT_UNTERMINATED_LITERAL_ERROR CheckSyntaxResult = 3 CHECK_SYNTAX_RESULT_OUT_OF_MEMORY_ERROR CheckSyntaxResult = 4 CHECK_SYNTAX_RESULT_STACK_OVERFLOW_ERROR CheckSyntaxResult = 5 )
type Class ¶
type Class struct {
// contains filtered or unexported fields
}
Class is a wrapper around the C record JSCClass.
func CastToClass ¶
CastToWidget down casts any arbitrary Object to Class. Exercise care, as this is a potentially dangerous function if the Object is not a Class.
func ClassNewFromC ¶
func (*Class) Equals ¶
Equals compares this Class with another Class, and returns true if they represent the same GObject.
type ClassClass ¶
type ClassClass struct {
// contains filtered or unexported fields
}
ClassClass is a wrapper around the C record JSCClassClass.
func ClassClassNewFromC ¶
func ClassClassNewFromC(u unsafe.Pointer) *ClassClass
func (*ClassClass) Equals ¶
func (recv *ClassClass) Equals(other *ClassClass) bool
Equals compares this ClassClass with another ClassClass, and returns true if they represent the same GObject.
func (*ClassClass) ToC ¶
func (recv *ClassClass) ToC() unsafe.Pointer
type ClassVTable ¶
type ClassVTable struct {
// contains filtered or unexported fields
}
ClassVTable is a wrapper around the C record JSCClassVTable.
func ClassVTableNewFromC ¶
func ClassVTableNewFromC(u unsafe.Pointer) *ClassVTable
func (*ClassVTable) Equals ¶
func (recv *ClassVTable) Equals(other *ClassVTable) bool
Equals compares this ClassVTable with another ClassVTable, and returns true if they represent the same GObject.
func (*ClassVTable) ToC ¶
func (recv *ClassVTable) ToC() unsafe.Pointer
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context is a wrapper around the C record JSCContext.
func CastToContext ¶
CastToWidget down casts any arbitrary Object to Context. Exercise care, as this is a potentially dangerous function if the Object is not a Context.
func ContextGetCurrent ¶
func ContextGetCurrent() *Context
ContextGetCurrent is a wrapper around the C function jsc_context_get_current.
func ContextNew ¶
func ContextNew() *Context
ContextNew is a wrapper around the C function jsc_context_new.
func ContextNewFromC ¶
func ContextNewWithVirtualMachine ¶
func ContextNewWithVirtualMachine(vm *VirtualMachine) *Context
ContextNewWithVirtualMachine is a wrapper around the C function jsc_context_new_with_virtual_machine.
func (*Context) CheckSyntax ¶
func (recv *Context) CheckSyntax(code string, mode CheckSyntaxMode, uri string, lineNumber uint32) (CheckSyntaxResult, *Exception)
CheckSyntax is a wrapper around the C function jsc_context_check_syntax.
func (*Context) ClearException ¶
func (recv *Context) ClearException()
ClearException is a wrapper around the C function jsc_context_clear_exception.
func (*Context) Equals ¶
Equals compares this Context with another Context, and returns true if they represent the same GObject.
func (*Context) EvaluateInObject ¶
func (recv *Context) EvaluateInObject(code string, objectInstance uintptr, objectClass *Class, uri string, lineNumber uint32) (*Value, *Value)
EvaluateInObject is a wrapper around the C function jsc_context_evaluate_in_object.
func (*Context) EvaluateWithSourceUri ¶
EvaluateWithSourceUri is a wrapper around the C function jsc_context_evaluate_with_source_uri.
func (*Context) GetException ¶
GetException is a wrapper around the C function jsc_context_get_exception.
func (*Context) GetGlobalObject ¶
GetGlobalObject is a wrapper around the C function jsc_context_get_global_object.
func (*Context) GetVirtualMachine ¶
func (recv *Context) GetVirtualMachine() *VirtualMachine
GetVirtualMachine is a wrapper around the C function jsc_context_get_virtual_machine.
func (*Context) PopExceptionHandler ¶
func (recv *Context) PopExceptionHandler()
PopExceptionHandler is a wrapper around the C function jsc_context_pop_exception_handler.
func (*Context) ThrowException ¶
ThrowException is a wrapper around the C function jsc_context_throw_exception.
func (*Context) ThrowPrintf ¶
ThrowPrintf is a wrapper around the C function jsc_context_throw_printf.
func (*Context) ThrowWithName ¶
ThrowWithName is a wrapper around the C function jsc_context_throw_with_name.
func (*Context) ThrowWithNamePrintf ¶
ThrowWithNamePrintf is a wrapper around the C function jsc_context_throw_with_name_printf.
type ContextClass ¶
type ContextClass struct {
// contains filtered or unexported fields
}
ContextClass is a wrapper around the C record JSCContextClass.
func ContextClassNewFromC ¶
func ContextClassNewFromC(u unsafe.Pointer) *ContextClass
func (*ContextClass) Equals ¶
func (recv *ContextClass) Equals(other *ContextClass) bool
Equals compares this ContextClass with another ContextClass, and returns true if they represent the same GObject.
func (*ContextClass) ToC ¶
func (recv *ContextClass) ToC() unsafe.Pointer
type ContextPrivate ¶
type ContextPrivate struct {
// contains filtered or unexported fields
}
ContextPrivate is a wrapper around the C record JSCContextPrivate.
func ContextPrivateNewFromC ¶
func ContextPrivateNewFromC(u unsafe.Pointer) *ContextPrivate
func (*ContextPrivate) Equals ¶
func (recv *ContextPrivate) Equals(other *ContextPrivate) bool
Equals compares this ContextPrivate with another ContextPrivate, and returns true if they represent the same GObject.
func (*ContextPrivate) ToC ¶
func (recv *ContextPrivate) ToC() unsafe.Pointer
type Exception ¶
type Exception struct {
// contains filtered or unexported fields
}
Exception is a wrapper around the C record JSCException.
func CastToException ¶
CastToWidget down casts any arbitrary Object to Exception. Exercise care, as this is a potentially dangerous function if the Object is not a Exception.
func ExceptionNew ¶
ExceptionNew is a wrapper around the C function jsc_exception_new.
func ExceptionNewFromC ¶
func ExceptionNewPrintf ¶
ExceptionNewPrintf is a wrapper around the C function jsc_exception_new_printf.
func ExceptionNewWithName ¶
ExceptionNewWithName is a wrapper around the C function jsc_exception_new_with_name.
func ExceptionNewWithNamePrintf ¶
func ExceptionNewWithNamePrintf(context *Context, name string, format string, args ...interface{}) *Exception
ExceptionNewWithNamePrintf is a wrapper around the C function jsc_exception_new_with_name_printf.
func (*Exception) Equals ¶
Equals compares this Exception with another Exception, and returns true if they represent the same GObject.
func (*Exception) GetBacktraceString ¶
GetBacktraceString is a wrapper around the C function jsc_exception_get_backtrace_string.
func (*Exception) GetColumnNumber ¶
GetColumnNumber is a wrapper around the C function jsc_exception_get_column_number.
func (*Exception) GetLineNumber ¶
GetLineNumber is a wrapper around the C function jsc_exception_get_line_number.
func (*Exception) GetMessage ¶
GetMessage is a wrapper around the C function jsc_exception_get_message.
func (*Exception) GetSourceUri ¶
GetSourceUri is a wrapper around the C function jsc_exception_get_source_uri.
type ExceptionClass ¶
type ExceptionClass struct {
// contains filtered or unexported fields
}
ExceptionClass is a wrapper around the C record JSCExceptionClass.
func ExceptionClassNewFromC ¶
func ExceptionClassNewFromC(u unsafe.Pointer) *ExceptionClass
func (*ExceptionClass) Equals ¶
func (recv *ExceptionClass) Equals(other *ExceptionClass) bool
Equals compares this ExceptionClass with another ExceptionClass, and returns true if they represent the same GObject.
func (*ExceptionClass) ToC ¶
func (recv *ExceptionClass) ToC() unsafe.Pointer
type ExceptionPrivate ¶
type ExceptionPrivate struct {
// contains filtered or unexported fields
}
ExceptionPrivate is a wrapper around the C record JSCExceptionPrivate.
func ExceptionPrivateNewFromC ¶
func ExceptionPrivateNewFromC(u unsafe.Pointer) *ExceptionPrivate
func (*ExceptionPrivate) Equals ¶
func (recv *ExceptionPrivate) Equals(other *ExceptionPrivate) bool
Equals compares this ExceptionPrivate with another ExceptionPrivate, and returns true if they represent the same GObject.
func (*ExceptionPrivate) ToC ¶
func (recv *ExceptionPrivate) ToC() unsafe.Pointer
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value is a wrapper around the C record JSCValue.
func CastToValue ¶
CastToWidget down casts any arbitrary Object to Value. Exercise care, as this is a potentially dangerous function if the Object is not a Value.
func ValueNewArrayFromStrv ¶
ValueNewArrayFromStrv is a wrapper around the C function jsc_value_new_array_from_strv.
func ValueNewBoolean ¶
ValueNewBoolean is a wrapper around the C function jsc_value_new_boolean.
func ValueNewFromC ¶
func ValueNewNull ¶
ValueNewNull is a wrapper around the C function jsc_value_new_null.
func ValueNewNumber ¶
ValueNewNumber is a wrapper around the C function jsc_value_new_number.
func ValueNewObject ¶
ValueNewObject is a wrapper around the C function jsc_value_new_object.
func ValueNewString ¶
ValueNewString is a wrapper around the C function jsc_value_new_string.
func ValueNewStringFromBytes ¶
ValueNewStringFromBytes is a wrapper around the C function jsc_value_new_string_from_bytes.
func ValueNewUndefined ¶
ValueNewUndefined is a wrapper around the C function jsc_value_new_undefined.
func (*Value) Equals ¶
Equals compares this Value with another Value, and returns true if they represent the same GObject.
func (*Value) GetContext ¶
GetContext is a wrapper around the C function jsc_value_get_context.
func (*Value) IsConstructor ¶
IsConstructor is a wrapper around the C function jsc_value_is_constructor.
func (*Value) IsFunction ¶
IsFunction is a wrapper around the C function jsc_value_is_function.
func (*Value) IsUndefined ¶
IsUndefined is a wrapper around the C function jsc_value_is_undefined.
func (*Value) ObjectDefinePropertyData ¶
func (recv *Value) ObjectDefinePropertyData(propertyName string, flags ValuePropertyFlags, propertyValue *Value)
ObjectDefinePropertyData is a wrapper around the C function jsc_value_object_define_property_data.
func (*Value) ObjectDeleteProperty ¶
ObjectDeleteProperty is a wrapper around the C function jsc_value_object_delete_property.
func (*Value) ObjectEnumerateProperties ¶
ObjectEnumerateProperties is a wrapper around the C function jsc_value_object_enumerate_properties.
func (*Value) ObjectGetProperty ¶
ObjectGetProperty is a wrapper around the C function jsc_value_object_get_property.
func (*Value) ObjectGetPropertyAtIndex ¶
ObjectGetPropertyAtIndex is a wrapper around the C function jsc_value_object_get_property_at_index.
func (*Value) ObjectHasProperty ¶
ObjectHasProperty is a wrapper around the C function jsc_value_object_has_property.
func (*Value) ObjectIsInstanceOf ¶
ObjectIsInstanceOf is a wrapper around the C function jsc_value_object_is_instance_of.
func (*Value) ObjectSetProperty ¶
ObjectSetProperty is a wrapper around the C function jsc_value_object_set_property.
func (*Value) ObjectSetPropertyAtIndex ¶
ObjectSetPropertyAtIndex is a wrapper around the C function jsc_value_object_set_property_at_index.
func (*Value) ToStringAsBytes ¶
ToStringAsBytes is a wrapper around the C function jsc_value_to_string_as_bytes.
type ValueClass ¶
type ValueClass struct {
// contains filtered or unexported fields
}
ValueClass is a wrapper around the C record JSCValueClass.
func ValueClassNewFromC ¶
func ValueClassNewFromC(u unsafe.Pointer) *ValueClass
func (*ValueClass) Equals ¶
func (recv *ValueClass) Equals(other *ValueClass) bool
Equals compares this ValueClass with another ValueClass, and returns true if they represent the same GObject.
func (*ValueClass) ToC ¶
func (recv *ValueClass) ToC() unsafe.Pointer
type ValuePrivate ¶
type ValuePrivate struct {
// contains filtered or unexported fields
}
ValuePrivate is a wrapper around the C record JSCValuePrivate.
func ValuePrivateNewFromC ¶
func ValuePrivateNewFromC(u unsafe.Pointer) *ValuePrivate
func (*ValuePrivate) Equals ¶
func (recv *ValuePrivate) Equals(other *ValuePrivate) bool
Equals compares this ValuePrivate with another ValuePrivate, and returns true if they represent the same GObject.
func (*ValuePrivate) ToC ¶
func (recv *ValuePrivate) ToC() unsafe.Pointer
type ValuePropertyFlags ¶
type ValuePropertyFlags C.JSCValuePropertyFlags
const ( VALUE_PROPERTY_CONFIGURABLE ValuePropertyFlags = 1 VALUE_PROPERTY_ENUMERABLE ValuePropertyFlags = 2 VALUE_PROPERTY_WRITABLE ValuePropertyFlags = 4 )
type VirtualMachine ¶
type VirtualMachine struct {
// contains filtered or unexported fields
}
VirtualMachine is a wrapper around the C record JSCVirtualMachine.
func CastToVirtualMachine ¶
func CastToVirtualMachine(object *gobject.Object) *VirtualMachine
CastToWidget down casts any arbitrary Object to VirtualMachine. Exercise care, as this is a potentially dangerous function if the Object is not a VirtualMachine.
func VirtualMachineNew ¶
func VirtualMachineNew() *VirtualMachine
VirtualMachineNew is a wrapper around the C function jsc_virtual_machine_new.
func VirtualMachineNewFromC ¶
func VirtualMachineNewFromC(u unsafe.Pointer) *VirtualMachine
func (*VirtualMachine) Equals ¶
func (recv *VirtualMachine) Equals(other *VirtualMachine) bool
Equals compares this VirtualMachine with another VirtualMachine, and returns true if they represent the same GObject.
func (*VirtualMachine) Object ¶
func (recv *VirtualMachine) Object() *gobject.Object
Object upcasts to *Object
func (*VirtualMachine) ToC ¶
func (recv *VirtualMachine) ToC() unsafe.Pointer
type VirtualMachineClass ¶
type VirtualMachineClass struct {
// contains filtered or unexported fields
}
VirtualMachineClass is a wrapper around the C record JSCVirtualMachineClass.
func VirtualMachineClassNewFromC ¶
func VirtualMachineClassNewFromC(u unsafe.Pointer) *VirtualMachineClass
func (*VirtualMachineClass) Equals ¶
func (recv *VirtualMachineClass) Equals(other *VirtualMachineClass) bool
Equals compares this VirtualMachineClass with another VirtualMachineClass, and returns true if they represent the same GObject.
func (*VirtualMachineClass) ToC ¶
func (recv *VirtualMachineClass) ToC() unsafe.Pointer
type VirtualMachinePrivate ¶
type VirtualMachinePrivate struct {
// contains filtered or unexported fields
}
VirtualMachinePrivate is a wrapper around the C record JSCVirtualMachinePrivate.
func VirtualMachinePrivateNewFromC ¶
func VirtualMachinePrivateNewFromC(u unsafe.Pointer) *VirtualMachinePrivate
func (*VirtualMachinePrivate) Equals ¶
func (recv *VirtualMachinePrivate) Equals(other *VirtualMachinePrivate) bool
Equals compares this VirtualMachinePrivate with another VirtualMachinePrivate, and returns true if they represent the same GObject.
func (*VirtualMachinePrivate) ToC ¶
func (recv *VirtualMachinePrivate) ToC() unsafe.Pointer
type WeakValue ¶
type WeakValue struct {
// contains filtered or unexported fields
}
WeakValue is a wrapper around the C record JSCWeakValue.
func CastToWeakValue ¶
CastToWidget down casts any arbitrary Object to WeakValue. Exercise care, as this is a potentially dangerous function if the Object is not a WeakValue.
func WeakValueNew ¶
WeakValueNew is a wrapper around the C function jsc_weak_value_new.
func WeakValueNewFromC ¶
func (*WeakValue) ConnectCleared ¶
func (recv *WeakValue) ConnectCleared(callback WeakValueSignalClearedCallback) int
ConnectCleared connects the callback to the 'cleared' signal for the WeakValue.
The returned value represents the connection, and may be passed to DisconnectCleared to remove it.
func (*WeakValue) DisconnectCleared ¶
DisconnectCleared disconnects a callback from the 'cleared' signal for the WeakValue.
The connectionID should be a value returned from a call to ConnectCleared.
func (*WeakValue) Equals ¶
Equals compares this WeakValue with another WeakValue, and returns true if they represent the same GObject.
type WeakValueClass ¶
type WeakValueClass struct {
// contains filtered or unexported fields
}
WeakValueClass is a wrapper around the C record JSCWeakValueClass.
func WeakValueClassNewFromC ¶
func WeakValueClassNewFromC(u unsafe.Pointer) *WeakValueClass
func (*WeakValueClass) Equals ¶
func (recv *WeakValueClass) Equals(other *WeakValueClass) bool
Equals compares this WeakValueClass with another WeakValueClass, and returns true if they represent the same GObject.
func (*WeakValueClass) ToC ¶
func (recv *WeakValueClass) ToC() unsafe.Pointer
type WeakValuePrivate ¶
type WeakValuePrivate struct {
// contains filtered or unexported fields
}
WeakValuePrivate is a wrapper around the C record JSCWeakValuePrivate.
func WeakValuePrivateNewFromC ¶
func WeakValuePrivateNewFromC(u unsafe.Pointer) *WeakValuePrivate
func (*WeakValuePrivate) Equals ¶
func (recv *WeakValuePrivate) Equals(other *WeakValuePrivate) bool
Equals compares this WeakValuePrivate with another WeakValuePrivate, and returns true if they represent the same GObject.
func (*WeakValuePrivate) ToC ¶
func (recv *WeakValuePrivate) ToC() unsafe.Pointer
type WeakValueSignalClearedCallback ¶
type WeakValueSignalClearedCallback func(targetObject *WeakValue)
WeakValueSignalClearedCallback is a callback function for a 'cleared' signal emitted from a WeakValue.