Documentation ¶
Index ¶
- type Mock
- func (m *Mock) EventButtonFrom(ev gdki.Event) gdki.EventButton
- func (m *Mock) EventKeyFrom(ev gdki.Event) gdki.EventKey
- func (m *Mock) NewRGBA(values ...float64) gdki.Rgba
- func (m *Mock) PixbufLoaderNew() (gdki.PixbufLoader, error)
- func (m *Mock) ScreenGetDefault() (gdki.Screen, error)
- func (m *Mock) WorkspaceControlSupported() bool
- type MockEvent
- type MockEventButton
- type MockEventKey
- type MockPixbuf
- type MockPixbufLoader
- type MockRectangle
- type MockRgba
- func (m *MockRgba) Colors() (r, g, b, a float64)
- func (m *MockRgba) GetAlpha() float64
- func (m *MockRgba) GetBlue() float64
- func (m *MockRgba) GetGreen() float64
- func (m *MockRgba) GetRed() float64
- func (m *MockRgba) Parse(spec string) bool
- func (m *MockRgba) SetAlpha(c float64)
- func (m *MockRgba) SetBlue(c float64)
- func (m *MockRgba) SetColors(r, g, b, a float64)
- func (m *MockRgba) SetGreen(c float64)
- func (m *MockRgba) SetRed(c float64)
- func (m *MockRgba) String() string
- type MockScreen
- type MockWindow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
func (*Mock) EventButtonFrom ¶
func (m *Mock) EventButtonFrom(ev gdki.Event) gdki.EventButton
func (*Mock) PixbufLoaderNew ¶
func (m *Mock) PixbufLoaderNew() (gdki.PixbufLoader, error)
func (*Mock) WorkspaceControlSupported ¶
type MockEventButton ¶
type MockEventButton struct {
MockEvent
}
func (*MockEventButton) Button ¶
func (m *MockEventButton) Button() uint
func (*MockEventButton) Time ¶
func (m *MockEventButton) Time() uint32
func (*MockEventButton) X ¶
func (m *MockEventButton) X() float64
func (*MockEventButton) Y ¶
func (m *MockEventButton) Y() float64
type MockEventKey ¶
type MockEventKey struct {
MockEvent
}
func (*MockEventKey) KeyVal ¶
func (m *MockEventKey) KeyVal() uint
func (*MockEventKey) State ¶
func (m *MockEventKey) State() uint
type MockPixbuf ¶
type MockPixbufLoader ¶
type MockPixbufLoader struct {
glib.MockObject
}
func (*MockPixbufLoader) Close ¶
func (m *MockPixbufLoader) Close() error
func (*MockPixbufLoader) SetSize ¶
func (m *MockPixbufLoader) SetSize(v1 int, v2 int)
type MockRectangle ¶
func (*MockRectangle) GetY ¶
func (m *MockRectangle) GetY() int
type MockScreen ¶
type MockWindow ¶
type MockWindow struct {
glib.MockObject
}
func (*MockWindow) GetDesktop ¶
func (m *MockWindow) GetDesktop() uint32
func (*MockWindow) MoveToDesktop ¶
func (m *MockWindow) MoveToDesktop(v1 uint32)
Click to show internal directories.
Click to hide internal directories.