示例#1
0
func (v *accountMockCheckMenuItem) Connect(p string, v1 interface{}, v2 ...interface{}) (glibi.SignalHandle, error) {
	if p == "activate" {
		v.onActivate = v1
	}

	return glibi.SignalHandle(0), nil
}
示例#2
0
文件: object.go 项目: twstrike/coyim
func (v *Object) ConnectAfter(v1 string, v2 interface{}, v3 ...interface{}) (glibi.SignalHandle, error) {
	nv2 := FixupFunction(v2)
	vx1, vx2 := v.Object.ConnectAfter(v1, nv2, FixupArray(v3)...)
	return glibi.SignalHandle(vx1), vx2
}
示例#3
0
func (*MockObject) Connect(v1 string, v2 interface{}, v3 ...interface{}) (glibi.SignalHandle, error) {
	return glibi.SignalHandle(0), nil
}