File: mock_widget.go

package info (click to toggle)
golang-github-twstrike-gotk3adapter 0.0~git20170505.0.901a95d%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,232 kB
  • sloc: ruby: 478; makefile: 4
file content (76 lines) | stat: -rw-r--r-- 1,151 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package gtk_mock

import (
	"github.com/twstrike/gotk3adapter/gdki"
	"github.com/twstrike/gotk3adapter/glib_mock"
	"github.com/twstrike/gotk3adapter/gtki"
)

type MockWidget struct {
	glib_mock.MockObject
}

func (*MockWidget) SetHExpand(v1 bool) {
}

func (*MockWidget) SetSensitive(v1 bool) {
}

func (*MockWidget) SetVisible(v1 bool) {
}

func (*MockWidget) SetName(v1 string) {
}

func (*MockWidget) SetMarginTop(v1 int) {
}

func (*MockWidget) SetMarginBottom(v1 int) {
}

func (*MockWidget) SetSizeRequest(v1, v2 int) {
}

func (*MockWidget) GetAllocatedHeight() int {
	return 0
}

func (*MockWidget) GetAllocatedWidth() int {
	return 0
}

func (*MockWidget) GrabFocus() {
}

func (*MockWidget) GrabDefault() {
}

func (*MockWidget) HasFocus() bool {
	return false
}

func (*MockWidget) Hide() {
}

func (*MockWidget) HideOnDelete() {
}

func (*MockWidget) Show() {
}

func (*MockWidget) ShowAll() {
}

func (*MockWidget) GetWindow() (gdki.Window, error) {
	return nil, nil
}

func (*MockWidget) GetStyleContext() (gtki.StyleContext, error) {
	return nil, nil
}

func (*MockWidget) SetHAlign(v2 gtki.Align) {
}

func (*MockWidget) Destroy() {
}