qtqt

package
v0.0.0-...-1f663c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2020 License: LGPL-3.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Logger = log.New(os.Stderr, "", log.Ltime)
)

Functions

func ClearSignals

func ClearSignals()

func ConnectSignal

func ConnectSignal(cPtr interface{}, signal string, function interface{})

func CountSignals

func CountSignals() (c int)

func CountSignalsByObj

func CountSignalsByObj(cPtr unsafe.Pointer) (c int)

func Debug

func Debug(fn ...interface{})

func DisconnectAllSignals

func DisconnectAllSignals(cPtr unsafe.Pointer, signal string)

func DisconnectObject

func DisconnectObject(cPtr unsafe.Pointer)

func DisconnectSignal

func DisconnectSignal(cPtr interface{}, signal string)

func DumpSignals

func DumpSignals()

func DumpSignalsByObj

func DumpSignalsByObj(cPtr unsafe.Pointer)

func ExistsSignal

func ExistsSignal(cPtr unsafe.Pointer, signal string) (exists bool)

func GetActiveSignals

func GetActiveSignals(cPtr unsafe.Pointer) (names []string)

get connected signals

func GetSignal

func GetSignal(cPtr interface{}, signal string) interface{}

func GoBoolToInt

func GoBoolToInt(b bool) int

func LendSignal

func LendSignal(cPtr unsafe.Pointer, signal string) (s interface{})

func Receive

func Receive(cPtr unsafe.Pointer) (o interface{}, ok bool)

func ReceiveTemp

func ReceiveTemp(cPtr unsafe.Pointer) (o interface{}, ok bool)

func Recover

func Recover(fn string)

func Register

func Register(cPtr unsafe.Pointer, gPtr interface{})

func RegisterTemp

func RegisterTemp(cPtr unsafe.Pointer, gPtr interface{})

func Unregister

func Unregister(cPtr unsafe.Pointer)

func UnregisterTemp

func UnregisterTemp(cPtr unsafe.Pointer)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL