Exemple #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
}
Exemple #2
0
func (*MockObject) Connect(v1 string, v2 interface{}, v3 ...interface{}) (glibi.SignalHandle, error) {
	return glibi.SignalHandle(0), nil
}
Exemple #3
0
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
}