gtk_mock

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: GPL-3.0, GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

type Mock struct{}

func (*Mock) AboutDialogNew

func (*Mock) AboutDialogNew() (gtki.AboutDialog, error)

func (*Mock) AccelGroupNew

func (*Mock) AccelGroupNew() (gtki.AccelGroup, error)

func (*Mock) AcceleratorParse

func (*Mock) AcceleratorParse(acc string) (uint, gdki.ModifierType)

func (*Mock) AddProviderForScreen

func (*Mock) AddProviderForScreen(s gdki.Screen, provider gtki.StyleProvider, prio uint)

func (*Mock) ApplicationNew

func (*Mock) ApplicationNew(appId string, flags glibi.ApplicationFlags) (gtki.Application, error)

func (*Mock) AssistantNew added in v0.3.7

func (*Mock) AssistantNew() (gtki.Assistant, error)

func (*Mock) BuilderNew

func (*Mock) BuilderNew() (gtki.Builder, error)

func (*Mock) BuilderNewFromResource added in v0.3.6

func (*Mock) BuilderNewFromResource(string) (gtki.Builder, error)

func (*Mock) CellRendererTextNew

func (*Mock) CellRendererTextNew() (gtki.CellRendererText, error)

func (*Mock) CheckButtonNewWithMnemonic

func (*Mock) CheckButtonNewWithMnemonic(label string) (gtki.CheckButton, error)

func (*Mock) CheckMenuItemNewWithMnemonic

func (*Mock) CheckMenuItemNewWithMnemonic(label string) (gtki.CheckMenuItem, error)

func (*Mock) CssProviderGetDefault added in v0.3.7

func (*Mock) CssProviderGetDefault() (gtki.CssProvider, error)

func (*Mock) CssProviderGetNamed added in v0.3.7

func (*Mock) CssProviderGetNamed(string, string) (gtki.CssProvider, error)

func (*Mock) CssProviderNew

func (*Mock) CssProviderNew() (gtki.CssProvider, error)

func (*Mock) EntryNew

func (*Mock) EntryNew() (gtki.Entry, error)

func (*Mock) FileChooserDialogNewWith2Buttons

func (*Mock) FileChooserDialogNewWith2Buttons(title string, parent gtki.Window, action gtki.FileChooserAction, first_button_text string, first_button_id gtki.ResponseType, second_button_text string, second_button_id gtki.ResponseType) (gtki.FileChooserDialog, error)

func (*Mock) Init

func (*Mock) Init(args *[]string)

func (*Mock) LabelNew

func (*Mock) LabelNew(str string) (gtki.Label, error)

func (*Mock) ListStoreNew

func (*Mock) ListStoreNew(types ...glibi.Type) (gtki.ListStore, error)

func (*Mock) MenuItemNew

func (*Mock) MenuItemNew() (gtki.MenuItem, error)

func (*Mock) MenuItemNewWithLabel

func (*Mock) MenuItemNewWithLabel(label string) (gtki.MenuItem, error)

func (*Mock) MenuItemNewWithMnemonic

func (*Mock) MenuItemNewWithMnemonic(label string) (gtki.MenuItem, error)

func (*Mock) MenuNew

func (*Mock) MenuNew() (gtki.Menu, error)

func (*Mock) SeparatorMenuItemNew

func (*Mock) SeparatorMenuItemNew() (gtki.SeparatorMenuItem, error)

func (*Mock) SettingsGetDefault added in v0.3.2

func (*Mock) SettingsGetDefault() (gtki.Settings, error)

func (*Mock) TextBufferNew

func (*Mock) TextBufferNew(table gtki.TextTagTable) (gtki.TextBuffer, error)

func (*Mock) TextTagNew

func (*Mock) TextTagNew(name string) (gtki.TextTag, error)

func (*Mock) TextTagTableNew

func (*Mock) TextTagTableNew() (gtki.TextTagTable, error)

func (*Mock) TextViewNew

func (*Mock) TextViewNew() (gtki.TextView, error)

func (*Mock) TreePathNew

func (*Mock) TreePathNew() gtki.TreePath

func (*Mock) WindowSetDefaultIcon

func (*Mock) WindowSetDefaultIcon(icon gdki.Pixbuf)

type MockAboutDialog

type MockAboutDialog struct {
	MockDialog
}

func (*MockAboutDialog) SetAuthors

func (*MockAboutDialog) SetAuthors(v1 []string)

func (*MockAboutDialog) SetLicense

func (*MockAboutDialog) SetLicense(v1 string)

func (*MockAboutDialog) SetProgramName

func (*MockAboutDialog) SetProgramName(v1 string)

func (*MockAboutDialog) SetVersion

func (*MockAboutDialog) SetVersion(v1 string)

func (*MockAboutDialog) SetWrapLicense

func (*MockAboutDialog) SetWrapLicense(v1 bool)

type MockAccelGroup

type MockAccelGroup struct {
	glib_mock.MockObject
}

func (*MockAccelGroup) Connect2

func (*MockAccelGroup) Connect2(v2 uint, v3 gdki.ModifierType, v4 gtki.AccelFlags, v5 interface{})

type MockAdjustment

type MockAdjustment struct {
	glib_mock.MockObject
}

func (*MockAdjustment) GetLower

func (*MockAdjustment) GetLower() float64

func (*MockAdjustment) GetPageSize

func (*MockAdjustment) GetPageSize() float64

func (*MockAdjustment) GetUpper

func (*MockAdjustment) GetUpper() float64

func (*MockAdjustment) SetValue

func (*MockAdjustment) SetValue(v1 float64)

type MockApplication

type MockApplication struct {
	glib_mock.MockApplication
}

func (*MockApplication) GetActiveWindow

func (*MockApplication) GetActiveWindow() gtki.Window

type MockApplicationWindow

type MockApplicationWindow struct {
	MockWindow
}

type MockAssistant added in v0.3.7

type MockAssistant struct {
	MockWindow
}

type MockBin

type MockBin struct {
	MockContainer
}

func (*MockBin) GetChild

func (*MockBin) GetChild() gtki.Widget

type MockBox

type MockBox struct {
	MockContainer
}

func (*MockBox) PackEnd

func (*MockBox) PackEnd(v1 gtki.Widget, v2, v3 bool, v4 uint)

func (*MockBox) PackStart

func (*MockBox) PackStart(v1 gtki.Widget, v2, v3 bool, v4 uint)

func (*MockBox) SetChildPacking

func (*MockBox) SetChildPacking(v1 gtki.Widget, v2, v3 bool, v4 uint, v5 gtki.PackType)

type MockBuilder

type MockBuilder struct {
	glib_mock.MockObject
}

func (*MockBuilder) AddFromResource added in v0.3.6

func (*MockBuilder) AddFromResource(v1 string) error

func (*MockBuilder) AddFromString

func (*MockBuilder) AddFromString(v1 string) error

func (*MockBuilder) ConnectSignals

func (*MockBuilder) ConnectSignals(v1 map[string]interface{})

func (*MockBuilder) GetObject

func (*MockBuilder) GetObject(v1 string) (glibi.Object, error)

type MockButton

type MockButton struct {
	MockBin
}

type MockCellRenderer

type MockCellRenderer struct {
	glib_mock.MockObject
}

type MockCellRendererText

type MockCellRendererText struct {
	MockCellRenderer
}

type MockCellRendererToggle

type MockCellRendererToggle struct {
	MockCellRenderer
}

type MockCheckButton

type MockCheckButton struct {
	MockToggleButton
}

type MockCheckMenuItem

type MockCheckMenuItem struct {
	MockMenuItem
}

func (*MockCheckMenuItem) GetActive

func (*MockCheckMenuItem) GetActive() bool

func (*MockCheckMenuItem) SetActive

func (*MockCheckMenuItem) SetActive(v1 bool)

type MockComboBox

type MockComboBox struct {
	MockBin
}

func (*MockComboBox) AddAttribute

func (*MockComboBox) AddAttribute(v1 gtki.CellRenderer, v2 string, v3 int)

func (*MockComboBox) GetActive

func (*MockComboBox) GetActive() int

func (*MockComboBox) GetActiveID

func (*MockComboBox) GetActiveID() string

func (*MockComboBox) GetActiveIter

func (*MockComboBox) GetActiveIter() (gtki.TreeIter, error)

func (*MockComboBox) PackStart

func (*MockComboBox) PackStart(v1 gtki.CellRenderer, v2 bool)

func (*MockComboBox) SetActive

func (*MockComboBox) SetActive(v1 int)

func (*MockComboBox) SetModel

func (*MockComboBox) SetModel(v1 gtki.TreeModel)

type MockComboBoxText

type MockComboBoxText struct {
	MockComboBox
}

func (*MockComboBoxText) AppendText

func (*MockComboBoxText) AppendText(v1 string)

func (*MockComboBoxText) GetActiveText

func (*MockComboBoxText) GetActiveText() string

type MockContainer

type MockContainer struct {
	MockWidget
}

func (*MockContainer) Add

func (*MockContainer) Add(v2 gtki.Widget)

func (*MockContainer) Remove

func (*MockContainer) Remove(v2 gtki.Widget)

type MockCssProvider

type MockCssProvider struct {
	glib_mock.MockObject
}

func (*MockCssProvider) LoadFromData

func (*MockCssProvider) LoadFromData(v1 string) error

type MockDialog

type MockDialog struct {
	MockWindow
}

func (*MockDialog) Run

func (*MockDialog) Run() int

func (*MockDialog) SetDefaultResponse

func (*MockDialog) SetDefaultResponse(v1 gtki.ResponseType)

type MockEntry

type MockEntry struct {
	MockWidget
}

func (*MockEntry) GetText

func (*MockEntry) GetText() (string, error)

func (*MockEntry) SetEditable

func (*MockEntry) SetEditable(v1 bool)

func (*MockEntry) SetHasFrame

func (*MockEntry) SetHasFrame(v1 bool)

func (*MockEntry) SetText

func (*MockEntry) SetText(v1 string)

func (*MockEntry) SetVisibility

func (*MockEntry) SetVisibility(v1 bool)

type MockFileChooserDialog

type MockFileChooserDialog struct {
	MockDialog
}

func (*MockFileChooserDialog) GetFilename

func (*MockFileChooserDialog) GetFilename() string

func (*MockFileChooserDialog) SetCurrentName

func (*MockFileChooserDialog) SetCurrentName(v1 string)

type MockGrid

type MockGrid struct {
	MockContainer
}

func (*MockGrid) Attach

func (*MockGrid) Attach(v1 gtki.Widget, v2, v3, v4, v5 int)

type MockHeaderBar

type MockHeaderBar struct {
	MockContainer
}

func (*MockHeaderBar) SetSubtitle

func (*MockHeaderBar) SetSubtitle(v1 string)

type MockInfoBar

type MockInfoBar struct {
	MockBox
}

type MockLabel

type MockLabel struct {
	MockWidget
}

func (*MockLabel) GetLabel

func (*MockLabel) GetLabel() string

func (*MockLabel) SetLabel

func (*MockLabel) SetLabel(v1 string)

func (*MockLabel) SetSelectable

func (*MockLabel) SetSelectable(v1 bool)

func (*MockLabel) SetText

func (*MockLabel) SetText(v1 string)

type MockListStore

type MockListStore struct {
	glib_mock.MockObject
}

func (*MockListStore) Append

func (*MockListStore) Append() gtki.TreeIter

func (*MockListStore) Clear

func (*MockListStore) Clear()

func (*MockListStore) GetIter

func (*MockListStore) GetIter(v1 gtki.TreePath) (gtki.TreeIter, error)

func (*MockListStore) GetIterFirst

func (*MockListStore) GetIterFirst() (gtki.TreeIter, bool)

func (*MockListStore) GetIterFromString

func (*MockListStore) GetIterFromString(v1 string) (gtki.TreeIter, error)

func (*MockListStore) GetPath

func (*MockListStore) GetPath(v1 gtki.TreeIter) (gtki.TreePath, error)

func (*MockListStore) GetValue

func (*MockListStore) GetValue(v1 gtki.TreeIter, v2 int) (glibi.Value, error)

func (*MockListStore) IterNext

func (*MockListStore) IterNext(v1 gtki.TreeIter) bool

func (*MockListStore) Remove

func (*MockListStore) Remove(v2 gtki.TreeIter) bool

func (*MockListStore) Set2

func (*MockListStore) Set2(v2 gtki.TreeIter, v3 []int, v4 []interface{}) error

func (*MockListStore) SetValue

func (*MockListStore) SetValue(v1 gtki.TreeIter, v2 int, v3 interface{}) error

type MockMenu

type MockMenu struct {
	MockMenuShell
}

func (*MockMenu) PopupAtMouseCursor

func (*MockMenu) PopupAtMouseCursor(v1 gtki.Menu, v2 gtki.MenuItem, v3 int, v4 uint32)

type MockMenuBar

type MockMenuBar struct {
	MockMenuShell
}

type MockMenuItem

type MockMenuItem struct {
	MockBin
}

func (*MockMenuItem) GetLabel

func (*MockMenuItem) GetLabel() string

func (*MockMenuItem) SetLabel

func (*MockMenuItem) SetLabel(v1 string)

func (*MockMenuItem) SetSubmenu

func (*MockMenuItem) SetSubmenu(v1 gtki.Widget)

type MockMenuShell

type MockMenuShell struct {
	MockContainer
}

func (*MockMenuShell) Append

func (*MockMenuShell) Append(v1 gtki.MenuItem)

type MockMessageDialog

type MockMessageDialog struct {
	MockDialog
}

type MockNotebook

type MockNotebook struct {
	MockContainer
}

func (*MockNotebook) AppendPage

func (*MockNotebook) AppendPage(v1, v2 gtki.Widget) int

func (*MockNotebook) GetCurrentPage

func (*MockNotebook) GetCurrentPage() int

func (*MockNotebook) GetNPages

func (*MockNotebook) GetNPages() int

func (*MockNotebook) GetNthPage

func (*MockNotebook) GetNthPage(v1 int) (gtki.Widget, error)

func (*MockNotebook) NextPage

func (*MockNotebook) NextPage()

func (*MockNotebook) PrevPage

func (*MockNotebook) PrevPage()

func (*MockNotebook) SetCurrentPage

func (*MockNotebook) SetCurrentPage(v1 int)

func (*MockNotebook) SetShowTabs

func (*MockNotebook) SetShowTabs(v1 bool)

func (*MockNotebook) SetTabLabelText

func (*MockNotebook) SetTabLabelText(v1 gtki.Widget, v2 string)

type MockRevealer

type MockRevealer struct {
	MockBin
}

type MockScrolledWindow

type MockScrolledWindow struct {
	MockBin
}

func (*MockScrolledWindow) GetVAdjustment

func (*MockScrolledWindow) GetVAdjustment() gtki.Adjustment

type MockSeparatorMenuItem

type MockSeparatorMenuItem struct {
	MockMenuItem
}

type MockSettings added in v0.3.2

type MockSettings struct {
	glib_mock.MockObject
}

type MockSpinButton added in v0.3.3

type MockSpinButton struct {
	MockEntry
}

func (*MockSpinButton) GetAdjustment added in v0.3.3

func (*MockSpinButton) GetAdjustment() gtki.Adjustment

func (*MockSpinButton) GetValue added in v0.3.3

func (*MockSpinButton) GetValue() float64

func (*MockSpinButton) GetValueAsInt added in v0.3.3

func (*MockSpinButton) GetValueAsInt() int

func (*MockSpinButton) SetIncrements added in v0.3.3

func (*MockSpinButton) SetIncrements(float64, float64)

func (*MockSpinButton) SetRange added in v0.3.3

func (*MockSpinButton) SetRange(float64, float64)

func (*MockSpinButton) SetValue added in v0.3.3

func (*MockSpinButton) SetValue(float64)

type MockStyleContext

type MockStyleContext struct {
	glib_mock.MockObject
}

func (*MockStyleContext) AddClass

func (v *MockStyleContext) AddClass(v1 string)

func (*MockStyleContext) AddProvider

func (v *MockStyleContext) AddProvider(v1 gtki.StyleProvider, v2 uint)

func (*MockStyleContext) GetProperty2

func (v *MockStyleContext) GetProperty2(v1 string, v2 gtki.StateFlags) (interface{}, error)

type MockTextBuffer

type MockTextBuffer struct {
	glib_mock.MockObject
}

func (*MockTextBuffer) ApplyTagByName

func (*MockTextBuffer) ApplyTagByName(v1 string, v2, v3 gtki.TextIter)

func (*MockTextBuffer) CreateMark

func (*MockTextBuffer) Delete

func (*MockTextBuffer) GetCharCount

func (*MockTextBuffer) GetCharCount() int

func (*MockTextBuffer) GetEndIter

func (*MockTextBuffer) GetEndIter() gtki.TextIter

func (*MockTextBuffer) GetIterAtMark

func (*MockTextBuffer) GetIterAtMark(gtki.TextMark) gtki.TextIter

func (*MockTextBuffer) GetIterAtOffset

func (*MockTextBuffer) GetIterAtOffset(v1 int) gtki.TextIter

func (*MockTextBuffer) GetLineCount

func (*MockTextBuffer) GetLineCount() int

func (*MockTextBuffer) GetStartIter

func (*MockTextBuffer) GetStartIter() gtki.TextIter

func (*MockTextBuffer) GetText

func (*MockTextBuffer) Insert

func (*MockTextBuffer) Insert(v1 gtki.TextIter, v2 string)

type MockTextIter

type MockTextIter struct {
}

func (*MockTextIter) BackwardChar

func (*MockTextIter) BackwardChar() bool

func (*MockTextIter) BackwardChars

func (*MockTextIter) BackwardChars(int) bool

func (*MockTextIter) BackwardCursorPosition

func (*MockTextIter) BackwardCursorPosition() bool

func (*MockTextIter) BackwardCursorPositions

func (*MockTextIter) BackwardCursorPositions(int) bool

func (*MockTextIter) BackwardLine

func (*MockTextIter) BackwardLine() bool

func (*MockTextIter) BackwardLines

func (*MockTextIter) BackwardLines(int) bool

func (*MockTextIter) BackwardToTagToggle

func (*MockTextIter) BackwardToTagToggle(gtki.TextTag) bool

func (*MockTextIter) BackwardVisibleCursorPosition

func (*MockTextIter) BackwardVisibleCursorPosition() bool

func (*MockTextIter) BackwardVisibleCursorPositions

func (*MockTextIter) BackwardVisibleCursorPositions(int) bool

func (*MockTextIter) BackwardVisibleLine

func (*MockTextIter) BackwardVisibleLine() bool

func (*MockTextIter) BackwardVisibleLines

func (*MockTextIter) BackwardVisibleLines(int) bool

func (*MockTextIter) BeginsTag

func (*MockTextIter) BeginsTag(gtki.TextTag) bool

func (*MockTextIter) CanInsert

func (*MockTextIter) CanInsert(bool) bool

func (*MockTextIter) Compare

func (*MockTextIter) Compare(gtki.TextIter) int

func (*MockTextIter) Editable

func (*MockTextIter) Editable(bool) bool

func (*MockTextIter) EndsLine

func (*MockTextIter) EndsLine() bool

func (*MockTextIter) EndsSentence

func (*MockTextIter) EndsSentence() bool

func (*MockTextIter) EndsTag

func (*MockTextIter) EndsTag(gtki.TextTag) bool

func (*MockTextIter) EndsWord

func (*MockTextIter) EndsWord() bool

func (*MockTextIter) Equal

func (*MockTextIter) Equal(gtki.TextIter) bool

func (*MockTextIter) ForwardChar

func (*MockTextIter) ForwardChar() bool

func (*MockTextIter) ForwardChars

func (*MockTextIter) ForwardChars(int) bool

func (*MockTextIter) ForwardCursorPosition

func (*MockTextIter) ForwardCursorPosition() bool

func (*MockTextIter) ForwardCursorPositions

func (*MockTextIter) ForwardCursorPositions(int) bool

func (*MockTextIter) ForwardLine

func (*MockTextIter) ForwardLine() bool

func (*MockTextIter) ForwardLines

func (*MockTextIter) ForwardLines(int) bool

func (*MockTextIter) ForwardSentenceEnd

func (*MockTextIter) ForwardSentenceEnd() bool

func (*MockTextIter) ForwardSentenceEnds

func (*MockTextIter) ForwardSentenceEnds(int) bool

func (*MockTextIter) ForwardToEnd

func (*MockTextIter) ForwardToEnd()

func (*MockTextIter) ForwardToLineEnd

func (*MockTextIter) ForwardToLineEnd() bool

func (*MockTextIter) ForwardToTagToggle

func (*MockTextIter) ForwardToTagToggle(gtki.TextTag) bool

func (*MockTextIter) ForwardVisibleCursorPosition

func (*MockTextIter) ForwardVisibleCursorPosition() bool

func (*MockTextIter) ForwardVisibleCursorPositions

func (*MockTextIter) ForwardVisibleCursorPositions(int) bool

func (*MockTextIter) ForwardVisibleLine

func (*MockTextIter) ForwardVisibleLine() bool

func (*MockTextIter) ForwardVisibleLines

func (*MockTextIter) ForwardVisibleLines(int) bool

func (*MockTextIter) ForwardVisibleWordEnd

func (*MockTextIter) ForwardVisibleWordEnd() bool

func (*MockTextIter) ForwardVisibleWordEnds

func (*MockTextIter) ForwardVisibleWordEnds(int) bool

func (*MockTextIter) ForwardWordEnd

func (*MockTextIter) ForwardWordEnd() bool

func (*MockTextIter) ForwardWordEnds

func (*MockTextIter) ForwardWordEnds(int) bool

func (*MockTextIter) GetBuffer

func (*MockTextIter) GetBuffer() gtki.TextBuffer

func (*MockTextIter) GetBytesInLine

func (*MockTextIter) GetBytesInLine() int

func (*MockTextIter) GetChar

func (*MockTextIter) GetChar() rune

func (*MockTextIter) GetCharsInLine

func (*MockTextIter) GetCharsInLine() int

func (*MockTextIter) GetLine

func (*MockTextIter) GetLine() int

func (*MockTextIter) GetLineIndex

func (*MockTextIter) GetLineIndex() int

func (*MockTextIter) GetLineOffset

func (*MockTextIter) GetLineOffset() int

func (*MockTextIter) GetOffset

func (*MockTextIter) GetOffset() int

func (*MockTextIter) GetSlice

func (*MockTextIter) GetSlice(gtki.TextIter) string

func (*MockTextIter) GetText

func (*MockTextIter) GetText(gtki.TextIter) string

func (*MockTextIter) GetVisibleLineIndex

func (*MockTextIter) GetVisibleLineIndex() int

func (*MockTextIter) GetVisibleLineOffset

func (*MockTextIter) GetVisibleLineOffset() int

func (*MockTextIter) GetVisibleSlice

func (*MockTextIter) GetVisibleSlice(gtki.TextIter) string

func (*MockTextIter) GetVisibleText

func (*MockTextIter) GetVisibleText(gtki.TextIter) string

func (*MockTextIter) HasTag

func (*MockTextIter) HasTag(gtki.TextTag) bool

func (*MockTextIter) InRange

func (*MockTextIter) InsideSentence

func (*MockTextIter) InsideSentence() bool

func (*MockTextIter) InsideWord

func (*MockTextIter) InsideWord() bool

func (*MockTextIter) IsCursorPosition

func (*MockTextIter) IsCursorPosition() bool

func (*MockTextIter) IsEnd

func (*MockTextIter) IsEnd() bool

func (*MockTextIter) IsStart

func (*MockTextIter) IsStart() bool

func (*MockTextIter) SetLine

func (*MockTextIter) SetLine(int)

func (*MockTextIter) SetLineIndex

func (*MockTextIter) SetLineIndex(int)

func (*MockTextIter) SetLineOffset

func (*MockTextIter) SetLineOffset(int)

func (*MockTextIter) SetOffset

func (*MockTextIter) SetOffset(int)

func (*MockTextIter) SetVisibleLineIndex

func (*MockTextIter) SetVisibleLineIndex(int)

func (*MockTextIter) SetVisibleLineOffset

func (*MockTextIter) SetVisibleLineOffset(int)

func (*MockTextIter) StartsLine

func (*MockTextIter) StartsLine() bool

func (*MockTextIter) StartsSentence

func (*MockTextIter) StartsSentence() bool

func (*MockTextIter) StartsWord

func (*MockTextIter) StartsWord() bool

func (*MockTextIter) TogglesTag

func (*MockTextIter) TogglesTag(gtki.TextTag) bool

type MockTextMark

type MockTextMark struct {
}

type MockTextTag

type MockTextTag struct {
	glib_mock.MockObject
}

type MockTextTagTable

type MockTextTagTable struct {
	glib_mock.MockObject
}

func (*MockTextTagTable) Add

func (*MockTextTagTable) Add(v1 gtki.TextTag)

type MockTextView

type MockTextView struct {
	MockContainer
}

func (*MockTextView) BackwardDisplayLine

func (*MockTextView) BackwardDisplayLine(gtki.TextIter) bool

func (*MockTextView) BackwardDisplayLineStart

func (*MockTextView) BackwardDisplayLineStart(gtki.TextIter) bool

func (*MockTextView) ForwardDisplayLine

func (*MockTextView) ForwardDisplayLine(gtki.TextIter) bool

func (*MockTextView) ForwardDisplayLineEnd

func (*MockTextView) ForwardDisplayLineEnd(gtki.TextIter) bool

func (*MockTextView) GetBuffer

func (*MockTextView) GetBuffer() (gtki.TextBuffer, error)

func (*MockTextView) MoveVisually

func (*MockTextView) MoveVisually(gtki.TextIter, int) bool

func (*MockTextView) SetBuffer

func (*MockTextView) SetBuffer(v1 gtki.TextBuffer)

func (*MockTextView) SetCursorVisible

func (*MockTextView) SetCursorVisible(v1 bool)

func (*MockTextView) SetEditable

func (*MockTextView) SetEditable(v1 bool)

func (*MockTextView) StartsDisplayLine

func (*MockTextView) StartsDisplayLine(gtki.TextIter) bool

type MockToggleButton

type MockToggleButton struct {
	MockButton
}

func (*MockToggleButton) GetActive

func (*MockToggleButton) GetActive() bool

func (*MockToggleButton) SetActive

func (*MockToggleButton) SetActive(bool)

type MockTreeIter

type MockTreeIter struct {
}

type MockTreePath

type MockTreePath struct {
}

type MockTreeSelection

type MockTreeSelection struct {
	glib_mock.MockObject
}

func (*MockTreeSelection) GetSelected

func (*MockTreeSelection) GetSelected() (gtki.TreeModel, gtki.TreeIter, bool)

func (*MockTreeSelection) SelectIter

func (*MockTreeSelection) SelectIter(v1 gtki.TreeIter)

func (*MockTreeSelection) UnselectPath

func (*MockTreeSelection) UnselectPath(v1 gtki.TreePath)

type MockTreeStore

type MockTreeStore struct {
	glib_mock.MockObject
}

func (*MockTreeStore) Append

func (v *MockTreeStore) Append(v1 gtki.TreeIter) gtki.TreeIter

func (*MockTreeStore) Clear

func (v *MockTreeStore) Clear()

func (*MockTreeStore) GetIter

func (v *MockTreeStore) GetIter(v1 gtki.TreePath) (gtki.TreeIter, error)

func (*MockTreeStore) GetIterFirst

func (v *MockTreeStore) GetIterFirst() (gtki.TreeIter, bool)

func (*MockTreeStore) GetIterFromString

func (v *MockTreeStore) GetIterFromString(v1 string) (gtki.TreeIter, error)

func (*MockTreeStore) GetPath

func (v *MockTreeStore) GetPath(v1 gtki.TreeIter) (gtki.TreePath, error)

func (*MockTreeStore) GetValue

func (v *MockTreeStore) GetValue(v1 gtki.TreeIter, v2 int) (glibi.Value, error)

func (*MockTreeStore) IterNext

func (v *MockTreeStore) IterNext(v1 gtki.TreeIter) bool

func (*MockTreeStore) SetValue

func (v *MockTreeStore) SetValue(v1 gtki.TreeIter, v2 int, v3 interface{}) error

type MockTreeView

type MockTreeView struct {
	MockContainer
}

func (*MockTreeView) CollapseRow

func (*MockTreeView) CollapseRow(v1 gtki.TreePath) bool

func (*MockTreeView) ExpandAll

func (*MockTreeView) ExpandAll()

func (*MockTreeView) GetCursor

func (*MockTreeView) GetCursor() (gtki.TreePath, gtki.TreeViewColumn)

func (*MockTreeView) GetPathAtPos

func (*MockTreeView) GetPathAtPos(v1 int, v2 int, v3 gtki.TreePath, v4 gtki.TreeViewColumn, v5 *int, v6 *int) bool

func (*MockTreeView) GetSelection

func (*MockTreeView) GetSelection() (gtki.TreeSelection, error)

type MockTreeViewColumn

type MockTreeViewColumn struct {
	glib_mock.MockObject
}

type MockWidget

type MockWidget struct {
	glib_mock.MockObject
}

func (*MockWidget) Destroy

func (*MockWidget) Destroy()

func (*MockWidget) GetAllocatedHeight

func (*MockWidget) GetAllocatedHeight() int

func (*MockWidget) GetAllocatedWidth

func (*MockWidget) GetAllocatedWidth() int

func (*MockWidget) GetStyleContext

func (*MockWidget) GetStyleContext() (gtki.StyleContext, error)

func (*MockWidget) GetWindow

func (*MockWidget) GetWindow() (gdki.Window, error)

func (*MockWidget) GrabDefault

func (*MockWidget) GrabDefault()

func (*MockWidget) GrabFocus

func (*MockWidget) GrabFocus()

func (*MockWidget) HasFocus added in v0.3.3

func (*MockWidget) HasFocus() bool

func (*MockWidget) Hide

func (*MockWidget) Hide()

func (*MockWidget) HideOnDelete

func (*MockWidget) HideOnDelete()

func (*MockWidget) SetHAlign

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

func (*MockWidget) SetHExpand

func (*MockWidget) SetHExpand(v1 bool)

func (*MockWidget) SetMarginBottom

func (*MockWidget) SetMarginBottom(v1 int)

func (*MockWidget) SetMarginTop

func (*MockWidget) SetMarginTop(v1 int)

func (*MockWidget) SetName

func (*MockWidget) SetName(v1 string)

func (*MockWidget) SetSensitive

func (*MockWidget) SetSensitive(v1 bool)

func (*MockWidget) SetSizeRequest

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

func (*MockWidget) SetVisible

func (*MockWidget) SetVisible(v1 bool)

func (*MockWidget) Show

func (*MockWidget) Show()

func (*MockWidget) ShowAll

func (*MockWidget) ShowAll()

type MockWindow

type MockWindow struct {
	MockBin
}

func (*MockWindow) AddAccelGroup

func (*MockWindow) AddAccelGroup(v2 gtki.AccelGroup)

func (*MockWindow) Fullscreen added in v0.3.3

func (*MockWindow) Fullscreen()

func (*MockWindow) GetTitle

func (*MockWindow) GetTitle() string

func (*MockWindow) HasToplevelFocus added in v0.3.2

func (*MockWindow) HasToplevelFocus() bool

func (*MockWindow) IsActive

func (*MockWindow) IsActive() bool

func (*MockWindow) Present

func (*MockWindow) Present()

func (*MockWindow) Resize

func (*MockWindow) Resize(v1, v2 int)

func (*MockWindow) SetApplication

func (*MockWindow) SetApplication(v2 gtki.Application)

func (*MockWindow) SetIcon

func (*MockWindow) SetIcon(v2 gdki.Pixbuf)

func (*MockWindow) SetTitle

func (*MockWindow) SetTitle(v1 string)

func (*MockWindow) SetTitlebar

func (*MockWindow) SetTitlebar(v2 gtki.Widget)

func (*MockWindow) SetTransientFor

func (*MockWindow) SetTransientFor(v2 gtki.Window)

func (*MockWindow) SetUrgencyHint added in v0.3.3

func (*MockWindow) SetUrgencyHint(v2 bool)

func (*MockWindow) Unfullscreen added in v0.3.3

func (*MockWindow) Unfullscreen()

type MockellRendererToggle

type MockellRendererToggle struct {
	MockCellRenderer
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL