mocks

package
v0.27.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBoxWidget

type MockBoxWidget struct {
	mock.Mock
}

MockBoxWidget is an autogenerated mock type for the BoxWidget type

func NewMockBoxWidget

func NewMockBoxWidget(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockBoxWidget

NewMockBoxWidget creates a new instance of MockBoxWidget. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockBoxWidget) AddController

func (_mock *MockBoxWidget) AddController(controller *gtk.EventController)

AddController provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) AddCssClass

func (_mock *MockBoxWidget) AddCssClass(cssClass string)

AddCssClass provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) Append

func (_mock *MockBoxWidget) Append(child layout.Widget)

Append provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) ComputePoint

func (_mock *MockBoxWidget) ComputePoint(target layout.Widget) (float64, float64, bool)

ComputePoint provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) EXPECT

func (_m *MockBoxWidget) EXPECT() *MockBoxWidget_Expecter

func (*MockBoxWidget) GetAllocatedHeight

func (_mock *MockBoxWidget) GetAllocatedHeight() int

GetAllocatedHeight provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) GetAllocatedWidth

func (_mock *MockBoxWidget) GetAllocatedWidth() int

GetAllocatedWidth provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) GetHexpand

func (_mock *MockBoxWidget) GetHexpand() bool

GetHexpand provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) GetHomogeneous

func (_mock *MockBoxWidget) GetHomogeneous() bool

GetHomogeneous provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) GetOrientation

func (_mock *MockBoxWidget) GetOrientation() layout.Orientation

GetOrientation provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) GetParent

func (_mock *MockBoxWidget) GetParent() layout.Widget

GetParent provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) GetSpacing

func (_mock *MockBoxWidget) GetSpacing() int

GetSpacing provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) GetVexpand

func (_mock *MockBoxWidget) GetVexpand() bool

GetVexpand provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) GrabFocus

func (_mock *MockBoxWidget) GrabFocus() bool

GrabFocus provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) GtkWidget

func (_mock *MockBoxWidget) GtkWidget() *gtk.Widget

GtkWidget provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) HasCssClass

func (_mock *MockBoxWidget) HasCssClass(cssClass string) bool

HasCssClass provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) HasFocus

func (_mock *MockBoxWidget) HasFocus() bool

HasFocus provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) Hide

func (_mock *MockBoxWidget) Hide()

Hide provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) InsertChildAfter

func (_mock *MockBoxWidget) InsertChildAfter(child layout.Widget, sibling layout.Widget)

InsertChildAfter provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) IsVisible

func (_mock *MockBoxWidget) IsVisible() bool

IsVisible provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) Prepend

func (_mock *MockBoxWidget) Prepend(child layout.Widget)

Prepend provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) Remove

func (_mock *MockBoxWidget) Remove(child layout.Widget)

Remove provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) RemoveCssClass

func (_mock *MockBoxWidget) RemoveCssClass(cssClass string)

RemoveCssClass provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) ReorderChildAfter

func (_mock *MockBoxWidget) ReorderChildAfter(child layout.Widget, sibling layout.Widget)

ReorderChildAfter provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetCanFocus

func (_mock *MockBoxWidget) SetCanFocus(canFocus bool)

SetCanFocus provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetCanTarget

func (_mock *MockBoxWidget) SetCanTarget(canTarget bool)

SetCanTarget provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetFocusOnClick

func (_mock *MockBoxWidget) SetFocusOnClick(focusOnClick bool)

SetFocusOnClick provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetFocusable added in v0.23.0

func (_mock *MockBoxWidget) SetFocusable(focusable bool)

SetFocusable provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetHalign

func (_mock *MockBoxWidget) SetHalign(align gtk.Align)

SetHalign provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetHexpand

func (_mock *MockBoxWidget) SetHexpand(expand bool)

SetHexpand provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetHomogeneous

func (_mock *MockBoxWidget) SetHomogeneous(homogeneous bool)

SetHomogeneous provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetOpacity added in v0.27.0

func (_mock *MockBoxWidget) SetOpacity(opacity float64)

SetOpacity provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetOrientation

func (_mock *MockBoxWidget) SetOrientation(orientation layout.Orientation)

SetOrientation provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetSizeRequest

func (_mock *MockBoxWidget) SetSizeRequest(width int, height int)

SetSizeRequest provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetSpacing

func (_mock *MockBoxWidget) SetSpacing(spacing int)

SetSpacing provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetValign

func (_mock *MockBoxWidget) SetValign(align gtk.Align)

SetValign provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetVexpand

func (_mock *MockBoxWidget) SetVexpand(expand bool)

SetVexpand provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) SetVisible

func (_mock *MockBoxWidget) SetVisible(visible bool)

SetVisible provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) Show

func (_mock *MockBoxWidget) Show()

Show provides a mock function for the type MockBoxWidget

func (*MockBoxWidget) Unparent

func (_mock *MockBoxWidget) Unparent()

Unparent provides a mock function for the type MockBoxWidget

type MockBoxWidget_AddController_Call

type MockBoxWidget_AddController_Call struct {
	*mock.Call
}

MockBoxWidget_AddController_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddController'

func (*MockBoxWidget_AddController_Call) Return

func (*MockBoxWidget_AddController_Call) Run

func (*MockBoxWidget_AddController_Call) RunAndReturn

type MockBoxWidget_AddCssClass_Call

type MockBoxWidget_AddCssClass_Call struct {
	*mock.Call
}

MockBoxWidget_AddCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCssClass'

func (*MockBoxWidget_AddCssClass_Call) Return

func (*MockBoxWidget_AddCssClass_Call) Run

func (*MockBoxWidget_AddCssClass_Call) RunAndReturn

func (_c *MockBoxWidget_AddCssClass_Call) RunAndReturn(run func(cssClass string)) *MockBoxWidget_AddCssClass_Call

type MockBoxWidget_Append_Call

type MockBoxWidget_Append_Call struct {
	*mock.Call
}

MockBoxWidget_Append_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Append'

func (*MockBoxWidget_Append_Call) Return

func (*MockBoxWidget_Append_Call) Run

func (*MockBoxWidget_Append_Call) RunAndReturn

func (_c *MockBoxWidget_Append_Call) RunAndReturn(run func(child layout.Widget)) *MockBoxWidget_Append_Call

type MockBoxWidget_ComputePoint_Call

type MockBoxWidget_ComputePoint_Call struct {
	*mock.Call
}

MockBoxWidget_ComputePoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputePoint'

func (*MockBoxWidget_ComputePoint_Call) Return

func (*MockBoxWidget_ComputePoint_Call) Run

func (*MockBoxWidget_ComputePoint_Call) RunAndReturn

type MockBoxWidget_Expecter

type MockBoxWidget_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockBoxWidget_Expecter) AddController

func (_e *MockBoxWidget_Expecter) AddController(controller interface{}) *MockBoxWidget_AddController_Call

AddController is a helper method to define mock.On call

  • controller *gtk.EventController

func (*MockBoxWidget_Expecter) AddCssClass

func (_e *MockBoxWidget_Expecter) AddCssClass(cssClass interface{}) *MockBoxWidget_AddCssClass_Call

AddCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockBoxWidget_Expecter) Append

func (_e *MockBoxWidget_Expecter) Append(child interface{}) *MockBoxWidget_Append_Call

Append is a helper method to define mock.On call

  • child layout.Widget

func (*MockBoxWidget_Expecter) ComputePoint

func (_e *MockBoxWidget_Expecter) ComputePoint(target interface{}) *MockBoxWidget_ComputePoint_Call

ComputePoint is a helper method to define mock.On call

  • target layout.Widget

func (*MockBoxWidget_Expecter) GetAllocatedHeight

GetAllocatedHeight is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) GetAllocatedWidth

GetAllocatedWidth is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) GetHexpand

GetHexpand is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) GetHomogeneous

GetHomogeneous is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) GetOrientation

GetOrientation is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) GetParent

GetParent is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) GetSpacing

GetSpacing is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) GetVexpand

GetVexpand is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) GrabFocus

GrabFocus is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) GtkWidget

GtkWidget is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) HasCssClass

func (_e *MockBoxWidget_Expecter) HasCssClass(cssClass interface{}) *MockBoxWidget_HasCssClass_Call

HasCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockBoxWidget_Expecter) HasFocus

HasFocus is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) Hide

Hide is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) InsertChildAfter

func (_e *MockBoxWidget_Expecter) InsertChildAfter(child interface{}, sibling interface{}) *MockBoxWidget_InsertChildAfter_Call

InsertChildAfter is a helper method to define mock.On call

  • child layout.Widget
  • sibling layout.Widget

func (*MockBoxWidget_Expecter) IsVisible

IsVisible is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) Prepend

func (_e *MockBoxWidget_Expecter) Prepend(child interface{}) *MockBoxWidget_Prepend_Call

Prepend is a helper method to define mock.On call

  • child layout.Widget

func (*MockBoxWidget_Expecter) Remove

func (_e *MockBoxWidget_Expecter) Remove(child interface{}) *MockBoxWidget_Remove_Call

Remove is a helper method to define mock.On call

  • child layout.Widget

func (*MockBoxWidget_Expecter) RemoveCssClass

func (_e *MockBoxWidget_Expecter) RemoveCssClass(cssClass interface{}) *MockBoxWidget_RemoveCssClass_Call

RemoveCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockBoxWidget_Expecter) ReorderChildAfter

func (_e *MockBoxWidget_Expecter) ReorderChildAfter(child interface{}, sibling interface{}) *MockBoxWidget_ReorderChildAfter_Call

ReorderChildAfter is a helper method to define mock.On call

  • child layout.Widget
  • sibling layout.Widget

func (*MockBoxWidget_Expecter) SetCanFocus

func (_e *MockBoxWidget_Expecter) SetCanFocus(canFocus interface{}) *MockBoxWidget_SetCanFocus_Call

SetCanFocus is a helper method to define mock.On call

  • canFocus bool

func (*MockBoxWidget_Expecter) SetCanTarget

func (_e *MockBoxWidget_Expecter) SetCanTarget(canTarget interface{}) *MockBoxWidget_SetCanTarget_Call

SetCanTarget is a helper method to define mock.On call

  • canTarget bool

func (*MockBoxWidget_Expecter) SetFocusOnClick

func (_e *MockBoxWidget_Expecter) SetFocusOnClick(focusOnClick interface{}) *MockBoxWidget_SetFocusOnClick_Call

SetFocusOnClick is a helper method to define mock.On call

  • focusOnClick bool

func (*MockBoxWidget_Expecter) SetFocusable added in v0.23.0

func (_e *MockBoxWidget_Expecter) SetFocusable(focusable interface{}) *MockBoxWidget_SetFocusable_Call

SetFocusable is a helper method to define mock.On call

  • focusable bool

func (*MockBoxWidget_Expecter) SetHalign

func (_e *MockBoxWidget_Expecter) SetHalign(align interface{}) *MockBoxWidget_SetHalign_Call

SetHalign is a helper method to define mock.On call

  • align gtk.Align

func (*MockBoxWidget_Expecter) SetHexpand

func (_e *MockBoxWidget_Expecter) SetHexpand(expand interface{}) *MockBoxWidget_SetHexpand_Call

SetHexpand is a helper method to define mock.On call

  • expand bool

func (*MockBoxWidget_Expecter) SetHomogeneous

func (_e *MockBoxWidget_Expecter) SetHomogeneous(homogeneous interface{}) *MockBoxWidget_SetHomogeneous_Call

SetHomogeneous is a helper method to define mock.On call

  • homogeneous bool

func (*MockBoxWidget_Expecter) SetOpacity added in v0.27.0

func (_e *MockBoxWidget_Expecter) SetOpacity(opacity interface{}) *MockBoxWidget_SetOpacity_Call

SetOpacity is a helper method to define mock.On call

  • opacity float64

func (*MockBoxWidget_Expecter) SetOrientation

func (_e *MockBoxWidget_Expecter) SetOrientation(orientation interface{}) *MockBoxWidget_SetOrientation_Call

SetOrientation is a helper method to define mock.On call

  • orientation layout.Orientation

func (*MockBoxWidget_Expecter) SetSizeRequest

func (_e *MockBoxWidget_Expecter) SetSizeRequest(width interface{}, height interface{}) *MockBoxWidget_SetSizeRequest_Call

SetSizeRequest is a helper method to define mock.On call

  • width int
  • height int

func (*MockBoxWidget_Expecter) SetSpacing

func (_e *MockBoxWidget_Expecter) SetSpacing(spacing interface{}) *MockBoxWidget_SetSpacing_Call

SetSpacing is a helper method to define mock.On call

  • spacing int

func (*MockBoxWidget_Expecter) SetValign

func (_e *MockBoxWidget_Expecter) SetValign(align interface{}) *MockBoxWidget_SetValign_Call

SetValign is a helper method to define mock.On call

  • align gtk.Align

func (*MockBoxWidget_Expecter) SetVexpand

func (_e *MockBoxWidget_Expecter) SetVexpand(expand interface{}) *MockBoxWidget_SetVexpand_Call

SetVexpand is a helper method to define mock.On call

  • expand bool

func (*MockBoxWidget_Expecter) SetVisible

func (_e *MockBoxWidget_Expecter) SetVisible(visible interface{}) *MockBoxWidget_SetVisible_Call

SetVisible is a helper method to define mock.On call

  • visible bool

func (*MockBoxWidget_Expecter) Show

Show is a helper method to define mock.On call

func (*MockBoxWidget_Expecter) Unparent

Unparent is a helper method to define mock.On call

type MockBoxWidget_GetAllocatedHeight_Call

type MockBoxWidget_GetAllocatedHeight_Call struct {
	*mock.Call
}

MockBoxWidget_GetAllocatedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedHeight'

func (*MockBoxWidget_GetAllocatedHeight_Call) Return

func (*MockBoxWidget_GetAllocatedHeight_Call) Run

func (*MockBoxWidget_GetAllocatedHeight_Call) RunAndReturn

type MockBoxWidget_GetAllocatedWidth_Call

type MockBoxWidget_GetAllocatedWidth_Call struct {
	*mock.Call
}

MockBoxWidget_GetAllocatedWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedWidth'

func (*MockBoxWidget_GetAllocatedWidth_Call) Return

func (*MockBoxWidget_GetAllocatedWidth_Call) Run

func (*MockBoxWidget_GetAllocatedWidth_Call) RunAndReturn

type MockBoxWidget_GetHexpand_Call

type MockBoxWidget_GetHexpand_Call struct {
	*mock.Call
}

MockBoxWidget_GetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHexpand'

func (*MockBoxWidget_GetHexpand_Call) Return

func (*MockBoxWidget_GetHexpand_Call) Run

func (*MockBoxWidget_GetHexpand_Call) RunAndReturn

type MockBoxWidget_GetHomogeneous_Call

type MockBoxWidget_GetHomogeneous_Call struct {
	*mock.Call
}

MockBoxWidget_GetHomogeneous_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHomogeneous'

func (*MockBoxWidget_GetHomogeneous_Call) Return

func (*MockBoxWidget_GetHomogeneous_Call) Run

func (*MockBoxWidget_GetHomogeneous_Call) RunAndReturn

type MockBoxWidget_GetOrientation_Call

type MockBoxWidget_GetOrientation_Call struct {
	*mock.Call
}

MockBoxWidget_GetOrientation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOrientation'

func (*MockBoxWidget_GetOrientation_Call) Return

func (*MockBoxWidget_GetOrientation_Call) Run

func (*MockBoxWidget_GetOrientation_Call) RunAndReturn

type MockBoxWidget_GetParent_Call

type MockBoxWidget_GetParent_Call struct {
	*mock.Call
}

MockBoxWidget_GetParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParent'

func (*MockBoxWidget_GetParent_Call) Return

func (*MockBoxWidget_GetParent_Call) Run

func (*MockBoxWidget_GetParent_Call) RunAndReturn

type MockBoxWidget_GetSpacing_Call

type MockBoxWidget_GetSpacing_Call struct {
	*mock.Call
}

MockBoxWidget_GetSpacing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSpacing'

func (*MockBoxWidget_GetSpacing_Call) Return

func (*MockBoxWidget_GetSpacing_Call) Run

func (*MockBoxWidget_GetSpacing_Call) RunAndReturn

func (_c *MockBoxWidget_GetSpacing_Call) RunAndReturn(run func() int) *MockBoxWidget_GetSpacing_Call

type MockBoxWidget_GetVexpand_Call

type MockBoxWidget_GetVexpand_Call struct {
	*mock.Call
}

MockBoxWidget_GetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVexpand'

func (*MockBoxWidget_GetVexpand_Call) Return

func (*MockBoxWidget_GetVexpand_Call) Run

func (*MockBoxWidget_GetVexpand_Call) RunAndReturn

type MockBoxWidget_GrabFocus_Call

type MockBoxWidget_GrabFocus_Call struct {
	*mock.Call
}

MockBoxWidget_GrabFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrabFocus'

func (*MockBoxWidget_GrabFocus_Call) Return

func (*MockBoxWidget_GrabFocus_Call) Run

func (*MockBoxWidget_GrabFocus_Call) RunAndReturn

func (_c *MockBoxWidget_GrabFocus_Call) RunAndReturn(run func() bool) *MockBoxWidget_GrabFocus_Call

type MockBoxWidget_GtkWidget_Call

type MockBoxWidget_GtkWidget_Call struct {
	*mock.Call
}

MockBoxWidget_GtkWidget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GtkWidget'

func (*MockBoxWidget_GtkWidget_Call) Return

func (*MockBoxWidget_GtkWidget_Call) Run

func (*MockBoxWidget_GtkWidget_Call) RunAndReturn

type MockBoxWidget_HasCssClass_Call

type MockBoxWidget_HasCssClass_Call struct {
	*mock.Call
}

MockBoxWidget_HasCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasCssClass'

func (*MockBoxWidget_HasCssClass_Call) Return

func (*MockBoxWidget_HasCssClass_Call) Run

func (*MockBoxWidget_HasCssClass_Call) RunAndReturn

func (_c *MockBoxWidget_HasCssClass_Call) RunAndReturn(run func(cssClass string) bool) *MockBoxWidget_HasCssClass_Call

type MockBoxWidget_HasFocus_Call

type MockBoxWidget_HasFocus_Call struct {
	*mock.Call
}

MockBoxWidget_HasFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasFocus'

func (*MockBoxWidget_HasFocus_Call) Return

func (*MockBoxWidget_HasFocus_Call) Run

func (*MockBoxWidget_HasFocus_Call) RunAndReturn

func (_c *MockBoxWidget_HasFocus_Call) RunAndReturn(run func() bool) *MockBoxWidget_HasFocus_Call

type MockBoxWidget_Hide_Call

type MockBoxWidget_Hide_Call struct {
	*mock.Call
}

MockBoxWidget_Hide_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hide'

func (*MockBoxWidget_Hide_Call) Return

func (*MockBoxWidget_Hide_Call) Run

func (_c *MockBoxWidget_Hide_Call) Run(run func()) *MockBoxWidget_Hide_Call

func (*MockBoxWidget_Hide_Call) RunAndReturn

func (_c *MockBoxWidget_Hide_Call) RunAndReturn(run func()) *MockBoxWidget_Hide_Call

type MockBoxWidget_InsertChildAfter_Call

type MockBoxWidget_InsertChildAfter_Call struct {
	*mock.Call
}

MockBoxWidget_InsertChildAfter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertChildAfter'

func (*MockBoxWidget_InsertChildAfter_Call) Return

func (*MockBoxWidget_InsertChildAfter_Call) Run

func (*MockBoxWidget_InsertChildAfter_Call) RunAndReturn

type MockBoxWidget_IsVisible_Call

type MockBoxWidget_IsVisible_Call struct {
	*mock.Call
}

MockBoxWidget_IsVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsVisible'

func (*MockBoxWidget_IsVisible_Call) Return

func (*MockBoxWidget_IsVisible_Call) Run

func (*MockBoxWidget_IsVisible_Call) RunAndReturn

func (_c *MockBoxWidget_IsVisible_Call) RunAndReturn(run func() bool) *MockBoxWidget_IsVisible_Call

type MockBoxWidget_Prepend_Call

type MockBoxWidget_Prepend_Call struct {
	*mock.Call
}

MockBoxWidget_Prepend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Prepend'

func (*MockBoxWidget_Prepend_Call) Return

func (*MockBoxWidget_Prepend_Call) Run

func (*MockBoxWidget_Prepend_Call) RunAndReturn

func (_c *MockBoxWidget_Prepend_Call) RunAndReturn(run func(child layout.Widget)) *MockBoxWidget_Prepend_Call

type MockBoxWidget_RemoveCssClass_Call

type MockBoxWidget_RemoveCssClass_Call struct {
	*mock.Call
}

MockBoxWidget_RemoveCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCssClass'

func (*MockBoxWidget_RemoveCssClass_Call) Return

func (*MockBoxWidget_RemoveCssClass_Call) Run

func (*MockBoxWidget_RemoveCssClass_Call) RunAndReturn

func (_c *MockBoxWidget_RemoveCssClass_Call) RunAndReturn(run func(cssClass string)) *MockBoxWidget_RemoveCssClass_Call

type MockBoxWidget_Remove_Call

type MockBoxWidget_Remove_Call struct {
	*mock.Call
}

MockBoxWidget_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'

func (*MockBoxWidget_Remove_Call) Return

func (*MockBoxWidget_Remove_Call) Run

func (*MockBoxWidget_Remove_Call) RunAndReturn

func (_c *MockBoxWidget_Remove_Call) RunAndReturn(run func(child layout.Widget)) *MockBoxWidget_Remove_Call

type MockBoxWidget_ReorderChildAfter_Call

type MockBoxWidget_ReorderChildAfter_Call struct {
	*mock.Call
}

MockBoxWidget_ReorderChildAfter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReorderChildAfter'

func (*MockBoxWidget_ReorderChildAfter_Call) Return

func (*MockBoxWidget_ReorderChildAfter_Call) Run

func (*MockBoxWidget_ReorderChildAfter_Call) RunAndReturn

type MockBoxWidget_SetCanFocus_Call

type MockBoxWidget_SetCanFocus_Call struct {
	*mock.Call
}

MockBoxWidget_SetCanFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanFocus'

func (*MockBoxWidget_SetCanFocus_Call) Return

func (*MockBoxWidget_SetCanFocus_Call) Run

func (*MockBoxWidget_SetCanFocus_Call) RunAndReturn

func (_c *MockBoxWidget_SetCanFocus_Call) RunAndReturn(run func(canFocus bool)) *MockBoxWidget_SetCanFocus_Call

type MockBoxWidget_SetCanTarget_Call

type MockBoxWidget_SetCanTarget_Call struct {
	*mock.Call
}

MockBoxWidget_SetCanTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanTarget'

func (*MockBoxWidget_SetCanTarget_Call) Return

func (*MockBoxWidget_SetCanTarget_Call) Run

func (*MockBoxWidget_SetCanTarget_Call) RunAndReturn

func (_c *MockBoxWidget_SetCanTarget_Call) RunAndReturn(run func(canTarget bool)) *MockBoxWidget_SetCanTarget_Call

type MockBoxWidget_SetFocusOnClick_Call

type MockBoxWidget_SetFocusOnClick_Call struct {
	*mock.Call
}

MockBoxWidget_SetFocusOnClick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusOnClick'

func (*MockBoxWidget_SetFocusOnClick_Call) Return

func (*MockBoxWidget_SetFocusOnClick_Call) Run

func (*MockBoxWidget_SetFocusOnClick_Call) RunAndReturn

func (_c *MockBoxWidget_SetFocusOnClick_Call) RunAndReturn(run func(focusOnClick bool)) *MockBoxWidget_SetFocusOnClick_Call

type MockBoxWidget_SetFocusable_Call added in v0.23.0

type MockBoxWidget_SetFocusable_Call struct {
	*mock.Call
}

MockBoxWidget_SetFocusable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusable'

func (*MockBoxWidget_SetFocusable_Call) Return added in v0.23.0

func (*MockBoxWidget_SetFocusable_Call) Run added in v0.23.0

func (*MockBoxWidget_SetFocusable_Call) RunAndReturn added in v0.23.0

func (_c *MockBoxWidget_SetFocusable_Call) RunAndReturn(run func(focusable bool)) *MockBoxWidget_SetFocusable_Call

type MockBoxWidget_SetHalign_Call

type MockBoxWidget_SetHalign_Call struct {
	*mock.Call
}

MockBoxWidget_SetHalign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHalign'

func (*MockBoxWidget_SetHalign_Call) Return

func (*MockBoxWidget_SetHalign_Call) Run

func (*MockBoxWidget_SetHalign_Call) RunAndReturn

func (_c *MockBoxWidget_SetHalign_Call) RunAndReturn(run func(align gtk.Align)) *MockBoxWidget_SetHalign_Call

type MockBoxWidget_SetHexpand_Call

type MockBoxWidget_SetHexpand_Call struct {
	*mock.Call
}

MockBoxWidget_SetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHexpand'

func (*MockBoxWidget_SetHexpand_Call) Return

func (*MockBoxWidget_SetHexpand_Call) Run

func (*MockBoxWidget_SetHexpand_Call) RunAndReturn

func (_c *MockBoxWidget_SetHexpand_Call) RunAndReturn(run func(expand bool)) *MockBoxWidget_SetHexpand_Call

type MockBoxWidget_SetHomogeneous_Call

type MockBoxWidget_SetHomogeneous_Call struct {
	*mock.Call
}

MockBoxWidget_SetHomogeneous_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHomogeneous'

func (*MockBoxWidget_SetHomogeneous_Call) Return

func (*MockBoxWidget_SetHomogeneous_Call) Run

func (*MockBoxWidget_SetHomogeneous_Call) RunAndReturn

func (_c *MockBoxWidget_SetHomogeneous_Call) RunAndReturn(run func(homogeneous bool)) *MockBoxWidget_SetHomogeneous_Call

type MockBoxWidget_SetOpacity_Call added in v0.27.0

type MockBoxWidget_SetOpacity_Call struct {
	*mock.Call
}

MockBoxWidget_SetOpacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOpacity'

func (*MockBoxWidget_SetOpacity_Call) Return added in v0.27.0

func (*MockBoxWidget_SetOpacity_Call) Run added in v0.27.0

func (*MockBoxWidget_SetOpacity_Call) RunAndReturn added in v0.27.0

func (_c *MockBoxWidget_SetOpacity_Call) RunAndReturn(run func(opacity float64)) *MockBoxWidget_SetOpacity_Call

type MockBoxWidget_SetOrientation_Call

type MockBoxWidget_SetOrientation_Call struct {
	*mock.Call
}

MockBoxWidget_SetOrientation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOrientation'

func (*MockBoxWidget_SetOrientation_Call) Return

func (*MockBoxWidget_SetOrientation_Call) Run

func (*MockBoxWidget_SetOrientation_Call) RunAndReturn

type MockBoxWidget_SetSizeRequest_Call

type MockBoxWidget_SetSizeRequest_Call struct {
	*mock.Call
}

MockBoxWidget_SetSizeRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSizeRequest'

func (*MockBoxWidget_SetSizeRequest_Call) Return

func (*MockBoxWidget_SetSizeRequest_Call) Run

func (*MockBoxWidget_SetSizeRequest_Call) RunAndReturn

func (_c *MockBoxWidget_SetSizeRequest_Call) RunAndReturn(run func(width int, height int)) *MockBoxWidget_SetSizeRequest_Call

type MockBoxWidget_SetSpacing_Call

type MockBoxWidget_SetSpacing_Call struct {
	*mock.Call
}

MockBoxWidget_SetSpacing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSpacing'

func (*MockBoxWidget_SetSpacing_Call) Return

func (*MockBoxWidget_SetSpacing_Call) Run

func (*MockBoxWidget_SetSpacing_Call) RunAndReturn

func (_c *MockBoxWidget_SetSpacing_Call) RunAndReturn(run func(spacing int)) *MockBoxWidget_SetSpacing_Call

type MockBoxWidget_SetValign_Call

type MockBoxWidget_SetValign_Call struct {
	*mock.Call
}

MockBoxWidget_SetValign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValign'

func (*MockBoxWidget_SetValign_Call) Return

func (*MockBoxWidget_SetValign_Call) Run

func (*MockBoxWidget_SetValign_Call) RunAndReturn

func (_c *MockBoxWidget_SetValign_Call) RunAndReturn(run func(align gtk.Align)) *MockBoxWidget_SetValign_Call

type MockBoxWidget_SetVexpand_Call

type MockBoxWidget_SetVexpand_Call struct {
	*mock.Call
}

MockBoxWidget_SetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVexpand'

func (*MockBoxWidget_SetVexpand_Call) Return

func (*MockBoxWidget_SetVexpand_Call) Run

func (*MockBoxWidget_SetVexpand_Call) RunAndReturn

func (_c *MockBoxWidget_SetVexpand_Call) RunAndReturn(run func(expand bool)) *MockBoxWidget_SetVexpand_Call

type MockBoxWidget_SetVisible_Call

type MockBoxWidget_SetVisible_Call struct {
	*mock.Call
}

MockBoxWidget_SetVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVisible'

func (*MockBoxWidget_SetVisible_Call) Return

func (*MockBoxWidget_SetVisible_Call) Run

func (*MockBoxWidget_SetVisible_Call) RunAndReturn

func (_c *MockBoxWidget_SetVisible_Call) RunAndReturn(run func(visible bool)) *MockBoxWidget_SetVisible_Call

type MockBoxWidget_Show_Call

type MockBoxWidget_Show_Call struct {
	*mock.Call
}

MockBoxWidget_Show_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Show'

func (*MockBoxWidget_Show_Call) Return

func (*MockBoxWidget_Show_Call) Run

func (_c *MockBoxWidget_Show_Call) Run(run func()) *MockBoxWidget_Show_Call

func (*MockBoxWidget_Show_Call) RunAndReturn

func (_c *MockBoxWidget_Show_Call) RunAndReturn(run func()) *MockBoxWidget_Show_Call

type MockBoxWidget_Unparent_Call

type MockBoxWidget_Unparent_Call struct {
	*mock.Call
}

MockBoxWidget_Unparent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unparent'

func (*MockBoxWidget_Unparent_Call) Return

func (*MockBoxWidget_Unparent_Call) Run

func (*MockBoxWidget_Unparent_Call) RunAndReturn

func (_c *MockBoxWidget_Unparent_Call) RunAndReturn(run func()) *MockBoxWidget_Unparent_Call

type MockButtonWidget

type MockButtonWidget struct {
	mock.Mock
}

MockButtonWidget is an autogenerated mock type for the ButtonWidget type

func NewMockButtonWidget

func NewMockButtonWidget(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockButtonWidget

NewMockButtonWidget creates a new instance of MockButtonWidget. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockButtonWidget) AddController

func (_mock *MockButtonWidget) AddController(controller *gtk.EventController)

AddController provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) AddCssClass

func (_mock *MockButtonWidget) AddCssClass(cssClass string)

AddCssClass provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) ComputePoint

func (_mock *MockButtonWidget) ComputePoint(target layout.Widget) (float64, float64, bool)

ComputePoint provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) ConnectClicked

func (_mock *MockButtonWidget) ConnectClicked(callback func()) uint

ConnectClicked provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) EXPECT

func (*MockButtonWidget) GetAllocatedHeight

func (_mock *MockButtonWidget) GetAllocatedHeight() int

GetAllocatedHeight provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) GetAllocatedWidth

func (_mock *MockButtonWidget) GetAllocatedWidth() int

GetAllocatedWidth provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) GetChild

func (_mock *MockButtonWidget) GetChild() layout.Widget

GetChild provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) GetHexpand

func (_mock *MockButtonWidget) GetHexpand() bool

GetHexpand provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) GetLabel

func (_mock *MockButtonWidget) GetLabel() string

GetLabel provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) GetParent

func (_mock *MockButtonWidget) GetParent() layout.Widget

GetParent provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) GetVexpand

func (_mock *MockButtonWidget) GetVexpand() bool

GetVexpand provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) GrabFocus

func (_mock *MockButtonWidget) GrabFocus() bool

GrabFocus provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) GtkWidget

func (_mock *MockButtonWidget) GtkWidget() *gtk.Widget

GtkWidget provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) HasCssClass

func (_mock *MockButtonWidget) HasCssClass(cssClass string) bool

HasCssClass provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) HasFocus

func (_mock *MockButtonWidget) HasFocus() bool

HasFocus provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) Hide

func (_mock *MockButtonWidget) Hide()

Hide provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) IsVisible

func (_mock *MockButtonWidget) IsVisible() bool

IsVisible provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) RemoveCssClass

func (_mock *MockButtonWidget) RemoveCssClass(cssClass string)

RemoveCssClass provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetCanFocus

func (_mock *MockButtonWidget) SetCanFocus(canFocus bool)

SetCanFocus provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetCanTarget

func (_mock *MockButtonWidget) SetCanTarget(canTarget bool)

SetCanTarget provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetChild

func (_mock *MockButtonWidget) SetChild(child layout.Widget)

SetChild provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetFocusOnClick

func (_mock *MockButtonWidget) SetFocusOnClick(focusOnClick bool)

SetFocusOnClick provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetFocusable added in v0.23.0

func (_mock *MockButtonWidget) SetFocusable(focusable bool)

SetFocusable provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetHalign

func (_mock *MockButtonWidget) SetHalign(align gtk.Align)

SetHalign provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetHexpand

func (_mock *MockButtonWidget) SetHexpand(expand bool)

SetHexpand provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetIconName added in v0.24.0

func (_mock *MockButtonWidget) SetIconName(iconName string)

SetIconName provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetLabel

func (_mock *MockButtonWidget) SetLabel(label string)

SetLabel provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetOpacity added in v0.27.0

func (_mock *MockButtonWidget) SetOpacity(opacity float64)

SetOpacity provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetSizeRequest

func (_mock *MockButtonWidget) SetSizeRequest(width int, height int)

SetSizeRequest provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetValign

func (_mock *MockButtonWidget) SetValign(align gtk.Align)

SetValign provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetVexpand

func (_mock *MockButtonWidget) SetVexpand(expand bool)

SetVexpand provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) SetVisible

func (_mock *MockButtonWidget) SetVisible(visible bool)

SetVisible provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) Show

func (_mock *MockButtonWidget) Show()

Show provides a mock function for the type MockButtonWidget

func (*MockButtonWidget) Unparent

func (_mock *MockButtonWidget) Unparent()

Unparent provides a mock function for the type MockButtonWidget

type MockButtonWidget_AddController_Call

type MockButtonWidget_AddController_Call struct {
	*mock.Call
}

MockButtonWidget_AddController_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddController'

func (*MockButtonWidget_AddController_Call) Return

func (*MockButtonWidget_AddController_Call) Run

func (*MockButtonWidget_AddController_Call) RunAndReturn

type MockButtonWidget_AddCssClass_Call

type MockButtonWidget_AddCssClass_Call struct {
	*mock.Call
}

MockButtonWidget_AddCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCssClass'

func (*MockButtonWidget_AddCssClass_Call) Return

func (*MockButtonWidget_AddCssClass_Call) Run

func (*MockButtonWidget_AddCssClass_Call) RunAndReturn

func (_c *MockButtonWidget_AddCssClass_Call) RunAndReturn(run func(cssClass string)) *MockButtonWidget_AddCssClass_Call

type MockButtonWidget_ComputePoint_Call

type MockButtonWidget_ComputePoint_Call struct {
	*mock.Call
}

MockButtonWidget_ComputePoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputePoint'

func (*MockButtonWidget_ComputePoint_Call) Return

func (*MockButtonWidget_ComputePoint_Call) Run

func (*MockButtonWidget_ComputePoint_Call) RunAndReturn

type MockButtonWidget_ConnectClicked_Call

type MockButtonWidget_ConnectClicked_Call struct {
	*mock.Call
}

MockButtonWidget_ConnectClicked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectClicked'

func (*MockButtonWidget_ConnectClicked_Call) Return

func (*MockButtonWidget_ConnectClicked_Call) Run

func (*MockButtonWidget_ConnectClicked_Call) RunAndReturn

func (_c *MockButtonWidget_ConnectClicked_Call) RunAndReturn(run func(callback func()) uint) *MockButtonWidget_ConnectClicked_Call

type MockButtonWidget_Expecter

type MockButtonWidget_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockButtonWidget_Expecter) AddController

func (_e *MockButtonWidget_Expecter) AddController(controller interface{}) *MockButtonWidget_AddController_Call

AddController is a helper method to define mock.On call

  • controller *gtk.EventController

func (*MockButtonWidget_Expecter) AddCssClass

func (_e *MockButtonWidget_Expecter) AddCssClass(cssClass interface{}) *MockButtonWidget_AddCssClass_Call

AddCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockButtonWidget_Expecter) ComputePoint

func (_e *MockButtonWidget_Expecter) ComputePoint(target interface{}) *MockButtonWidget_ComputePoint_Call

ComputePoint is a helper method to define mock.On call

  • target layout.Widget

func (*MockButtonWidget_Expecter) ConnectClicked

func (_e *MockButtonWidget_Expecter) ConnectClicked(callback interface{}) *MockButtonWidget_ConnectClicked_Call

ConnectClicked is a helper method to define mock.On call

  • callback func()

func (*MockButtonWidget_Expecter) GetAllocatedHeight

GetAllocatedHeight is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) GetAllocatedWidth

GetAllocatedWidth is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) GetChild

GetChild is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) GetHexpand

GetHexpand is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) GetLabel

GetLabel is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) GetParent

GetParent is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) GetVexpand

GetVexpand is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) GrabFocus

GrabFocus is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) GtkWidget

GtkWidget is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) HasCssClass

func (_e *MockButtonWidget_Expecter) HasCssClass(cssClass interface{}) *MockButtonWidget_HasCssClass_Call

HasCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockButtonWidget_Expecter) HasFocus

HasFocus is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) Hide

Hide is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) IsVisible

IsVisible is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) RemoveCssClass

func (_e *MockButtonWidget_Expecter) RemoveCssClass(cssClass interface{}) *MockButtonWidget_RemoveCssClass_Call

RemoveCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockButtonWidget_Expecter) SetCanFocus

func (_e *MockButtonWidget_Expecter) SetCanFocus(canFocus interface{}) *MockButtonWidget_SetCanFocus_Call

SetCanFocus is a helper method to define mock.On call

  • canFocus bool

func (*MockButtonWidget_Expecter) SetCanTarget

func (_e *MockButtonWidget_Expecter) SetCanTarget(canTarget interface{}) *MockButtonWidget_SetCanTarget_Call

SetCanTarget is a helper method to define mock.On call

  • canTarget bool

func (*MockButtonWidget_Expecter) SetChild

func (_e *MockButtonWidget_Expecter) SetChild(child interface{}) *MockButtonWidget_SetChild_Call

SetChild is a helper method to define mock.On call

  • child layout.Widget

func (*MockButtonWidget_Expecter) SetFocusOnClick

func (_e *MockButtonWidget_Expecter) SetFocusOnClick(focusOnClick interface{}) *MockButtonWidget_SetFocusOnClick_Call

SetFocusOnClick is a helper method to define mock.On call

  • focusOnClick bool

func (*MockButtonWidget_Expecter) SetFocusable added in v0.23.0

func (_e *MockButtonWidget_Expecter) SetFocusable(focusable interface{}) *MockButtonWidget_SetFocusable_Call

SetFocusable is a helper method to define mock.On call

  • focusable bool

func (*MockButtonWidget_Expecter) SetHalign

func (_e *MockButtonWidget_Expecter) SetHalign(align interface{}) *MockButtonWidget_SetHalign_Call

SetHalign is a helper method to define mock.On call

  • align gtk.Align

func (*MockButtonWidget_Expecter) SetHexpand

func (_e *MockButtonWidget_Expecter) SetHexpand(expand interface{}) *MockButtonWidget_SetHexpand_Call

SetHexpand is a helper method to define mock.On call

  • expand bool

func (*MockButtonWidget_Expecter) SetIconName added in v0.24.0

func (_e *MockButtonWidget_Expecter) SetIconName(iconName interface{}) *MockButtonWidget_SetIconName_Call

SetIconName is a helper method to define mock.On call

  • iconName string

func (*MockButtonWidget_Expecter) SetLabel

func (_e *MockButtonWidget_Expecter) SetLabel(label interface{}) *MockButtonWidget_SetLabel_Call

SetLabel is a helper method to define mock.On call

  • label string

func (*MockButtonWidget_Expecter) SetOpacity added in v0.27.0

func (_e *MockButtonWidget_Expecter) SetOpacity(opacity interface{}) *MockButtonWidget_SetOpacity_Call

SetOpacity is a helper method to define mock.On call

  • opacity float64

func (*MockButtonWidget_Expecter) SetSizeRequest

func (_e *MockButtonWidget_Expecter) SetSizeRequest(width interface{}, height interface{}) *MockButtonWidget_SetSizeRequest_Call

SetSizeRequest is a helper method to define mock.On call

  • width int
  • height int

func (*MockButtonWidget_Expecter) SetValign

func (_e *MockButtonWidget_Expecter) SetValign(align interface{}) *MockButtonWidget_SetValign_Call

SetValign is a helper method to define mock.On call

  • align gtk.Align

func (*MockButtonWidget_Expecter) SetVexpand

func (_e *MockButtonWidget_Expecter) SetVexpand(expand interface{}) *MockButtonWidget_SetVexpand_Call

SetVexpand is a helper method to define mock.On call

  • expand bool

func (*MockButtonWidget_Expecter) SetVisible

func (_e *MockButtonWidget_Expecter) SetVisible(visible interface{}) *MockButtonWidget_SetVisible_Call

SetVisible is a helper method to define mock.On call

  • visible bool

func (*MockButtonWidget_Expecter) Show

Show is a helper method to define mock.On call

func (*MockButtonWidget_Expecter) Unparent

Unparent is a helper method to define mock.On call

type MockButtonWidget_GetAllocatedHeight_Call

type MockButtonWidget_GetAllocatedHeight_Call struct {
	*mock.Call
}

MockButtonWidget_GetAllocatedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedHeight'

func (*MockButtonWidget_GetAllocatedHeight_Call) Return

func (*MockButtonWidget_GetAllocatedHeight_Call) Run

func (*MockButtonWidget_GetAllocatedHeight_Call) RunAndReturn

type MockButtonWidget_GetAllocatedWidth_Call

type MockButtonWidget_GetAllocatedWidth_Call struct {
	*mock.Call
}

MockButtonWidget_GetAllocatedWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedWidth'

func (*MockButtonWidget_GetAllocatedWidth_Call) Return

func (*MockButtonWidget_GetAllocatedWidth_Call) Run

func (*MockButtonWidget_GetAllocatedWidth_Call) RunAndReturn

type MockButtonWidget_GetChild_Call

type MockButtonWidget_GetChild_Call struct {
	*mock.Call
}

MockButtonWidget_GetChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChild'

func (*MockButtonWidget_GetChild_Call) Return

func (*MockButtonWidget_GetChild_Call) Run

func (*MockButtonWidget_GetChild_Call) RunAndReturn

type MockButtonWidget_GetHexpand_Call

type MockButtonWidget_GetHexpand_Call struct {
	*mock.Call
}

MockButtonWidget_GetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHexpand'

func (*MockButtonWidget_GetHexpand_Call) Return

func (*MockButtonWidget_GetHexpand_Call) Run

func (*MockButtonWidget_GetHexpand_Call) RunAndReturn

type MockButtonWidget_GetLabel_Call

type MockButtonWidget_GetLabel_Call struct {
	*mock.Call
}

MockButtonWidget_GetLabel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLabel'

func (*MockButtonWidget_GetLabel_Call) Return

func (*MockButtonWidget_GetLabel_Call) Run

func (*MockButtonWidget_GetLabel_Call) RunAndReturn

type MockButtonWidget_GetParent_Call

type MockButtonWidget_GetParent_Call struct {
	*mock.Call
}

MockButtonWidget_GetParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParent'

func (*MockButtonWidget_GetParent_Call) Return

func (*MockButtonWidget_GetParent_Call) Run

func (*MockButtonWidget_GetParent_Call) RunAndReturn

type MockButtonWidget_GetVexpand_Call

type MockButtonWidget_GetVexpand_Call struct {
	*mock.Call
}

MockButtonWidget_GetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVexpand'

func (*MockButtonWidget_GetVexpand_Call) Return

func (*MockButtonWidget_GetVexpand_Call) Run

func (*MockButtonWidget_GetVexpand_Call) RunAndReturn

type MockButtonWidget_GrabFocus_Call

type MockButtonWidget_GrabFocus_Call struct {
	*mock.Call
}

MockButtonWidget_GrabFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrabFocus'

func (*MockButtonWidget_GrabFocus_Call) Return

func (*MockButtonWidget_GrabFocus_Call) Run

func (*MockButtonWidget_GrabFocus_Call) RunAndReturn

type MockButtonWidget_GtkWidget_Call

type MockButtonWidget_GtkWidget_Call struct {
	*mock.Call
}

MockButtonWidget_GtkWidget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GtkWidget'

func (*MockButtonWidget_GtkWidget_Call) Return

func (*MockButtonWidget_GtkWidget_Call) Run

func (*MockButtonWidget_GtkWidget_Call) RunAndReturn

type MockButtonWidget_HasCssClass_Call

type MockButtonWidget_HasCssClass_Call struct {
	*mock.Call
}

MockButtonWidget_HasCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasCssClass'

func (*MockButtonWidget_HasCssClass_Call) Return

func (*MockButtonWidget_HasCssClass_Call) Run

func (*MockButtonWidget_HasCssClass_Call) RunAndReturn

type MockButtonWidget_HasFocus_Call

type MockButtonWidget_HasFocus_Call struct {
	*mock.Call
}

MockButtonWidget_HasFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasFocus'

func (*MockButtonWidget_HasFocus_Call) Return

func (*MockButtonWidget_HasFocus_Call) Run

func (*MockButtonWidget_HasFocus_Call) RunAndReturn

type MockButtonWidget_Hide_Call

type MockButtonWidget_Hide_Call struct {
	*mock.Call
}

MockButtonWidget_Hide_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hide'

func (*MockButtonWidget_Hide_Call) Return

func (*MockButtonWidget_Hide_Call) Run

func (*MockButtonWidget_Hide_Call) RunAndReturn

func (_c *MockButtonWidget_Hide_Call) RunAndReturn(run func()) *MockButtonWidget_Hide_Call

type MockButtonWidget_IsVisible_Call

type MockButtonWidget_IsVisible_Call struct {
	*mock.Call
}

MockButtonWidget_IsVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsVisible'

func (*MockButtonWidget_IsVisible_Call) Return

func (*MockButtonWidget_IsVisible_Call) Run

func (*MockButtonWidget_IsVisible_Call) RunAndReturn

type MockButtonWidget_RemoveCssClass_Call

type MockButtonWidget_RemoveCssClass_Call struct {
	*mock.Call
}

MockButtonWidget_RemoveCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCssClass'

func (*MockButtonWidget_RemoveCssClass_Call) Return

func (*MockButtonWidget_RemoveCssClass_Call) Run

func (*MockButtonWidget_RemoveCssClass_Call) RunAndReturn

type MockButtonWidget_SetCanFocus_Call

type MockButtonWidget_SetCanFocus_Call struct {
	*mock.Call
}

MockButtonWidget_SetCanFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanFocus'

func (*MockButtonWidget_SetCanFocus_Call) Return

func (*MockButtonWidget_SetCanFocus_Call) Run

func (*MockButtonWidget_SetCanFocus_Call) RunAndReturn

func (_c *MockButtonWidget_SetCanFocus_Call) RunAndReturn(run func(canFocus bool)) *MockButtonWidget_SetCanFocus_Call

type MockButtonWidget_SetCanTarget_Call

type MockButtonWidget_SetCanTarget_Call struct {
	*mock.Call
}

MockButtonWidget_SetCanTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanTarget'

func (*MockButtonWidget_SetCanTarget_Call) Return

func (*MockButtonWidget_SetCanTarget_Call) Run

func (*MockButtonWidget_SetCanTarget_Call) RunAndReturn

func (_c *MockButtonWidget_SetCanTarget_Call) RunAndReturn(run func(canTarget bool)) *MockButtonWidget_SetCanTarget_Call

type MockButtonWidget_SetChild_Call

type MockButtonWidget_SetChild_Call struct {
	*mock.Call
}

MockButtonWidget_SetChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetChild'

func (*MockButtonWidget_SetChild_Call) Return

func (*MockButtonWidget_SetChild_Call) Run

func (*MockButtonWidget_SetChild_Call) RunAndReturn

type MockButtonWidget_SetFocusOnClick_Call

type MockButtonWidget_SetFocusOnClick_Call struct {
	*mock.Call
}

MockButtonWidget_SetFocusOnClick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusOnClick'

func (*MockButtonWidget_SetFocusOnClick_Call) Return

func (*MockButtonWidget_SetFocusOnClick_Call) Run

func (*MockButtonWidget_SetFocusOnClick_Call) RunAndReturn

func (_c *MockButtonWidget_SetFocusOnClick_Call) RunAndReturn(run func(focusOnClick bool)) *MockButtonWidget_SetFocusOnClick_Call

type MockButtonWidget_SetFocusable_Call added in v0.23.0

type MockButtonWidget_SetFocusable_Call struct {
	*mock.Call
}

MockButtonWidget_SetFocusable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusable'

func (*MockButtonWidget_SetFocusable_Call) Return added in v0.23.0

func (*MockButtonWidget_SetFocusable_Call) Run added in v0.23.0

func (*MockButtonWidget_SetFocusable_Call) RunAndReturn added in v0.23.0

func (_c *MockButtonWidget_SetFocusable_Call) RunAndReturn(run func(focusable bool)) *MockButtonWidget_SetFocusable_Call

type MockButtonWidget_SetHalign_Call

type MockButtonWidget_SetHalign_Call struct {
	*mock.Call
}

MockButtonWidget_SetHalign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHalign'

func (*MockButtonWidget_SetHalign_Call) Return

func (*MockButtonWidget_SetHalign_Call) Run

func (*MockButtonWidget_SetHalign_Call) RunAndReturn

func (_c *MockButtonWidget_SetHalign_Call) RunAndReturn(run func(align gtk.Align)) *MockButtonWidget_SetHalign_Call

type MockButtonWidget_SetHexpand_Call

type MockButtonWidget_SetHexpand_Call struct {
	*mock.Call
}

MockButtonWidget_SetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHexpand'

func (*MockButtonWidget_SetHexpand_Call) Return

func (*MockButtonWidget_SetHexpand_Call) Run

func (*MockButtonWidget_SetHexpand_Call) RunAndReturn

func (_c *MockButtonWidget_SetHexpand_Call) RunAndReturn(run func(expand bool)) *MockButtonWidget_SetHexpand_Call

type MockButtonWidget_SetIconName_Call added in v0.24.0

type MockButtonWidget_SetIconName_Call struct {
	*mock.Call
}

MockButtonWidget_SetIconName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetIconName'

func (*MockButtonWidget_SetIconName_Call) Return added in v0.24.0

func (*MockButtonWidget_SetIconName_Call) Run added in v0.24.0

func (*MockButtonWidget_SetIconName_Call) RunAndReturn added in v0.24.0

func (_c *MockButtonWidget_SetIconName_Call) RunAndReturn(run func(iconName string)) *MockButtonWidget_SetIconName_Call

type MockButtonWidget_SetLabel_Call

type MockButtonWidget_SetLabel_Call struct {
	*mock.Call
}

MockButtonWidget_SetLabel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLabel'

func (*MockButtonWidget_SetLabel_Call) Return

func (*MockButtonWidget_SetLabel_Call) Run

func (*MockButtonWidget_SetLabel_Call) RunAndReturn

func (_c *MockButtonWidget_SetLabel_Call) RunAndReturn(run func(label string)) *MockButtonWidget_SetLabel_Call

type MockButtonWidget_SetOpacity_Call added in v0.27.0

type MockButtonWidget_SetOpacity_Call struct {
	*mock.Call
}

MockButtonWidget_SetOpacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOpacity'

func (*MockButtonWidget_SetOpacity_Call) Return added in v0.27.0

func (*MockButtonWidget_SetOpacity_Call) Run added in v0.27.0

func (*MockButtonWidget_SetOpacity_Call) RunAndReturn added in v0.27.0

func (_c *MockButtonWidget_SetOpacity_Call) RunAndReturn(run func(opacity float64)) *MockButtonWidget_SetOpacity_Call

type MockButtonWidget_SetSizeRequest_Call

type MockButtonWidget_SetSizeRequest_Call struct {
	*mock.Call
}

MockButtonWidget_SetSizeRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSizeRequest'

func (*MockButtonWidget_SetSizeRequest_Call) Return

func (*MockButtonWidget_SetSizeRequest_Call) Run

func (*MockButtonWidget_SetSizeRequest_Call) RunAndReturn

func (_c *MockButtonWidget_SetSizeRequest_Call) RunAndReturn(run func(width int, height int)) *MockButtonWidget_SetSizeRequest_Call

type MockButtonWidget_SetValign_Call

type MockButtonWidget_SetValign_Call struct {
	*mock.Call
}

MockButtonWidget_SetValign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValign'

func (*MockButtonWidget_SetValign_Call) Return

func (*MockButtonWidget_SetValign_Call) Run

func (*MockButtonWidget_SetValign_Call) RunAndReturn

func (_c *MockButtonWidget_SetValign_Call) RunAndReturn(run func(align gtk.Align)) *MockButtonWidget_SetValign_Call

type MockButtonWidget_SetVexpand_Call

type MockButtonWidget_SetVexpand_Call struct {
	*mock.Call
}

MockButtonWidget_SetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVexpand'

func (*MockButtonWidget_SetVexpand_Call) Return

func (*MockButtonWidget_SetVexpand_Call) Run

func (*MockButtonWidget_SetVexpand_Call) RunAndReturn

func (_c *MockButtonWidget_SetVexpand_Call) RunAndReturn(run func(expand bool)) *MockButtonWidget_SetVexpand_Call

type MockButtonWidget_SetVisible_Call

type MockButtonWidget_SetVisible_Call struct {
	*mock.Call
}

MockButtonWidget_SetVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVisible'

func (*MockButtonWidget_SetVisible_Call) Return

func (*MockButtonWidget_SetVisible_Call) Run

func (*MockButtonWidget_SetVisible_Call) RunAndReturn

func (_c *MockButtonWidget_SetVisible_Call) RunAndReturn(run func(visible bool)) *MockButtonWidget_SetVisible_Call

type MockButtonWidget_Show_Call

type MockButtonWidget_Show_Call struct {
	*mock.Call
}

MockButtonWidget_Show_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Show'

func (*MockButtonWidget_Show_Call) Return

func (*MockButtonWidget_Show_Call) Run

func (*MockButtonWidget_Show_Call) RunAndReturn

func (_c *MockButtonWidget_Show_Call) RunAndReturn(run func()) *MockButtonWidget_Show_Call

type MockButtonWidget_Unparent_Call

type MockButtonWidget_Unparent_Call struct {
	*mock.Call
}

MockButtonWidget_Unparent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unparent'

func (*MockButtonWidget_Unparent_Call) Return

func (*MockButtonWidget_Unparent_Call) Run

func (*MockButtonWidget_Unparent_Call) RunAndReturn

func (_c *MockButtonWidget_Unparent_Call) RunAndReturn(run func()) *MockButtonWidget_Unparent_Call

type MockImageWidget

type MockImageWidget struct {
	mock.Mock
}

MockImageWidget is an autogenerated mock type for the ImageWidget type

func NewMockImageWidget

func NewMockImageWidget(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockImageWidget

NewMockImageWidget creates a new instance of MockImageWidget. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockImageWidget) AddController

func (_mock *MockImageWidget) AddController(controller *gtk.EventController)

AddController provides a mock function for the type MockImageWidget

func (*MockImageWidget) AddCssClass

func (_mock *MockImageWidget) AddCssClass(cssClass string)

AddCssClass provides a mock function for the type MockImageWidget

func (*MockImageWidget) Clear

func (_mock *MockImageWidget) Clear()

Clear provides a mock function for the type MockImageWidget

func (*MockImageWidget) ComputePoint

func (_mock *MockImageWidget) ComputePoint(target layout.Widget) (float64, float64, bool)

ComputePoint provides a mock function for the type MockImageWidget

func (*MockImageWidget) EXPECT

func (*MockImageWidget) GetAllocatedHeight

func (_mock *MockImageWidget) GetAllocatedHeight() int

GetAllocatedHeight provides a mock function for the type MockImageWidget

func (*MockImageWidget) GetAllocatedWidth

func (_mock *MockImageWidget) GetAllocatedWidth() int

GetAllocatedWidth provides a mock function for the type MockImageWidget

func (*MockImageWidget) GetHexpand

func (_mock *MockImageWidget) GetHexpand() bool

GetHexpand provides a mock function for the type MockImageWidget

func (*MockImageWidget) GetParent

func (_mock *MockImageWidget) GetParent() layout.Widget

GetParent provides a mock function for the type MockImageWidget

func (*MockImageWidget) GetVexpand

func (_mock *MockImageWidget) GetVexpand() bool

GetVexpand provides a mock function for the type MockImageWidget

func (*MockImageWidget) GrabFocus

func (_mock *MockImageWidget) GrabFocus() bool

GrabFocus provides a mock function for the type MockImageWidget

func (*MockImageWidget) GtkWidget

func (_mock *MockImageWidget) GtkWidget() *gtk.Widget

GtkWidget provides a mock function for the type MockImageWidget

func (*MockImageWidget) HasCssClass

func (_mock *MockImageWidget) HasCssClass(cssClass string) bool

HasCssClass provides a mock function for the type MockImageWidget

func (*MockImageWidget) HasFocus

func (_mock *MockImageWidget) HasFocus() bool

HasFocus provides a mock function for the type MockImageWidget

func (*MockImageWidget) Hide

func (_mock *MockImageWidget) Hide()

Hide provides a mock function for the type MockImageWidget

func (*MockImageWidget) IsVisible

func (_mock *MockImageWidget) IsVisible() bool

IsVisible provides a mock function for the type MockImageWidget

func (*MockImageWidget) RemoveCssClass

func (_mock *MockImageWidget) RemoveCssClass(cssClass string)

RemoveCssClass provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetCanFocus

func (_mock *MockImageWidget) SetCanFocus(canFocus bool)

SetCanFocus provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetCanTarget

func (_mock *MockImageWidget) SetCanTarget(canTarget bool)

SetCanTarget provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetFocusOnClick

func (_mock *MockImageWidget) SetFocusOnClick(focusOnClick bool)

SetFocusOnClick provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetFocusable added in v0.23.0

func (_mock *MockImageWidget) SetFocusable(focusable bool)

SetFocusable provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetFromFile

func (_mock *MockImageWidget) SetFromFile(filename string)

SetFromFile provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetFromIconName

func (_mock *MockImageWidget) SetFromIconName(iconName string)

SetFromIconName provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetFromPaintable

func (_mock *MockImageWidget) SetFromPaintable(paintable layout.Paintable)

SetFromPaintable provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetHalign

func (_mock *MockImageWidget) SetHalign(align gtk.Align)

SetHalign provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetHexpand

func (_mock *MockImageWidget) SetHexpand(expand bool)

SetHexpand provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetOpacity added in v0.27.0

func (_mock *MockImageWidget) SetOpacity(opacity float64)

SetOpacity provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetPixelSize

func (_mock *MockImageWidget) SetPixelSize(pixelSize int)

SetPixelSize provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetSizeRequest

func (_mock *MockImageWidget) SetSizeRequest(width int, height int)

SetSizeRequest provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetValign

func (_mock *MockImageWidget) SetValign(align gtk.Align)

SetValign provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetVexpand

func (_mock *MockImageWidget) SetVexpand(expand bool)

SetVexpand provides a mock function for the type MockImageWidget

func (*MockImageWidget) SetVisible

func (_mock *MockImageWidget) SetVisible(visible bool)

SetVisible provides a mock function for the type MockImageWidget

func (*MockImageWidget) Show

func (_mock *MockImageWidget) Show()

Show provides a mock function for the type MockImageWidget

func (*MockImageWidget) Unparent

func (_mock *MockImageWidget) Unparent()

Unparent provides a mock function for the type MockImageWidget

type MockImageWidget_AddController_Call

type MockImageWidget_AddController_Call struct {
	*mock.Call
}

MockImageWidget_AddController_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddController'

func (*MockImageWidget_AddController_Call) Return

func (*MockImageWidget_AddController_Call) Run

func (*MockImageWidget_AddController_Call) RunAndReturn

type MockImageWidget_AddCssClass_Call

type MockImageWidget_AddCssClass_Call struct {
	*mock.Call
}

MockImageWidget_AddCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCssClass'

func (*MockImageWidget_AddCssClass_Call) Return

func (*MockImageWidget_AddCssClass_Call) Run

func (*MockImageWidget_AddCssClass_Call) RunAndReturn

func (_c *MockImageWidget_AddCssClass_Call) RunAndReturn(run func(cssClass string)) *MockImageWidget_AddCssClass_Call

type MockImageWidget_Clear_Call

type MockImageWidget_Clear_Call struct {
	*mock.Call
}

MockImageWidget_Clear_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Clear'

func (*MockImageWidget_Clear_Call) Return

func (*MockImageWidget_Clear_Call) Run

func (*MockImageWidget_Clear_Call) RunAndReturn

func (_c *MockImageWidget_Clear_Call) RunAndReturn(run func()) *MockImageWidget_Clear_Call

type MockImageWidget_ComputePoint_Call

type MockImageWidget_ComputePoint_Call struct {
	*mock.Call
}

MockImageWidget_ComputePoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputePoint'

func (*MockImageWidget_ComputePoint_Call) Return

func (*MockImageWidget_ComputePoint_Call) Run

func (*MockImageWidget_ComputePoint_Call) RunAndReturn

type MockImageWidget_Expecter

type MockImageWidget_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockImageWidget_Expecter) AddController

func (_e *MockImageWidget_Expecter) AddController(controller interface{}) *MockImageWidget_AddController_Call

AddController is a helper method to define mock.On call

  • controller *gtk.EventController

func (*MockImageWidget_Expecter) AddCssClass

func (_e *MockImageWidget_Expecter) AddCssClass(cssClass interface{}) *MockImageWidget_AddCssClass_Call

AddCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockImageWidget_Expecter) Clear

Clear is a helper method to define mock.On call

func (*MockImageWidget_Expecter) ComputePoint

func (_e *MockImageWidget_Expecter) ComputePoint(target interface{}) *MockImageWidget_ComputePoint_Call

ComputePoint is a helper method to define mock.On call

  • target layout.Widget

func (*MockImageWidget_Expecter) GetAllocatedHeight

GetAllocatedHeight is a helper method to define mock.On call

func (*MockImageWidget_Expecter) GetAllocatedWidth

GetAllocatedWidth is a helper method to define mock.On call

func (*MockImageWidget_Expecter) GetHexpand

GetHexpand is a helper method to define mock.On call

func (*MockImageWidget_Expecter) GetParent

GetParent is a helper method to define mock.On call

func (*MockImageWidget_Expecter) GetVexpand

GetVexpand is a helper method to define mock.On call

func (*MockImageWidget_Expecter) GrabFocus

GrabFocus is a helper method to define mock.On call

func (*MockImageWidget_Expecter) GtkWidget

GtkWidget is a helper method to define mock.On call

func (*MockImageWidget_Expecter) HasCssClass

func (_e *MockImageWidget_Expecter) HasCssClass(cssClass interface{}) *MockImageWidget_HasCssClass_Call

HasCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockImageWidget_Expecter) HasFocus

HasFocus is a helper method to define mock.On call

func (*MockImageWidget_Expecter) Hide

Hide is a helper method to define mock.On call

func (*MockImageWidget_Expecter) IsVisible

IsVisible is a helper method to define mock.On call

func (*MockImageWidget_Expecter) RemoveCssClass

func (_e *MockImageWidget_Expecter) RemoveCssClass(cssClass interface{}) *MockImageWidget_RemoveCssClass_Call

RemoveCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockImageWidget_Expecter) SetCanFocus

func (_e *MockImageWidget_Expecter) SetCanFocus(canFocus interface{}) *MockImageWidget_SetCanFocus_Call

SetCanFocus is a helper method to define mock.On call

  • canFocus bool

func (*MockImageWidget_Expecter) SetCanTarget

func (_e *MockImageWidget_Expecter) SetCanTarget(canTarget interface{}) *MockImageWidget_SetCanTarget_Call

SetCanTarget is a helper method to define mock.On call

  • canTarget bool

func (*MockImageWidget_Expecter) SetFocusOnClick

func (_e *MockImageWidget_Expecter) SetFocusOnClick(focusOnClick interface{}) *MockImageWidget_SetFocusOnClick_Call

SetFocusOnClick is a helper method to define mock.On call

  • focusOnClick bool

func (*MockImageWidget_Expecter) SetFocusable added in v0.23.0

func (_e *MockImageWidget_Expecter) SetFocusable(focusable interface{}) *MockImageWidget_SetFocusable_Call

SetFocusable is a helper method to define mock.On call

  • focusable bool

func (*MockImageWidget_Expecter) SetFromFile

func (_e *MockImageWidget_Expecter) SetFromFile(filename interface{}) *MockImageWidget_SetFromFile_Call

SetFromFile is a helper method to define mock.On call

  • filename string

func (*MockImageWidget_Expecter) SetFromIconName

func (_e *MockImageWidget_Expecter) SetFromIconName(iconName interface{}) *MockImageWidget_SetFromIconName_Call

SetFromIconName is a helper method to define mock.On call

  • iconName string

func (*MockImageWidget_Expecter) SetFromPaintable

func (_e *MockImageWidget_Expecter) SetFromPaintable(paintable interface{}) *MockImageWidget_SetFromPaintable_Call

SetFromPaintable is a helper method to define mock.On call

  • paintable layout.Paintable

func (*MockImageWidget_Expecter) SetHalign

func (_e *MockImageWidget_Expecter) SetHalign(align interface{}) *MockImageWidget_SetHalign_Call

SetHalign is a helper method to define mock.On call

  • align gtk.Align

func (*MockImageWidget_Expecter) SetHexpand

func (_e *MockImageWidget_Expecter) SetHexpand(expand interface{}) *MockImageWidget_SetHexpand_Call

SetHexpand is a helper method to define mock.On call

  • expand bool

func (*MockImageWidget_Expecter) SetOpacity added in v0.27.0

func (_e *MockImageWidget_Expecter) SetOpacity(opacity interface{}) *MockImageWidget_SetOpacity_Call

SetOpacity is a helper method to define mock.On call

  • opacity float64

func (*MockImageWidget_Expecter) SetPixelSize

func (_e *MockImageWidget_Expecter) SetPixelSize(pixelSize interface{}) *MockImageWidget_SetPixelSize_Call

SetPixelSize is a helper method to define mock.On call

  • pixelSize int

func (*MockImageWidget_Expecter) SetSizeRequest

func (_e *MockImageWidget_Expecter) SetSizeRequest(width interface{}, height interface{}) *MockImageWidget_SetSizeRequest_Call

SetSizeRequest is a helper method to define mock.On call

  • width int
  • height int

func (*MockImageWidget_Expecter) SetValign

func (_e *MockImageWidget_Expecter) SetValign(align interface{}) *MockImageWidget_SetValign_Call

SetValign is a helper method to define mock.On call

  • align gtk.Align

func (*MockImageWidget_Expecter) SetVexpand

func (_e *MockImageWidget_Expecter) SetVexpand(expand interface{}) *MockImageWidget_SetVexpand_Call

SetVexpand is a helper method to define mock.On call

  • expand bool

func (*MockImageWidget_Expecter) SetVisible

func (_e *MockImageWidget_Expecter) SetVisible(visible interface{}) *MockImageWidget_SetVisible_Call

SetVisible is a helper method to define mock.On call

  • visible bool

func (*MockImageWidget_Expecter) Show

Show is a helper method to define mock.On call

func (*MockImageWidget_Expecter) Unparent

Unparent is a helper method to define mock.On call

type MockImageWidget_GetAllocatedHeight_Call

type MockImageWidget_GetAllocatedHeight_Call struct {
	*mock.Call
}

MockImageWidget_GetAllocatedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedHeight'

func (*MockImageWidget_GetAllocatedHeight_Call) Return

func (*MockImageWidget_GetAllocatedHeight_Call) Run

func (*MockImageWidget_GetAllocatedHeight_Call) RunAndReturn

type MockImageWidget_GetAllocatedWidth_Call

type MockImageWidget_GetAllocatedWidth_Call struct {
	*mock.Call
}

MockImageWidget_GetAllocatedWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedWidth'

func (*MockImageWidget_GetAllocatedWidth_Call) Return

func (*MockImageWidget_GetAllocatedWidth_Call) Run

func (*MockImageWidget_GetAllocatedWidth_Call) RunAndReturn

type MockImageWidget_GetHexpand_Call

type MockImageWidget_GetHexpand_Call struct {
	*mock.Call
}

MockImageWidget_GetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHexpand'

func (*MockImageWidget_GetHexpand_Call) Return

func (*MockImageWidget_GetHexpand_Call) Run

func (*MockImageWidget_GetHexpand_Call) RunAndReturn

type MockImageWidget_GetParent_Call

type MockImageWidget_GetParent_Call struct {
	*mock.Call
}

MockImageWidget_GetParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParent'

func (*MockImageWidget_GetParent_Call) Return

func (*MockImageWidget_GetParent_Call) Run

func (*MockImageWidget_GetParent_Call) RunAndReturn

type MockImageWidget_GetVexpand_Call

type MockImageWidget_GetVexpand_Call struct {
	*mock.Call
}

MockImageWidget_GetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVexpand'

func (*MockImageWidget_GetVexpand_Call) Return

func (*MockImageWidget_GetVexpand_Call) Run

func (*MockImageWidget_GetVexpand_Call) RunAndReturn

type MockImageWidget_GrabFocus_Call

type MockImageWidget_GrabFocus_Call struct {
	*mock.Call
}

MockImageWidget_GrabFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrabFocus'

func (*MockImageWidget_GrabFocus_Call) Return

func (*MockImageWidget_GrabFocus_Call) Run

func (*MockImageWidget_GrabFocus_Call) RunAndReturn

type MockImageWidget_GtkWidget_Call

type MockImageWidget_GtkWidget_Call struct {
	*mock.Call
}

MockImageWidget_GtkWidget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GtkWidget'

func (*MockImageWidget_GtkWidget_Call) Return

func (*MockImageWidget_GtkWidget_Call) Run

func (*MockImageWidget_GtkWidget_Call) RunAndReturn

type MockImageWidget_HasCssClass_Call

type MockImageWidget_HasCssClass_Call struct {
	*mock.Call
}

MockImageWidget_HasCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasCssClass'

func (*MockImageWidget_HasCssClass_Call) Return

func (*MockImageWidget_HasCssClass_Call) Run

func (*MockImageWidget_HasCssClass_Call) RunAndReturn

func (_c *MockImageWidget_HasCssClass_Call) RunAndReturn(run func(cssClass string) bool) *MockImageWidget_HasCssClass_Call

type MockImageWidget_HasFocus_Call

type MockImageWidget_HasFocus_Call struct {
	*mock.Call
}

MockImageWidget_HasFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasFocus'

func (*MockImageWidget_HasFocus_Call) Return

func (*MockImageWidget_HasFocus_Call) Run

func (*MockImageWidget_HasFocus_Call) RunAndReturn

type MockImageWidget_Hide_Call

type MockImageWidget_Hide_Call struct {
	*mock.Call
}

MockImageWidget_Hide_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hide'

func (*MockImageWidget_Hide_Call) Return

func (*MockImageWidget_Hide_Call) Run

func (*MockImageWidget_Hide_Call) RunAndReturn

func (_c *MockImageWidget_Hide_Call) RunAndReturn(run func()) *MockImageWidget_Hide_Call

type MockImageWidget_IsVisible_Call

type MockImageWidget_IsVisible_Call struct {
	*mock.Call
}

MockImageWidget_IsVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsVisible'

func (*MockImageWidget_IsVisible_Call) Return

func (*MockImageWidget_IsVisible_Call) Run

func (*MockImageWidget_IsVisible_Call) RunAndReturn

type MockImageWidget_RemoveCssClass_Call

type MockImageWidget_RemoveCssClass_Call struct {
	*mock.Call
}

MockImageWidget_RemoveCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCssClass'

func (*MockImageWidget_RemoveCssClass_Call) Return

func (*MockImageWidget_RemoveCssClass_Call) Run

func (*MockImageWidget_RemoveCssClass_Call) RunAndReturn

type MockImageWidget_SetCanFocus_Call

type MockImageWidget_SetCanFocus_Call struct {
	*mock.Call
}

MockImageWidget_SetCanFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanFocus'

func (*MockImageWidget_SetCanFocus_Call) Return

func (*MockImageWidget_SetCanFocus_Call) Run

func (*MockImageWidget_SetCanFocus_Call) RunAndReturn

func (_c *MockImageWidget_SetCanFocus_Call) RunAndReturn(run func(canFocus bool)) *MockImageWidget_SetCanFocus_Call

type MockImageWidget_SetCanTarget_Call

type MockImageWidget_SetCanTarget_Call struct {
	*mock.Call
}

MockImageWidget_SetCanTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanTarget'

func (*MockImageWidget_SetCanTarget_Call) Return

func (*MockImageWidget_SetCanTarget_Call) Run

func (*MockImageWidget_SetCanTarget_Call) RunAndReturn

func (_c *MockImageWidget_SetCanTarget_Call) RunAndReturn(run func(canTarget bool)) *MockImageWidget_SetCanTarget_Call

type MockImageWidget_SetFocusOnClick_Call

type MockImageWidget_SetFocusOnClick_Call struct {
	*mock.Call
}

MockImageWidget_SetFocusOnClick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusOnClick'

func (*MockImageWidget_SetFocusOnClick_Call) Return

func (*MockImageWidget_SetFocusOnClick_Call) Run

func (*MockImageWidget_SetFocusOnClick_Call) RunAndReturn

func (_c *MockImageWidget_SetFocusOnClick_Call) RunAndReturn(run func(focusOnClick bool)) *MockImageWidget_SetFocusOnClick_Call

type MockImageWidget_SetFocusable_Call added in v0.23.0

type MockImageWidget_SetFocusable_Call struct {
	*mock.Call
}

MockImageWidget_SetFocusable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusable'

func (*MockImageWidget_SetFocusable_Call) Return added in v0.23.0

func (*MockImageWidget_SetFocusable_Call) Run added in v0.23.0

func (*MockImageWidget_SetFocusable_Call) RunAndReturn added in v0.23.0

func (_c *MockImageWidget_SetFocusable_Call) RunAndReturn(run func(focusable bool)) *MockImageWidget_SetFocusable_Call

type MockImageWidget_SetFromFile_Call

type MockImageWidget_SetFromFile_Call struct {
	*mock.Call
}

MockImageWidget_SetFromFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFromFile'

func (*MockImageWidget_SetFromFile_Call) Return

func (*MockImageWidget_SetFromFile_Call) Run

func (*MockImageWidget_SetFromFile_Call) RunAndReturn

func (_c *MockImageWidget_SetFromFile_Call) RunAndReturn(run func(filename string)) *MockImageWidget_SetFromFile_Call

type MockImageWidget_SetFromIconName_Call

type MockImageWidget_SetFromIconName_Call struct {
	*mock.Call
}

MockImageWidget_SetFromIconName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFromIconName'

func (*MockImageWidget_SetFromIconName_Call) Return

func (*MockImageWidget_SetFromIconName_Call) Run

func (*MockImageWidget_SetFromIconName_Call) RunAndReturn

type MockImageWidget_SetFromPaintable_Call

type MockImageWidget_SetFromPaintable_Call struct {
	*mock.Call
}

MockImageWidget_SetFromPaintable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFromPaintable'

func (*MockImageWidget_SetFromPaintable_Call) Return

func (*MockImageWidget_SetFromPaintable_Call) Run

func (*MockImageWidget_SetFromPaintable_Call) RunAndReturn

type MockImageWidget_SetHalign_Call

type MockImageWidget_SetHalign_Call struct {
	*mock.Call
}

MockImageWidget_SetHalign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHalign'

func (*MockImageWidget_SetHalign_Call) Return

func (*MockImageWidget_SetHalign_Call) Run

func (*MockImageWidget_SetHalign_Call) RunAndReturn

func (_c *MockImageWidget_SetHalign_Call) RunAndReturn(run func(align gtk.Align)) *MockImageWidget_SetHalign_Call

type MockImageWidget_SetHexpand_Call

type MockImageWidget_SetHexpand_Call struct {
	*mock.Call
}

MockImageWidget_SetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHexpand'

func (*MockImageWidget_SetHexpand_Call) Return

func (*MockImageWidget_SetHexpand_Call) Run

func (*MockImageWidget_SetHexpand_Call) RunAndReturn

func (_c *MockImageWidget_SetHexpand_Call) RunAndReturn(run func(expand bool)) *MockImageWidget_SetHexpand_Call

type MockImageWidget_SetOpacity_Call added in v0.27.0

type MockImageWidget_SetOpacity_Call struct {
	*mock.Call
}

MockImageWidget_SetOpacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOpacity'

func (*MockImageWidget_SetOpacity_Call) Return added in v0.27.0

func (*MockImageWidget_SetOpacity_Call) Run added in v0.27.0

func (*MockImageWidget_SetOpacity_Call) RunAndReturn added in v0.27.0

func (_c *MockImageWidget_SetOpacity_Call) RunAndReturn(run func(opacity float64)) *MockImageWidget_SetOpacity_Call

type MockImageWidget_SetPixelSize_Call

type MockImageWidget_SetPixelSize_Call struct {
	*mock.Call
}

MockImageWidget_SetPixelSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPixelSize'

func (*MockImageWidget_SetPixelSize_Call) Return

func (*MockImageWidget_SetPixelSize_Call) Run

func (*MockImageWidget_SetPixelSize_Call) RunAndReturn

func (_c *MockImageWidget_SetPixelSize_Call) RunAndReturn(run func(pixelSize int)) *MockImageWidget_SetPixelSize_Call

type MockImageWidget_SetSizeRequest_Call

type MockImageWidget_SetSizeRequest_Call struct {
	*mock.Call
}

MockImageWidget_SetSizeRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSizeRequest'

func (*MockImageWidget_SetSizeRequest_Call) Return

func (*MockImageWidget_SetSizeRequest_Call) Run

func (*MockImageWidget_SetSizeRequest_Call) RunAndReturn

func (_c *MockImageWidget_SetSizeRequest_Call) RunAndReturn(run func(width int, height int)) *MockImageWidget_SetSizeRequest_Call

type MockImageWidget_SetValign_Call

type MockImageWidget_SetValign_Call struct {
	*mock.Call
}

MockImageWidget_SetValign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValign'

func (*MockImageWidget_SetValign_Call) Return

func (*MockImageWidget_SetValign_Call) Run

func (*MockImageWidget_SetValign_Call) RunAndReturn

func (_c *MockImageWidget_SetValign_Call) RunAndReturn(run func(align gtk.Align)) *MockImageWidget_SetValign_Call

type MockImageWidget_SetVexpand_Call

type MockImageWidget_SetVexpand_Call struct {
	*mock.Call
}

MockImageWidget_SetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVexpand'

func (*MockImageWidget_SetVexpand_Call) Return

func (*MockImageWidget_SetVexpand_Call) Run

func (*MockImageWidget_SetVexpand_Call) RunAndReturn

func (_c *MockImageWidget_SetVexpand_Call) RunAndReturn(run func(expand bool)) *MockImageWidget_SetVexpand_Call

type MockImageWidget_SetVisible_Call

type MockImageWidget_SetVisible_Call struct {
	*mock.Call
}

MockImageWidget_SetVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVisible'

func (*MockImageWidget_SetVisible_Call) Return

func (*MockImageWidget_SetVisible_Call) Run

func (*MockImageWidget_SetVisible_Call) RunAndReturn

func (_c *MockImageWidget_SetVisible_Call) RunAndReturn(run func(visible bool)) *MockImageWidget_SetVisible_Call

type MockImageWidget_Show_Call

type MockImageWidget_Show_Call struct {
	*mock.Call
}

MockImageWidget_Show_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Show'

func (*MockImageWidget_Show_Call) Return

func (*MockImageWidget_Show_Call) Run

func (*MockImageWidget_Show_Call) RunAndReturn

func (_c *MockImageWidget_Show_Call) RunAndReturn(run func()) *MockImageWidget_Show_Call

type MockImageWidget_Unparent_Call

type MockImageWidget_Unparent_Call struct {
	*mock.Call
}

MockImageWidget_Unparent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unparent'

func (*MockImageWidget_Unparent_Call) Return

func (*MockImageWidget_Unparent_Call) Run

func (*MockImageWidget_Unparent_Call) RunAndReturn

func (_c *MockImageWidget_Unparent_Call) RunAndReturn(run func()) *MockImageWidget_Unparent_Call

type MockLabelWidget

type MockLabelWidget struct {
	mock.Mock
}

MockLabelWidget is an autogenerated mock type for the LabelWidget type

func NewMockLabelWidget

func NewMockLabelWidget(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockLabelWidget

NewMockLabelWidget creates a new instance of MockLabelWidget. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockLabelWidget) AddController

func (_mock *MockLabelWidget) AddController(controller *gtk.EventController)

AddController provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) AddCssClass

func (_mock *MockLabelWidget) AddCssClass(cssClass string)

AddCssClass provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) ComputePoint

func (_mock *MockLabelWidget) ComputePoint(target layout.Widget) (float64, float64, bool)

ComputePoint provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) EXPECT

func (*MockLabelWidget) GetAllocatedHeight

func (_mock *MockLabelWidget) GetAllocatedHeight() int

GetAllocatedHeight provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) GetAllocatedWidth

func (_mock *MockLabelWidget) GetAllocatedWidth() int

GetAllocatedWidth provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) GetHexpand

func (_mock *MockLabelWidget) GetHexpand() bool

GetHexpand provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) GetParent

func (_mock *MockLabelWidget) GetParent() layout.Widget

GetParent provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) GetText

func (_mock *MockLabelWidget) GetText() string

GetText provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) GetVexpand

func (_mock *MockLabelWidget) GetVexpand() bool

GetVexpand provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) GrabFocus

func (_mock *MockLabelWidget) GrabFocus() bool

GrabFocus provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) GtkWidget

func (_mock *MockLabelWidget) GtkWidget() *gtk.Widget

GtkWidget provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) HasCssClass

func (_mock *MockLabelWidget) HasCssClass(cssClass string) bool

HasCssClass provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) HasFocus

func (_mock *MockLabelWidget) HasFocus() bool

HasFocus provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) Hide

func (_mock *MockLabelWidget) Hide()

Hide provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) IsVisible

func (_mock *MockLabelWidget) IsVisible() bool

IsVisible provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) RemoveCssClass

func (_mock *MockLabelWidget) RemoveCssClass(cssClass string)

RemoveCssClass provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetCanFocus

func (_mock *MockLabelWidget) SetCanFocus(canFocus bool)

SetCanFocus provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetCanTarget

func (_mock *MockLabelWidget) SetCanTarget(canTarget bool)

SetCanTarget provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetEllipsize

func (_mock *MockLabelWidget) SetEllipsize(mode layout.EllipsizeMode)

SetEllipsize provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetFocusOnClick

func (_mock *MockLabelWidget) SetFocusOnClick(focusOnClick bool)

SetFocusOnClick provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetFocusable added in v0.23.0

func (_mock *MockLabelWidget) SetFocusable(focusable bool)

SetFocusable provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetHalign

func (_mock *MockLabelWidget) SetHalign(align gtk.Align)

SetHalign provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetHexpand

func (_mock *MockLabelWidget) SetHexpand(expand bool)

SetHexpand provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetMarkup

func (_mock *MockLabelWidget) SetMarkup(markup string)

SetMarkup provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetMaxWidthChars

func (_mock *MockLabelWidget) SetMaxWidthChars(nChars int)

SetMaxWidthChars provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetOpacity added in v0.27.0

func (_mock *MockLabelWidget) SetOpacity(opacity float64)

SetOpacity provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetSizeRequest

func (_mock *MockLabelWidget) SetSizeRequest(width int, height int)

SetSizeRequest provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetText

func (_mock *MockLabelWidget) SetText(text string)

SetText provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetValign

func (_mock *MockLabelWidget) SetValign(align gtk.Align)

SetValign provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetVexpand

func (_mock *MockLabelWidget) SetVexpand(expand bool)

SetVexpand provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetVisible

func (_mock *MockLabelWidget) SetVisible(visible bool)

SetVisible provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) SetXalign

func (_mock *MockLabelWidget) SetXalign(xalign float32)

SetXalign provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) Show

func (_mock *MockLabelWidget) Show()

Show provides a mock function for the type MockLabelWidget

func (*MockLabelWidget) Unparent

func (_mock *MockLabelWidget) Unparent()

Unparent provides a mock function for the type MockLabelWidget

type MockLabelWidget_AddController_Call

type MockLabelWidget_AddController_Call struct {
	*mock.Call
}

MockLabelWidget_AddController_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddController'

func (*MockLabelWidget_AddController_Call) Return

func (*MockLabelWidget_AddController_Call) Run

func (*MockLabelWidget_AddController_Call) RunAndReturn

type MockLabelWidget_AddCssClass_Call

type MockLabelWidget_AddCssClass_Call struct {
	*mock.Call
}

MockLabelWidget_AddCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCssClass'

func (*MockLabelWidget_AddCssClass_Call) Return

func (*MockLabelWidget_AddCssClass_Call) Run

func (*MockLabelWidget_AddCssClass_Call) RunAndReturn

func (_c *MockLabelWidget_AddCssClass_Call) RunAndReturn(run func(cssClass string)) *MockLabelWidget_AddCssClass_Call

type MockLabelWidget_ComputePoint_Call

type MockLabelWidget_ComputePoint_Call struct {
	*mock.Call
}

MockLabelWidget_ComputePoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputePoint'

func (*MockLabelWidget_ComputePoint_Call) Return

func (*MockLabelWidget_ComputePoint_Call) Run

func (*MockLabelWidget_ComputePoint_Call) RunAndReturn

type MockLabelWidget_Expecter

type MockLabelWidget_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockLabelWidget_Expecter) AddController

func (_e *MockLabelWidget_Expecter) AddController(controller interface{}) *MockLabelWidget_AddController_Call

AddController is a helper method to define mock.On call

  • controller *gtk.EventController

func (*MockLabelWidget_Expecter) AddCssClass

func (_e *MockLabelWidget_Expecter) AddCssClass(cssClass interface{}) *MockLabelWidget_AddCssClass_Call

AddCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockLabelWidget_Expecter) ComputePoint

func (_e *MockLabelWidget_Expecter) ComputePoint(target interface{}) *MockLabelWidget_ComputePoint_Call

ComputePoint is a helper method to define mock.On call

  • target layout.Widget

func (*MockLabelWidget_Expecter) GetAllocatedHeight

GetAllocatedHeight is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) GetAllocatedWidth

GetAllocatedWidth is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) GetHexpand

GetHexpand is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) GetParent

GetParent is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) GetText

GetText is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) GetVexpand

GetVexpand is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) GrabFocus

GrabFocus is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) GtkWidget

GtkWidget is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) HasCssClass

func (_e *MockLabelWidget_Expecter) HasCssClass(cssClass interface{}) *MockLabelWidget_HasCssClass_Call

HasCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockLabelWidget_Expecter) HasFocus

HasFocus is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) Hide

Hide is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) IsVisible

IsVisible is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) RemoveCssClass

func (_e *MockLabelWidget_Expecter) RemoveCssClass(cssClass interface{}) *MockLabelWidget_RemoveCssClass_Call

RemoveCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockLabelWidget_Expecter) SetCanFocus

func (_e *MockLabelWidget_Expecter) SetCanFocus(canFocus interface{}) *MockLabelWidget_SetCanFocus_Call

SetCanFocus is a helper method to define mock.On call

  • canFocus bool

func (*MockLabelWidget_Expecter) SetCanTarget

func (_e *MockLabelWidget_Expecter) SetCanTarget(canTarget interface{}) *MockLabelWidget_SetCanTarget_Call

SetCanTarget is a helper method to define mock.On call

  • canTarget bool

func (*MockLabelWidget_Expecter) SetEllipsize

func (_e *MockLabelWidget_Expecter) SetEllipsize(mode interface{}) *MockLabelWidget_SetEllipsize_Call

SetEllipsize is a helper method to define mock.On call

  • mode layout.EllipsizeMode

func (*MockLabelWidget_Expecter) SetFocusOnClick

func (_e *MockLabelWidget_Expecter) SetFocusOnClick(focusOnClick interface{}) *MockLabelWidget_SetFocusOnClick_Call

SetFocusOnClick is a helper method to define mock.On call

  • focusOnClick bool

func (*MockLabelWidget_Expecter) SetFocusable added in v0.23.0

func (_e *MockLabelWidget_Expecter) SetFocusable(focusable interface{}) *MockLabelWidget_SetFocusable_Call

SetFocusable is a helper method to define mock.On call

  • focusable bool

func (*MockLabelWidget_Expecter) SetHalign

func (_e *MockLabelWidget_Expecter) SetHalign(align interface{}) *MockLabelWidget_SetHalign_Call

SetHalign is a helper method to define mock.On call

  • align gtk.Align

func (*MockLabelWidget_Expecter) SetHexpand

func (_e *MockLabelWidget_Expecter) SetHexpand(expand interface{}) *MockLabelWidget_SetHexpand_Call

SetHexpand is a helper method to define mock.On call

  • expand bool

func (*MockLabelWidget_Expecter) SetMarkup

func (_e *MockLabelWidget_Expecter) SetMarkup(markup interface{}) *MockLabelWidget_SetMarkup_Call

SetMarkup is a helper method to define mock.On call

  • markup string

func (*MockLabelWidget_Expecter) SetMaxWidthChars

func (_e *MockLabelWidget_Expecter) SetMaxWidthChars(nChars interface{}) *MockLabelWidget_SetMaxWidthChars_Call

SetMaxWidthChars is a helper method to define mock.On call

  • nChars int

func (*MockLabelWidget_Expecter) SetOpacity added in v0.27.0

func (_e *MockLabelWidget_Expecter) SetOpacity(opacity interface{}) *MockLabelWidget_SetOpacity_Call

SetOpacity is a helper method to define mock.On call

  • opacity float64

func (*MockLabelWidget_Expecter) SetSizeRequest

func (_e *MockLabelWidget_Expecter) SetSizeRequest(width interface{}, height interface{}) *MockLabelWidget_SetSizeRequest_Call

SetSizeRequest is a helper method to define mock.On call

  • width int
  • height int

func (*MockLabelWidget_Expecter) SetText

func (_e *MockLabelWidget_Expecter) SetText(text interface{}) *MockLabelWidget_SetText_Call

SetText is a helper method to define mock.On call

  • text string

func (*MockLabelWidget_Expecter) SetValign

func (_e *MockLabelWidget_Expecter) SetValign(align interface{}) *MockLabelWidget_SetValign_Call

SetValign is a helper method to define mock.On call

  • align gtk.Align

func (*MockLabelWidget_Expecter) SetVexpand

func (_e *MockLabelWidget_Expecter) SetVexpand(expand interface{}) *MockLabelWidget_SetVexpand_Call

SetVexpand is a helper method to define mock.On call

  • expand bool

func (*MockLabelWidget_Expecter) SetVisible

func (_e *MockLabelWidget_Expecter) SetVisible(visible interface{}) *MockLabelWidget_SetVisible_Call

SetVisible is a helper method to define mock.On call

  • visible bool

func (*MockLabelWidget_Expecter) SetXalign

func (_e *MockLabelWidget_Expecter) SetXalign(xalign interface{}) *MockLabelWidget_SetXalign_Call

SetXalign is a helper method to define mock.On call

  • xalign float32

func (*MockLabelWidget_Expecter) Show

Show is a helper method to define mock.On call

func (*MockLabelWidget_Expecter) Unparent

Unparent is a helper method to define mock.On call

type MockLabelWidget_GetAllocatedHeight_Call

type MockLabelWidget_GetAllocatedHeight_Call struct {
	*mock.Call
}

MockLabelWidget_GetAllocatedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedHeight'

func (*MockLabelWidget_GetAllocatedHeight_Call) Return

func (*MockLabelWidget_GetAllocatedHeight_Call) Run

func (*MockLabelWidget_GetAllocatedHeight_Call) RunAndReturn

type MockLabelWidget_GetAllocatedWidth_Call

type MockLabelWidget_GetAllocatedWidth_Call struct {
	*mock.Call
}

MockLabelWidget_GetAllocatedWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedWidth'

func (*MockLabelWidget_GetAllocatedWidth_Call) Return

func (*MockLabelWidget_GetAllocatedWidth_Call) Run

func (*MockLabelWidget_GetAllocatedWidth_Call) RunAndReturn

type MockLabelWidget_GetHexpand_Call

type MockLabelWidget_GetHexpand_Call struct {
	*mock.Call
}

MockLabelWidget_GetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHexpand'

func (*MockLabelWidget_GetHexpand_Call) Return

func (*MockLabelWidget_GetHexpand_Call) Run

func (*MockLabelWidget_GetHexpand_Call) RunAndReturn

type MockLabelWidget_GetParent_Call

type MockLabelWidget_GetParent_Call struct {
	*mock.Call
}

MockLabelWidget_GetParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParent'

func (*MockLabelWidget_GetParent_Call) Return

func (*MockLabelWidget_GetParent_Call) Run

func (*MockLabelWidget_GetParent_Call) RunAndReturn

type MockLabelWidget_GetText_Call

type MockLabelWidget_GetText_Call struct {
	*mock.Call
}

MockLabelWidget_GetText_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetText'

func (*MockLabelWidget_GetText_Call) Return

func (*MockLabelWidget_GetText_Call) Run

func (*MockLabelWidget_GetText_Call) RunAndReturn

type MockLabelWidget_GetVexpand_Call

type MockLabelWidget_GetVexpand_Call struct {
	*mock.Call
}

MockLabelWidget_GetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVexpand'

func (*MockLabelWidget_GetVexpand_Call) Return

func (*MockLabelWidget_GetVexpand_Call) Run

func (*MockLabelWidget_GetVexpand_Call) RunAndReturn

type MockLabelWidget_GrabFocus_Call

type MockLabelWidget_GrabFocus_Call struct {
	*mock.Call
}

MockLabelWidget_GrabFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrabFocus'

func (*MockLabelWidget_GrabFocus_Call) Return

func (*MockLabelWidget_GrabFocus_Call) Run

func (*MockLabelWidget_GrabFocus_Call) RunAndReturn

type MockLabelWidget_GtkWidget_Call

type MockLabelWidget_GtkWidget_Call struct {
	*mock.Call
}

MockLabelWidget_GtkWidget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GtkWidget'

func (*MockLabelWidget_GtkWidget_Call) Return

func (*MockLabelWidget_GtkWidget_Call) Run

func (*MockLabelWidget_GtkWidget_Call) RunAndReturn

type MockLabelWidget_HasCssClass_Call

type MockLabelWidget_HasCssClass_Call struct {
	*mock.Call
}

MockLabelWidget_HasCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasCssClass'

func (*MockLabelWidget_HasCssClass_Call) Return

func (*MockLabelWidget_HasCssClass_Call) Run

func (*MockLabelWidget_HasCssClass_Call) RunAndReturn

func (_c *MockLabelWidget_HasCssClass_Call) RunAndReturn(run func(cssClass string) bool) *MockLabelWidget_HasCssClass_Call

type MockLabelWidget_HasFocus_Call

type MockLabelWidget_HasFocus_Call struct {
	*mock.Call
}

MockLabelWidget_HasFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasFocus'

func (*MockLabelWidget_HasFocus_Call) Return

func (*MockLabelWidget_HasFocus_Call) Run

func (*MockLabelWidget_HasFocus_Call) RunAndReturn

type MockLabelWidget_Hide_Call

type MockLabelWidget_Hide_Call struct {
	*mock.Call
}

MockLabelWidget_Hide_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hide'

func (*MockLabelWidget_Hide_Call) Return

func (*MockLabelWidget_Hide_Call) Run

func (*MockLabelWidget_Hide_Call) RunAndReturn

func (_c *MockLabelWidget_Hide_Call) RunAndReturn(run func()) *MockLabelWidget_Hide_Call

type MockLabelWidget_IsVisible_Call

type MockLabelWidget_IsVisible_Call struct {
	*mock.Call
}

MockLabelWidget_IsVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsVisible'

func (*MockLabelWidget_IsVisible_Call) Return

func (*MockLabelWidget_IsVisible_Call) Run

func (*MockLabelWidget_IsVisible_Call) RunAndReturn

type MockLabelWidget_RemoveCssClass_Call

type MockLabelWidget_RemoveCssClass_Call struct {
	*mock.Call
}

MockLabelWidget_RemoveCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCssClass'

func (*MockLabelWidget_RemoveCssClass_Call) Return

func (*MockLabelWidget_RemoveCssClass_Call) Run

func (*MockLabelWidget_RemoveCssClass_Call) RunAndReturn

type MockLabelWidget_SetCanFocus_Call

type MockLabelWidget_SetCanFocus_Call struct {
	*mock.Call
}

MockLabelWidget_SetCanFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanFocus'

func (*MockLabelWidget_SetCanFocus_Call) Return

func (*MockLabelWidget_SetCanFocus_Call) Run

func (*MockLabelWidget_SetCanFocus_Call) RunAndReturn

func (_c *MockLabelWidget_SetCanFocus_Call) RunAndReturn(run func(canFocus bool)) *MockLabelWidget_SetCanFocus_Call

type MockLabelWidget_SetCanTarget_Call

type MockLabelWidget_SetCanTarget_Call struct {
	*mock.Call
}

MockLabelWidget_SetCanTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanTarget'

func (*MockLabelWidget_SetCanTarget_Call) Return

func (*MockLabelWidget_SetCanTarget_Call) Run

func (*MockLabelWidget_SetCanTarget_Call) RunAndReturn

func (_c *MockLabelWidget_SetCanTarget_Call) RunAndReturn(run func(canTarget bool)) *MockLabelWidget_SetCanTarget_Call

type MockLabelWidget_SetEllipsize_Call

type MockLabelWidget_SetEllipsize_Call struct {
	*mock.Call
}

MockLabelWidget_SetEllipsize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEllipsize'

func (*MockLabelWidget_SetEllipsize_Call) Return

func (*MockLabelWidget_SetEllipsize_Call) Run

func (*MockLabelWidget_SetEllipsize_Call) RunAndReturn

type MockLabelWidget_SetFocusOnClick_Call

type MockLabelWidget_SetFocusOnClick_Call struct {
	*mock.Call
}

MockLabelWidget_SetFocusOnClick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusOnClick'

func (*MockLabelWidget_SetFocusOnClick_Call) Return

func (*MockLabelWidget_SetFocusOnClick_Call) Run

func (*MockLabelWidget_SetFocusOnClick_Call) RunAndReturn

func (_c *MockLabelWidget_SetFocusOnClick_Call) RunAndReturn(run func(focusOnClick bool)) *MockLabelWidget_SetFocusOnClick_Call

type MockLabelWidget_SetFocusable_Call added in v0.23.0

type MockLabelWidget_SetFocusable_Call struct {
	*mock.Call
}

MockLabelWidget_SetFocusable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusable'

func (*MockLabelWidget_SetFocusable_Call) Return added in v0.23.0

func (*MockLabelWidget_SetFocusable_Call) Run added in v0.23.0

func (*MockLabelWidget_SetFocusable_Call) RunAndReturn added in v0.23.0

func (_c *MockLabelWidget_SetFocusable_Call) RunAndReturn(run func(focusable bool)) *MockLabelWidget_SetFocusable_Call

type MockLabelWidget_SetHalign_Call

type MockLabelWidget_SetHalign_Call struct {
	*mock.Call
}

MockLabelWidget_SetHalign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHalign'

func (*MockLabelWidget_SetHalign_Call) Return

func (*MockLabelWidget_SetHalign_Call) Run

func (*MockLabelWidget_SetHalign_Call) RunAndReturn

func (_c *MockLabelWidget_SetHalign_Call) RunAndReturn(run func(align gtk.Align)) *MockLabelWidget_SetHalign_Call

type MockLabelWidget_SetHexpand_Call

type MockLabelWidget_SetHexpand_Call struct {
	*mock.Call
}

MockLabelWidget_SetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHexpand'

func (*MockLabelWidget_SetHexpand_Call) Return

func (*MockLabelWidget_SetHexpand_Call) Run

func (*MockLabelWidget_SetHexpand_Call) RunAndReturn

func (_c *MockLabelWidget_SetHexpand_Call) RunAndReturn(run func(expand bool)) *MockLabelWidget_SetHexpand_Call

type MockLabelWidget_SetMarkup_Call

type MockLabelWidget_SetMarkup_Call struct {
	*mock.Call
}

MockLabelWidget_SetMarkup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMarkup'

func (*MockLabelWidget_SetMarkup_Call) Return

func (*MockLabelWidget_SetMarkup_Call) Run

func (*MockLabelWidget_SetMarkup_Call) RunAndReturn

func (_c *MockLabelWidget_SetMarkup_Call) RunAndReturn(run func(markup string)) *MockLabelWidget_SetMarkup_Call

type MockLabelWidget_SetMaxWidthChars_Call

type MockLabelWidget_SetMaxWidthChars_Call struct {
	*mock.Call
}

MockLabelWidget_SetMaxWidthChars_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMaxWidthChars'

func (*MockLabelWidget_SetMaxWidthChars_Call) Return

func (*MockLabelWidget_SetMaxWidthChars_Call) Run

func (*MockLabelWidget_SetMaxWidthChars_Call) RunAndReturn

type MockLabelWidget_SetOpacity_Call added in v0.27.0

type MockLabelWidget_SetOpacity_Call struct {
	*mock.Call
}

MockLabelWidget_SetOpacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOpacity'

func (*MockLabelWidget_SetOpacity_Call) Return added in v0.27.0

func (*MockLabelWidget_SetOpacity_Call) Run added in v0.27.0

func (*MockLabelWidget_SetOpacity_Call) RunAndReturn added in v0.27.0

func (_c *MockLabelWidget_SetOpacity_Call) RunAndReturn(run func(opacity float64)) *MockLabelWidget_SetOpacity_Call

type MockLabelWidget_SetSizeRequest_Call

type MockLabelWidget_SetSizeRequest_Call struct {
	*mock.Call
}

MockLabelWidget_SetSizeRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSizeRequest'

func (*MockLabelWidget_SetSizeRequest_Call) Return

func (*MockLabelWidget_SetSizeRequest_Call) Run

func (*MockLabelWidget_SetSizeRequest_Call) RunAndReturn

func (_c *MockLabelWidget_SetSizeRequest_Call) RunAndReturn(run func(width int, height int)) *MockLabelWidget_SetSizeRequest_Call

type MockLabelWidget_SetText_Call

type MockLabelWidget_SetText_Call struct {
	*mock.Call
}

MockLabelWidget_SetText_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetText'

func (*MockLabelWidget_SetText_Call) Return

func (*MockLabelWidget_SetText_Call) Run

func (*MockLabelWidget_SetText_Call) RunAndReturn

func (_c *MockLabelWidget_SetText_Call) RunAndReturn(run func(text string)) *MockLabelWidget_SetText_Call

type MockLabelWidget_SetValign_Call

type MockLabelWidget_SetValign_Call struct {
	*mock.Call
}

MockLabelWidget_SetValign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValign'

func (*MockLabelWidget_SetValign_Call) Return

func (*MockLabelWidget_SetValign_Call) Run

func (*MockLabelWidget_SetValign_Call) RunAndReturn

func (_c *MockLabelWidget_SetValign_Call) RunAndReturn(run func(align gtk.Align)) *MockLabelWidget_SetValign_Call

type MockLabelWidget_SetVexpand_Call

type MockLabelWidget_SetVexpand_Call struct {
	*mock.Call
}

MockLabelWidget_SetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVexpand'

func (*MockLabelWidget_SetVexpand_Call) Return

func (*MockLabelWidget_SetVexpand_Call) Run

func (*MockLabelWidget_SetVexpand_Call) RunAndReturn

func (_c *MockLabelWidget_SetVexpand_Call) RunAndReturn(run func(expand bool)) *MockLabelWidget_SetVexpand_Call

type MockLabelWidget_SetVisible_Call

type MockLabelWidget_SetVisible_Call struct {
	*mock.Call
}

MockLabelWidget_SetVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVisible'

func (*MockLabelWidget_SetVisible_Call) Return

func (*MockLabelWidget_SetVisible_Call) Run

func (*MockLabelWidget_SetVisible_Call) RunAndReturn

func (_c *MockLabelWidget_SetVisible_Call) RunAndReturn(run func(visible bool)) *MockLabelWidget_SetVisible_Call

type MockLabelWidget_SetXalign_Call

type MockLabelWidget_SetXalign_Call struct {
	*mock.Call
}

MockLabelWidget_SetXalign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetXalign'

func (*MockLabelWidget_SetXalign_Call) Return

func (*MockLabelWidget_SetXalign_Call) Run

func (*MockLabelWidget_SetXalign_Call) RunAndReturn

func (_c *MockLabelWidget_SetXalign_Call) RunAndReturn(run func(xalign float32)) *MockLabelWidget_SetXalign_Call

type MockLabelWidget_Show_Call

type MockLabelWidget_Show_Call struct {
	*mock.Call
}

MockLabelWidget_Show_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Show'

func (*MockLabelWidget_Show_Call) Return

func (*MockLabelWidget_Show_Call) Run

func (*MockLabelWidget_Show_Call) RunAndReturn

func (_c *MockLabelWidget_Show_Call) RunAndReturn(run func()) *MockLabelWidget_Show_Call

type MockLabelWidget_Unparent_Call

type MockLabelWidget_Unparent_Call struct {
	*mock.Call
}

MockLabelWidget_Unparent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unparent'

func (*MockLabelWidget_Unparent_Call) Return

func (*MockLabelWidget_Unparent_Call) Run

func (*MockLabelWidget_Unparent_Call) RunAndReturn

func (_c *MockLabelWidget_Unparent_Call) RunAndReturn(run func()) *MockLabelWidget_Unparent_Call

type MockOverlayWidget

type MockOverlayWidget struct {
	mock.Mock
}

MockOverlayWidget is an autogenerated mock type for the OverlayWidget type

func NewMockOverlayWidget

func NewMockOverlayWidget(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockOverlayWidget

NewMockOverlayWidget creates a new instance of MockOverlayWidget. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockOverlayWidget) AddController

func (_mock *MockOverlayWidget) AddController(controller *gtk.EventController)

AddController provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) AddCssClass

func (_mock *MockOverlayWidget) AddCssClass(cssClass string)

AddCssClass provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) AddOverlay

func (_mock *MockOverlayWidget) AddOverlay(overlay layout.Widget)

AddOverlay provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) ComputePoint

func (_mock *MockOverlayWidget) ComputePoint(target layout.Widget) (float64, float64, bool)

ComputePoint provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) EXPECT

func (*MockOverlayWidget) GetAllocatedHeight

func (_mock *MockOverlayWidget) GetAllocatedHeight() int

GetAllocatedHeight provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) GetAllocatedWidth

func (_mock *MockOverlayWidget) GetAllocatedWidth() int

GetAllocatedWidth provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) GetChild

func (_mock *MockOverlayWidget) GetChild() layout.Widget

GetChild provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) GetClipOverlay

func (_mock *MockOverlayWidget) GetClipOverlay(overlay layout.Widget) bool

GetClipOverlay provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) GetHexpand

func (_mock *MockOverlayWidget) GetHexpand() bool

GetHexpand provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) GetMeasureOverlay

func (_mock *MockOverlayWidget) GetMeasureOverlay(overlay layout.Widget) bool

GetMeasureOverlay provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) GetParent

func (_mock *MockOverlayWidget) GetParent() layout.Widget

GetParent provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) GetVexpand

func (_mock *MockOverlayWidget) GetVexpand() bool

GetVexpand provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) GrabFocus

func (_mock *MockOverlayWidget) GrabFocus() bool

GrabFocus provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) GtkWidget

func (_mock *MockOverlayWidget) GtkWidget() *gtk.Widget

GtkWidget provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) HasCssClass

func (_mock *MockOverlayWidget) HasCssClass(cssClass string) bool

HasCssClass provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) HasFocus

func (_mock *MockOverlayWidget) HasFocus() bool

HasFocus provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) Hide

func (_mock *MockOverlayWidget) Hide()

Hide provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) IsVisible

func (_mock *MockOverlayWidget) IsVisible() bool

IsVisible provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) RemoveCssClass

func (_mock *MockOverlayWidget) RemoveCssClass(cssClass string)

RemoveCssClass provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) RemoveOverlay

func (_mock *MockOverlayWidget) RemoveOverlay(overlay layout.Widget)

RemoveOverlay provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetCanFocus

func (_mock *MockOverlayWidget) SetCanFocus(canFocus bool)

SetCanFocus provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetCanTarget

func (_mock *MockOverlayWidget) SetCanTarget(canTarget bool)

SetCanTarget provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetChild

func (_mock *MockOverlayWidget) SetChild(child layout.Widget)

SetChild provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetClipOverlay

func (_mock *MockOverlayWidget) SetClipOverlay(overlay layout.Widget, clip bool)

SetClipOverlay provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetFocusOnClick

func (_mock *MockOverlayWidget) SetFocusOnClick(focusOnClick bool)

SetFocusOnClick provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetFocusable added in v0.23.0

func (_mock *MockOverlayWidget) SetFocusable(focusable bool)

SetFocusable provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetHalign

func (_mock *MockOverlayWidget) SetHalign(align gtk.Align)

SetHalign provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetHexpand

func (_mock *MockOverlayWidget) SetHexpand(expand bool)

SetHexpand provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetMeasureOverlay

func (_mock *MockOverlayWidget) SetMeasureOverlay(overlay layout.Widget, measure bool)

SetMeasureOverlay provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetOpacity added in v0.27.0

func (_mock *MockOverlayWidget) SetOpacity(opacity float64)

SetOpacity provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetSizeRequest

func (_mock *MockOverlayWidget) SetSizeRequest(width int, height int)

SetSizeRequest provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetValign

func (_mock *MockOverlayWidget) SetValign(align gtk.Align)

SetValign provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetVexpand

func (_mock *MockOverlayWidget) SetVexpand(expand bool)

SetVexpand provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) SetVisible

func (_mock *MockOverlayWidget) SetVisible(visible bool)

SetVisible provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) Show

func (_mock *MockOverlayWidget) Show()

Show provides a mock function for the type MockOverlayWidget

func (*MockOverlayWidget) Unparent

func (_mock *MockOverlayWidget) Unparent()

Unparent provides a mock function for the type MockOverlayWidget

type MockOverlayWidget_AddController_Call

type MockOverlayWidget_AddController_Call struct {
	*mock.Call
}

MockOverlayWidget_AddController_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddController'

func (*MockOverlayWidget_AddController_Call) Return

func (*MockOverlayWidget_AddController_Call) Run

func (*MockOverlayWidget_AddController_Call) RunAndReturn

type MockOverlayWidget_AddCssClass_Call

type MockOverlayWidget_AddCssClass_Call struct {
	*mock.Call
}

MockOverlayWidget_AddCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCssClass'

func (*MockOverlayWidget_AddCssClass_Call) Return

func (*MockOverlayWidget_AddCssClass_Call) Run

func (*MockOverlayWidget_AddCssClass_Call) RunAndReturn

type MockOverlayWidget_AddOverlay_Call

type MockOverlayWidget_AddOverlay_Call struct {
	*mock.Call
}

MockOverlayWidget_AddOverlay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddOverlay'

func (*MockOverlayWidget_AddOverlay_Call) Return

func (*MockOverlayWidget_AddOverlay_Call) Run

func (*MockOverlayWidget_AddOverlay_Call) RunAndReturn

type MockOverlayWidget_ComputePoint_Call

type MockOverlayWidget_ComputePoint_Call struct {
	*mock.Call
}

MockOverlayWidget_ComputePoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputePoint'

func (*MockOverlayWidget_ComputePoint_Call) Return

func (*MockOverlayWidget_ComputePoint_Call) Run

func (*MockOverlayWidget_ComputePoint_Call) RunAndReturn

type MockOverlayWidget_Expecter

type MockOverlayWidget_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockOverlayWidget_Expecter) AddController

func (_e *MockOverlayWidget_Expecter) AddController(controller interface{}) *MockOverlayWidget_AddController_Call

AddController is a helper method to define mock.On call

  • controller *gtk.EventController

func (*MockOverlayWidget_Expecter) AddCssClass

func (_e *MockOverlayWidget_Expecter) AddCssClass(cssClass interface{}) *MockOverlayWidget_AddCssClass_Call

AddCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockOverlayWidget_Expecter) AddOverlay

func (_e *MockOverlayWidget_Expecter) AddOverlay(overlay interface{}) *MockOverlayWidget_AddOverlay_Call

AddOverlay is a helper method to define mock.On call

  • overlay layout.Widget

func (*MockOverlayWidget_Expecter) ComputePoint

func (_e *MockOverlayWidget_Expecter) ComputePoint(target interface{}) *MockOverlayWidget_ComputePoint_Call

ComputePoint is a helper method to define mock.On call

  • target layout.Widget

func (*MockOverlayWidget_Expecter) GetAllocatedHeight

GetAllocatedHeight is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) GetAllocatedWidth

GetAllocatedWidth is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) GetChild

GetChild is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) GetClipOverlay

func (_e *MockOverlayWidget_Expecter) GetClipOverlay(overlay interface{}) *MockOverlayWidget_GetClipOverlay_Call

GetClipOverlay is a helper method to define mock.On call

  • overlay layout.Widget

func (*MockOverlayWidget_Expecter) GetHexpand

GetHexpand is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) GetMeasureOverlay

func (_e *MockOverlayWidget_Expecter) GetMeasureOverlay(overlay interface{}) *MockOverlayWidget_GetMeasureOverlay_Call

GetMeasureOverlay is a helper method to define mock.On call

  • overlay layout.Widget

func (*MockOverlayWidget_Expecter) GetParent

GetParent is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) GetVexpand

GetVexpand is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) GrabFocus

GrabFocus is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) GtkWidget

GtkWidget is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) HasCssClass

func (_e *MockOverlayWidget_Expecter) HasCssClass(cssClass interface{}) *MockOverlayWidget_HasCssClass_Call

HasCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockOverlayWidget_Expecter) HasFocus

HasFocus is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) Hide

Hide is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) IsVisible

IsVisible is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) RemoveCssClass

func (_e *MockOverlayWidget_Expecter) RemoveCssClass(cssClass interface{}) *MockOverlayWidget_RemoveCssClass_Call

RemoveCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockOverlayWidget_Expecter) RemoveOverlay

func (_e *MockOverlayWidget_Expecter) RemoveOverlay(overlay interface{}) *MockOverlayWidget_RemoveOverlay_Call

RemoveOverlay is a helper method to define mock.On call

  • overlay layout.Widget

func (*MockOverlayWidget_Expecter) SetCanFocus

func (_e *MockOverlayWidget_Expecter) SetCanFocus(canFocus interface{}) *MockOverlayWidget_SetCanFocus_Call

SetCanFocus is a helper method to define mock.On call

  • canFocus bool

func (*MockOverlayWidget_Expecter) SetCanTarget

func (_e *MockOverlayWidget_Expecter) SetCanTarget(canTarget interface{}) *MockOverlayWidget_SetCanTarget_Call

SetCanTarget is a helper method to define mock.On call

  • canTarget bool

func (*MockOverlayWidget_Expecter) SetChild

func (_e *MockOverlayWidget_Expecter) SetChild(child interface{}) *MockOverlayWidget_SetChild_Call

SetChild is a helper method to define mock.On call

  • child layout.Widget

func (*MockOverlayWidget_Expecter) SetClipOverlay

func (_e *MockOverlayWidget_Expecter) SetClipOverlay(overlay interface{}, clip interface{}) *MockOverlayWidget_SetClipOverlay_Call

SetClipOverlay is a helper method to define mock.On call

  • overlay layout.Widget
  • clip bool

func (*MockOverlayWidget_Expecter) SetFocusOnClick

func (_e *MockOverlayWidget_Expecter) SetFocusOnClick(focusOnClick interface{}) *MockOverlayWidget_SetFocusOnClick_Call

SetFocusOnClick is a helper method to define mock.On call

  • focusOnClick bool

func (*MockOverlayWidget_Expecter) SetFocusable added in v0.23.0

func (_e *MockOverlayWidget_Expecter) SetFocusable(focusable interface{}) *MockOverlayWidget_SetFocusable_Call

SetFocusable is a helper method to define mock.On call

  • focusable bool

func (*MockOverlayWidget_Expecter) SetHalign

func (_e *MockOverlayWidget_Expecter) SetHalign(align interface{}) *MockOverlayWidget_SetHalign_Call

SetHalign is a helper method to define mock.On call

  • align gtk.Align

func (*MockOverlayWidget_Expecter) SetHexpand

func (_e *MockOverlayWidget_Expecter) SetHexpand(expand interface{}) *MockOverlayWidget_SetHexpand_Call

SetHexpand is a helper method to define mock.On call

  • expand bool

func (*MockOverlayWidget_Expecter) SetMeasureOverlay

func (_e *MockOverlayWidget_Expecter) SetMeasureOverlay(overlay interface{}, measure interface{}) *MockOverlayWidget_SetMeasureOverlay_Call

SetMeasureOverlay is a helper method to define mock.On call

  • overlay layout.Widget
  • measure bool

func (*MockOverlayWidget_Expecter) SetOpacity added in v0.27.0

func (_e *MockOverlayWidget_Expecter) SetOpacity(opacity interface{}) *MockOverlayWidget_SetOpacity_Call

SetOpacity is a helper method to define mock.On call

  • opacity float64

func (*MockOverlayWidget_Expecter) SetSizeRequest

func (_e *MockOverlayWidget_Expecter) SetSizeRequest(width interface{}, height interface{}) *MockOverlayWidget_SetSizeRequest_Call

SetSizeRequest is a helper method to define mock.On call

  • width int
  • height int

func (*MockOverlayWidget_Expecter) SetValign

func (_e *MockOverlayWidget_Expecter) SetValign(align interface{}) *MockOverlayWidget_SetValign_Call

SetValign is a helper method to define mock.On call

  • align gtk.Align

func (*MockOverlayWidget_Expecter) SetVexpand

func (_e *MockOverlayWidget_Expecter) SetVexpand(expand interface{}) *MockOverlayWidget_SetVexpand_Call

SetVexpand is a helper method to define mock.On call

  • expand bool

func (*MockOverlayWidget_Expecter) SetVisible

func (_e *MockOverlayWidget_Expecter) SetVisible(visible interface{}) *MockOverlayWidget_SetVisible_Call

SetVisible is a helper method to define mock.On call

  • visible bool

func (*MockOverlayWidget_Expecter) Show

Show is a helper method to define mock.On call

func (*MockOverlayWidget_Expecter) Unparent

Unparent is a helper method to define mock.On call

type MockOverlayWidget_GetAllocatedHeight_Call

type MockOverlayWidget_GetAllocatedHeight_Call struct {
	*mock.Call
}

MockOverlayWidget_GetAllocatedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedHeight'

func (*MockOverlayWidget_GetAllocatedHeight_Call) Return

func (*MockOverlayWidget_GetAllocatedHeight_Call) Run

func (*MockOverlayWidget_GetAllocatedHeight_Call) RunAndReturn

type MockOverlayWidget_GetAllocatedWidth_Call

type MockOverlayWidget_GetAllocatedWidth_Call struct {
	*mock.Call
}

MockOverlayWidget_GetAllocatedWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedWidth'

func (*MockOverlayWidget_GetAllocatedWidth_Call) Return

func (*MockOverlayWidget_GetAllocatedWidth_Call) Run

func (*MockOverlayWidget_GetAllocatedWidth_Call) RunAndReturn

type MockOverlayWidget_GetChild_Call

type MockOverlayWidget_GetChild_Call struct {
	*mock.Call
}

MockOverlayWidget_GetChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChild'

func (*MockOverlayWidget_GetChild_Call) Return

func (*MockOverlayWidget_GetChild_Call) Run

func (*MockOverlayWidget_GetChild_Call) RunAndReturn

type MockOverlayWidget_GetClipOverlay_Call

type MockOverlayWidget_GetClipOverlay_Call struct {
	*mock.Call
}

MockOverlayWidget_GetClipOverlay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClipOverlay'

func (*MockOverlayWidget_GetClipOverlay_Call) Return

func (*MockOverlayWidget_GetClipOverlay_Call) Run

func (*MockOverlayWidget_GetClipOverlay_Call) RunAndReturn

type MockOverlayWidget_GetHexpand_Call

type MockOverlayWidget_GetHexpand_Call struct {
	*mock.Call
}

MockOverlayWidget_GetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHexpand'

func (*MockOverlayWidget_GetHexpand_Call) Return

func (*MockOverlayWidget_GetHexpand_Call) Run

func (*MockOverlayWidget_GetHexpand_Call) RunAndReturn

type MockOverlayWidget_GetMeasureOverlay_Call

type MockOverlayWidget_GetMeasureOverlay_Call struct {
	*mock.Call
}

MockOverlayWidget_GetMeasureOverlay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMeasureOverlay'

func (*MockOverlayWidget_GetMeasureOverlay_Call) Return

func (*MockOverlayWidget_GetMeasureOverlay_Call) Run

func (*MockOverlayWidget_GetMeasureOverlay_Call) RunAndReturn

type MockOverlayWidget_GetParent_Call

type MockOverlayWidget_GetParent_Call struct {
	*mock.Call
}

MockOverlayWidget_GetParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParent'

func (*MockOverlayWidget_GetParent_Call) Return

func (*MockOverlayWidget_GetParent_Call) Run

func (*MockOverlayWidget_GetParent_Call) RunAndReturn

type MockOverlayWidget_GetVexpand_Call

type MockOverlayWidget_GetVexpand_Call struct {
	*mock.Call
}

MockOverlayWidget_GetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVexpand'

func (*MockOverlayWidget_GetVexpand_Call) Return

func (*MockOverlayWidget_GetVexpand_Call) Run

func (*MockOverlayWidget_GetVexpand_Call) RunAndReturn

type MockOverlayWidget_GrabFocus_Call

type MockOverlayWidget_GrabFocus_Call struct {
	*mock.Call
}

MockOverlayWidget_GrabFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrabFocus'

func (*MockOverlayWidget_GrabFocus_Call) Return

func (*MockOverlayWidget_GrabFocus_Call) Run

func (*MockOverlayWidget_GrabFocus_Call) RunAndReturn

type MockOverlayWidget_GtkWidget_Call

type MockOverlayWidget_GtkWidget_Call struct {
	*mock.Call
}

MockOverlayWidget_GtkWidget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GtkWidget'

func (*MockOverlayWidget_GtkWidget_Call) Return

func (*MockOverlayWidget_GtkWidget_Call) Run

func (*MockOverlayWidget_GtkWidget_Call) RunAndReturn

type MockOverlayWidget_HasCssClass_Call

type MockOverlayWidget_HasCssClass_Call struct {
	*mock.Call
}

MockOverlayWidget_HasCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasCssClass'

func (*MockOverlayWidget_HasCssClass_Call) Return

func (*MockOverlayWidget_HasCssClass_Call) Run

func (*MockOverlayWidget_HasCssClass_Call) RunAndReturn

type MockOverlayWidget_HasFocus_Call

type MockOverlayWidget_HasFocus_Call struct {
	*mock.Call
}

MockOverlayWidget_HasFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasFocus'

func (*MockOverlayWidget_HasFocus_Call) Return

func (*MockOverlayWidget_HasFocus_Call) Run

func (*MockOverlayWidget_HasFocus_Call) RunAndReturn

type MockOverlayWidget_Hide_Call

type MockOverlayWidget_Hide_Call struct {
	*mock.Call
}

MockOverlayWidget_Hide_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hide'

func (*MockOverlayWidget_Hide_Call) Return

func (*MockOverlayWidget_Hide_Call) Run

func (*MockOverlayWidget_Hide_Call) RunAndReturn

func (_c *MockOverlayWidget_Hide_Call) RunAndReturn(run func()) *MockOverlayWidget_Hide_Call

type MockOverlayWidget_IsVisible_Call

type MockOverlayWidget_IsVisible_Call struct {
	*mock.Call
}

MockOverlayWidget_IsVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsVisible'

func (*MockOverlayWidget_IsVisible_Call) Return

func (*MockOverlayWidget_IsVisible_Call) Run

func (*MockOverlayWidget_IsVisible_Call) RunAndReturn

type MockOverlayWidget_RemoveCssClass_Call

type MockOverlayWidget_RemoveCssClass_Call struct {
	*mock.Call
}

MockOverlayWidget_RemoveCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCssClass'

func (*MockOverlayWidget_RemoveCssClass_Call) Return

func (*MockOverlayWidget_RemoveCssClass_Call) Run

func (*MockOverlayWidget_RemoveCssClass_Call) RunAndReturn

type MockOverlayWidget_RemoveOverlay_Call

type MockOverlayWidget_RemoveOverlay_Call struct {
	*mock.Call
}

MockOverlayWidget_RemoveOverlay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveOverlay'

func (*MockOverlayWidget_RemoveOverlay_Call) Return

func (*MockOverlayWidget_RemoveOverlay_Call) Run

func (*MockOverlayWidget_RemoveOverlay_Call) RunAndReturn

type MockOverlayWidget_SetCanFocus_Call

type MockOverlayWidget_SetCanFocus_Call struct {
	*mock.Call
}

MockOverlayWidget_SetCanFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanFocus'

func (*MockOverlayWidget_SetCanFocus_Call) Return

func (*MockOverlayWidget_SetCanFocus_Call) Run

func (*MockOverlayWidget_SetCanFocus_Call) RunAndReturn

func (_c *MockOverlayWidget_SetCanFocus_Call) RunAndReturn(run func(canFocus bool)) *MockOverlayWidget_SetCanFocus_Call

type MockOverlayWidget_SetCanTarget_Call

type MockOverlayWidget_SetCanTarget_Call struct {
	*mock.Call
}

MockOverlayWidget_SetCanTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanTarget'

func (*MockOverlayWidget_SetCanTarget_Call) Return

func (*MockOverlayWidget_SetCanTarget_Call) Run

func (*MockOverlayWidget_SetCanTarget_Call) RunAndReturn

func (_c *MockOverlayWidget_SetCanTarget_Call) RunAndReturn(run func(canTarget bool)) *MockOverlayWidget_SetCanTarget_Call

type MockOverlayWidget_SetChild_Call

type MockOverlayWidget_SetChild_Call struct {
	*mock.Call
}

MockOverlayWidget_SetChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetChild'

func (*MockOverlayWidget_SetChild_Call) Return

func (*MockOverlayWidget_SetChild_Call) Run

func (*MockOverlayWidget_SetChild_Call) RunAndReturn

type MockOverlayWidget_SetClipOverlay_Call

type MockOverlayWidget_SetClipOverlay_Call struct {
	*mock.Call
}

MockOverlayWidget_SetClipOverlay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetClipOverlay'

func (*MockOverlayWidget_SetClipOverlay_Call) Return

func (*MockOverlayWidget_SetClipOverlay_Call) Run

func (*MockOverlayWidget_SetClipOverlay_Call) RunAndReturn

type MockOverlayWidget_SetFocusOnClick_Call

type MockOverlayWidget_SetFocusOnClick_Call struct {
	*mock.Call
}

MockOverlayWidget_SetFocusOnClick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusOnClick'

func (*MockOverlayWidget_SetFocusOnClick_Call) Return

func (*MockOverlayWidget_SetFocusOnClick_Call) Run

func (*MockOverlayWidget_SetFocusOnClick_Call) RunAndReturn

type MockOverlayWidget_SetFocusable_Call added in v0.23.0

type MockOverlayWidget_SetFocusable_Call struct {
	*mock.Call
}

MockOverlayWidget_SetFocusable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusable'

func (*MockOverlayWidget_SetFocusable_Call) Return added in v0.23.0

func (*MockOverlayWidget_SetFocusable_Call) Run added in v0.23.0

func (*MockOverlayWidget_SetFocusable_Call) RunAndReturn added in v0.23.0

func (_c *MockOverlayWidget_SetFocusable_Call) RunAndReturn(run func(focusable bool)) *MockOverlayWidget_SetFocusable_Call

type MockOverlayWidget_SetHalign_Call

type MockOverlayWidget_SetHalign_Call struct {
	*mock.Call
}

MockOverlayWidget_SetHalign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHalign'

func (*MockOverlayWidget_SetHalign_Call) Return

func (*MockOverlayWidget_SetHalign_Call) Run

func (*MockOverlayWidget_SetHalign_Call) RunAndReturn

type MockOverlayWidget_SetHexpand_Call

type MockOverlayWidget_SetHexpand_Call struct {
	*mock.Call
}

MockOverlayWidget_SetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHexpand'

func (*MockOverlayWidget_SetHexpand_Call) Return

func (*MockOverlayWidget_SetHexpand_Call) Run

func (*MockOverlayWidget_SetHexpand_Call) RunAndReturn

func (_c *MockOverlayWidget_SetHexpand_Call) RunAndReturn(run func(expand bool)) *MockOverlayWidget_SetHexpand_Call

type MockOverlayWidget_SetMeasureOverlay_Call

type MockOverlayWidget_SetMeasureOverlay_Call struct {
	*mock.Call
}

MockOverlayWidget_SetMeasureOverlay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMeasureOverlay'

func (*MockOverlayWidget_SetMeasureOverlay_Call) Return

func (*MockOverlayWidget_SetMeasureOverlay_Call) Run

func (*MockOverlayWidget_SetMeasureOverlay_Call) RunAndReturn

type MockOverlayWidget_SetOpacity_Call added in v0.27.0

type MockOverlayWidget_SetOpacity_Call struct {
	*mock.Call
}

MockOverlayWidget_SetOpacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOpacity'

func (*MockOverlayWidget_SetOpacity_Call) Return added in v0.27.0

func (*MockOverlayWidget_SetOpacity_Call) Run added in v0.27.0

func (*MockOverlayWidget_SetOpacity_Call) RunAndReturn added in v0.27.0

type MockOverlayWidget_SetSizeRequest_Call

type MockOverlayWidget_SetSizeRequest_Call struct {
	*mock.Call
}

MockOverlayWidget_SetSizeRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSizeRequest'

func (*MockOverlayWidget_SetSizeRequest_Call) Return

func (*MockOverlayWidget_SetSizeRequest_Call) Run

func (*MockOverlayWidget_SetSizeRequest_Call) RunAndReturn

func (_c *MockOverlayWidget_SetSizeRequest_Call) RunAndReturn(run func(width int, height int)) *MockOverlayWidget_SetSizeRequest_Call

type MockOverlayWidget_SetValign_Call

type MockOverlayWidget_SetValign_Call struct {
	*mock.Call
}

MockOverlayWidget_SetValign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValign'

func (*MockOverlayWidget_SetValign_Call) Return

func (*MockOverlayWidget_SetValign_Call) Run

func (*MockOverlayWidget_SetValign_Call) RunAndReturn

type MockOverlayWidget_SetVexpand_Call

type MockOverlayWidget_SetVexpand_Call struct {
	*mock.Call
}

MockOverlayWidget_SetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVexpand'

func (*MockOverlayWidget_SetVexpand_Call) Return

func (*MockOverlayWidget_SetVexpand_Call) Run

func (*MockOverlayWidget_SetVexpand_Call) RunAndReturn

func (_c *MockOverlayWidget_SetVexpand_Call) RunAndReturn(run func(expand bool)) *MockOverlayWidget_SetVexpand_Call

type MockOverlayWidget_SetVisible_Call

type MockOverlayWidget_SetVisible_Call struct {
	*mock.Call
}

MockOverlayWidget_SetVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVisible'

func (*MockOverlayWidget_SetVisible_Call) Return

func (*MockOverlayWidget_SetVisible_Call) Run

func (*MockOverlayWidget_SetVisible_Call) RunAndReturn

func (_c *MockOverlayWidget_SetVisible_Call) RunAndReturn(run func(visible bool)) *MockOverlayWidget_SetVisible_Call

type MockOverlayWidget_Show_Call

type MockOverlayWidget_Show_Call struct {
	*mock.Call
}

MockOverlayWidget_Show_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Show'

func (*MockOverlayWidget_Show_Call) Return

func (*MockOverlayWidget_Show_Call) Run

func (*MockOverlayWidget_Show_Call) RunAndReturn

func (_c *MockOverlayWidget_Show_Call) RunAndReturn(run func()) *MockOverlayWidget_Show_Call

type MockOverlayWidget_Unparent_Call

type MockOverlayWidget_Unparent_Call struct {
	*mock.Call
}

MockOverlayWidget_Unparent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unparent'

func (*MockOverlayWidget_Unparent_Call) Return

func (*MockOverlayWidget_Unparent_Call) Run

func (*MockOverlayWidget_Unparent_Call) RunAndReturn

type MockPaneRenderer

type MockPaneRenderer struct {
	mock.Mock
}

MockPaneRenderer is an autogenerated mock type for the PaneRenderer type

func NewMockPaneRenderer

func NewMockPaneRenderer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPaneRenderer

NewMockPaneRenderer creates a new instance of MockPaneRenderer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockPaneRenderer) EXPECT

func (*MockPaneRenderer) RenderPane

func (_mock *MockPaneRenderer) RenderPane(paneID string, webViewWidget layout.Widget) layout.Widget

RenderPane provides a mock function for the type MockPaneRenderer

type MockPaneRenderer_Expecter

type MockPaneRenderer_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockPaneRenderer_Expecter) RenderPane

func (_e *MockPaneRenderer_Expecter) RenderPane(paneID interface{}, webViewWidget interface{}) *MockPaneRenderer_RenderPane_Call

RenderPane is a helper method to define mock.On call

  • paneID string
  • webViewWidget layout.Widget

type MockPaneRenderer_RenderPane_Call

type MockPaneRenderer_RenderPane_Call struct {
	*mock.Call
}

MockPaneRenderer_RenderPane_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenderPane'

func (*MockPaneRenderer_RenderPane_Call) Return

func (*MockPaneRenderer_RenderPane_Call) Run

func (_c *MockPaneRenderer_RenderPane_Call) Run(run func(paneID string, webViewWidget layout.Widget)) *MockPaneRenderer_RenderPane_Call

func (*MockPaneRenderer_RenderPane_Call) RunAndReturn

func (_c *MockPaneRenderer_RenderPane_Call) RunAndReturn(run func(paneID string, webViewWidget layout.Widget) layout.Widget) *MockPaneRenderer_RenderPane_Call

type MockPaneViewFactory

type MockPaneViewFactory struct {
	mock.Mock
}

MockPaneViewFactory is an autogenerated mock type for the PaneViewFactory type

func NewMockPaneViewFactory

func NewMockPaneViewFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPaneViewFactory

NewMockPaneViewFactory creates a new instance of MockPaneViewFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockPaneViewFactory) CreatePaneView

func (_mock *MockPaneViewFactory) CreatePaneView(node *entity.PaneNode) layout.Widget

CreatePaneView provides a mock function for the type MockPaneViewFactory

func (*MockPaneViewFactory) EXPECT

type MockPaneViewFactory_CreatePaneView_Call

type MockPaneViewFactory_CreatePaneView_Call struct {
	*mock.Call
}

MockPaneViewFactory_CreatePaneView_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePaneView'

func (*MockPaneViewFactory_CreatePaneView_Call) Return

func (*MockPaneViewFactory_CreatePaneView_Call) Run

func (*MockPaneViewFactory_CreatePaneView_Call) RunAndReturn

type MockPaneViewFactory_Expecter

type MockPaneViewFactory_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockPaneViewFactory_Expecter) CreatePaneView

func (_e *MockPaneViewFactory_Expecter) CreatePaneView(node interface{}) *MockPaneViewFactory_CreatePaneView_Call

CreatePaneView is a helper method to define mock.On call

  • node *entity.PaneNode

type MockPanedWidget

type MockPanedWidget struct {
	mock.Mock
}

MockPanedWidget is an autogenerated mock type for the PanedWidget type

func NewMockPanedWidget

func NewMockPanedWidget(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPanedWidget

NewMockPanedWidget creates a new instance of MockPanedWidget. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockPanedWidget) AddController

func (_mock *MockPanedWidget) AddController(controller *gtk.EventController)

AddController provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) AddCssClass

func (_mock *MockPanedWidget) AddCssClass(cssClass string)

AddCssClass provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) AddTickCallback

func (_mock *MockPanedWidget) AddTickCallback(callback func() bool) uint

AddTickCallback provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) ComputePoint

func (_mock *MockPanedWidget) ComputePoint(target layout.Widget) (float64, float64, bool)

ComputePoint provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) ConnectMap

func (_mock *MockPanedWidget) ConnectMap(callback func()) uint

ConnectMap provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) ConnectNotifyPosition added in v0.21.0

func (_mock *MockPanedWidget) ConnectNotifyPosition(callback func()) uint

ConnectNotifyPosition provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) EXPECT

func (*MockPanedWidget) GetAllocatedHeight

func (_mock *MockPanedWidget) GetAllocatedHeight() int

GetAllocatedHeight provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetAllocatedWidth

func (_mock *MockPanedWidget) GetAllocatedWidth() int

GetAllocatedWidth provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetEndChild

func (_mock *MockPanedWidget) GetEndChild() layout.Widget

GetEndChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetHexpand

func (_mock *MockPanedWidget) GetHexpand() bool

GetHexpand provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetParent

func (_mock *MockPanedWidget) GetParent() layout.Widget

GetParent provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetPosition

func (_mock *MockPanedWidget) GetPosition() int

GetPosition provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetResizeEndChild

func (_mock *MockPanedWidget) GetResizeEndChild() bool

GetResizeEndChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetResizeStartChild

func (_mock *MockPanedWidget) GetResizeStartChild() bool

GetResizeStartChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetShrinkEndChild

func (_mock *MockPanedWidget) GetShrinkEndChild() bool

GetShrinkEndChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetShrinkStartChild

func (_mock *MockPanedWidget) GetShrinkStartChild() bool

GetShrinkStartChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetStartChild

func (_mock *MockPanedWidget) GetStartChild() layout.Widget

GetStartChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetVexpand

func (_mock *MockPanedWidget) GetVexpand() bool

GetVexpand provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GetWideHandle

func (_mock *MockPanedWidget) GetWideHandle() bool

GetWideHandle provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GrabFocus

func (_mock *MockPanedWidget) GrabFocus() bool

GrabFocus provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) GtkWidget

func (_mock *MockPanedWidget) GtkWidget() *gtk.Widget

GtkWidget provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) HasCssClass

func (_mock *MockPanedWidget) HasCssClass(cssClass string) bool

HasCssClass provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) HasFocus

func (_mock *MockPanedWidget) HasFocus() bool

HasFocus provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) Hide

func (_mock *MockPanedWidget) Hide()

Hide provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) IsVisible

func (_mock *MockPanedWidget) IsVisible() bool

IsVisible provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) RemoveCssClass

func (_mock *MockPanedWidget) RemoveCssClass(cssClass string)

RemoveCssClass provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetCanFocus

func (_mock *MockPanedWidget) SetCanFocus(canFocus bool)

SetCanFocus provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetCanTarget

func (_mock *MockPanedWidget) SetCanTarget(canTarget bool)

SetCanTarget provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetEndChild

func (_mock *MockPanedWidget) SetEndChild(child layout.Widget)

SetEndChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetFocusOnClick

func (_mock *MockPanedWidget) SetFocusOnClick(focusOnClick bool)

SetFocusOnClick provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetFocusable added in v0.23.0

func (_mock *MockPanedWidget) SetFocusable(focusable bool)

SetFocusable provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetHalign

func (_mock *MockPanedWidget) SetHalign(align gtk.Align)

SetHalign provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetHexpand

func (_mock *MockPanedWidget) SetHexpand(expand bool)

SetHexpand provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetOpacity added in v0.27.0

func (_mock *MockPanedWidget) SetOpacity(opacity float64)

SetOpacity provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetPosition

func (_mock *MockPanedWidget) SetPosition(position int)

SetPosition provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetResizeEndChild

func (_mock *MockPanedWidget) SetResizeEndChild(resize bool)

SetResizeEndChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetResizeStartChild

func (_mock *MockPanedWidget) SetResizeStartChild(resize bool)

SetResizeStartChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetShrinkEndChild

func (_mock *MockPanedWidget) SetShrinkEndChild(shrink bool)

SetShrinkEndChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetShrinkStartChild

func (_mock *MockPanedWidget) SetShrinkStartChild(shrink bool)

SetShrinkStartChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetSizeRequest

func (_mock *MockPanedWidget) SetSizeRequest(width int, height int)

SetSizeRequest provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetStartChild

func (_mock *MockPanedWidget) SetStartChild(child layout.Widget)

SetStartChild provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetValign

func (_mock *MockPanedWidget) SetValign(align gtk.Align)

SetValign provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetVexpand

func (_mock *MockPanedWidget) SetVexpand(expand bool)

SetVexpand provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetVisible

func (_mock *MockPanedWidget) SetVisible(visible bool)

SetVisible provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) SetWideHandle

func (_mock *MockPanedWidget) SetWideHandle(wide bool)

SetWideHandle provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) Show

func (_mock *MockPanedWidget) Show()

Show provides a mock function for the type MockPanedWidget

func (*MockPanedWidget) Unparent

func (_mock *MockPanedWidget) Unparent()

Unparent provides a mock function for the type MockPanedWidget

type MockPanedWidget_AddController_Call

type MockPanedWidget_AddController_Call struct {
	*mock.Call
}

MockPanedWidget_AddController_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddController'

func (*MockPanedWidget_AddController_Call) Return

func (*MockPanedWidget_AddController_Call) Run

func (*MockPanedWidget_AddController_Call) RunAndReturn

type MockPanedWidget_AddCssClass_Call

type MockPanedWidget_AddCssClass_Call struct {
	*mock.Call
}

MockPanedWidget_AddCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCssClass'

func (*MockPanedWidget_AddCssClass_Call) Return

func (*MockPanedWidget_AddCssClass_Call) Run

func (*MockPanedWidget_AddCssClass_Call) RunAndReturn

func (_c *MockPanedWidget_AddCssClass_Call) RunAndReturn(run func(cssClass string)) *MockPanedWidget_AddCssClass_Call

type MockPanedWidget_AddTickCallback_Call

type MockPanedWidget_AddTickCallback_Call struct {
	*mock.Call
}

MockPanedWidget_AddTickCallback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTickCallback'

func (*MockPanedWidget_AddTickCallback_Call) Return

func (*MockPanedWidget_AddTickCallback_Call) Run

func (*MockPanedWidget_AddTickCallback_Call) RunAndReturn

func (_c *MockPanedWidget_AddTickCallback_Call) RunAndReturn(run func(callback func() bool) uint) *MockPanedWidget_AddTickCallback_Call

type MockPanedWidget_ComputePoint_Call

type MockPanedWidget_ComputePoint_Call struct {
	*mock.Call
}

MockPanedWidget_ComputePoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputePoint'

func (*MockPanedWidget_ComputePoint_Call) Return

func (*MockPanedWidget_ComputePoint_Call) Run

func (*MockPanedWidget_ComputePoint_Call) RunAndReturn

type MockPanedWidget_ConnectMap_Call

type MockPanedWidget_ConnectMap_Call struct {
	*mock.Call
}

MockPanedWidget_ConnectMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectMap'

func (*MockPanedWidget_ConnectMap_Call) Return

func (*MockPanedWidget_ConnectMap_Call) Run

func (_c *MockPanedWidget_ConnectMap_Call) Run(run func(callback func())) *MockPanedWidget_ConnectMap_Call

func (*MockPanedWidget_ConnectMap_Call) RunAndReturn

func (_c *MockPanedWidget_ConnectMap_Call) RunAndReturn(run func(callback func()) uint) *MockPanedWidget_ConnectMap_Call

type MockPanedWidget_ConnectNotifyPosition_Call added in v0.21.0

type MockPanedWidget_ConnectNotifyPosition_Call struct {
	*mock.Call
}

MockPanedWidget_ConnectNotifyPosition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectNotifyPosition'

func (*MockPanedWidget_ConnectNotifyPosition_Call) Return added in v0.21.0

func (*MockPanedWidget_ConnectNotifyPosition_Call) Run added in v0.21.0

func (*MockPanedWidget_ConnectNotifyPosition_Call) RunAndReturn added in v0.21.0

type MockPanedWidget_Expecter

type MockPanedWidget_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockPanedWidget_Expecter) AddController

func (_e *MockPanedWidget_Expecter) AddController(controller interface{}) *MockPanedWidget_AddController_Call

AddController is a helper method to define mock.On call

  • controller *gtk.EventController

func (*MockPanedWidget_Expecter) AddCssClass

func (_e *MockPanedWidget_Expecter) AddCssClass(cssClass interface{}) *MockPanedWidget_AddCssClass_Call

AddCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockPanedWidget_Expecter) AddTickCallback

func (_e *MockPanedWidget_Expecter) AddTickCallback(callback interface{}) *MockPanedWidget_AddTickCallback_Call

AddTickCallback is a helper method to define mock.On call

  • callback func() bool

func (*MockPanedWidget_Expecter) ComputePoint

func (_e *MockPanedWidget_Expecter) ComputePoint(target interface{}) *MockPanedWidget_ComputePoint_Call

ComputePoint is a helper method to define mock.On call

  • target layout.Widget

func (*MockPanedWidget_Expecter) ConnectMap

func (_e *MockPanedWidget_Expecter) ConnectMap(callback interface{}) *MockPanedWidget_ConnectMap_Call

ConnectMap is a helper method to define mock.On call

  • callback func()

func (*MockPanedWidget_Expecter) ConnectNotifyPosition added in v0.21.0

func (_e *MockPanedWidget_Expecter) ConnectNotifyPosition(callback interface{}) *MockPanedWidget_ConnectNotifyPosition_Call

ConnectNotifyPosition is a helper method to define mock.On call

  • callback func()

func (*MockPanedWidget_Expecter) GetAllocatedHeight

GetAllocatedHeight is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetAllocatedWidth

GetAllocatedWidth is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetEndChild

GetEndChild is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetHexpand

GetHexpand is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetParent

GetParent is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetPosition

GetPosition is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetResizeEndChild

GetResizeEndChild is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetResizeStartChild

GetResizeStartChild is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetShrinkEndChild

GetShrinkEndChild is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetShrinkStartChild

GetShrinkStartChild is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetStartChild

GetStartChild is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetVexpand

GetVexpand is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GetWideHandle

GetWideHandle is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GrabFocus

GrabFocus is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) GtkWidget

GtkWidget is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) HasCssClass

func (_e *MockPanedWidget_Expecter) HasCssClass(cssClass interface{}) *MockPanedWidget_HasCssClass_Call

HasCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockPanedWidget_Expecter) HasFocus

HasFocus is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) Hide

Hide is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) IsVisible

IsVisible is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) RemoveCssClass

func (_e *MockPanedWidget_Expecter) RemoveCssClass(cssClass interface{}) *MockPanedWidget_RemoveCssClass_Call

RemoveCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockPanedWidget_Expecter) SetCanFocus

func (_e *MockPanedWidget_Expecter) SetCanFocus(canFocus interface{}) *MockPanedWidget_SetCanFocus_Call

SetCanFocus is a helper method to define mock.On call

  • canFocus bool

func (*MockPanedWidget_Expecter) SetCanTarget

func (_e *MockPanedWidget_Expecter) SetCanTarget(canTarget interface{}) *MockPanedWidget_SetCanTarget_Call

SetCanTarget is a helper method to define mock.On call

  • canTarget bool

func (*MockPanedWidget_Expecter) SetEndChild

func (_e *MockPanedWidget_Expecter) SetEndChild(child interface{}) *MockPanedWidget_SetEndChild_Call

SetEndChild is a helper method to define mock.On call

  • child layout.Widget

func (*MockPanedWidget_Expecter) SetFocusOnClick

func (_e *MockPanedWidget_Expecter) SetFocusOnClick(focusOnClick interface{}) *MockPanedWidget_SetFocusOnClick_Call

SetFocusOnClick is a helper method to define mock.On call

  • focusOnClick bool

func (*MockPanedWidget_Expecter) SetFocusable added in v0.23.0

func (_e *MockPanedWidget_Expecter) SetFocusable(focusable interface{}) *MockPanedWidget_SetFocusable_Call

SetFocusable is a helper method to define mock.On call

  • focusable bool

func (*MockPanedWidget_Expecter) SetHalign

func (_e *MockPanedWidget_Expecter) SetHalign(align interface{}) *MockPanedWidget_SetHalign_Call

SetHalign is a helper method to define mock.On call

  • align gtk.Align

func (*MockPanedWidget_Expecter) SetHexpand

func (_e *MockPanedWidget_Expecter) SetHexpand(expand interface{}) *MockPanedWidget_SetHexpand_Call

SetHexpand is a helper method to define mock.On call

  • expand bool

func (*MockPanedWidget_Expecter) SetOpacity added in v0.27.0

func (_e *MockPanedWidget_Expecter) SetOpacity(opacity interface{}) *MockPanedWidget_SetOpacity_Call

SetOpacity is a helper method to define mock.On call

  • opacity float64

func (*MockPanedWidget_Expecter) SetPosition

func (_e *MockPanedWidget_Expecter) SetPosition(position interface{}) *MockPanedWidget_SetPosition_Call

SetPosition is a helper method to define mock.On call

  • position int

func (*MockPanedWidget_Expecter) SetResizeEndChild

func (_e *MockPanedWidget_Expecter) SetResizeEndChild(resize interface{}) *MockPanedWidget_SetResizeEndChild_Call

SetResizeEndChild is a helper method to define mock.On call

  • resize bool

func (*MockPanedWidget_Expecter) SetResizeStartChild

func (_e *MockPanedWidget_Expecter) SetResizeStartChild(resize interface{}) *MockPanedWidget_SetResizeStartChild_Call

SetResizeStartChild is a helper method to define mock.On call

  • resize bool

func (*MockPanedWidget_Expecter) SetShrinkEndChild

func (_e *MockPanedWidget_Expecter) SetShrinkEndChild(shrink interface{}) *MockPanedWidget_SetShrinkEndChild_Call

SetShrinkEndChild is a helper method to define mock.On call

  • shrink bool

func (*MockPanedWidget_Expecter) SetShrinkStartChild

func (_e *MockPanedWidget_Expecter) SetShrinkStartChild(shrink interface{}) *MockPanedWidget_SetShrinkStartChild_Call

SetShrinkStartChild is a helper method to define mock.On call

  • shrink bool

func (*MockPanedWidget_Expecter) SetSizeRequest

func (_e *MockPanedWidget_Expecter) SetSizeRequest(width interface{}, height interface{}) *MockPanedWidget_SetSizeRequest_Call

SetSizeRequest is a helper method to define mock.On call

  • width int
  • height int

func (*MockPanedWidget_Expecter) SetStartChild

func (_e *MockPanedWidget_Expecter) SetStartChild(child interface{}) *MockPanedWidget_SetStartChild_Call

SetStartChild is a helper method to define mock.On call

  • child layout.Widget

func (*MockPanedWidget_Expecter) SetValign

func (_e *MockPanedWidget_Expecter) SetValign(align interface{}) *MockPanedWidget_SetValign_Call

SetValign is a helper method to define mock.On call

  • align gtk.Align

func (*MockPanedWidget_Expecter) SetVexpand

func (_e *MockPanedWidget_Expecter) SetVexpand(expand interface{}) *MockPanedWidget_SetVexpand_Call

SetVexpand is a helper method to define mock.On call

  • expand bool

func (*MockPanedWidget_Expecter) SetVisible

func (_e *MockPanedWidget_Expecter) SetVisible(visible interface{}) *MockPanedWidget_SetVisible_Call

SetVisible is a helper method to define mock.On call

  • visible bool

func (*MockPanedWidget_Expecter) SetWideHandle

func (_e *MockPanedWidget_Expecter) SetWideHandle(wide interface{}) *MockPanedWidget_SetWideHandle_Call

SetWideHandle is a helper method to define mock.On call

  • wide bool

func (*MockPanedWidget_Expecter) Show

Show is a helper method to define mock.On call

func (*MockPanedWidget_Expecter) Unparent

Unparent is a helper method to define mock.On call

type MockPanedWidget_GetAllocatedHeight_Call

type MockPanedWidget_GetAllocatedHeight_Call struct {
	*mock.Call
}

MockPanedWidget_GetAllocatedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedHeight'

func (*MockPanedWidget_GetAllocatedHeight_Call) Return

func (*MockPanedWidget_GetAllocatedHeight_Call) Run

func (*MockPanedWidget_GetAllocatedHeight_Call) RunAndReturn

type MockPanedWidget_GetAllocatedWidth_Call

type MockPanedWidget_GetAllocatedWidth_Call struct {
	*mock.Call
}

MockPanedWidget_GetAllocatedWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedWidth'

func (*MockPanedWidget_GetAllocatedWidth_Call) Return

func (*MockPanedWidget_GetAllocatedWidth_Call) Run

func (*MockPanedWidget_GetAllocatedWidth_Call) RunAndReturn

type MockPanedWidget_GetEndChild_Call

type MockPanedWidget_GetEndChild_Call struct {
	*mock.Call
}

MockPanedWidget_GetEndChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEndChild'

func (*MockPanedWidget_GetEndChild_Call) Return

func (*MockPanedWidget_GetEndChild_Call) Run

func (*MockPanedWidget_GetEndChild_Call) RunAndReturn

type MockPanedWidget_GetHexpand_Call

type MockPanedWidget_GetHexpand_Call struct {
	*mock.Call
}

MockPanedWidget_GetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHexpand'

func (*MockPanedWidget_GetHexpand_Call) Return

func (*MockPanedWidget_GetHexpand_Call) Run

func (*MockPanedWidget_GetHexpand_Call) RunAndReturn

type MockPanedWidget_GetParent_Call

type MockPanedWidget_GetParent_Call struct {
	*mock.Call
}

MockPanedWidget_GetParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParent'

func (*MockPanedWidget_GetParent_Call) Return

func (*MockPanedWidget_GetParent_Call) Run

func (*MockPanedWidget_GetParent_Call) RunAndReturn

type MockPanedWidget_GetPosition_Call

type MockPanedWidget_GetPosition_Call struct {
	*mock.Call
}

MockPanedWidget_GetPosition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPosition'

func (*MockPanedWidget_GetPosition_Call) Return

func (*MockPanedWidget_GetPosition_Call) Run

func (*MockPanedWidget_GetPosition_Call) RunAndReturn

type MockPanedWidget_GetResizeEndChild_Call

type MockPanedWidget_GetResizeEndChild_Call struct {
	*mock.Call
}

MockPanedWidget_GetResizeEndChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResizeEndChild'

func (*MockPanedWidget_GetResizeEndChild_Call) Return

func (*MockPanedWidget_GetResizeEndChild_Call) Run

func (*MockPanedWidget_GetResizeEndChild_Call) RunAndReturn

type MockPanedWidget_GetResizeStartChild_Call

type MockPanedWidget_GetResizeStartChild_Call struct {
	*mock.Call
}

MockPanedWidget_GetResizeStartChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResizeStartChild'

func (*MockPanedWidget_GetResizeStartChild_Call) Return

func (*MockPanedWidget_GetResizeStartChild_Call) Run

func (*MockPanedWidget_GetResizeStartChild_Call) RunAndReturn

type MockPanedWidget_GetShrinkEndChild_Call

type MockPanedWidget_GetShrinkEndChild_Call struct {
	*mock.Call
}

MockPanedWidget_GetShrinkEndChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetShrinkEndChild'

func (*MockPanedWidget_GetShrinkEndChild_Call) Return

func (*MockPanedWidget_GetShrinkEndChild_Call) Run

func (*MockPanedWidget_GetShrinkEndChild_Call) RunAndReturn

type MockPanedWidget_GetShrinkStartChild_Call

type MockPanedWidget_GetShrinkStartChild_Call struct {
	*mock.Call
}

MockPanedWidget_GetShrinkStartChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetShrinkStartChild'

func (*MockPanedWidget_GetShrinkStartChild_Call) Return

func (*MockPanedWidget_GetShrinkStartChild_Call) Run

func (*MockPanedWidget_GetShrinkStartChild_Call) RunAndReturn

type MockPanedWidget_GetStartChild_Call

type MockPanedWidget_GetStartChild_Call struct {
	*mock.Call
}

MockPanedWidget_GetStartChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStartChild'

func (*MockPanedWidget_GetStartChild_Call) Return

func (*MockPanedWidget_GetStartChild_Call) Run

func (*MockPanedWidget_GetStartChild_Call) RunAndReturn

type MockPanedWidget_GetVexpand_Call

type MockPanedWidget_GetVexpand_Call struct {
	*mock.Call
}

MockPanedWidget_GetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVexpand'

func (*MockPanedWidget_GetVexpand_Call) Return

func (*MockPanedWidget_GetVexpand_Call) Run

func (*MockPanedWidget_GetVexpand_Call) RunAndReturn

type MockPanedWidget_GetWideHandle_Call

type MockPanedWidget_GetWideHandle_Call struct {
	*mock.Call
}

MockPanedWidget_GetWideHandle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWideHandle'

func (*MockPanedWidget_GetWideHandle_Call) Return

func (*MockPanedWidget_GetWideHandle_Call) Run

func (*MockPanedWidget_GetWideHandle_Call) RunAndReturn

type MockPanedWidget_GrabFocus_Call

type MockPanedWidget_GrabFocus_Call struct {
	*mock.Call
}

MockPanedWidget_GrabFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrabFocus'

func (*MockPanedWidget_GrabFocus_Call) Return

func (*MockPanedWidget_GrabFocus_Call) Run

func (*MockPanedWidget_GrabFocus_Call) RunAndReturn

type MockPanedWidget_GtkWidget_Call

type MockPanedWidget_GtkWidget_Call struct {
	*mock.Call
}

MockPanedWidget_GtkWidget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GtkWidget'

func (*MockPanedWidget_GtkWidget_Call) Return

func (*MockPanedWidget_GtkWidget_Call) Run

func (*MockPanedWidget_GtkWidget_Call) RunAndReturn

type MockPanedWidget_HasCssClass_Call

type MockPanedWidget_HasCssClass_Call struct {
	*mock.Call
}

MockPanedWidget_HasCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasCssClass'

func (*MockPanedWidget_HasCssClass_Call) Return

func (*MockPanedWidget_HasCssClass_Call) Run

func (*MockPanedWidget_HasCssClass_Call) RunAndReturn

func (_c *MockPanedWidget_HasCssClass_Call) RunAndReturn(run func(cssClass string) bool) *MockPanedWidget_HasCssClass_Call

type MockPanedWidget_HasFocus_Call

type MockPanedWidget_HasFocus_Call struct {
	*mock.Call
}

MockPanedWidget_HasFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasFocus'

func (*MockPanedWidget_HasFocus_Call) Return

func (*MockPanedWidget_HasFocus_Call) Run

func (*MockPanedWidget_HasFocus_Call) RunAndReturn

type MockPanedWidget_Hide_Call

type MockPanedWidget_Hide_Call struct {
	*mock.Call
}

MockPanedWidget_Hide_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hide'

func (*MockPanedWidget_Hide_Call) Return

func (*MockPanedWidget_Hide_Call) Run

func (*MockPanedWidget_Hide_Call) RunAndReturn

func (_c *MockPanedWidget_Hide_Call) RunAndReturn(run func()) *MockPanedWidget_Hide_Call

type MockPanedWidget_IsVisible_Call

type MockPanedWidget_IsVisible_Call struct {
	*mock.Call
}

MockPanedWidget_IsVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsVisible'

func (*MockPanedWidget_IsVisible_Call) Return

func (*MockPanedWidget_IsVisible_Call) Run

func (*MockPanedWidget_IsVisible_Call) RunAndReturn

type MockPanedWidget_RemoveCssClass_Call

type MockPanedWidget_RemoveCssClass_Call struct {
	*mock.Call
}

MockPanedWidget_RemoveCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCssClass'

func (*MockPanedWidget_RemoveCssClass_Call) Return

func (*MockPanedWidget_RemoveCssClass_Call) Run

func (*MockPanedWidget_RemoveCssClass_Call) RunAndReturn

type MockPanedWidget_SetCanFocus_Call

type MockPanedWidget_SetCanFocus_Call struct {
	*mock.Call
}

MockPanedWidget_SetCanFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanFocus'

func (*MockPanedWidget_SetCanFocus_Call) Return

func (*MockPanedWidget_SetCanFocus_Call) Run

func (*MockPanedWidget_SetCanFocus_Call) RunAndReturn

func (_c *MockPanedWidget_SetCanFocus_Call) RunAndReturn(run func(canFocus bool)) *MockPanedWidget_SetCanFocus_Call

type MockPanedWidget_SetCanTarget_Call

type MockPanedWidget_SetCanTarget_Call struct {
	*mock.Call
}

MockPanedWidget_SetCanTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanTarget'

func (*MockPanedWidget_SetCanTarget_Call) Return

func (*MockPanedWidget_SetCanTarget_Call) Run

func (*MockPanedWidget_SetCanTarget_Call) RunAndReturn

func (_c *MockPanedWidget_SetCanTarget_Call) RunAndReturn(run func(canTarget bool)) *MockPanedWidget_SetCanTarget_Call

type MockPanedWidget_SetEndChild_Call

type MockPanedWidget_SetEndChild_Call struct {
	*mock.Call
}

MockPanedWidget_SetEndChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetEndChild'

func (*MockPanedWidget_SetEndChild_Call) Return

func (*MockPanedWidget_SetEndChild_Call) Run

func (*MockPanedWidget_SetEndChild_Call) RunAndReturn

type MockPanedWidget_SetFocusOnClick_Call

type MockPanedWidget_SetFocusOnClick_Call struct {
	*mock.Call
}

MockPanedWidget_SetFocusOnClick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusOnClick'

func (*MockPanedWidget_SetFocusOnClick_Call) Return

func (*MockPanedWidget_SetFocusOnClick_Call) Run

func (*MockPanedWidget_SetFocusOnClick_Call) RunAndReturn

func (_c *MockPanedWidget_SetFocusOnClick_Call) RunAndReturn(run func(focusOnClick bool)) *MockPanedWidget_SetFocusOnClick_Call

type MockPanedWidget_SetFocusable_Call added in v0.23.0

type MockPanedWidget_SetFocusable_Call struct {
	*mock.Call
}

MockPanedWidget_SetFocusable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusable'

func (*MockPanedWidget_SetFocusable_Call) Return added in v0.23.0

func (*MockPanedWidget_SetFocusable_Call) Run added in v0.23.0

func (*MockPanedWidget_SetFocusable_Call) RunAndReturn added in v0.23.0

func (_c *MockPanedWidget_SetFocusable_Call) RunAndReturn(run func(focusable bool)) *MockPanedWidget_SetFocusable_Call

type MockPanedWidget_SetHalign_Call

type MockPanedWidget_SetHalign_Call struct {
	*mock.Call
}

MockPanedWidget_SetHalign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHalign'

func (*MockPanedWidget_SetHalign_Call) Return

func (*MockPanedWidget_SetHalign_Call) Run

func (*MockPanedWidget_SetHalign_Call) RunAndReturn

func (_c *MockPanedWidget_SetHalign_Call) RunAndReturn(run func(align gtk.Align)) *MockPanedWidget_SetHalign_Call

type MockPanedWidget_SetHexpand_Call

type MockPanedWidget_SetHexpand_Call struct {
	*mock.Call
}

MockPanedWidget_SetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHexpand'

func (*MockPanedWidget_SetHexpand_Call) Return

func (*MockPanedWidget_SetHexpand_Call) Run

func (*MockPanedWidget_SetHexpand_Call) RunAndReturn

func (_c *MockPanedWidget_SetHexpand_Call) RunAndReturn(run func(expand bool)) *MockPanedWidget_SetHexpand_Call

type MockPanedWidget_SetOpacity_Call added in v0.27.0

type MockPanedWidget_SetOpacity_Call struct {
	*mock.Call
}

MockPanedWidget_SetOpacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOpacity'

func (*MockPanedWidget_SetOpacity_Call) Return added in v0.27.0

func (*MockPanedWidget_SetOpacity_Call) Run added in v0.27.0

func (*MockPanedWidget_SetOpacity_Call) RunAndReturn added in v0.27.0

func (_c *MockPanedWidget_SetOpacity_Call) RunAndReturn(run func(opacity float64)) *MockPanedWidget_SetOpacity_Call

type MockPanedWidget_SetPosition_Call

type MockPanedWidget_SetPosition_Call struct {
	*mock.Call
}

MockPanedWidget_SetPosition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPosition'

func (*MockPanedWidget_SetPosition_Call) Return

func (*MockPanedWidget_SetPosition_Call) Run

func (*MockPanedWidget_SetPosition_Call) RunAndReturn

func (_c *MockPanedWidget_SetPosition_Call) RunAndReturn(run func(position int)) *MockPanedWidget_SetPosition_Call

type MockPanedWidget_SetResizeEndChild_Call

type MockPanedWidget_SetResizeEndChild_Call struct {
	*mock.Call
}

MockPanedWidget_SetResizeEndChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetResizeEndChild'

func (*MockPanedWidget_SetResizeEndChild_Call) Return

func (*MockPanedWidget_SetResizeEndChild_Call) Run

func (*MockPanedWidget_SetResizeEndChild_Call) RunAndReturn

type MockPanedWidget_SetResizeStartChild_Call

type MockPanedWidget_SetResizeStartChild_Call struct {
	*mock.Call
}

MockPanedWidget_SetResizeStartChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetResizeStartChild'

func (*MockPanedWidget_SetResizeStartChild_Call) Return

func (*MockPanedWidget_SetResizeStartChild_Call) Run

func (*MockPanedWidget_SetResizeStartChild_Call) RunAndReturn

type MockPanedWidget_SetShrinkEndChild_Call

type MockPanedWidget_SetShrinkEndChild_Call struct {
	*mock.Call
}

MockPanedWidget_SetShrinkEndChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetShrinkEndChild'

func (*MockPanedWidget_SetShrinkEndChild_Call) Return

func (*MockPanedWidget_SetShrinkEndChild_Call) Run

func (*MockPanedWidget_SetShrinkEndChild_Call) RunAndReturn

type MockPanedWidget_SetShrinkStartChild_Call

type MockPanedWidget_SetShrinkStartChild_Call struct {
	*mock.Call
}

MockPanedWidget_SetShrinkStartChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetShrinkStartChild'

func (*MockPanedWidget_SetShrinkStartChild_Call) Return

func (*MockPanedWidget_SetShrinkStartChild_Call) Run

func (*MockPanedWidget_SetShrinkStartChild_Call) RunAndReturn

type MockPanedWidget_SetSizeRequest_Call

type MockPanedWidget_SetSizeRequest_Call struct {
	*mock.Call
}

MockPanedWidget_SetSizeRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSizeRequest'

func (*MockPanedWidget_SetSizeRequest_Call) Return

func (*MockPanedWidget_SetSizeRequest_Call) Run

func (*MockPanedWidget_SetSizeRequest_Call) RunAndReturn

func (_c *MockPanedWidget_SetSizeRequest_Call) RunAndReturn(run func(width int, height int)) *MockPanedWidget_SetSizeRequest_Call

type MockPanedWidget_SetStartChild_Call

type MockPanedWidget_SetStartChild_Call struct {
	*mock.Call
}

MockPanedWidget_SetStartChild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStartChild'

func (*MockPanedWidget_SetStartChild_Call) Return

func (*MockPanedWidget_SetStartChild_Call) Run

func (*MockPanedWidget_SetStartChild_Call) RunAndReturn

type MockPanedWidget_SetValign_Call

type MockPanedWidget_SetValign_Call struct {
	*mock.Call
}

MockPanedWidget_SetValign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValign'

func (*MockPanedWidget_SetValign_Call) Return

func (*MockPanedWidget_SetValign_Call) Run

func (*MockPanedWidget_SetValign_Call) RunAndReturn

func (_c *MockPanedWidget_SetValign_Call) RunAndReturn(run func(align gtk.Align)) *MockPanedWidget_SetValign_Call

type MockPanedWidget_SetVexpand_Call

type MockPanedWidget_SetVexpand_Call struct {
	*mock.Call
}

MockPanedWidget_SetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVexpand'

func (*MockPanedWidget_SetVexpand_Call) Return

func (*MockPanedWidget_SetVexpand_Call) Run

func (*MockPanedWidget_SetVexpand_Call) RunAndReturn

func (_c *MockPanedWidget_SetVexpand_Call) RunAndReturn(run func(expand bool)) *MockPanedWidget_SetVexpand_Call

type MockPanedWidget_SetVisible_Call

type MockPanedWidget_SetVisible_Call struct {
	*mock.Call
}

MockPanedWidget_SetVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVisible'

func (*MockPanedWidget_SetVisible_Call) Return

func (*MockPanedWidget_SetVisible_Call) Run

func (*MockPanedWidget_SetVisible_Call) RunAndReturn

func (_c *MockPanedWidget_SetVisible_Call) RunAndReturn(run func(visible bool)) *MockPanedWidget_SetVisible_Call

type MockPanedWidget_SetWideHandle_Call

type MockPanedWidget_SetWideHandle_Call struct {
	*mock.Call
}

MockPanedWidget_SetWideHandle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWideHandle'

func (*MockPanedWidget_SetWideHandle_Call) Return

func (*MockPanedWidget_SetWideHandle_Call) Run

func (*MockPanedWidget_SetWideHandle_Call) RunAndReturn

type MockPanedWidget_Show_Call

type MockPanedWidget_Show_Call struct {
	*mock.Call
}

MockPanedWidget_Show_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Show'

func (*MockPanedWidget_Show_Call) Return

func (*MockPanedWidget_Show_Call) Run

func (*MockPanedWidget_Show_Call) RunAndReturn

func (_c *MockPanedWidget_Show_Call) RunAndReturn(run func()) *MockPanedWidget_Show_Call

type MockPanedWidget_Unparent_Call

type MockPanedWidget_Unparent_Call struct {
	*mock.Call
}

MockPanedWidget_Unparent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unparent'

func (*MockPanedWidget_Unparent_Call) Return

func (*MockPanedWidget_Unparent_Call) Run

func (*MockPanedWidget_Unparent_Call) RunAndReturn

func (_c *MockPanedWidget_Unparent_Call) RunAndReturn(run func()) *MockPanedWidget_Unparent_Call

type MockProgressBarWidget

type MockProgressBarWidget struct {
	mock.Mock
}

MockProgressBarWidget is an autogenerated mock type for the ProgressBarWidget type

func NewMockProgressBarWidget

func NewMockProgressBarWidget(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockProgressBarWidget

NewMockProgressBarWidget creates a new instance of MockProgressBarWidget. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockProgressBarWidget) AddController

func (_mock *MockProgressBarWidget) AddController(controller *gtk.EventController)

AddController provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) AddCssClass

func (_mock *MockProgressBarWidget) AddCssClass(cssClass string)

AddCssClass provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) ComputePoint

func (_mock *MockProgressBarWidget) ComputePoint(target layout.Widget) (float64, float64, bool)

ComputePoint provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) EXPECT

func (*MockProgressBarWidget) GetAllocatedHeight

func (_mock *MockProgressBarWidget) GetAllocatedHeight() int

GetAllocatedHeight provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) GetAllocatedWidth

func (_mock *MockProgressBarWidget) GetAllocatedWidth() int

GetAllocatedWidth provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) GetFraction

func (_mock *MockProgressBarWidget) GetFraction() float64

GetFraction provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) GetHexpand

func (_mock *MockProgressBarWidget) GetHexpand() bool

GetHexpand provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) GetParent

func (_mock *MockProgressBarWidget) GetParent() layout.Widget

GetParent provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) GetVexpand

func (_mock *MockProgressBarWidget) GetVexpand() bool

GetVexpand provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) GrabFocus

func (_mock *MockProgressBarWidget) GrabFocus() bool

GrabFocus provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) GtkWidget

func (_mock *MockProgressBarWidget) GtkWidget() *gtk.Widget

GtkWidget provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) HasCssClass

func (_mock *MockProgressBarWidget) HasCssClass(cssClass string) bool

HasCssClass provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) HasFocus

func (_mock *MockProgressBarWidget) HasFocus() bool

HasFocus provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) Hide

func (_mock *MockProgressBarWidget) Hide()

Hide provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) IsVisible

func (_mock *MockProgressBarWidget) IsVisible() bool

IsVisible provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) RemoveCssClass

func (_mock *MockProgressBarWidget) RemoveCssClass(cssClass string)

RemoveCssClass provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetCanFocus

func (_mock *MockProgressBarWidget) SetCanFocus(canFocus bool)

SetCanFocus provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetCanTarget

func (_mock *MockProgressBarWidget) SetCanTarget(canTarget bool)

SetCanTarget provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetFocusOnClick

func (_mock *MockProgressBarWidget) SetFocusOnClick(focusOnClick bool)

SetFocusOnClick provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetFocusable added in v0.23.0

func (_mock *MockProgressBarWidget) SetFocusable(focusable bool)

SetFocusable provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetFraction

func (_mock *MockProgressBarWidget) SetFraction(fraction float64)

SetFraction provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetHalign

func (_mock *MockProgressBarWidget) SetHalign(align gtk.Align)

SetHalign provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetHexpand

func (_mock *MockProgressBarWidget) SetHexpand(expand bool)

SetHexpand provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetOpacity added in v0.27.0

func (_mock *MockProgressBarWidget) SetOpacity(opacity float64)

SetOpacity provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetSizeRequest

func (_mock *MockProgressBarWidget) SetSizeRequest(width int, height int)

SetSizeRequest provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetValign

func (_mock *MockProgressBarWidget) SetValign(align gtk.Align)

SetValign provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetVexpand

func (_mock *MockProgressBarWidget) SetVexpand(expand bool)

SetVexpand provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) SetVisible

func (_mock *MockProgressBarWidget) SetVisible(visible bool)

SetVisible provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) Show

func (_mock *MockProgressBarWidget) Show()

Show provides a mock function for the type MockProgressBarWidget

func (*MockProgressBarWidget) Unparent

func (_mock *MockProgressBarWidget) Unparent()

Unparent provides a mock function for the type MockProgressBarWidget

type MockProgressBarWidget_AddController_Call

type MockProgressBarWidget_AddController_Call struct {
	*mock.Call
}

MockProgressBarWidget_AddController_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddController'

func (*MockProgressBarWidget_AddController_Call) Return

func (*MockProgressBarWidget_AddController_Call) Run

func (*MockProgressBarWidget_AddController_Call) RunAndReturn

type MockProgressBarWidget_AddCssClass_Call

type MockProgressBarWidget_AddCssClass_Call struct {
	*mock.Call
}

MockProgressBarWidget_AddCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCssClass'

func (*MockProgressBarWidget_AddCssClass_Call) Return

func (*MockProgressBarWidget_AddCssClass_Call) Run

func (*MockProgressBarWidget_AddCssClass_Call) RunAndReturn

type MockProgressBarWidget_ComputePoint_Call

type MockProgressBarWidget_ComputePoint_Call struct {
	*mock.Call
}

MockProgressBarWidget_ComputePoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputePoint'

func (*MockProgressBarWidget_ComputePoint_Call) Return

func (*MockProgressBarWidget_ComputePoint_Call) Run

func (*MockProgressBarWidget_ComputePoint_Call) RunAndReturn

type MockProgressBarWidget_Expecter

type MockProgressBarWidget_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockProgressBarWidget_Expecter) AddController

func (_e *MockProgressBarWidget_Expecter) AddController(controller interface{}) *MockProgressBarWidget_AddController_Call

AddController is a helper method to define mock.On call

  • controller *gtk.EventController

func (*MockProgressBarWidget_Expecter) AddCssClass

func (_e *MockProgressBarWidget_Expecter) AddCssClass(cssClass interface{}) *MockProgressBarWidget_AddCssClass_Call

AddCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockProgressBarWidget_Expecter) ComputePoint

func (_e *MockProgressBarWidget_Expecter) ComputePoint(target interface{}) *MockProgressBarWidget_ComputePoint_Call

ComputePoint is a helper method to define mock.On call

  • target layout.Widget

func (*MockProgressBarWidget_Expecter) GetAllocatedHeight

GetAllocatedHeight is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) GetAllocatedWidth

GetAllocatedWidth is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) GetFraction

GetFraction is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) GetHexpand

GetHexpand is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) GetParent

GetParent is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) GetVexpand

GetVexpand is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) GrabFocus

GrabFocus is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) GtkWidget

GtkWidget is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) HasCssClass

func (_e *MockProgressBarWidget_Expecter) HasCssClass(cssClass interface{}) *MockProgressBarWidget_HasCssClass_Call

HasCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockProgressBarWidget_Expecter) HasFocus

HasFocus is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) Hide

Hide is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) IsVisible

IsVisible is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) RemoveCssClass

func (_e *MockProgressBarWidget_Expecter) RemoveCssClass(cssClass interface{}) *MockProgressBarWidget_RemoveCssClass_Call

RemoveCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockProgressBarWidget_Expecter) SetCanFocus

func (_e *MockProgressBarWidget_Expecter) SetCanFocus(canFocus interface{}) *MockProgressBarWidget_SetCanFocus_Call

SetCanFocus is a helper method to define mock.On call

  • canFocus bool

func (*MockProgressBarWidget_Expecter) SetCanTarget

func (_e *MockProgressBarWidget_Expecter) SetCanTarget(canTarget interface{}) *MockProgressBarWidget_SetCanTarget_Call

SetCanTarget is a helper method to define mock.On call

  • canTarget bool

func (*MockProgressBarWidget_Expecter) SetFocusOnClick

func (_e *MockProgressBarWidget_Expecter) SetFocusOnClick(focusOnClick interface{}) *MockProgressBarWidget_SetFocusOnClick_Call

SetFocusOnClick is a helper method to define mock.On call

  • focusOnClick bool

func (*MockProgressBarWidget_Expecter) SetFocusable added in v0.23.0

func (_e *MockProgressBarWidget_Expecter) SetFocusable(focusable interface{}) *MockProgressBarWidget_SetFocusable_Call

SetFocusable is a helper method to define mock.On call

  • focusable bool

func (*MockProgressBarWidget_Expecter) SetFraction

func (_e *MockProgressBarWidget_Expecter) SetFraction(fraction interface{}) *MockProgressBarWidget_SetFraction_Call

SetFraction is a helper method to define mock.On call

  • fraction float64

func (*MockProgressBarWidget_Expecter) SetHalign

func (_e *MockProgressBarWidget_Expecter) SetHalign(align interface{}) *MockProgressBarWidget_SetHalign_Call

SetHalign is a helper method to define mock.On call

  • align gtk.Align

func (*MockProgressBarWidget_Expecter) SetHexpand

func (_e *MockProgressBarWidget_Expecter) SetHexpand(expand interface{}) *MockProgressBarWidget_SetHexpand_Call

SetHexpand is a helper method to define mock.On call

  • expand bool

func (*MockProgressBarWidget_Expecter) SetOpacity added in v0.27.0

func (_e *MockProgressBarWidget_Expecter) SetOpacity(opacity interface{}) *MockProgressBarWidget_SetOpacity_Call

SetOpacity is a helper method to define mock.On call

  • opacity float64

func (*MockProgressBarWidget_Expecter) SetSizeRequest

func (_e *MockProgressBarWidget_Expecter) SetSizeRequest(width interface{}, height interface{}) *MockProgressBarWidget_SetSizeRequest_Call

SetSizeRequest is a helper method to define mock.On call

  • width int
  • height int

func (*MockProgressBarWidget_Expecter) SetValign

func (_e *MockProgressBarWidget_Expecter) SetValign(align interface{}) *MockProgressBarWidget_SetValign_Call

SetValign is a helper method to define mock.On call

  • align gtk.Align

func (*MockProgressBarWidget_Expecter) SetVexpand

func (_e *MockProgressBarWidget_Expecter) SetVexpand(expand interface{}) *MockProgressBarWidget_SetVexpand_Call

SetVexpand is a helper method to define mock.On call

  • expand bool

func (*MockProgressBarWidget_Expecter) SetVisible

func (_e *MockProgressBarWidget_Expecter) SetVisible(visible interface{}) *MockProgressBarWidget_SetVisible_Call

SetVisible is a helper method to define mock.On call

  • visible bool

func (*MockProgressBarWidget_Expecter) Show

Show is a helper method to define mock.On call

func (*MockProgressBarWidget_Expecter) Unparent

Unparent is a helper method to define mock.On call

type MockProgressBarWidget_GetAllocatedHeight_Call

type MockProgressBarWidget_GetAllocatedHeight_Call struct {
	*mock.Call
}

MockProgressBarWidget_GetAllocatedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedHeight'

func (*MockProgressBarWidget_GetAllocatedHeight_Call) Return

func (*MockProgressBarWidget_GetAllocatedHeight_Call) Run

func (*MockProgressBarWidget_GetAllocatedHeight_Call) RunAndReturn

type MockProgressBarWidget_GetAllocatedWidth_Call

type MockProgressBarWidget_GetAllocatedWidth_Call struct {
	*mock.Call
}

MockProgressBarWidget_GetAllocatedWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedWidth'

func (*MockProgressBarWidget_GetAllocatedWidth_Call) Return

func (*MockProgressBarWidget_GetAllocatedWidth_Call) Run

func (*MockProgressBarWidget_GetAllocatedWidth_Call) RunAndReturn

type MockProgressBarWidget_GetFraction_Call

type MockProgressBarWidget_GetFraction_Call struct {
	*mock.Call
}

MockProgressBarWidget_GetFraction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFraction'

func (*MockProgressBarWidget_GetFraction_Call) Return

func (*MockProgressBarWidget_GetFraction_Call) Run

func (*MockProgressBarWidget_GetFraction_Call) RunAndReturn

type MockProgressBarWidget_GetHexpand_Call

type MockProgressBarWidget_GetHexpand_Call struct {
	*mock.Call
}

MockProgressBarWidget_GetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHexpand'

func (*MockProgressBarWidget_GetHexpand_Call) Return

func (*MockProgressBarWidget_GetHexpand_Call) Run

func (*MockProgressBarWidget_GetHexpand_Call) RunAndReturn

type MockProgressBarWidget_GetParent_Call

type MockProgressBarWidget_GetParent_Call struct {
	*mock.Call
}

MockProgressBarWidget_GetParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParent'

func (*MockProgressBarWidget_GetParent_Call) Return

func (*MockProgressBarWidget_GetParent_Call) Run

func (*MockProgressBarWidget_GetParent_Call) RunAndReturn

type MockProgressBarWidget_GetVexpand_Call

type MockProgressBarWidget_GetVexpand_Call struct {
	*mock.Call
}

MockProgressBarWidget_GetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVexpand'

func (*MockProgressBarWidget_GetVexpand_Call) Return

func (*MockProgressBarWidget_GetVexpand_Call) Run

func (*MockProgressBarWidget_GetVexpand_Call) RunAndReturn

type MockProgressBarWidget_GrabFocus_Call

type MockProgressBarWidget_GrabFocus_Call struct {
	*mock.Call
}

MockProgressBarWidget_GrabFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrabFocus'

func (*MockProgressBarWidget_GrabFocus_Call) Return

func (*MockProgressBarWidget_GrabFocus_Call) Run

func (*MockProgressBarWidget_GrabFocus_Call) RunAndReturn

type MockProgressBarWidget_GtkWidget_Call

type MockProgressBarWidget_GtkWidget_Call struct {
	*mock.Call
}

MockProgressBarWidget_GtkWidget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GtkWidget'

func (*MockProgressBarWidget_GtkWidget_Call) Return

func (*MockProgressBarWidget_GtkWidget_Call) Run

func (*MockProgressBarWidget_GtkWidget_Call) RunAndReturn

type MockProgressBarWidget_HasCssClass_Call

type MockProgressBarWidget_HasCssClass_Call struct {
	*mock.Call
}

MockProgressBarWidget_HasCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasCssClass'

func (*MockProgressBarWidget_HasCssClass_Call) Return

func (*MockProgressBarWidget_HasCssClass_Call) Run

func (*MockProgressBarWidget_HasCssClass_Call) RunAndReturn

type MockProgressBarWidget_HasFocus_Call

type MockProgressBarWidget_HasFocus_Call struct {
	*mock.Call
}

MockProgressBarWidget_HasFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasFocus'

func (*MockProgressBarWidget_HasFocus_Call) Return

func (*MockProgressBarWidget_HasFocus_Call) Run

func (*MockProgressBarWidget_HasFocus_Call) RunAndReturn

type MockProgressBarWidget_Hide_Call

type MockProgressBarWidget_Hide_Call struct {
	*mock.Call
}

MockProgressBarWidget_Hide_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hide'

func (*MockProgressBarWidget_Hide_Call) Return

func (*MockProgressBarWidget_Hide_Call) Run

func (*MockProgressBarWidget_Hide_Call) RunAndReturn

type MockProgressBarWidget_IsVisible_Call

type MockProgressBarWidget_IsVisible_Call struct {
	*mock.Call
}

MockProgressBarWidget_IsVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsVisible'

func (*MockProgressBarWidget_IsVisible_Call) Return

func (*MockProgressBarWidget_IsVisible_Call) Run

func (*MockProgressBarWidget_IsVisible_Call) RunAndReturn

type MockProgressBarWidget_RemoveCssClass_Call

type MockProgressBarWidget_RemoveCssClass_Call struct {
	*mock.Call
}

MockProgressBarWidget_RemoveCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCssClass'

func (*MockProgressBarWidget_RemoveCssClass_Call) Return

func (*MockProgressBarWidget_RemoveCssClass_Call) Run

func (*MockProgressBarWidget_RemoveCssClass_Call) RunAndReturn

type MockProgressBarWidget_SetCanFocus_Call

type MockProgressBarWidget_SetCanFocus_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetCanFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanFocus'

func (*MockProgressBarWidget_SetCanFocus_Call) Return

func (*MockProgressBarWidget_SetCanFocus_Call) Run

func (*MockProgressBarWidget_SetCanFocus_Call) RunAndReturn

type MockProgressBarWidget_SetCanTarget_Call

type MockProgressBarWidget_SetCanTarget_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetCanTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanTarget'

func (*MockProgressBarWidget_SetCanTarget_Call) Return

func (*MockProgressBarWidget_SetCanTarget_Call) Run

func (*MockProgressBarWidget_SetCanTarget_Call) RunAndReturn

type MockProgressBarWidget_SetFocusOnClick_Call

type MockProgressBarWidget_SetFocusOnClick_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetFocusOnClick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusOnClick'

func (*MockProgressBarWidget_SetFocusOnClick_Call) Return

func (*MockProgressBarWidget_SetFocusOnClick_Call) Run

func (*MockProgressBarWidget_SetFocusOnClick_Call) RunAndReturn

type MockProgressBarWidget_SetFocusable_Call added in v0.23.0

type MockProgressBarWidget_SetFocusable_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetFocusable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusable'

func (*MockProgressBarWidget_SetFocusable_Call) Return added in v0.23.0

func (*MockProgressBarWidget_SetFocusable_Call) Run added in v0.23.0

func (*MockProgressBarWidget_SetFocusable_Call) RunAndReturn added in v0.23.0

type MockProgressBarWidget_SetFraction_Call

type MockProgressBarWidget_SetFraction_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetFraction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFraction'

func (*MockProgressBarWidget_SetFraction_Call) Return

func (*MockProgressBarWidget_SetFraction_Call) Run

func (*MockProgressBarWidget_SetFraction_Call) RunAndReturn

type MockProgressBarWidget_SetHalign_Call

type MockProgressBarWidget_SetHalign_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetHalign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHalign'

func (*MockProgressBarWidget_SetHalign_Call) Return

func (*MockProgressBarWidget_SetHalign_Call) Run

func (*MockProgressBarWidget_SetHalign_Call) RunAndReturn

type MockProgressBarWidget_SetHexpand_Call

type MockProgressBarWidget_SetHexpand_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHexpand'

func (*MockProgressBarWidget_SetHexpand_Call) Return

func (*MockProgressBarWidget_SetHexpand_Call) Run

func (*MockProgressBarWidget_SetHexpand_Call) RunAndReturn

type MockProgressBarWidget_SetOpacity_Call added in v0.27.0

type MockProgressBarWidget_SetOpacity_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetOpacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOpacity'

func (*MockProgressBarWidget_SetOpacity_Call) Return added in v0.27.0

func (*MockProgressBarWidget_SetOpacity_Call) Run added in v0.27.0

func (*MockProgressBarWidget_SetOpacity_Call) RunAndReturn added in v0.27.0

type MockProgressBarWidget_SetSizeRequest_Call

type MockProgressBarWidget_SetSizeRequest_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetSizeRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSizeRequest'

func (*MockProgressBarWidget_SetSizeRequest_Call) Return

func (*MockProgressBarWidget_SetSizeRequest_Call) Run

func (*MockProgressBarWidget_SetSizeRequest_Call) RunAndReturn

type MockProgressBarWidget_SetValign_Call

type MockProgressBarWidget_SetValign_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetValign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValign'

func (*MockProgressBarWidget_SetValign_Call) Return

func (*MockProgressBarWidget_SetValign_Call) Run

func (*MockProgressBarWidget_SetValign_Call) RunAndReturn

type MockProgressBarWidget_SetVexpand_Call

type MockProgressBarWidget_SetVexpand_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVexpand'

func (*MockProgressBarWidget_SetVexpand_Call) Return

func (*MockProgressBarWidget_SetVexpand_Call) Run

func (*MockProgressBarWidget_SetVexpand_Call) RunAndReturn

type MockProgressBarWidget_SetVisible_Call

type MockProgressBarWidget_SetVisible_Call struct {
	*mock.Call
}

MockProgressBarWidget_SetVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVisible'

func (*MockProgressBarWidget_SetVisible_Call) Return

func (*MockProgressBarWidget_SetVisible_Call) Run

func (*MockProgressBarWidget_SetVisible_Call) RunAndReturn

type MockProgressBarWidget_Show_Call

type MockProgressBarWidget_Show_Call struct {
	*mock.Call
}

MockProgressBarWidget_Show_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Show'

func (*MockProgressBarWidget_Show_Call) Return

func (*MockProgressBarWidget_Show_Call) Run

func (*MockProgressBarWidget_Show_Call) RunAndReturn

type MockProgressBarWidget_Unparent_Call

type MockProgressBarWidget_Unparent_Call struct {
	*mock.Call
}

MockProgressBarWidget_Unparent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unparent'

func (*MockProgressBarWidget_Unparent_Call) Return

func (*MockProgressBarWidget_Unparent_Call) Run

func (*MockProgressBarWidget_Unparent_Call) RunAndReturn

type MockSpinnerWidget added in v0.22.0

type MockSpinnerWidget struct {
	mock.Mock
}

MockSpinnerWidget is an autogenerated mock type for the SpinnerWidget type

func NewMockSpinnerWidget added in v0.22.0

func NewMockSpinnerWidget(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSpinnerWidget

NewMockSpinnerWidget creates a new instance of MockSpinnerWidget. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockSpinnerWidget) AddController added in v0.22.0

func (_mock *MockSpinnerWidget) AddController(controller *gtk.EventController)

AddController provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) AddCssClass added in v0.22.0

func (_mock *MockSpinnerWidget) AddCssClass(cssClass string)

AddCssClass provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) ComputePoint added in v0.22.0

func (_mock *MockSpinnerWidget) ComputePoint(target layout.Widget) (float64, float64, bool)

ComputePoint provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) EXPECT added in v0.22.0

func (*MockSpinnerWidget) GetAllocatedHeight added in v0.22.0

func (_mock *MockSpinnerWidget) GetAllocatedHeight() int

GetAllocatedHeight provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) GetAllocatedWidth added in v0.22.0

func (_mock *MockSpinnerWidget) GetAllocatedWidth() int

GetAllocatedWidth provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) GetHexpand added in v0.22.0

func (_mock *MockSpinnerWidget) GetHexpand() bool

GetHexpand provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) GetParent added in v0.22.0

func (_mock *MockSpinnerWidget) GetParent() layout.Widget

GetParent provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) GetSpinning added in v0.22.0

func (_mock *MockSpinnerWidget) GetSpinning() bool

GetSpinning provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) GetVexpand added in v0.22.0

func (_mock *MockSpinnerWidget) GetVexpand() bool

GetVexpand provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) GrabFocus added in v0.22.0

func (_mock *MockSpinnerWidget) GrabFocus() bool

GrabFocus provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) GtkWidget added in v0.22.0

func (_mock *MockSpinnerWidget) GtkWidget() *gtk.Widget

GtkWidget provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) HasCssClass added in v0.22.0

func (_mock *MockSpinnerWidget) HasCssClass(cssClass string) bool

HasCssClass provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) HasFocus added in v0.22.0

func (_mock *MockSpinnerWidget) HasFocus() bool

HasFocus provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) Hide added in v0.22.0

func (_mock *MockSpinnerWidget) Hide()

Hide provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) IsVisible added in v0.22.0

func (_mock *MockSpinnerWidget) IsVisible() bool

IsVisible provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) RemoveCssClass added in v0.22.0

func (_mock *MockSpinnerWidget) RemoveCssClass(cssClass string)

RemoveCssClass provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetCanFocus added in v0.22.0

func (_mock *MockSpinnerWidget) SetCanFocus(canFocus bool)

SetCanFocus provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetCanTarget added in v0.22.0

func (_mock *MockSpinnerWidget) SetCanTarget(canTarget bool)

SetCanTarget provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetFocusOnClick added in v0.22.0

func (_mock *MockSpinnerWidget) SetFocusOnClick(focusOnClick bool)

SetFocusOnClick provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetFocusable added in v0.23.0

func (_mock *MockSpinnerWidget) SetFocusable(focusable bool)

SetFocusable provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetHalign added in v0.22.0

func (_mock *MockSpinnerWidget) SetHalign(align gtk.Align)

SetHalign provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetHexpand added in v0.22.0

func (_mock *MockSpinnerWidget) SetHexpand(expand bool)

SetHexpand provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetOpacity added in v0.27.0

func (_mock *MockSpinnerWidget) SetOpacity(opacity float64)

SetOpacity provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetSizeRequest added in v0.22.0

func (_mock *MockSpinnerWidget) SetSizeRequest(width int, height int)

SetSizeRequest provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetSpinning added in v0.22.0

func (_mock *MockSpinnerWidget) SetSpinning(spinning bool)

SetSpinning provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetValign added in v0.22.0

func (_mock *MockSpinnerWidget) SetValign(align gtk.Align)

SetValign provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetVexpand added in v0.22.0

func (_mock *MockSpinnerWidget) SetVexpand(expand bool)

SetVexpand provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) SetVisible added in v0.22.0

func (_mock *MockSpinnerWidget) SetVisible(visible bool)

SetVisible provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) Show added in v0.22.0

func (_mock *MockSpinnerWidget) Show()

Show provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) Start added in v0.22.0

func (_mock *MockSpinnerWidget) Start()

Start provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) Stop added in v0.22.0

func (_mock *MockSpinnerWidget) Stop()

Stop provides a mock function for the type MockSpinnerWidget

func (*MockSpinnerWidget) Unparent added in v0.22.0

func (_mock *MockSpinnerWidget) Unparent()

Unparent provides a mock function for the type MockSpinnerWidget

type MockSpinnerWidget_AddController_Call added in v0.22.0

type MockSpinnerWidget_AddController_Call struct {
	*mock.Call
}

MockSpinnerWidget_AddController_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddController'

func (*MockSpinnerWidget_AddController_Call) Return added in v0.22.0

func (*MockSpinnerWidget_AddController_Call) Run added in v0.22.0

func (*MockSpinnerWidget_AddController_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_AddCssClass_Call added in v0.22.0

type MockSpinnerWidget_AddCssClass_Call struct {
	*mock.Call
}

MockSpinnerWidget_AddCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCssClass'

func (*MockSpinnerWidget_AddCssClass_Call) Return added in v0.22.0

func (*MockSpinnerWidget_AddCssClass_Call) Run added in v0.22.0

func (*MockSpinnerWidget_AddCssClass_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_ComputePoint_Call added in v0.22.0

type MockSpinnerWidget_ComputePoint_Call struct {
	*mock.Call
}

MockSpinnerWidget_ComputePoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputePoint'

func (*MockSpinnerWidget_ComputePoint_Call) Return added in v0.22.0

func (*MockSpinnerWidget_ComputePoint_Call) Run added in v0.22.0

func (*MockSpinnerWidget_ComputePoint_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_Expecter added in v0.22.0

type MockSpinnerWidget_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockSpinnerWidget_Expecter) AddController added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) AddController(controller interface{}) *MockSpinnerWidget_AddController_Call

AddController is a helper method to define mock.On call

  • controller *gtk.EventController

func (*MockSpinnerWidget_Expecter) AddCssClass added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) AddCssClass(cssClass interface{}) *MockSpinnerWidget_AddCssClass_Call

AddCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockSpinnerWidget_Expecter) ComputePoint added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) ComputePoint(target interface{}) *MockSpinnerWidget_ComputePoint_Call

ComputePoint is a helper method to define mock.On call

  • target layout.Widget

func (*MockSpinnerWidget_Expecter) GetAllocatedHeight added in v0.22.0

GetAllocatedHeight is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) GetAllocatedWidth added in v0.22.0

GetAllocatedWidth is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) GetHexpand added in v0.22.0

GetHexpand is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) GetParent added in v0.22.0

GetParent is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) GetSpinning added in v0.22.0

GetSpinning is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) GetVexpand added in v0.22.0

GetVexpand is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) GrabFocus added in v0.22.0

GrabFocus is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) GtkWidget added in v0.22.0

GtkWidget is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) HasCssClass added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) HasCssClass(cssClass interface{}) *MockSpinnerWidget_HasCssClass_Call

HasCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockSpinnerWidget_Expecter) HasFocus added in v0.22.0

HasFocus is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) Hide added in v0.22.0

Hide is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) IsVisible added in v0.22.0

IsVisible is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) RemoveCssClass added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) RemoveCssClass(cssClass interface{}) *MockSpinnerWidget_RemoveCssClass_Call

RemoveCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockSpinnerWidget_Expecter) SetCanFocus added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) SetCanFocus(canFocus interface{}) *MockSpinnerWidget_SetCanFocus_Call

SetCanFocus is a helper method to define mock.On call

  • canFocus bool

func (*MockSpinnerWidget_Expecter) SetCanTarget added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) SetCanTarget(canTarget interface{}) *MockSpinnerWidget_SetCanTarget_Call

SetCanTarget is a helper method to define mock.On call

  • canTarget bool

func (*MockSpinnerWidget_Expecter) SetFocusOnClick added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) SetFocusOnClick(focusOnClick interface{}) *MockSpinnerWidget_SetFocusOnClick_Call

SetFocusOnClick is a helper method to define mock.On call

  • focusOnClick bool

func (*MockSpinnerWidget_Expecter) SetFocusable added in v0.23.0

func (_e *MockSpinnerWidget_Expecter) SetFocusable(focusable interface{}) *MockSpinnerWidget_SetFocusable_Call

SetFocusable is a helper method to define mock.On call

  • focusable bool

func (*MockSpinnerWidget_Expecter) SetHalign added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) SetHalign(align interface{}) *MockSpinnerWidget_SetHalign_Call

SetHalign is a helper method to define mock.On call

  • align gtk.Align

func (*MockSpinnerWidget_Expecter) SetHexpand added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) SetHexpand(expand interface{}) *MockSpinnerWidget_SetHexpand_Call

SetHexpand is a helper method to define mock.On call

  • expand bool

func (*MockSpinnerWidget_Expecter) SetOpacity added in v0.27.0

func (_e *MockSpinnerWidget_Expecter) SetOpacity(opacity interface{}) *MockSpinnerWidget_SetOpacity_Call

SetOpacity is a helper method to define mock.On call

  • opacity float64

func (*MockSpinnerWidget_Expecter) SetSizeRequest added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) SetSizeRequest(width interface{}, height interface{}) *MockSpinnerWidget_SetSizeRequest_Call

SetSizeRequest is a helper method to define mock.On call

  • width int
  • height int

func (*MockSpinnerWidget_Expecter) SetSpinning added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) SetSpinning(spinning interface{}) *MockSpinnerWidget_SetSpinning_Call

SetSpinning is a helper method to define mock.On call

  • spinning bool

func (*MockSpinnerWidget_Expecter) SetValign added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) SetValign(align interface{}) *MockSpinnerWidget_SetValign_Call

SetValign is a helper method to define mock.On call

  • align gtk.Align

func (*MockSpinnerWidget_Expecter) SetVexpand added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) SetVexpand(expand interface{}) *MockSpinnerWidget_SetVexpand_Call

SetVexpand is a helper method to define mock.On call

  • expand bool

func (*MockSpinnerWidget_Expecter) SetVisible added in v0.22.0

func (_e *MockSpinnerWidget_Expecter) SetVisible(visible interface{}) *MockSpinnerWidget_SetVisible_Call

SetVisible is a helper method to define mock.On call

  • visible bool

func (*MockSpinnerWidget_Expecter) Show added in v0.22.0

Show is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) Start added in v0.22.0

Start is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) Stop added in v0.22.0

Stop is a helper method to define mock.On call

func (*MockSpinnerWidget_Expecter) Unparent added in v0.22.0

Unparent is a helper method to define mock.On call

type MockSpinnerWidget_GetAllocatedHeight_Call added in v0.22.0

type MockSpinnerWidget_GetAllocatedHeight_Call struct {
	*mock.Call
}

MockSpinnerWidget_GetAllocatedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedHeight'

func (*MockSpinnerWidget_GetAllocatedHeight_Call) Return added in v0.22.0

func (*MockSpinnerWidget_GetAllocatedHeight_Call) Run added in v0.22.0

func (*MockSpinnerWidget_GetAllocatedHeight_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_GetAllocatedWidth_Call added in v0.22.0

type MockSpinnerWidget_GetAllocatedWidth_Call struct {
	*mock.Call
}

MockSpinnerWidget_GetAllocatedWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedWidth'

func (*MockSpinnerWidget_GetAllocatedWidth_Call) Return added in v0.22.0

func (*MockSpinnerWidget_GetAllocatedWidth_Call) Run added in v0.22.0

func (*MockSpinnerWidget_GetAllocatedWidth_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_GetHexpand_Call added in v0.22.0

type MockSpinnerWidget_GetHexpand_Call struct {
	*mock.Call
}

MockSpinnerWidget_GetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHexpand'

func (*MockSpinnerWidget_GetHexpand_Call) Return added in v0.22.0

func (*MockSpinnerWidget_GetHexpand_Call) Run added in v0.22.0

func (*MockSpinnerWidget_GetHexpand_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_GetParent_Call added in v0.22.0

type MockSpinnerWidget_GetParent_Call struct {
	*mock.Call
}

MockSpinnerWidget_GetParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParent'

func (*MockSpinnerWidget_GetParent_Call) Return added in v0.22.0

func (*MockSpinnerWidget_GetParent_Call) Run added in v0.22.0

func (*MockSpinnerWidget_GetParent_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_GetSpinning_Call added in v0.22.0

type MockSpinnerWidget_GetSpinning_Call struct {
	*mock.Call
}

MockSpinnerWidget_GetSpinning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSpinning'

func (*MockSpinnerWidget_GetSpinning_Call) Return added in v0.22.0

func (*MockSpinnerWidget_GetSpinning_Call) Run added in v0.22.0

func (*MockSpinnerWidget_GetSpinning_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_GetVexpand_Call added in v0.22.0

type MockSpinnerWidget_GetVexpand_Call struct {
	*mock.Call
}

MockSpinnerWidget_GetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVexpand'

func (*MockSpinnerWidget_GetVexpand_Call) Return added in v0.22.0

func (*MockSpinnerWidget_GetVexpand_Call) Run added in v0.22.0

func (*MockSpinnerWidget_GetVexpand_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_GrabFocus_Call added in v0.22.0

type MockSpinnerWidget_GrabFocus_Call struct {
	*mock.Call
}

MockSpinnerWidget_GrabFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrabFocus'

func (*MockSpinnerWidget_GrabFocus_Call) Return added in v0.22.0

func (*MockSpinnerWidget_GrabFocus_Call) Run added in v0.22.0

func (*MockSpinnerWidget_GrabFocus_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_GtkWidget_Call added in v0.22.0

type MockSpinnerWidget_GtkWidget_Call struct {
	*mock.Call
}

MockSpinnerWidget_GtkWidget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GtkWidget'

func (*MockSpinnerWidget_GtkWidget_Call) Return added in v0.22.0

func (*MockSpinnerWidget_GtkWidget_Call) Run added in v0.22.0

func (*MockSpinnerWidget_GtkWidget_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_HasCssClass_Call added in v0.22.0

type MockSpinnerWidget_HasCssClass_Call struct {
	*mock.Call
}

MockSpinnerWidget_HasCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasCssClass'

func (*MockSpinnerWidget_HasCssClass_Call) Return added in v0.22.0

func (*MockSpinnerWidget_HasCssClass_Call) Run added in v0.22.0

func (*MockSpinnerWidget_HasCssClass_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_HasFocus_Call added in v0.22.0

type MockSpinnerWidget_HasFocus_Call struct {
	*mock.Call
}

MockSpinnerWidget_HasFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasFocus'

func (*MockSpinnerWidget_HasFocus_Call) Return added in v0.22.0

func (*MockSpinnerWidget_HasFocus_Call) Run added in v0.22.0

func (*MockSpinnerWidget_HasFocus_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_Hide_Call added in v0.22.0

type MockSpinnerWidget_Hide_Call struct {
	*mock.Call
}

MockSpinnerWidget_Hide_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hide'

func (*MockSpinnerWidget_Hide_Call) Return added in v0.22.0

func (*MockSpinnerWidget_Hide_Call) Run added in v0.22.0

func (*MockSpinnerWidget_Hide_Call) RunAndReturn added in v0.22.0

func (_c *MockSpinnerWidget_Hide_Call) RunAndReturn(run func()) *MockSpinnerWidget_Hide_Call

type MockSpinnerWidget_IsVisible_Call added in v0.22.0

type MockSpinnerWidget_IsVisible_Call struct {
	*mock.Call
}

MockSpinnerWidget_IsVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsVisible'

func (*MockSpinnerWidget_IsVisible_Call) Return added in v0.22.0

func (*MockSpinnerWidget_IsVisible_Call) Run added in v0.22.0

func (*MockSpinnerWidget_IsVisible_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_RemoveCssClass_Call added in v0.22.0

type MockSpinnerWidget_RemoveCssClass_Call struct {
	*mock.Call
}

MockSpinnerWidget_RemoveCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCssClass'

func (*MockSpinnerWidget_RemoveCssClass_Call) Return added in v0.22.0

func (*MockSpinnerWidget_RemoveCssClass_Call) Run added in v0.22.0

func (*MockSpinnerWidget_RemoveCssClass_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_SetCanFocus_Call added in v0.22.0

type MockSpinnerWidget_SetCanFocus_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetCanFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanFocus'

func (*MockSpinnerWidget_SetCanFocus_Call) Return added in v0.22.0

func (*MockSpinnerWidget_SetCanFocus_Call) Run added in v0.22.0

func (*MockSpinnerWidget_SetCanFocus_Call) RunAndReturn added in v0.22.0

func (_c *MockSpinnerWidget_SetCanFocus_Call) RunAndReturn(run func(canFocus bool)) *MockSpinnerWidget_SetCanFocus_Call

type MockSpinnerWidget_SetCanTarget_Call added in v0.22.0

type MockSpinnerWidget_SetCanTarget_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetCanTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanTarget'

func (*MockSpinnerWidget_SetCanTarget_Call) Return added in v0.22.0

func (*MockSpinnerWidget_SetCanTarget_Call) Run added in v0.22.0

func (*MockSpinnerWidget_SetCanTarget_Call) RunAndReturn added in v0.22.0

func (_c *MockSpinnerWidget_SetCanTarget_Call) RunAndReturn(run func(canTarget bool)) *MockSpinnerWidget_SetCanTarget_Call

type MockSpinnerWidget_SetFocusOnClick_Call added in v0.22.0

type MockSpinnerWidget_SetFocusOnClick_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetFocusOnClick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusOnClick'

func (*MockSpinnerWidget_SetFocusOnClick_Call) Return added in v0.22.0

func (*MockSpinnerWidget_SetFocusOnClick_Call) Run added in v0.22.0

func (*MockSpinnerWidget_SetFocusOnClick_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_SetFocusable_Call added in v0.23.0

type MockSpinnerWidget_SetFocusable_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetFocusable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusable'

func (*MockSpinnerWidget_SetFocusable_Call) Return added in v0.23.0

func (*MockSpinnerWidget_SetFocusable_Call) Run added in v0.23.0

func (*MockSpinnerWidget_SetFocusable_Call) RunAndReturn added in v0.23.0

func (_c *MockSpinnerWidget_SetFocusable_Call) RunAndReturn(run func(focusable bool)) *MockSpinnerWidget_SetFocusable_Call

type MockSpinnerWidget_SetHalign_Call added in v0.22.0

type MockSpinnerWidget_SetHalign_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetHalign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHalign'

func (*MockSpinnerWidget_SetHalign_Call) Return added in v0.22.0

func (*MockSpinnerWidget_SetHalign_Call) Run added in v0.22.0

func (*MockSpinnerWidget_SetHalign_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_SetHexpand_Call added in v0.22.0

type MockSpinnerWidget_SetHexpand_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHexpand'

func (*MockSpinnerWidget_SetHexpand_Call) Return added in v0.22.0

func (*MockSpinnerWidget_SetHexpand_Call) Run added in v0.22.0

func (*MockSpinnerWidget_SetHexpand_Call) RunAndReturn added in v0.22.0

func (_c *MockSpinnerWidget_SetHexpand_Call) RunAndReturn(run func(expand bool)) *MockSpinnerWidget_SetHexpand_Call

type MockSpinnerWidget_SetOpacity_Call added in v0.27.0

type MockSpinnerWidget_SetOpacity_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetOpacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOpacity'

func (*MockSpinnerWidget_SetOpacity_Call) Return added in v0.27.0

func (*MockSpinnerWidget_SetOpacity_Call) Run added in v0.27.0

func (*MockSpinnerWidget_SetOpacity_Call) RunAndReturn added in v0.27.0

type MockSpinnerWidget_SetSizeRequest_Call added in v0.22.0

type MockSpinnerWidget_SetSizeRequest_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetSizeRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSizeRequest'

func (*MockSpinnerWidget_SetSizeRequest_Call) Return added in v0.22.0

func (*MockSpinnerWidget_SetSizeRequest_Call) Run added in v0.22.0

func (*MockSpinnerWidget_SetSizeRequest_Call) RunAndReturn added in v0.22.0

func (_c *MockSpinnerWidget_SetSizeRequest_Call) RunAndReturn(run func(width int, height int)) *MockSpinnerWidget_SetSizeRequest_Call

type MockSpinnerWidget_SetSpinning_Call added in v0.22.0

type MockSpinnerWidget_SetSpinning_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetSpinning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSpinning'

func (*MockSpinnerWidget_SetSpinning_Call) Return added in v0.22.0

func (*MockSpinnerWidget_SetSpinning_Call) Run added in v0.22.0

func (*MockSpinnerWidget_SetSpinning_Call) RunAndReturn added in v0.22.0

func (_c *MockSpinnerWidget_SetSpinning_Call) RunAndReturn(run func(spinning bool)) *MockSpinnerWidget_SetSpinning_Call

type MockSpinnerWidget_SetValign_Call added in v0.22.0

type MockSpinnerWidget_SetValign_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetValign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValign'

func (*MockSpinnerWidget_SetValign_Call) Return added in v0.22.0

func (*MockSpinnerWidget_SetValign_Call) Run added in v0.22.0

func (*MockSpinnerWidget_SetValign_Call) RunAndReturn added in v0.22.0

type MockSpinnerWidget_SetVexpand_Call added in v0.22.0

type MockSpinnerWidget_SetVexpand_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVexpand'

func (*MockSpinnerWidget_SetVexpand_Call) Return added in v0.22.0

func (*MockSpinnerWidget_SetVexpand_Call) Run added in v0.22.0

func (*MockSpinnerWidget_SetVexpand_Call) RunAndReturn added in v0.22.0

func (_c *MockSpinnerWidget_SetVexpand_Call) RunAndReturn(run func(expand bool)) *MockSpinnerWidget_SetVexpand_Call

type MockSpinnerWidget_SetVisible_Call added in v0.22.0

type MockSpinnerWidget_SetVisible_Call struct {
	*mock.Call
}

MockSpinnerWidget_SetVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVisible'

func (*MockSpinnerWidget_SetVisible_Call) Return added in v0.22.0

func (*MockSpinnerWidget_SetVisible_Call) Run added in v0.22.0

func (*MockSpinnerWidget_SetVisible_Call) RunAndReturn added in v0.22.0

func (_c *MockSpinnerWidget_SetVisible_Call) RunAndReturn(run func(visible bool)) *MockSpinnerWidget_SetVisible_Call

type MockSpinnerWidget_Show_Call added in v0.22.0

type MockSpinnerWidget_Show_Call struct {
	*mock.Call
}

MockSpinnerWidget_Show_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Show'

func (*MockSpinnerWidget_Show_Call) Return added in v0.22.0

func (*MockSpinnerWidget_Show_Call) Run added in v0.22.0

func (*MockSpinnerWidget_Show_Call) RunAndReturn added in v0.22.0

func (_c *MockSpinnerWidget_Show_Call) RunAndReturn(run func()) *MockSpinnerWidget_Show_Call

type MockSpinnerWidget_Start_Call added in v0.22.0

type MockSpinnerWidget_Start_Call struct {
	*mock.Call
}

MockSpinnerWidget_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'

func (*MockSpinnerWidget_Start_Call) Return added in v0.22.0

func (*MockSpinnerWidget_Start_Call) Run added in v0.22.0

func (*MockSpinnerWidget_Start_Call) RunAndReturn added in v0.22.0

func (_c *MockSpinnerWidget_Start_Call) RunAndReturn(run func()) *MockSpinnerWidget_Start_Call

type MockSpinnerWidget_Stop_Call added in v0.22.0

type MockSpinnerWidget_Stop_Call struct {
	*mock.Call
}

MockSpinnerWidget_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'

func (*MockSpinnerWidget_Stop_Call) Return added in v0.22.0

func (*MockSpinnerWidget_Stop_Call) Run added in v0.22.0

func (*MockSpinnerWidget_Stop_Call) RunAndReturn added in v0.22.0

func (_c *MockSpinnerWidget_Stop_Call) RunAndReturn(run func()) *MockSpinnerWidget_Stop_Call

type MockSpinnerWidget_Unparent_Call added in v0.22.0

type MockSpinnerWidget_Unparent_Call struct {
	*mock.Call
}

MockSpinnerWidget_Unparent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unparent'

func (*MockSpinnerWidget_Unparent_Call) Return added in v0.22.0

func (*MockSpinnerWidget_Unparent_Call) Run added in v0.22.0

func (*MockSpinnerWidget_Unparent_Call) RunAndReturn added in v0.22.0

type MockWidget

type MockWidget struct {
	mock.Mock
}

MockWidget is an autogenerated mock type for the Widget type

func NewMockWidget

func NewMockWidget(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWidget

NewMockWidget creates a new instance of MockWidget. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockWidget) AddController

func (_mock *MockWidget) AddController(controller *gtk.EventController)

AddController provides a mock function for the type MockWidget

func (*MockWidget) AddCssClass

func (_mock *MockWidget) AddCssClass(cssClass string)

AddCssClass provides a mock function for the type MockWidget

func (*MockWidget) ComputePoint

func (_mock *MockWidget) ComputePoint(target layout.Widget) (float64, float64, bool)

ComputePoint provides a mock function for the type MockWidget

func (*MockWidget) EXPECT

func (_m *MockWidget) EXPECT() *MockWidget_Expecter

func (*MockWidget) GetAllocatedHeight

func (_mock *MockWidget) GetAllocatedHeight() int

GetAllocatedHeight provides a mock function for the type MockWidget

func (*MockWidget) GetAllocatedWidth

func (_mock *MockWidget) GetAllocatedWidth() int

GetAllocatedWidth provides a mock function for the type MockWidget

func (*MockWidget) GetHexpand

func (_mock *MockWidget) GetHexpand() bool

GetHexpand provides a mock function for the type MockWidget

func (*MockWidget) GetParent

func (_mock *MockWidget) GetParent() layout.Widget

GetParent provides a mock function for the type MockWidget

func (*MockWidget) GetVexpand

func (_mock *MockWidget) GetVexpand() bool

GetVexpand provides a mock function for the type MockWidget

func (*MockWidget) GrabFocus

func (_mock *MockWidget) GrabFocus() bool

GrabFocus provides a mock function for the type MockWidget

func (*MockWidget) GtkWidget

func (_mock *MockWidget) GtkWidget() *gtk.Widget

GtkWidget provides a mock function for the type MockWidget

func (*MockWidget) HasCssClass

func (_mock *MockWidget) HasCssClass(cssClass string) bool

HasCssClass provides a mock function for the type MockWidget

func (*MockWidget) HasFocus

func (_mock *MockWidget) HasFocus() bool

HasFocus provides a mock function for the type MockWidget

func (*MockWidget) Hide

func (_mock *MockWidget) Hide()

Hide provides a mock function for the type MockWidget

func (*MockWidget) IsVisible

func (_mock *MockWidget) IsVisible() bool

IsVisible provides a mock function for the type MockWidget

func (*MockWidget) RemoveCssClass

func (_mock *MockWidget) RemoveCssClass(cssClass string)

RemoveCssClass provides a mock function for the type MockWidget

func (*MockWidget) SetCanFocus

func (_mock *MockWidget) SetCanFocus(canFocus bool)

SetCanFocus provides a mock function for the type MockWidget

func (*MockWidget) SetCanTarget

func (_mock *MockWidget) SetCanTarget(canTarget bool)

SetCanTarget provides a mock function for the type MockWidget

func (*MockWidget) SetFocusOnClick

func (_mock *MockWidget) SetFocusOnClick(focusOnClick bool)

SetFocusOnClick provides a mock function for the type MockWidget

func (*MockWidget) SetFocusable added in v0.23.0

func (_mock *MockWidget) SetFocusable(focusable bool)

SetFocusable provides a mock function for the type MockWidget

func (*MockWidget) SetHalign

func (_mock *MockWidget) SetHalign(align gtk.Align)

SetHalign provides a mock function for the type MockWidget

func (*MockWidget) SetHexpand

func (_mock *MockWidget) SetHexpand(expand bool)

SetHexpand provides a mock function for the type MockWidget

func (*MockWidget) SetOpacity added in v0.27.0

func (_mock *MockWidget) SetOpacity(opacity float64)

SetOpacity provides a mock function for the type MockWidget

func (*MockWidget) SetSizeRequest

func (_mock *MockWidget) SetSizeRequest(width int, height int)

SetSizeRequest provides a mock function for the type MockWidget

func (*MockWidget) SetValign

func (_mock *MockWidget) SetValign(align gtk.Align)

SetValign provides a mock function for the type MockWidget

func (*MockWidget) SetVexpand

func (_mock *MockWidget) SetVexpand(expand bool)

SetVexpand provides a mock function for the type MockWidget

func (*MockWidget) SetVisible

func (_mock *MockWidget) SetVisible(visible bool)

SetVisible provides a mock function for the type MockWidget

func (*MockWidget) Show

func (_mock *MockWidget) Show()

Show provides a mock function for the type MockWidget

func (*MockWidget) Unparent

func (_mock *MockWidget) Unparent()

Unparent provides a mock function for the type MockWidget

type MockWidgetFactory

type MockWidgetFactory struct {
	mock.Mock
}

MockWidgetFactory is an autogenerated mock type for the WidgetFactory type

func NewMockWidgetFactory

func NewMockWidgetFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWidgetFactory

NewMockWidgetFactory creates a new instance of MockWidgetFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockWidgetFactory) EXPECT

func (*MockWidgetFactory) NewBox

func (_mock *MockWidgetFactory) NewBox(orientation layout.Orientation, spacing int) layout.BoxWidget

NewBox provides a mock function for the type MockWidgetFactory

func (*MockWidgetFactory) NewButton

func (_mock *MockWidgetFactory) NewButton() layout.ButtonWidget

NewButton provides a mock function for the type MockWidgetFactory

func (*MockWidgetFactory) NewImage

func (_mock *MockWidgetFactory) NewImage() layout.ImageWidget

NewImage provides a mock function for the type MockWidgetFactory

func (*MockWidgetFactory) NewLabel

func (_mock *MockWidgetFactory) NewLabel(text string) layout.LabelWidget

NewLabel provides a mock function for the type MockWidgetFactory

func (*MockWidgetFactory) NewOverlay

func (_mock *MockWidgetFactory) NewOverlay() layout.OverlayWidget

NewOverlay provides a mock function for the type MockWidgetFactory

func (*MockWidgetFactory) NewPaned

func (_mock *MockWidgetFactory) NewPaned(orientation layout.Orientation) layout.PanedWidget

NewPaned provides a mock function for the type MockWidgetFactory

func (*MockWidgetFactory) NewProgressBar

func (_mock *MockWidgetFactory) NewProgressBar() layout.ProgressBarWidget

NewProgressBar provides a mock function for the type MockWidgetFactory

func (*MockWidgetFactory) NewSpinner added in v0.22.0

func (_mock *MockWidgetFactory) NewSpinner() layout.SpinnerWidget

NewSpinner provides a mock function for the type MockWidgetFactory

func (*MockWidgetFactory) WrapWidget

func (_mock *MockWidgetFactory) WrapWidget(w *gtk.Widget) layout.Widget

WrapWidget provides a mock function for the type MockWidgetFactory

type MockWidgetFactory_Expecter

type MockWidgetFactory_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockWidgetFactory_Expecter) NewBox

func (_e *MockWidgetFactory_Expecter) NewBox(orientation interface{}, spacing interface{}) *MockWidgetFactory_NewBox_Call

NewBox is a helper method to define mock.On call

  • orientation layout.Orientation
  • spacing int

func (*MockWidgetFactory_Expecter) NewButton

NewButton is a helper method to define mock.On call

func (*MockWidgetFactory_Expecter) NewImage

NewImage is a helper method to define mock.On call

func (*MockWidgetFactory_Expecter) NewLabel

func (_e *MockWidgetFactory_Expecter) NewLabel(text interface{}) *MockWidgetFactory_NewLabel_Call

NewLabel is a helper method to define mock.On call

  • text string

func (*MockWidgetFactory_Expecter) NewOverlay

NewOverlay is a helper method to define mock.On call

func (*MockWidgetFactory_Expecter) NewPaned

func (_e *MockWidgetFactory_Expecter) NewPaned(orientation interface{}) *MockWidgetFactory_NewPaned_Call

NewPaned is a helper method to define mock.On call

  • orientation layout.Orientation

func (*MockWidgetFactory_Expecter) NewProgressBar

NewProgressBar is a helper method to define mock.On call

func (*MockWidgetFactory_Expecter) NewSpinner added in v0.22.0

NewSpinner is a helper method to define mock.On call

func (*MockWidgetFactory_Expecter) WrapWidget

func (_e *MockWidgetFactory_Expecter) WrapWidget(w interface{}) *MockWidgetFactory_WrapWidget_Call

WrapWidget is a helper method to define mock.On call

  • w *gtk.Widget

type MockWidgetFactory_NewBox_Call

type MockWidgetFactory_NewBox_Call struct {
	*mock.Call
}

MockWidgetFactory_NewBox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewBox'

func (*MockWidgetFactory_NewBox_Call) Return

func (*MockWidgetFactory_NewBox_Call) Run

func (_c *MockWidgetFactory_NewBox_Call) Run(run func(orientation layout.Orientation, spacing int)) *MockWidgetFactory_NewBox_Call

func (*MockWidgetFactory_NewBox_Call) RunAndReturn

func (_c *MockWidgetFactory_NewBox_Call) RunAndReturn(run func(orientation layout.Orientation, spacing int) layout.BoxWidget) *MockWidgetFactory_NewBox_Call

type MockWidgetFactory_NewButton_Call

type MockWidgetFactory_NewButton_Call struct {
	*mock.Call
}

MockWidgetFactory_NewButton_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewButton'

func (*MockWidgetFactory_NewButton_Call) Return

func (*MockWidgetFactory_NewButton_Call) Run

func (*MockWidgetFactory_NewButton_Call) RunAndReturn

type MockWidgetFactory_NewImage_Call

type MockWidgetFactory_NewImage_Call struct {
	*mock.Call
}

MockWidgetFactory_NewImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewImage'

func (*MockWidgetFactory_NewImage_Call) Return

func (*MockWidgetFactory_NewImage_Call) Run

func (*MockWidgetFactory_NewImage_Call) RunAndReturn

type MockWidgetFactory_NewLabel_Call

type MockWidgetFactory_NewLabel_Call struct {
	*mock.Call
}

MockWidgetFactory_NewLabel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewLabel'

func (*MockWidgetFactory_NewLabel_Call) Return

func (*MockWidgetFactory_NewLabel_Call) Run

func (*MockWidgetFactory_NewLabel_Call) RunAndReturn

type MockWidgetFactory_NewOverlay_Call

type MockWidgetFactory_NewOverlay_Call struct {
	*mock.Call
}

MockWidgetFactory_NewOverlay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewOverlay'

func (*MockWidgetFactory_NewOverlay_Call) Return

func (*MockWidgetFactory_NewOverlay_Call) Run

func (*MockWidgetFactory_NewOverlay_Call) RunAndReturn

type MockWidgetFactory_NewPaned_Call

type MockWidgetFactory_NewPaned_Call struct {
	*mock.Call
}

MockWidgetFactory_NewPaned_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewPaned'

func (*MockWidgetFactory_NewPaned_Call) Return

func (*MockWidgetFactory_NewPaned_Call) Run

func (*MockWidgetFactory_NewPaned_Call) RunAndReturn

type MockWidgetFactory_NewProgressBar_Call

type MockWidgetFactory_NewProgressBar_Call struct {
	*mock.Call
}

MockWidgetFactory_NewProgressBar_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewProgressBar'

func (*MockWidgetFactory_NewProgressBar_Call) Return

func (*MockWidgetFactory_NewProgressBar_Call) Run

func (*MockWidgetFactory_NewProgressBar_Call) RunAndReturn

type MockWidgetFactory_NewSpinner_Call added in v0.22.0

type MockWidgetFactory_NewSpinner_Call struct {
	*mock.Call
}

MockWidgetFactory_NewSpinner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewSpinner'

func (*MockWidgetFactory_NewSpinner_Call) Return added in v0.22.0

func (*MockWidgetFactory_NewSpinner_Call) Run added in v0.22.0

func (*MockWidgetFactory_NewSpinner_Call) RunAndReturn added in v0.22.0

type MockWidgetFactory_WrapWidget_Call

type MockWidgetFactory_WrapWidget_Call struct {
	*mock.Call
}

MockWidgetFactory_WrapWidget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WrapWidget'

func (*MockWidgetFactory_WrapWidget_Call) Return

func (*MockWidgetFactory_WrapWidget_Call) Run

func (*MockWidgetFactory_WrapWidget_Call) RunAndReturn

type MockWidget_AddController_Call

type MockWidget_AddController_Call struct {
	*mock.Call
}

MockWidget_AddController_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddController'

func (*MockWidget_AddController_Call) Return

func (*MockWidget_AddController_Call) Run

func (*MockWidget_AddController_Call) RunAndReturn

func (_c *MockWidget_AddController_Call) RunAndReturn(run func(controller *gtk.EventController)) *MockWidget_AddController_Call

type MockWidget_AddCssClass_Call

type MockWidget_AddCssClass_Call struct {
	*mock.Call
}

MockWidget_AddCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddCssClass'

func (*MockWidget_AddCssClass_Call) Return

func (*MockWidget_AddCssClass_Call) Run

func (_c *MockWidget_AddCssClass_Call) Run(run func(cssClass string)) *MockWidget_AddCssClass_Call

func (*MockWidget_AddCssClass_Call) RunAndReturn

func (_c *MockWidget_AddCssClass_Call) RunAndReturn(run func(cssClass string)) *MockWidget_AddCssClass_Call

type MockWidget_ComputePoint_Call

type MockWidget_ComputePoint_Call struct {
	*mock.Call
}

MockWidget_ComputePoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ComputePoint'

func (*MockWidget_ComputePoint_Call) Return

func (*MockWidget_ComputePoint_Call) Run

func (*MockWidget_ComputePoint_Call) RunAndReturn

type MockWidget_Expecter

type MockWidget_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockWidget_Expecter) AddController

func (_e *MockWidget_Expecter) AddController(controller interface{}) *MockWidget_AddController_Call

AddController is a helper method to define mock.On call

  • controller *gtk.EventController

func (*MockWidget_Expecter) AddCssClass

func (_e *MockWidget_Expecter) AddCssClass(cssClass interface{}) *MockWidget_AddCssClass_Call

AddCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockWidget_Expecter) ComputePoint

func (_e *MockWidget_Expecter) ComputePoint(target interface{}) *MockWidget_ComputePoint_Call

ComputePoint is a helper method to define mock.On call

  • target layout.Widget

func (*MockWidget_Expecter) GetAllocatedHeight

func (_e *MockWidget_Expecter) GetAllocatedHeight() *MockWidget_GetAllocatedHeight_Call

GetAllocatedHeight is a helper method to define mock.On call

func (*MockWidget_Expecter) GetAllocatedWidth

func (_e *MockWidget_Expecter) GetAllocatedWidth() *MockWidget_GetAllocatedWidth_Call

GetAllocatedWidth is a helper method to define mock.On call

func (*MockWidget_Expecter) GetHexpand

GetHexpand is a helper method to define mock.On call

func (*MockWidget_Expecter) GetParent

GetParent is a helper method to define mock.On call

func (*MockWidget_Expecter) GetVexpand

GetVexpand is a helper method to define mock.On call

func (*MockWidget_Expecter) GrabFocus

GrabFocus is a helper method to define mock.On call

func (*MockWidget_Expecter) GtkWidget

GtkWidget is a helper method to define mock.On call

func (*MockWidget_Expecter) HasCssClass

func (_e *MockWidget_Expecter) HasCssClass(cssClass interface{}) *MockWidget_HasCssClass_Call

HasCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockWidget_Expecter) HasFocus

HasFocus is a helper method to define mock.On call

func (*MockWidget_Expecter) Hide

Hide is a helper method to define mock.On call

func (*MockWidget_Expecter) IsVisible

IsVisible is a helper method to define mock.On call

func (*MockWidget_Expecter) RemoveCssClass

func (_e *MockWidget_Expecter) RemoveCssClass(cssClass interface{}) *MockWidget_RemoveCssClass_Call

RemoveCssClass is a helper method to define mock.On call

  • cssClass string

func (*MockWidget_Expecter) SetCanFocus

func (_e *MockWidget_Expecter) SetCanFocus(canFocus interface{}) *MockWidget_SetCanFocus_Call

SetCanFocus is a helper method to define mock.On call

  • canFocus bool

func (*MockWidget_Expecter) SetCanTarget

func (_e *MockWidget_Expecter) SetCanTarget(canTarget interface{}) *MockWidget_SetCanTarget_Call

SetCanTarget is a helper method to define mock.On call

  • canTarget bool

func (*MockWidget_Expecter) SetFocusOnClick

func (_e *MockWidget_Expecter) SetFocusOnClick(focusOnClick interface{}) *MockWidget_SetFocusOnClick_Call

SetFocusOnClick is a helper method to define mock.On call

  • focusOnClick bool

func (*MockWidget_Expecter) SetFocusable added in v0.23.0

func (_e *MockWidget_Expecter) SetFocusable(focusable interface{}) *MockWidget_SetFocusable_Call

SetFocusable is a helper method to define mock.On call

  • focusable bool

func (*MockWidget_Expecter) SetHalign

func (_e *MockWidget_Expecter) SetHalign(align interface{}) *MockWidget_SetHalign_Call

SetHalign is a helper method to define mock.On call

  • align gtk.Align

func (*MockWidget_Expecter) SetHexpand

func (_e *MockWidget_Expecter) SetHexpand(expand interface{}) *MockWidget_SetHexpand_Call

SetHexpand is a helper method to define mock.On call

  • expand bool

func (*MockWidget_Expecter) SetOpacity added in v0.27.0

func (_e *MockWidget_Expecter) SetOpacity(opacity interface{}) *MockWidget_SetOpacity_Call

SetOpacity is a helper method to define mock.On call

  • opacity float64

func (*MockWidget_Expecter) SetSizeRequest

func (_e *MockWidget_Expecter) SetSizeRequest(width interface{}, height interface{}) *MockWidget_SetSizeRequest_Call

SetSizeRequest is a helper method to define mock.On call

  • width int
  • height int

func (*MockWidget_Expecter) SetValign

func (_e *MockWidget_Expecter) SetValign(align interface{}) *MockWidget_SetValign_Call

SetValign is a helper method to define mock.On call

  • align gtk.Align

func (*MockWidget_Expecter) SetVexpand

func (_e *MockWidget_Expecter) SetVexpand(expand interface{}) *MockWidget_SetVexpand_Call

SetVexpand is a helper method to define mock.On call

  • expand bool

func (*MockWidget_Expecter) SetVisible

func (_e *MockWidget_Expecter) SetVisible(visible interface{}) *MockWidget_SetVisible_Call

SetVisible is a helper method to define mock.On call

  • visible bool

func (*MockWidget_Expecter) Show

Show is a helper method to define mock.On call

func (*MockWidget_Expecter) Unparent

Unparent is a helper method to define mock.On call

type MockWidget_GetAllocatedHeight_Call

type MockWidget_GetAllocatedHeight_Call struct {
	*mock.Call
}

MockWidget_GetAllocatedHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedHeight'

func (*MockWidget_GetAllocatedHeight_Call) Return

func (*MockWidget_GetAllocatedHeight_Call) Run

func (*MockWidget_GetAllocatedHeight_Call) RunAndReturn

type MockWidget_GetAllocatedWidth_Call

type MockWidget_GetAllocatedWidth_Call struct {
	*mock.Call
}

MockWidget_GetAllocatedWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllocatedWidth'

func (*MockWidget_GetAllocatedWidth_Call) Return

func (*MockWidget_GetAllocatedWidth_Call) Run

func (*MockWidget_GetAllocatedWidth_Call) RunAndReturn

type MockWidget_GetHexpand_Call

type MockWidget_GetHexpand_Call struct {
	*mock.Call
}

MockWidget_GetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHexpand'

func (*MockWidget_GetHexpand_Call) Return

func (*MockWidget_GetHexpand_Call) Run

func (*MockWidget_GetHexpand_Call) RunAndReturn

func (_c *MockWidget_GetHexpand_Call) RunAndReturn(run func() bool) *MockWidget_GetHexpand_Call

type MockWidget_GetParent_Call

type MockWidget_GetParent_Call struct {
	*mock.Call
}

MockWidget_GetParent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParent'

func (*MockWidget_GetParent_Call) Return

func (*MockWidget_GetParent_Call) Run

func (*MockWidget_GetParent_Call) RunAndReturn

func (_c *MockWidget_GetParent_Call) RunAndReturn(run func() layout.Widget) *MockWidget_GetParent_Call

type MockWidget_GetVexpand_Call

type MockWidget_GetVexpand_Call struct {
	*mock.Call
}

MockWidget_GetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVexpand'

func (*MockWidget_GetVexpand_Call) Return

func (*MockWidget_GetVexpand_Call) Run

func (*MockWidget_GetVexpand_Call) RunAndReturn

func (_c *MockWidget_GetVexpand_Call) RunAndReturn(run func() bool) *MockWidget_GetVexpand_Call

type MockWidget_GrabFocus_Call

type MockWidget_GrabFocus_Call struct {
	*mock.Call
}

MockWidget_GrabFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrabFocus'

func (*MockWidget_GrabFocus_Call) Return

func (*MockWidget_GrabFocus_Call) Run

func (*MockWidget_GrabFocus_Call) RunAndReturn

func (_c *MockWidget_GrabFocus_Call) RunAndReturn(run func() bool) *MockWidget_GrabFocus_Call

type MockWidget_GtkWidget_Call

type MockWidget_GtkWidget_Call struct {
	*mock.Call
}

MockWidget_GtkWidget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GtkWidget'

func (*MockWidget_GtkWidget_Call) Return

func (*MockWidget_GtkWidget_Call) Run

func (*MockWidget_GtkWidget_Call) RunAndReturn

func (_c *MockWidget_GtkWidget_Call) RunAndReturn(run func() *gtk.Widget) *MockWidget_GtkWidget_Call

type MockWidget_HasCssClass_Call

type MockWidget_HasCssClass_Call struct {
	*mock.Call
}

MockWidget_HasCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasCssClass'

func (*MockWidget_HasCssClass_Call) Return

func (*MockWidget_HasCssClass_Call) Run

func (_c *MockWidget_HasCssClass_Call) Run(run func(cssClass string)) *MockWidget_HasCssClass_Call

func (*MockWidget_HasCssClass_Call) RunAndReturn

func (_c *MockWidget_HasCssClass_Call) RunAndReturn(run func(cssClass string) bool) *MockWidget_HasCssClass_Call

type MockWidget_HasFocus_Call

type MockWidget_HasFocus_Call struct {
	*mock.Call
}

MockWidget_HasFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasFocus'

func (*MockWidget_HasFocus_Call) Return

func (*MockWidget_HasFocus_Call) Run

func (*MockWidget_HasFocus_Call) RunAndReturn

func (_c *MockWidget_HasFocus_Call) RunAndReturn(run func() bool) *MockWidget_HasFocus_Call

type MockWidget_Hide_Call

type MockWidget_Hide_Call struct {
	*mock.Call
}

MockWidget_Hide_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Hide'

func (*MockWidget_Hide_Call) Return

func (*MockWidget_Hide_Call) Run

func (_c *MockWidget_Hide_Call) Run(run func()) *MockWidget_Hide_Call

func (*MockWidget_Hide_Call) RunAndReturn

func (_c *MockWidget_Hide_Call) RunAndReturn(run func()) *MockWidget_Hide_Call

type MockWidget_IsVisible_Call

type MockWidget_IsVisible_Call struct {
	*mock.Call
}

MockWidget_IsVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsVisible'

func (*MockWidget_IsVisible_Call) Return

func (*MockWidget_IsVisible_Call) Run

func (*MockWidget_IsVisible_Call) RunAndReturn

func (_c *MockWidget_IsVisible_Call) RunAndReturn(run func() bool) *MockWidget_IsVisible_Call

type MockWidget_RemoveCssClass_Call

type MockWidget_RemoveCssClass_Call struct {
	*mock.Call
}

MockWidget_RemoveCssClass_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveCssClass'

func (*MockWidget_RemoveCssClass_Call) Return

func (*MockWidget_RemoveCssClass_Call) Run

func (*MockWidget_RemoveCssClass_Call) RunAndReturn

func (_c *MockWidget_RemoveCssClass_Call) RunAndReturn(run func(cssClass string)) *MockWidget_RemoveCssClass_Call

type MockWidget_SetCanFocus_Call

type MockWidget_SetCanFocus_Call struct {
	*mock.Call
}

MockWidget_SetCanFocus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanFocus'

func (*MockWidget_SetCanFocus_Call) Return

func (*MockWidget_SetCanFocus_Call) Run

func (_c *MockWidget_SetCanFocus_Call) Run(run func(canFocus bool)) *MockWidget_SetCanFocus_Call

func (*MockWidget_SetCanFocus_Call) RunAndReturn

func (_c *MockWidget_SetCanFocus_Call) RunAndReturn(run func(canFocus bool)) *MockWidget_SetCanFocus_Call

type MockWidget_SetCanTarget_Call

type MockWidget_SetCanTarget_Call struct {
	*mock.Call
}

MockWidget_SetCanTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCanTarget'

func (*MockWidget_SetCanTarget_Call) Return

func (*MockWidget_SetCanTarget_Call) Run

func (_c *MockWidget_SetCanTarget_Call) Run(run func(canTarget bool)) *MockWidget_SetCanTarget_Call

func (*MockWidget_SetCanTarget_Call) RunAndReturn

func (_c *MockWidget_SetCanTarget_Call) RunAndReturn(run func(canTarget bool)) *MockWidget_SetCanTarget_Call

type MockWidget_SetFocusOnClick_Call

type MockWidget_SetFocusOnClick_Call struct {
	*mock.Call
}

MockWidget_SetFocusOnClick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusOnClick'

func (*MockWidget_SetFocusOnClick_Call) Return

func (*MockWidget_SetFocusOnClick_Call) Run

func (_c *MockWidget_SetFocusOnClick_Call) Run(run func(focusOnClick bool)) *MockWidget_SetFocusOnClick_Call

func (*MockWidget_SetFocusOnClick_Call) RunAndReturn

func (_c *MockWidget_SetFocusOnClick_Call) RunAndReturn(run func(focusOnClick bool)) *MockWidget_SetFocusOnClick_Call

type MockWidget_SetFocusable_Call added in v0.23.0

type MockWidget_SetFocusable_Call struct {
	*mock.Call
}

MockWidget_SetFocusable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFocusable'

func (*MockWidget_SetFocusable_Call) Return added in v0.23.0

func (*MockWidget_SetFocusable_Call) Run added in v0.23.0

func (_c *MockWidget_SetFocusable_Call) Run(run func(focusable bool)) *MockWidget_SetFocusable_Call

func (*MockWidget_SetFocusable_Call) RunAndReturn added in v0.23.0

func (_c *MockWidget_SetFocusable_Call) RunAndReturn(run func(focusable bool)) *MockWidget_SetFocusable_Call

type MockWidget_SetHalign_Call

type MockWidget_SetHalign_Call struct {
	*mock.Call
}

MockWidget_SetHalign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHalign'

func (*MockWidget_SetHalign_Call) Return

func (*MockWidget_SetHalign_Call) Run

func (*MockWidget_SetHalign_Call) RunAndReturn

func (_c *MockWidget_SetHalign_Call) RunAndReturn(run func(align gtk.Align)) *MockWidget_SetHalign_Call

type MockWidget_SetHexpand_Call

type MockWidget_SetHexpand_Call struct {
	*mock.Call
}

MockWidget_SetHexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHexpand'

func (*MockWidget_SetHexpand_Call) Return

func (*MockWidget_SetHexpand_Call) Run

func (_c *MockWidget_SetHexpand_Call) Run(run func(expand bool)) *MockWidget_SetHexpand_Call

func (*MockWidget_SetHexpand_Call) RunAndReturn

func (_c *MockWidget_SetHexpand_Call) RunAndReturn(run func(expand bool)) *MockWidget_SetHexpand_Call

type MockWidget_SetOpacity_Call added in v0.27.0

type MockWidget_SetOpacity_Call struct {
	*mock.Call
}

MockWidget_SetOpacity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetOpacity'

func (*MockWidget_SetOpacity_Call) Return added in v0.27.0

func (*MockWidget_SetOpacity_Call) Run added in v0.27.0

func (*MockWidget_SetOpacity_Call) RunAndReturn added in v0.27.0

func (_c *MockWidget_SetOpacity_Call) RunAndReturn(run func(opacity float64)) *MockWidget_SetOpacity_Call

type MockWidget_SetSizeRequest_Call

type MockWidget_SetSizeRequest_Call struct {
	*mock.Call
}

MockWidget_SetSizeRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSizeRequest'

func (*MockWidget_SetSizeRequest_Call) Return

func (*MockWidget_SetSizeRequest_Call) Run

func (_c *MockWidget_SetSizeRequest_Call) Run(run func(width int, height int)) *MockWidget_SetSizeRequest_Call

func (*MockWidget_SetSizeRequest_Call) RunAndReturn

func (_c *MockWidget_SetSizeRequest_Call) RunAndReturn(run func(width int, height int)) *MockWidget_SetSizeRequest_Call

type MockWidget_SetValign_Call

type MockWidget_SetValign_Call struct {
	*mock.Call
}

MockWidget_SetValign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetValign'

func (*MockWidget_SetValign_Call) Return

func (*MockWidget_SetValign_Call) Run

func (*MockWidget_SetValign_Call) RunAndReturn

func (_c *MockWidget_SetValign_Call) RunAndReturn(run func(align gtk.Align)) *MockWidget_SetValign_Call

type MockWidget_SetVexpand_Call

type MockWidget_SetVexpand_Call struct {
	*mock.Call
}

MockWidget_SetVexpand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVexpand'

func (*MockWidget_SetVexpand_Call) Return

func (*MockWidget_SetVexpand_Call) Run

func (_c *MockWidget_SetVexpand_Call) Run(run func(expand bool)) *MockWidget_SetVexpand_Call

func (*MockWidget_SetVexpand_Call) RunAndReturn

func (_c *MockWidget_SetVexpand_Call) RunAndReturn(run func(expand bool)) *MockWidget_SetVexpand_Call

type MockWidget_SetVisible_Call

type MockWidget_SetVisible_Call struct {
	*mock.Call
}

MockWidget_SetVisible_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVisible'

func (*MockWidget_SetVisible_Call) Return

func (*MockWidget_SetVisible_Call) Run

func (_c *MockWidget_SetVisible_Call) Run(run func(visible bool)) *MockWidget_SetVisible_Call

func (*MockWidget_SetVisible_Call) RunAndReturn

func (_c *MockWidget_SetVisible_Call) RunAndReturn(run func(visible bool)) *MockWidget_SetVisible_Call

type MockWidget_Show_Call

type MockWidget_Show_Call struct {
	*mock.Call
}

MockWidget_Show_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Show'

func (*MockWidget_Show_Call) Return

func (*MockWidget_Show_Call) Run

func (_c *MockWidget_Show_Call) Run(run func()) *MockWidget_Show_Call

func (*MockWidget_Show_Call) RunAndReturn

func (_c *MockWidget_Show_Call) RunAndReturn(run func()) *MockWidget_Show_Call

type MockWidget_Unparent_Call

type MockWidget_Unparent_Call struct {
	*mock.Call
}

MockWidget_Unparent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unparent'

func (*MockWidget_Unparent_Call) Return

func (*MockWidget_Unparent_Call) Run

func (*MockWidget_Unparent_Call) RunAndReturn

func (_c *MockWidget_Unparent_Call) RunAndReturn(run func()) *MockWidget_Unparent_Call

Jump to

Keyboard shortcuts

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