Documentation ¶
Index ¶
- type Mock
- func (*Mock) AboutDialogNew() (gtki.AboutDialog, error)
- func (*Mock) AccelGroupNew() (gtki.AccelGroup, error)
- func (*Mock) AcceleratorParse(acc string) (uint, gdki.ModifierType)
- func (*Mock) AddProviderForScreen(s gdki.Screen, provider gtki.StyleProvider, prio uint)
- func (*Mock) ApplicationNew(appId string, flags glibi.ApplicationFlags) (gtki.Application, error)
- func (*Mock) AssistantNew() (gtki.Assistant, error)
- func (*Mock) BuilderNew() (gtki.Builder, error)
- func (*Mock) BuilderNewFromResource(string) (gtki.Builder, error)
- func (*Mock) CellRendererTextNew() (gtki.CellRendererText, error)
- func (*Mock) CheckButtonNewWithMnemonic(label string) (gtki.CheckButton, error)
- func (*Mock) CheckMenuItemNewWithMnemonic(label string) (gtki.CheckMenuItem, error)
- func (*Mock) CssProviderGetDefault() (gtki.CssProvider, error)
- func (*Mock) CssProviderGetNamed(string, string) (gtki.CssProvider, error)
- func (*Mock) CssProviderNew() (gtki.CssProvider, error)
- func (*Mock) EntryNew() (gtki.Entry, error)
- func (*Mock) FileChooserDialogNewWith2Buttons(title string, parent gtki.Window, action gtki.FileChooserAction, ...) (gtki.FileChooserDialog, error)
- func (*Mock) Init(args *[]string)
- func (*Mock) LabelNew(str string) (gtki.Label, error)
- func (*Mock) ListStoreNew(types ...glibi.Type) (gtki.ListStore, error)
- func (*Mock) MenuItemNew() (gtki.MenuItem, error)
- func (*Mock) MenuItemNewWithLabel(label string) (gtki.MenuItem, error)
- func (*Mock) MenuItemNewWithMnemonic(label string) (gtki.MenuItem, error)
- func (*Mock) MenuNew() (gtki.Menu, error)
- func (*Mock) SeparatorMenuItemNew() (gtki.SeparatorMenuItem, error)
- func (*Mock) SettingsGetDefault() (gtki.Settings, error)
- func (*Mock) TextBufferNew(table gtki.TextTagTable) (gtki.TextBuffer, error)
- func (*Mock) TextTagNew(name string) (gtki.TextTag, error)
- func (*Mock) TextTagTableNew() (gtki.TextTagTable, error)
- func (*Mock) TextViewNew() (gtki.TextView, error)
- func (*Mock) TreePathNew() gtki.TreePath
- func (*Mock) WindowSetDefaultIcon(icon gdki.Pixbuf)
- type MockAboutDialog
- type MockAccelGroup
- type MockAdjustment
- type MockApplication
- type MockApplicationWindow
- type MockAssistant
- type MockBin
- type MockBox
- type MockBuilder
- type MockButton
- type MockCellRenderer
- type MockCellRendererText
- type MockCellRendererToggle
- type MockCheckButton
- type MockCheckMenuItem
- type MockComboBox
- func (*MockComboBox) AddAttribute(v1 gtki.CellRenderer, v2 string, v3 int)
- func (*MockComboBox) GetActive() int
- func (*MockComboBox) GetActiveID() string
- func (*MockComboBox) GetActiveIter() (gtki.TreeIter, error)
- func (*MockComboBox) PackStart(v1 gtki.CellRenderer, v2 bool)
- func (*MockComboBox) SetActive(v1 int)
- func (*MockComboBox) SetModel(v1 gtki.TreeModel)
- type MockComboBoxText
- type MockContainer
- type MockCssProvider
- type MockDialog
- type MockEntry
- type MockFileChooserDialog
- type MockGrid
- type MockHeaderBar
- type MockInfoBar
- type MockLabel
- type MockListStore
- func (*MockListStore) Append() gtki.TreeIter
- func (*MockListStore) Clear()
- func (*MockListStore) GetIter(v1 gtki.TreePath) (gtki.TreeIter, error)
- func (*MockListStore) GetIterFirst() (gtki.TreeIter, bool)
- func (*MockListStore) GetIterFromString(v1 string) (gtki.TreeIter, error)
- func (*MockListStore) GetPath(v1 gtki.TreeIter) (gtki.TreePath, error)
- func (*MockListStore) GetValue(v1 gtki.TreeIter, v2 int) (glibi.Value, error)
- func (*MockListStore) IterNext(v1 gtki.TreeIter) bool
- func (*MockListStore) Remove(v2 gtki.TreeIter) bool
- func (*MockListStore) Set2(v2 gtki.TreeIter, v3 []int, v4 []interface{}) error
- func (*MockListStore) SetValue(v1 gtki.TreeIter, v2 int, v3 interface{}) error
- type MockMenu
- type MockMenuBar
- type MockMenuItem
- type MockMenuShell
- type MockMessageDialog
- type MockNotebook
- func (*MockNotebook) AppendPage(v1, v2 gtki.Widget) int
- func (*MockNotebook) GetCurrentPage() int
- func (*MockNotebook) GetNPages() int
- func (*MockNotebook) GetNthPage(v1 int) (gtki.Widget, error)
- func (*MockNotebook) NextPage()
- func (*MockNotebook) PrevPage()
- func (*MockNotebook) SetCurrentPage(v1 int)
- func (*MockNotebook) SetShowTabs(v1 bool)
- func (*MockNotebook) SetTabLabelText(v1 gtki.Widget, v2 string)
- type MockRevealer
- type MockScrolledWindow
- type MockSeparatorMenuItem
- type MockSettings
- type MockSpinButton
- type MockStyleContext
- type MockTextBuffer
- func (*MockTextBuffer) ApplyTagByName(v1 string, v2, v3 gtki.TextIter)
- func (*MockTextBuffer) CreateMark(string, gtki.TextIter, bool) gtki.TextMark
- func (*MockTextBuffer) Delete(gtki.TextIter, gtki.TextIter)
- func (*MockTextBuffer) GetCharCount() int
- func (*MockTextBuffer) GetEndIter() gtki.TextIter
- func (*MockTextBuffer) GetIterAtMark(gtki.TextMark) gtki.TextIter
- func (*MockTextBuffer) GetIterAtOffset(v1 int) gtki.TextIter
- func (*MockTextBuffer) GetLineCount() int
- func (*MockTextBuffer) GetStartIter() gtki.TextIter
- func (*MockTextBuffer) GetText(gtki.TextIter, gtki.TextIter, bool) string
- func (*MockTextBuffer) Insert(v1 gtki.TextIter, v2 string)
- type MockTextIter
- func (*MockTextIter) BackwardChar() bool
- func (*MockTextIter) BackwardChars(int) bool
- func (*MockTextIter) BackwardCursorPosition() bool
- func (*MockTextIter) BackwardCursorPositions(int) bool
- func (*MockTextIter) BackwardLine() bool
- func (*MockTextIter) BackwardLines(int) bool
- func (*MockTextIter) BackwardToTagToggle(gtki.TextTag) bool
- func (*MockTextIter) BackwardVisibleCursorPosition() bool
- func (*MockTextIter) BackwardVisibleCursorPositions(int) bool
- func (*MockTextIter) BackwardVisibleLine() bool
- func (*MockTextIter) BackwardVisibleLines(int) bool
- func (*MockTextIter) BeginsTag(gtki.TextTag) bool
- func (*MockTextIter) CanInsert(bool) bool
- func (*MockTextIter) Compare(gtki.TextIter) int
- func (*MockTextIter) Editable(bool) bool
- func (*MockTextIter) EndsLine() bool
- func (*MockTextIter) EndsSentence() bool
- func (*MockTextIter) EndsTag(gtki.TextTag) bool
- func (*MockTextIter) EndsWord() bool
- func (*MockTextIter) Equal(gtki.TextIter) bool
- func (*MockTextIter) ForwardChar() bool
- func (*MockTextIter) ForwardChars(int) bool
- func (*MockTextIter) ForwardCursorPosition() bool
- func (*MockTextIter) ForwardCursorPositions(int) bool
- func (*MockTextIter) ForwardLine() bool
- func (*MockTextIter) ForwardLines(int) bool
- func (*MockTextIter) ForwardSentenceEnd() bool
- func (*MockTextIter) ForwardSentenceEnds(int) bool
- func (*MockTextIter) ForwardToEnd()
- func (*MockTextIter) ForwardToLineEnd() bool
- func (*MockTextIter) ForwardToTagToggle(gtki.TextTag) bool
- func (*MockTextIter) ForwardVisibleCursorPosition() bool
- func (*MockTextIter) ForwardVisibleCursorPositions(int) bool
- func (*MockTextIter) ForwardVisibleLine() bool
- func (*MockTextIter) ForwardVisibleLines(int) bool
- func (*MockTextIter) ForwardVisibleWordEnd() bool
- func (*MockTextIter) ForwardVisibleWordEnds(int) bool
- func (*MockTextIter) ForwardWordEnd() bool
- func (*MockTextIter) ForwardWordEnds(int) bool
- func (*MockTextIter) GetBuffer() gtki.TextBuffer
- func (*MockTextIter) GetBytesInLine() int
- func (*MockTextIter) GetChar() rune
- func (*MockTextIter) GetCharsInLine() int
- func (*MockTextIter) GetLine() int
- func (*MockTextIter) GetLineIndex() int
- func (*MockTextIter) GetLineOffset() int
- func (*MockTextIter) GetOffset() int
- func (*MockTextIter) GetSlice(gtki.TextIter) string
- func (*MockTextIter) GetText(gtki.TextIter) string
- func (*MockTextIter) GetVisibleLineIndex() int
- func (*MockTextIter) GetVisibleLineOffset() int
- func (*MockTextIter) GetVisibleSlice(gtki.TextIter) string
- func (*MockTextIter) GetVisibleText(gtki.TextIter) string
- func (*MockTextIter) HasTag(gtki.TextTag) bool
- func (*MockTextIter) InRange(gtki.TextIter, gtki.TextIter) bool
- func (*MockTextIter) InsideSentence() bool
- func (*MockTextIter) InsideWord() bool
- func (*MockTextIter) IsCursorPosition() bool
- func (*MockTextIter) IsEnd() bool
- func (*MockTextIter) IsStart() bool
- func (*MockTextIter) SetLine(int)
- func (*MockTextIter) SetLineIndex(int)
- func (*MockTextIter) SetLineOffset(int)
- func (*MockTextIter) SetOffset(int)
- func (*MockTextIter) SetVisibleLineIndex(int)
- func (*MockTextIter) SetVisibleLineOffset(int)
- func (*MockTextIter) StartsLine() bool
- func (*MockTextIter) StartsSentence() bool
- func (*MockTextIter) StartsWord() bool
- func (*MockTextIter) TogglesTag(gtki.TextTag) bool
- type MockTextMark
- type MockTextTag
- type MockTextTagTable
- type MockTextView
- func (*MockTextView) BackwardDisplayLine(gtki.TextIter) bool
- func (*MockTextView) BackwardDisplayLineStart(gtki.TextIter) bool
- func (*MockTextView) ForwardDisplayLine(gtki.TextIter) bool
- func (*MockTextView) ForwardDisplayLineEnd(gtki.TextIter) bool
- func (*MockTextView) GetBuffer() (gtki.TextBuffer, error)
- func (*MockTextView) MoveVisually(gtki.TextIter, int) bool
- func (*MockTextView) SetBuffer(v1 gtki.TextBuffer)
- func (*MockTextView) SetCursorVisible(v1 bool)
- func (*MockTextView) SetEditable(v1 bool)
- func (*MockTextView) StartsDisplayLine(gtki.TextIter) bool
- type MockToggleButton
- type MockTreeIter
- type MockTreePath
- type MockTreeSelection
- type MockTreeStore
- func (v *MockTreeStore) Append(v1 gtki.TreeIter) gtki.TreeIter
- func (v *MockTreeStore) Clear()
- func (v *MockTreeStore) GetIter(v1 gtki.TreePath) (gtki.TreeIter, error)
- func (v *MockTreeStore) GetIterFirst() (gtki.TreeIter, bool)
- func (v *MockTreeStore) GetIterFromString(v1 string) (gtki.TreeIter, error)
- func (v *MockTreeStore) GetPath(v1 gtki.TreeIter) (gtki.TreePath, error)
- func (v *MockTreeStore) GetValue(v1 gtki.TreeIter, v2 int) (glibi.Value, error)
- func (v *MockTreeStore) IterNext(v1 gtki.TreeIter) bool
- func (v *MockTreeStore) SetValue(v1 gtki.TreeIter, v2 int, v3 interface{}) error
- type MockTreeView
- func (*MockTreeView) CollapseRow(v1 gtki.TreePath) bool
- func (*MockTreeView) ExpandAll()
- func (*MockTreeView) GetCursor() (gtki.TreePath, gtki.TreeViewColumn)
- func (*MockTreeView) GetPathAtPos(v1 int, v2 int, v3 gtki.TreePath, v4 gtki.TreeViewColumn, v5 *int, v6 *int) bool
- func (*MockTreeView) GetSelection() (gtki.TreeSelection, error)
- type MockTreeViewColumn
- type MockWidget
- func (*MockWidget) Destroy()
- func (*MockWidget) GetAllocatedHeight() int
- func (*MockWidget) GetAllocatedWidth() int
- func (*MockWidget) GetStyleContext() (gtki.StyleContext, error)
- func (*MockWidget) GetWindow() (gdki.Window, error)
- func (*MockWidget) GrabDefault()
- func (*MockWidget) GrabFocus()
- func (*MockWidget) HasFocus() bool
- func (*MockWidget) Hide()
- func (*MockWidget) HideOnDelete()
- func (*MockWidget) SetHAlign(v2 gtki.Align)
- func (*MockWidget) SetHExpand(v1 bool)
- func (*MockWidget) SetMarginBottom(v1 int)
- func (*MockWidget) SetMarginTop(v1 int)
- func (*MockWidget) SetName(v1 string)
- func (*MockWidget) SetSensitive(v1 bool)
- func (*MockWidget) SetSizeRequest(v1, v2 int)
- func (*MockWidget) SetVisible(v1 bool)
- func (*MockWidget) Show()
- func (*MockWidget) ShowAll()
- type MockWindow
- func (*MockWindow) AddAccelGroup(v2 gtki.AccelGroup)
- func (*MockWindow) Fullscreen()
- func (*MockWindow) GetTitle() string
- func (*MockWindow) HasToplevelFocus() bool
- func (*MockWindow) IsActive() bool
- func (*MockWindow) Present()
- func (*MockWindow) Resize(v1, v2 int)
- func (*MockWindow) SetApplication(v2 gtki.Application)
- func (*MockWindow) SetIcon(v2 gdki.Pixbuf)
- func (*MockWindow) SetTitle(v1 string)
- func (*MockWindow) SetTitlebar(v2 gtki.Widget)
- func (*MockWindow) SetTransientFor(v2 gtki.Window)
- func (*MockWindow) SetUrgencyHint(v2 bool)
- func (*MockWindow) Unfullscreen()
- type MockellRendererToggle
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) ApplicationNew ¶
func (*Mock) ApplicationNew(appId string, flags glibi.ApplicationFlags) (gtki.Application, error)
func (*Mock) BuilderNewFromResource ¶ added in v0.3.6
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) CssProviderNew ¶
func (*Mock) CssProviderNew() (gtki.CssProvider, 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) MenuItemNewWithLabel ¶
func (*Mock) MenuItemNewWithMnemonic ¶
func (*Mock) SeparatorMenuItemNew ¶
func (*Mock) SeparatorMenuItemNew() (gtki.SeparatorMenuItem, error)
func (*Mock) SettingsGetDefault ¶ added in v0.3.2
func (*Mock) TextBufferNew ¶
func (*Mock) TextBufferNew(table gtki.TextTagTable) (gtki.TextBuffer, error)
func (*Mock) TextTagTableNew ¶
func (*Mock) TextTagTableNew() (gtki.TextTagTable, error)
func (*Mock) TreePathNew ¶
func (*Mock) WindowSetDefaultIcon ¶
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
}
type MockBox ¶
type MockBox struct {
MockContainer
}
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{})
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) SetEditable ¶
func (*MockEntry) SetHasFrame ¶
func (*MockEntry) SetVisibility ¶
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
}
type MockHeaderBar ¶
type MockHeaderBar struct {
MockContainer
}
func (*MockHeaderBar) SetSubtitle ¶
func (*MockHeaderBar) SetSubtitle(v1 string)
type MockInfoBar ¶
type MockInfoBar struct {
MockBox
}
type MockListStore ¶
type MockListStore struct {
glib_mock.MockObject
}
func (*MockListStore) Append ¶
func (*MockListStore) Append() gtki.TreeIter
func (*MockListStore) Clear ¶
func (*MockListStore) Clear()
func (*MockListStore) GetIterFirst ¶
func (*MockListStore) GetIterFirst() (gtki.TreeIter, bool)
func (*MockListStore) GetIterFromString ¶
func (*MockListStore) GetIterFromString(v1 string) (gtki.TreeIter, error)
type MockMenu ¶
type MockMenu struct {
MockMenuShell
}
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) 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
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) CanInsert ¶
func (*MockTextIter) CanInsert(bool) bool
func (*MockTextIter) Editable ¶
func (*MockTextIter) Editable(bool) bool
func (*MockTextIter) EndsLine ¶
func (*MockTextIter) EndsLine() bool
func (*MockTextIter) EndsSentence ¶
func (*MockTextIter) EndsSentence() bool
func (*MockTextIter) EndsWord ¶
func (*MockTextIter) EndsWord() 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) 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) 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) 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) Clear ¶
func (v *MockTreeStore) Clear()
func (*MockTreeStore) GetIterFirst ¶
func (v *MockTreeStore) GetIterFirst() (gtki.TreeIter, bool)
func (*MockTreeStore) GetIterFromString ¶
func (v *MockTreeStore) GetIterFromString(v1 string) (gtki.TreeIter, 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) 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
}
Source Files ¶
- about_dialog.go
- accel_group.go
- adjustment.go
- application.go
- application_window.go
- assistant.go
- bin.go
- box.go
- builder.go
- button.go
- cell_renderer.go
- cell_renderer_text.go
- cell_renderer_toggle.go
- check_button.go
- check_menu_item.go
- combo_box.go
- combo_box_text.go
- container.go
- css_provider.go
- dialog.go
- entry.go
- file_chooser_dialog.go
- header_bar.go
- info_bar.go
- label.go
- list_store.go
- menu.go
- menu_bar.go
- menu_item.go
- menu_shell.go
- message_dialog.go
- mock.go
- mock_cell_renderer_toggle.go
- mock_grid.go
- mock_iface_testers.go
- mock_revealer.go
- mock_spin_button.go
- mock_widget.go
- notebook.go
- scrolled_window.go
- separator_menu_item.go
- settings.go
- style_context.go
- text_buffer.go
- text_iter.go
- text_mark.go
- text_tag.go
- text_tag_table.go
- text_view.go
- toggle_button.go
- tree_iter.go
- tree_path.go
- tree_selection.go
- tree_store.go
- tree_view.go
- tree_view_column.go
- window.go
Click to show internal directories.
Click to hide internal directories.