Documentation
¶
Index ¶
- func AssertAboutDialog(_ AboutDialog)
- func AssertAccelGroup(_ AccelGroup)
- func AssertAdjustment(_ Adjustment)
- func AssertApplication(_ Application)
- func AssertApplicationWindow(_ ApplicationWindow)
- func AssertBox(_ Box)
- func AssertBuilder(_ Builder)
- func AssertButton(_ Button)
- func AssertCellLayout(_ CellLayout)
- func AssertCellRenderer(_ CellRenderer)
- func AssertCellRendererText(_ CellRendererText)
- func AssertCellRendererToggle(_ CellRendererToggle)
- func AssertCheckButton(_ CheckButton)
- func AssertCheckMenuItem(_ CheckMenuItem)
- func AssertComboBox(_ ComboBox)
- func AssertComboBoxText(_ ComboBoxText)
- func AssertCssProvider(_ CssProvider)
- func AssertDialog(_ Dialog)
- func AssertEditable(_ Editable)
- func AssertEntry(_ Entry)
- func AssertFileChooser(_ FileChooser)
- func AssertFileChooserDialog(_ FileChooserDialog)
- func AssertGrid(_ Grid)
- func AssertGtk(_ Gtk)
- func AssertHeaderBar(_ HeaderBar)
- func AssertInfoBar(_ InfoBar)
- func AssertLabel(_ Label)
- func AssertListStore(_ ListStore)
- func AssertMenu(_ Menu)
- func AssertMenuBar(_ MenuBar)
- func AssertMenuItem(_ MenuItem)
- func AssertMenuShell(_ MenuShell)
- func AssertMessageDialog(_ MessageDialog)
- func AssertNotebook(_ Notebook)
- func AssertRevealer(_ Revealer)
- func AssertScrolledWindow(_ ScrolledWindow)
- func AssertSeparatorMenuItem(_ SeparatorMenuItem)
- func AssertStyleContext(_ StyleContext)
- func AssertStyleProvider(_ StyleProvider)
- func AssertTextBuffer(_ TextBuffer)
- func AssertTextIter(_ TextIter)
- func AssertTextMark(_ TextMark)
- func AssertTextTag(_ TextTag)
- func AssertTextTagTable(_ TextTagTable)
- func AssertTextView(_ TextView)
- func AssertToggleButton(_ ToggleButton)
- func AssertTreeIter(_ TreeIter)
- func AssertTreeModel(_ TreeModel)
- func AssertTreePath(_ TreePath)
- func AssertTreeSelection(_ TreeSelection)
- func AssertTreeStore(_ TreeStore)
- func AssertTreeView(_ TreeView)
- func AssertTreeViewColumn(_ TreeViewColumn)
- func AssertWidget(_ Widget)
- func AssertWindow(_ Window)
- type AboutDialog
- type AccelFlags
- type AccelGroup
- type Adjustment
- type Align
- type Application
- type ApplicationWindow
- type Bin
- type Box
- type Builder
- type Button
- type CellLayout
- type CellRenderer
- type CellRendererText
- type CellRendererToggle
- type CheckButton
- type CheckMenuItem
- type ComboBox
- type ComboBoxText
- type Container
- type CssProvider
- type Dialog
- type Editable
- type Entry
- type FileChooser
- type FileChooserAction
- type FileChooserDialog
- type Grid
- type Gtk
- type HeaderBar
- type InfoBar
- type Label
- type ListStore
- type Menu
- type MenuBar
- type MenuItem
- type MenuShell
- type MessageDialog
- type Notebook
- type PackType
- type ResponseType
- type Revealer
- type ScrolledWindow
- type SeparatorMenuItem
- type StateFlags
- type StyleContext
- type StyleProvider
- type StyleProviderPriority
- type TextBuffer
- type TextIter
- type TextMark
- type TextTag
- type TextTagTable
- type TextView
- type ToggleButton
- type TreeIter
- type TreeModel
- type TreePath
- type TreeSelection
- type TreeStore
- type TreeView
- type TreeViewColumn
- type Widget
- type Window
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAboutDialog ¶
func AssertAboutDialog(_ AboutDialog)
func AssertAccelGroup ¶
func AssertAccelGroup(_ AccelGroup)
func AssertAdjustment ¶
func AssertAdjustment(_ Adjustment)
func AssertApplication ¶
func AssertApplication(_ Application)
func AssertApplicationWindow ¶
func AssertApplicationWindow(_ ApplicationWindow)
func AssertBuilder ¶
func AssertBuilder(_ Builder)
func AssertButton ¶
func AssertButton(_ Button)
func AssertCellLayout ¶
func AssertCellLayout(_ CellLayout)
func AssertCellRenderer ¶
func AssertCellRenderer(_ CellRenderer)
func AssertCellRendererText ¶
func AssertCellRendererText(_ CellRendererText)
func AssertCellRendererToggle ¶
func AssertCellRendererToggle(_ CellRendererToggle)
func AssertCheckButton ¶
func AssertCheckButton(_ CheckButton)
func AssertCheckMenuItem ¶
func AssertCheckMenuItem(_ CheckMenuItem)
func AssertComboBox ¶
func AssertComboBox(_ ComboBox)
func AssertComboBoxText ¶
func AssertComboBoxText(_ ComboBoxText)
func AssertCssProvider ¶
func AssertCssProvider(_ CssProvider)
func AssertDialog ¶
func AssertDialog(_ Dialog)
func AssertEditable ¶
func AssertEditable(_ Editable)
func AssertEntry ¶
func AssertEntry(_ Entry)
func AssertFileChooser ¶
func AssertFileChooser(_ FileChooser)
func AssertFileChooserDialog ¶
func AssertFileChooserDialog(_ FileChooserDialog)
func AssertGrid ¶
func AssertGrid(_ Grid)
func AssertHeaderBar ¶
func AssertHeaderBar(_ HeaderBar)
func AssertInfoBar ¶
func AssertInfoBar(_ InfoBar)
func AssertLabel ¶
func AssertLabel(_ Label)
func AssertListStore ¶
func AssertListStore(_ ListStore)
func AssertMenu ¶
func AssertMenu(_ Menu)
func AssertMenuBar ¶
func AssertMenuBar(_ MenuBar)
func AssertMenuItem ¶
func AssertMenuItem(_ MenuItem)
func AssertMenuShell ¶
func AssertMenuShell(_ MenuShell)
func AssertMessageDialog ¶
func AssertMessageDialog(_ MessageDialog)
func AssertNotebook ¶
func AssertNotebook(_ Notebook)
func AssertRevealer ¶
func AssertRevealer(_ Revealer)
func AssertScrolledWindow ¶
func AssertScrolledWindow(_ ScrolledWindow)
func AssertSeparatorMenuItem ¶
func AssertSeparatorMenuItem(_ SeparatorMenuItem)
func AssertStyleContext ¶
func AssertStyleContext(_ StyleContext)
func AssertStyleProvider ¶
func AssertStyleProvider(_ StyleProvider)
func AssertTextBuffer ¶
func AssertTextBuffer(_ TextBuffer)
func AssertTextIter ¶
func AssertTextIter(_ TextIter)
func AssertTextMark ¶
func AssertTextMark(_ TextMark)
func AssertTextTag ¶
func AssertTextTag(_ TextTag)
func AssertTextTagTable ¶
func AssertTextTagTable(_ TextTagTable)
func AssertTextView ¶
func AssertTextView(_ TextView)
func AssertToggleButton ¶
func AssertToggleButton(_ ToggleButton)
func AssertTreeIter ¶
func AssertTreeIter(_ TreeIter)
func AssertTreeModel ¶
func AssertTreeModel(_ TreeModel)
func AssertTreePath ¶
func AssertTreePath(_ TreePath)
func AssertTreeSelection ¶
func AssertTreeSelection(_ TreeSelection)
func AssertTreeStore ¶
func AssertTreeStore(_ TreeStore)
func AssertTreeView ¶
func AssertTreeView(_ TreeView)
func AssertTreeViewColumn ¶
func AssertTreeViewColumn(_ TreeViewColumn)
func AssertWidget ¶
func AssertWidget(_ Widget)
func AssertWindow ¶
func AssertWindow(_ Window)
Types ¶
type AboutDialog ¶
type AccelFlags ¶
type AccelFlags int
AccelFlags is a representation of GTK's GtkAccelFlags
var ( ACCEL_VISIBLE AccelFlags ACCEL_LOCKED AccelFlags ACCEL_MASK AccelFlags )
type AccelGroup ¶
type AccelGroup interface {
glibi.Object
Connect2(uint, gdki.ModifierType, AccelFlags, interface{})
}
type Adjustment ¶
type Application ¶
type Application interface {
glibi.Application
GetActiveWindow() Window
}
type ApplicationWindow ¶
type ApplicationWindow interface {
Window
}
type CellLayout ¶
type CellLayout interface {
AddAttribute(CellRenderer, string, int)
PackStart(CellRenderer, bool)
}
type CellRenderer ¶
type CellRendererText ¶
type CellRendererText interface {
CellRenderer
}
type CellRendererToggle ¶
type CellRendererToggle interface {
CellRenderer
}
type CheckButton ¶
type CheckButton interface {
ToggleButton
}
type CheckMenuItem ¶
type ComboBoxText ¶
type Dialog ¶
type Dialog interface {
Window
Run() int
SetDefaultResponse(ResponseType)
}
type FileChooser ¶
type FileChooserAction ¶
type FileChooserAction int
FileChooserAction is a representation of GTK's GtkFileChooserAction.
var ( FILE_CHOOSER_ACTION_OPEN FileChooserAction FILE_CHOOSER_ACTION_SAVE FileChooserAction FILE_CHOOSER_ACTION_SELECT_FOLDER FileChooserAction FILE_CHOOSER_ACTION_CREATE_FOLDER FileChooserAction )
type FileChooserDialog ¶
type FileChooserDialog interface {
Dialog
FileChooser
}
type Gtk ¶
type Gtk interface {
AboutDialogNew() (AboutDialog, error)
AccelGroupNew() (AccelGroup, error)
AcceleratorParse(string) (uint, gdki.ModifierType)
AddProviderForScreen(gdki.Screen, StyleProvider, uint)
ApplicationNew(string, glibi.ApplicationFlags) (Application, error)
BuilderNew() (Builder, error)
CellRendererTextNew() (CellRendererText, error)
CheckButtonNewWithMnemonic(string) (CheckButton, error)
CheckMenuItemNewWithMnemonic(string) (CheckMenuItem, error)
CssProviderNew() (CssProvider, error)
EntryNew() (Entry, error)
FileChooserDialogNewWith2Buttons(string, Window, FileChooserAction, string, ResponseType, string, ResponseType) (FileChooserDialog, error)
Init(*[]string)
LabelNew(string) (Label, error)
ListStoreNew(...glibi.Type) (ListStore, error)
MenuItemNew() (MenuItem, error)
MenuItemNewWithLabel(string) (MenuItem, error)
MenuItemNewWithMnemonic(string) (MenuItem, error)
MenuNew() (Menu, error)
SeparatorMenuItemNew() (SeparatorMenuItem, error)
TextBufferNew(TextTagTable) (TextBuffer, error)
TextTagNew(string) (TextTag, error)
TextTagTableNew() (TextTagTable, error)
TextViewNew() (TextView, error)
TreePathNew() TreePath
WindowSetDefaultIcon(gdki.Pixbuf)
}
type MessageDialog ¶
type MessageDialog interface {
Dialog
}
type ResponseType ¶
type ResponseType int
ResponseType is a representation of GTK's GtkResponseType.
var ( RESPONSE_NONE ResponseType RESPONSE_REJECT ResponseType RESPONSE_ACCEPT ResponseType RESPONSE_DELETE_EVENT ResponseType RESPONSE_OK ResponseType RESPONSE_CANCEL ResponseType RESPONSE_CLOSE ResponseType RESPONSE_YES ResponseType RESPONSE_NO ResponseType RESPONSE_APPLY ResponseType RESPONSE_HELP ResponseType )
type ScrolledWindow ¶
type ScrolledWindow interface {
Bin
GetVAdjustment() Adjustment
}
type SeparatorMenuItem ¶
type SeparatorMenuItem interface {
MenuItem
}
type StateFlags ¶
type StateFlags int
StateFlags is a representation of GTK's GtkStateFlags.
var ( STATE_FLAG_NORMAL StateFlags STATE_FLAG_ACTIVE StateFlags STATE_FLAG_PRELIGHT StateFlags STATE_FLAG_SELECTED StateFlags STATE_FLAG_INSENSITIVE StateFlags STATE_FLAG_INCONSISTENT StateFlags STATE_FLAG_FOCUSED StateFlags STATE_FLAG_BACKDROP StateFlags )
type StyleContext ¶
type StyleContext interface {
glibi.Object
AddClass(string)
AddProvider(StyleProvider, uint)
GetProperty2(string, StateFlags) (interface{}, error)
}
type StyleProvider ¶
type StyleProvider interface{}
type StyleProviderPriority ¶
type StyleProviderPriority int
StyleProviderPriority is a representation of GTK's GtkStyleProviderPriority.
var ( STYLE_PROVIDER_PRIORITY_FALLBACK StyleProviderPriority STYLE_PROVIDER_PRIORITY_THEME StyleProviderPriority STYLE_PROVIDER_PRIORITY_SETTINGS StyleProviderPriority STYLE_PROVIDER_PRIORITY_APPLICATION StyleProviderPriority STYLE_PROVIDER_PRIORITY_USER StyleProviderPriority )
type TextBuffer ¶
type TextBuffer interface {
glibi.Object
ApplyTagByName(string, TextIter, TextIter)
CreateMark(string, TextIter, bool) TextMark
Delete(TextIter, TextIter)
GetCharCount() int
GetEndIter() TextIter
GetIterAtMark(TextMark) TextIter
GetIterAtOffset(int) TextIter
GetLineCount() int
GetStartIter() TextIter
GetText(TextIter, TextIter, bool) string
Insert(TextIter, string)
}
type TextIter ¶
type TextIter interface {
BackwardChar() bool
BackwardChars(int) bool
BackwardCursorPosition() bool
BackwardCursorPositions(int) bool
BackwardLine() bool
BackwardLines(int) bool
BackwardToTagToggle(TextTag) bool
BackwardVisibleCursorPosition() bool
BackwardVisibleCursorPositions(int) bool
BackwardVisibleLine() bool
BackwardVisibleLines(int) bool
BeginsTag(TextTag) bool
CanInsert(bool) bool
Compare(TextIter) int
Editable(bool) bool
EndsLine() bool
EndsSentence() bool
EndsTag(TextTag) bool
EndsWord() bool
Equal(TextIter) bool
ForwardChar() bool
ForwardChars(int) bool
ForwardCursorPosition() bool
ForwardCursorPositions(int) bool
ForwardLine() bool
ForwardLines(int) bool
ForwardSentenceEnd() bool
ForwardSentenceEnds(int) bool
ForwardToEnd()
ForwardToLineEnd() bool
ForwardToTagToggle(TextTag) bool
ForwardVisibleCursorPosition() bool
ForwardVisibleCursorPositions(int) bool
ForwardVisibleLine() bool
ForwardVisibleLines(int) bool
ForwardVisibleWordEnd() bool
ForwardVisibleWordEnds(v1 int) bool
ForwardWordEnd() bool
ForwardWordEnds(int) bool
GetBuffer() TextBuffer
GetBytesInLine() int
GetChar() rune
GetCharsInLine() int
GetLine() int
GetLineIndex() int
GetLineOffset() int
GetOffset() int
GetSlice(TextIter) string
GetText(TextIter) string
GetVisibleLineIndex() int
GetVisibleLineOffset() int
GetVisibleSlice(TextIter) string
GetVisibleText(TextIter) string
HasTag(TextTag) bool
InRange(TextIter, TextIter) bool
InsideSentence() bool
InsideWord() bool
IsCursorPosition() bool
IsEnd() bool
IsStart() bool
SetLine(int)
SetLineIndex(int)
SetLineOffset(int)
SetOffset(int)
SetVisibleLineIndex(int)
SetVisibleLineOffset(int)
StartsLine() bool
StartsSentence() bool
StartsWord() bool
TogglesTag(TextTag) bool
}
type TextTagTable ¶
type TextView ¶
type TextView interface {
Container
BackwardDisplayLine(TextIter) bool
BackwardDisplayLineStart(TextIter) bool
ForwardDisplayLine(TextIter) bool
ForwardDisplayLineEnd(TextIter) bool
GetBuffer() (TextBuffer, error)
MoveVisually(TextIter, int) bool
SetBuffer(TextBuffer)
SetCursorVisible(bool)
SetEditable(bool)
StartsDisplayLine(TextIter) bool
}
type ToggleButton ¶
type TreeSelection ¶
type TreeView ¶
type TreeView interface {
Container
CollapseRow(TreePath) bool
ExpandAll()
GetCursor() (TreePath, TreeViewColumn)
GetPathAtPos(int, int, TreePath, TreeViewColumn, *int, *int) bool
GetSelection() (TreeSelection, error)
}
type TreeViewColumn ¶
type Widget ¶
type Widget interface {
glibi.Object
Destroy()
GetWindow() (gdki.Window, error)
GrabFocus()
GetAllocatedHeight() int
GetAllocatedWidth() int
GetStyleContext() (StyleContext, error)
GrabDefault()
Hide()
HideOnDelete()
SetHAlign(Align)
SetHExpand(bool)
SetMarginBottom(int)
SetMarginTop(int)
SetName(string)
SetSensitive(bool)
SetSizeRequest(int, int)
SetVisible(bool)
Show()
ShowAll()
}
Source Files
¶
- about_dialog.go
- accel_group.go
- adjustment.go
- application.go
- application_window.go
- bin.go
- box.go
- builder.go
- button.go
- cell_layout.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
- data.go
- dialog.go
- editable.go
- entry.go
- file_chooser.go
- file_chooser_dialog.go
- grid.go
- gtk.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
- notebook.go
- revealer.go
- scrolled_window.go
- separator_menu_item.go
- style_context.go
- style_provider.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_model.go
- tree_path.go
- tree_selection.go
- tree_store.go
- tree_view.go
- tree_view_column.go
- widget.go
- window.go
Click to show internal directories.
Click to hide internal directories.