Documentation ¶
Index ¶
- func AssertAboutDialog(_ AboutDialog)
- func AssertAccelGroup(_ AccelGroup)
- func AssertAdjustment(_ Adjustment)
- func AssertAllocation(_ Allocation)
- func AssertApplication(_ Application)
- func AssertApplicationWindow(_ ApplicationWindow)
- func AssertAssistant(_ Assistant)
- func AssertBox(_ Box)
- func AssertBuilder(_ Builder)
- func AssertButton(_ Button)
- func AssertButtonBox(_ ButtonBox)
- func AssertCSSClassCellRenderer(_ CSSClassCellRenderer)
- 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 AssertEventBox(_ EventBox)
- func AssertExpander(_ Expander)
- func AssertFileChooser(_ FileChooser)
- func AssertFileChooserDialog(_ FileChooserDialog)
- func AssertGrid(_ Grid)
- func AssertGtk(_ Gtk)
- func AssertHeaderBar(_ HeaderBar)
- func AssertIconTheme(_ IconTheme)
- func AssertImage(_ Image)
- func AssertInfoBar(_ InfoBar)
- func AssertLabel(_ Label)
- func AssertLinkButton(_ LinkButton)
- func AssertListBox(_ ListBox)
- func AssertListBoxRow(_ ListBoxRow)
- func AssertListStore(_ ListStore)
- func AssertMenu(_ Menu)
- func AssertMenuBar(_ MenuBar)
- func AssertMenuButton(_ MenuButton)
- func AssertMenuItem(_ MenuItem)
- func AssertMenuShell(_ MenuShell)
- func AssertMenuToolButton(_ MenuToolButton)
- func AssertMessageDialog(_ MessageDialog)
- func AssertModelButton(_ ModelButton)
- func AssertNotebook(_ Notebook)
- func AssertProgressBar(_ ProgressBar)
- func AssertRevealer(_ Revealer)
- func AssertScrolledWindow(_ ScrolledWindow)
- func AssertSearchBar(_ SearchBar)
- func AssertSearchEntry(_ SearchEntry)
- func AssertSeparatorMenuItem(_ SeparatorMenuItem)
- func AssertSettings(_ Settings)
- func AssertSizeGroup(_ SizeGroup)
- func AssertSpinButton(_ SpinButton)
- func AssertSpinner(_ Spinner)
- func AssertStatusIcon(_ StatusIcon)
- func AssertStyleContext(_ StyleContext)
- func AssertStyleProvider(_ StyleProvider)
- func AssertSwitch(_ Switch)
- func AssertTextBuffer(_ TextBuffer)
- func AssertTextIter(_ TextIter)
- func AssertTextMark(_ TextMark)
- func AssertTextTag(_ TextTag)
- func AssertTextTagTable(_ TextTagTable)
- func AssertTextView(_ TextView)
- func AssertToggleButton(_ ToggleButton)
- func AssertToolButton(_ ToolButton)
- func AssertToolItem(_ ToolItem)
- 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 Allocation
- type Application
- type ApplicationWindow
- type Assistant
- type AssistantPageType
- type Bin
- type Box
- type Builder
- type Button
- type ButtonBox
- type CSSClassCellRenderer
- 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 EntryCompletion
- type EventBox
- type Expander
- type FileChooser
- type FileChooserAction
- type FileChooserDialog
- type Grid
- type Gtk
- type HeaderBar
- type IconSize
- type IconTheme
- type Image
- type InfoBar
- type Justification
- type Label
- type LinkButton
- type ListBox
- type ListBoxRow
- type ListStore
- type Menu
- type MenuBar
- type MenuButton
- type MenuItem
- type MenuShell
- type MenuToolButton
- type MessageDialog
- type MessageType
- type ModelButton
- type Notebook
- type Orientable
- type Orientation
- type Overlay
- type PackType
- type Popover
- type ProgressBar
- type RadioButton
- type ResponseType
- type Revealer
- type ScrolledWindow
- type SearchBar
- type SearchEntry
- type Separator
- type SeparatorMenuItem
- type Settings
- type SizeGroup
- type SizeGroupMode
- type SpinButton
- type Spinner
- type StateFlags
- type StatusIcon
- type StyleContext
- type StyleProvider
- type StyleProviderPriority
- type Switch
- type TextBuffer
- type TextIter
- type TextMark
- type TextTag
- type TextTagTable
- type TextView
- type ToggleButton
- type ToolButton
- type ToolItem
- type TreeIter
- type TreeModel
- type TreePath
- type TreeSelection
- type TreeStore
- type TreeView
- type TreeViewColumn
- type Widget
- type Window
- type WindowType
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 AssertAllocation ¶
func AssertAllocation(_ Allocation)
func AssertApplication ¶
func AssertApplication(_ Application)
func AssertApplicationWindow ¶
func AssertApplicationWindow(_ ApplicationWindow)
func AssertAssistant ¶
func AssertAssistant(_ Assistant)
func AssertBuilder ¶
func AssertBuilder(_ Builder)
func AssertButton ¶
func AssertButton(_ Button)
func AssertButtonBox ¶
func AssertButtonBox(_ ButtonBox)
func AssertCSSClassCellRenderer ¶
func AssertCSSClassCellRenderer(_ CSSClassCellRenderer)
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 AssertEventBox ¶
func AssertEventBox(_ EventBox)
func AssertExpander ¶
func AssertExpander(_ Expander)
func AssertFileChooser ¶
func AssertFileChooser(_ FileChooser)
func AssertFileChooserDialog ¶
func AssertFileChooserDialog(_ FileChooserDialog)
func AssertGrid ¶
func AssertGrid(_ Grid)
func AssertHeaderBar ¶
func AssertHeaderBar(_ HeaderBar)
func AssertIconTheme ¶
func AssertIconTheme(_ IconTheme)
func AssertInfoBar ¶
func AssertInfoBar(_ InfoBar)
func AssertLabel ¶
func AssertLabel(_ Label)
func AssertLinkButton ¶
func AssertLinkButton(_ LinkButton)
func AssertListBox ¶
func AssertListBox(_ ListBox)
func AssertListBoxRow ¶
func AssertListBoxRow(_ ListBoxRow)
func AssertListStore ¶
func AssertListStore(_ ListStore)
func AssertMenu ¶
func AssertMenu(_ Menu)
func AssertMenuBar ¶
func AssertMenuBar(_ MenuBar)
func AssertMenuButton ¶
func AssertMenuButton(_ MenuButton)
func AssertMenuItem ¶
func AssertMenuItem(_ MenuItem)
func AssertMenuShell ¶
func AssertMenuShell(_ MenuShell)
func AssertMenuToolButton ¶
func AssertMenuToolButton(_ MenuToolButton)
func AssertMessageDialog ¶
func AssertMessageDialog(_ MessageDialog)
func AssertModelButton ¶
func AssertModelButton(_ ModelButton)
func AssertNotebook ¶
func AssertNotebook(_ Notebook)
func AssertProgressBar ¶
func AssertProgressBar(_ ProgressBar)
AssertProgressBar asserts the ProgressBar
func AssertRevealer ¶
func AssertRevealer(_ Revealer)
func AssertScrolledWindow ¶
func AssertScrolledWindow(_ ScrolledWindow)
func AssertSearchBar ¶
func AssertSearchBar(_ SearchBar)
func AssertSearchEntry ¶
func AssertSearchEntry(_ SearchEntry)
func AssertSeparatorMenuItem ¶
func AssertSeparatorMenuItem(_ SeparatorMenuItem)
func AssertSettings ¶
func AssertSettings(_ Settings)
func AssertSizeGroup ¶
func AssertSizeGroup(_ SizeGroup)
func AssertSpinButton ¶
func AssertSpinButton(_ SpinButton)
func AssertStatusIcon ¶
func AssertStatusIcon(_ StatusIcon)
func AssertStyleContext ¶
func AssertStyleContext(_ StyleContext)
func AssertStyleProvider ¶
func AssertStyleProvider(_ StyleProvider)
func AssertSwitch ¶
func AssertSwitch(_ Switch)
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 AssertToolButton ¶
func AssertToolButton(_ ToolButton)
func AssertToolItem ¶
func AssertToolItem(_ ToolItem)
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 Allocation ¶
type Application ¶
type ApplicationWindow ¶
type Assistant ¶
type Assistant interface { Window Commit() NextPage() PreviousPage() SetCurrentPage(pageNum int) GetCurrentPage() int // GetNPages() int GetNthPage(pageNum int) (Widget, error) // PrependPage(page Widget) int AppendPage(page Widget) int // InsertPage(page Widget, position int) int // RemovePage(pageNum int) SetPageType(page Widget, ptype AssistantPageType) GetPageType(page Widget) AssistantPageType SetPageTitle(page Widget, title string) // GetPageTitle(page Widget) string SetPageComplete(page Widget, complete bool) GetPageComplete(page Widget) bool AddActionWidget(child Widget) RemoveActionWidget(child Widget) UpdateButtonsState() // The following are suppossed to be helper methods to work with the assistant. // They are not part of the main GTK api. GetButtons() []Button GetButtonSizeGroup() (SizeGroup, error) GetHeaderBar() (HeaderBar, error) GetSidebar() (Box, error) GetNotebook() (Notebook, error) HideBottomActionArea() }
type AssistantPageType ¶
type AssistantPageType int
AssistantPageType is a representation of GTK's GtkAssistantPageType.
var ( ASSISTANT_PAGE_CONTENT AssistantPageType ASSISTANT_PAGE_INTRO AssistantPageType ASSISTANT_PAGE_CONFIRM AssistantPageType ASSISTANT_PAGE_SUMMARY AssistantPageType ASSISTANT_PAGE_PROGRESS AssistantPageType ASSISTANT_PAGE_CUSTOM AssistantPageType )
type CSSClassCellRenderer ¶
type CSSClassCellRenderer interface { CellRenderer SetReal(CellRenderer) }
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 EntryCompletion ¶
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) ApplicationWindowNew(Application) (ApplicationWindow, error) AssistantNew() (Assistant, error) BuilderNew() (Builder, error) BuilderNewFromResource(string) (Builder, error) CellRendererTextNew() (CellRendererText, error) CheckButtonNew() (CheckButton, error) CheckButtonNewWithMnemonic(string) (CheckButton, error) CheckMenuItemNewWithMnemonic(string) (CheckMenuItem, error) CheckVersion(major, minor, micro uint) error ComboBoxNew() (ComboBox, error) ComboBoxTextNew() (ComboBoxText, error) CssProviderNew() (CssProvider, error) CssProviderGetDefault() (CssProvider, error) CssProviderGetNamed(string, string) (CssProvider, error) EntryNew() (Entry, error) EventBoxNew() (EventBox, error) ButtonNewWithLabel(string) (Button, error) ButtonBoxNew(Orientation) (ButtonBox, error) FileChooserDialogNewWith2Buttons(string, Window, FileChooserAction, string, ResponseType, string, ResponseType) (FileChooserDialog, error) GetMajorVersion() uint GetMinorVersion() uint GetMicroVersion() uint IconThemeNew() (IconTheme, error) IconThemeGetDefault() IconTheme IconThemeGetForScreen(gdki.Screen) IconTheme ImageNewFromFile(string) (Image, error) ImageNewFromResource(string) (Image, error) ImageNewFromPixbuf(gdki.Pixbuf) (Image, error) ImageNewFromIconName(string, IconSize) (Image, error) Init(*[]string) InfoBarNew() (InfoBar, error) LabelNew(string) (Label, error) ListStoreNew(...glibi.Type) (ListStore, error) TreeStoreNew(...glibi.Type) (TreeStore, error) MenuBarNew() (MenuBar, error) MenuItemNew() (MenuItem, error) MenuItemNewWithLabel(string) (MenuItem, error) MenuItemNewWithMnemonic(string) (MenuItem, error) MenuNew() (Menu, error) SearchBarNew() (SearchBar, error) SearchEntryNew() (SearchEntry, error) SeparatorMenuItemNew() (SeparatorMenuItem, error) TextBufferNew(TextTagTable) (TextBuffer, error) TextTagNew(string) (TextTag, error) TextTagTableNew() (TextTagTable, error) TextViewNew() (TextView, error) TreePathNew() TreePath SpinnerNew() (Spinner, error) PopoverNew(Widget) (Popover, error) BoxNew(Orientation, int) (Box, error) WindowSetDefaultIcon(gdki.Pixbuf) SettingsGetDefault() (Settings, error) SeparatorNew(Orientation) (Separator, error) EntryCompletionNew() (EntryCompletion, error) WindowNew(WindowType) (Window, error) StatusIconNew() (StatusIcon, error) StatusIconNewFromFile(filename string) (StatusIcon, error) StatusIconNewFromIconName(iconName string) (StatusIcon, error) StatusIconNewFromPixbuf(pixbuf gdki.Pixbuf) (StatusIcon, error) GetWidgetBuildableName(Widget) (string, error) InfoBarSetRevealed(InfoBar, bool) InfoBarGetRevealed(InfoBar) bool }
type Image ¶
type Image interface { Widget SetFromIconName(string, IconSize) SetFromPixbuf(gdki.Pixbuf) Clear() }
Image is an interface of Gtk.Image
type InfoBar ¶
type InfoBar interface { Box AddActionWidget(Widget, ResponseType) AddButton(string, ResponseType) SetDefaultResponse(ResponseType) SetMessageType(MessageType) GetMessageType() MessageType GetActionArea() (Widget, error) GetContentArea() (Box, error) GetShowCloseButton() bool SetShowCloseButton(bool) }
type Justification ¶
type Justification int
var ( JUSTIFY_LEFT Justification JUSTIFY_RIGHT Justification JUSTIFY_CENTER Justification JUSTIFY_FILL Justification )
type LinkButton ¶
type ListBox ¶
type ListBox interface { Container SelectRow(ListBoxRow) GetRowAtIndex(int) ListBoxRow GetSelectedRow() ListBoxRow }
type ListBoxRow ¶
type MenuButton ¶
type MenuToolButton ¶
type MenuToolButton interface { ToolButton }
type MessageDialog ¶
type MessageDialog interface { Dialog }
type MessageType ¶
type MessageType int
var ( MESSAGE_INFO MessageType MESSAGE_WARNING MessageType MESSAGE_QUESTION MessageType MESSAGE_ERROR MessageType MESSAGE_OTHER MessageType )
type ModelButton ¶
type ModelButton interface { Button }
type Orientable ¶
type Orientable interface { GetOrientation() Orientation SetOrientation(Orientation) }
Orientable is an interface for objects that can change their orientation
type Orientation ¶
type Orientation int
Orientation is a layout of an Orientable
const ( HorizontalOrientation Orientation = iota VerticalOrientation )
type ProgressBar ¶
type ProgressBar interface { Widget SetFraction(float64) GetFraction() float64 SetShowText(bool) GetShowText() bool SetText(string) }
ProgressBar is an interface of Gtk.ProgressBar
type RadioButton ¶
type RadioButton interface { CheckButton }
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 SearchEntry ¶
type SearchEntry interface { Entry }
type SeparatorMenuItem ¶
type SeparatorMenuItem interface { MenuItem }
type SizeGroup ¶
type SizeGroup interface {
SetMode(SizeGroupMode)
}
type SizeGroupMode ¶
type SizeGroupMode int
var ( SIZE_GROUP_NONE SizeGroupMode SIZE_GROUP_HORIZONTAL SizeGroupMode SIZE_GROUP_VERTICAL SizeGroupMode SIZE_GROUP_BOTH SizeGroupMode )
type SpinButton ¶
type Spinner ¶
type Spinner interface { Widget Start() Stop() }
Spinner is an interface of Gtk.Spinner
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 StatusIcon ¶
type StatusIcon interface { glibi.Object SetFromFile(filename string) SetFromIconName(iconName string) SetFromPixbuf(pixbuf gdki.Pixbuf) SetTooltipText(text string) GetTooltipText() string SetTooltipMarkup(markup string) GetTooltipMarkup() string SetHasTooltip(hasTooltip bool) GetTitle() string SetName(name string) SetVisible(visible bool) GetVisible() bool IsEmbedded() bool GetX11WindowID() uint32 GetHasTooltip() bool SetTitle(title string) GetIconName() string GetSize() int }
type StyleContext ¶
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) GetBounds() (TextIter, TextIter) GetCharCount() int GetEndIter() TextIter GetIterAtMark(TextMark) TextIter GetIterAtOffset(int) TextIter GetLineCount() int GetStartIter() TextIter GetText(TextIter, TextIter, bool) string Insert(TextIter, string) InsertAtCursor(string) InsertWithTagByName(TextIter, string, string) SetText(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 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 SetJustification(Justification) GetJustification() Justification }
type ToggleButton ¶
type ToolButton ¶
type ToolButton interface { ToolItem }
type TreeSelection ¶
type TreeView ¶
type TreeView interface { Container RowExpanded(TreePath) bool ExpandRow(TreePath, bool) bool CollapseRow(TreePath) bool ExpandAll() GetCursor() (TreePath, TreeViewColumn) GetPathAtPos(int, int) (TreePath, TreeViewColumn, int, int, bool) GetSelection() (TreeSelection, error) SetEnableSearch(bool) GetEnableSearch() bool SetSearchColumn(int) GetSearchColumn() int SetSearchEntry(Entry) GetSearchEntry() Entry SetSearchEqualSubstringMatch() GetModel() (TreeModel, error) SetModel(TreeModel) SetCursorOnCell(TreePath, TreeViewColumn, CellRenderer, bool) }
type TreeViewColumn ¶
type Widget ¶
type Widget interface { glibi.Object Destroy() GetWindow() (gdki.Window, error) GrabFocus() GetAllocatedHeight() int GetAllocatedWidth() int GetAllocation() Allocation GetName() (string, error) GetParent() (Widget, error) GetParentX() (Widget, error) GetStyleContext() (StyleContext, error) GrabDefault() SetCanFocus(bool) HasFocus() bool Hide() HideOnDelete() Map() SetHAlign(Align) SetHExpand(bool) SetVAlign(Align) SetVExpand(bool) SetMarginBottom(int) SetMarginTop(int) SetName(string) SetNoShowAll(bool) SetSensitive(bool) IsSensitive() bool SetOpacity(float64) SetSizeRequest(int, int) SetTooltipText(string) SetVisible(bool) IsVisible() bool Show() ShowAll() TemplateChild(string) (glibi.Object, error) }
type Window ¶
type Window interface { Bin ActivateMnemonic(uint, gdki.ModifierType) bool AddAccelGroup(AccelGroup) AddMnemonic(uint, Widget) Deiconify() Fullscreen() GetMnemonicModifier() gdki.ModifierType GetTitle() string GetSize() (int, int) HasToplevelFocus() bool Iconify() IsActive() bool Maximize() Present() Resize(int, int) RemoveMnemonic(uint, Widget) SetApplication(Application) SetDecorated(bool) SetIcon(gdki.Pixbuf) SetMnemonicModifier(gdki.ModifierType) SetTitle(string) SetTitlebar(Widget) // Since 3.10 SetTransientFor(Window) GetTransientFor() (Window, error) SetUrgencyHint(bool) Unfullscreen() Unmaximize() GetPosition() (int, int) Move(int, int) }
Source Files ¶
- about_dialog.go
- accel_group.go
- adjustment.go
- allocation.go
- application.go
- application_window.go
- assistant.go
- bin.go
- box.go
- builder.go
- button.go
- button_box.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_class_cell_renderer.go
- css_provider.go
- data.go
- dialog.go
- editable.go
- entry.go
- entry_completion.go
- event_box.go
- expander.go
- file_chooser.go
- file_chooser_dialog.go
- grid.go
- gtk.go
- header_bar.go
- icon_theme.go
- image.go
- info_bar.go
- label.go
- link_button.go
- list_store.go
- listbox.go
- listbox_row.go
- menu.go
- menu_bar.go
- menu_button.go
- menu_item.go
- menu_shell.go
- menu_tool_button.go
- message_dialog.go
- model_button.go
- notebook.go
- orientable.go
- overlay.go
- popover.go
- progress_bar.go
- radio_button.go
- revealer.go
- scrolled_window.go
- search_bar.go
- search_entry.go
- separator.go
- separator_menu_item.go
- settings.go
- size_group.go
- spin_button.go
- spinner.go
- status_icon.go
- style_context.go
- style_provider.go
- switch.go
- text_buffer.go
- text_iter.go
- text_mark.go
- text_tag.go
- text_tag_table.go
- text_view.go
- toggle_button.go
- tool_button.go
- tool_item.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