Documentation ¶
Overview ¶
Go bindings for GTK+ 3. Supports version 3.6 and later.
Functions use the same names as the native C function calls, but use CamelCase. In cases where native GTK uses pointers to values to simulate multiple return values, Go's native multiple return values are used instead. Whenever a native GTK call could return an unexpected NULL pointer, an additional error is returned in the Go binding.
GTK's C API documentation can be very useful for understanding how the functions in this package work and what each type is for. This documentation can be found at https://developer.gnome.org/gtk3/.
In addition to Go versions of the C GTK functions, every struct type includes a method named Native (either by direct implementation, or by means of struct embedding). These methods return a uintptr of the native C object the binding type represents. These pointers may be type switched to a native C pointer using unsafe and used with cgo function calls outside this package.
Memory management is handled in proper Go fashion, using runtime finalizers to properly free memory when it is no longer needed. Each time a Go type is created with a pointer to a GObject, a reference is added for Go, sinking the floating reference when necessary. After going out of scope and the next time Go's garbage collector is run, a finalizer is run to remove Go's reference to the GObject. When this reference count hits zero (when neither Go nor GTK holds ownership) the object will be freed internally by GTK.
Index ¶
- Constants
- Variables
- func AccelGroupsActivate(obj *glib.Object, key uint, mods gdk.ModifierType) bool
- func AccelGroupsFromObject(obj *glib.Object) *glib.SList
- func AccelMapAddEntry(path string, key uint, mods gdk.ModifierType)
- func AccelMapAddFilter(filter string)
- func AccelMapChangeEntry(path string, key uint, mods gdk.ModifierType, replace bool) bool
- func AccelMapLoad(fileName string)
- func AccelMapLoadFD(fd int)
- func AccelMapLockPath(path string)
- func AccelMapSave(fileName string)
- func AccelMapSaveFD(fd int)
- func AccelMapUnlockPath(path string)
- func AcceleratorGetDefaultModMask() gdk.ModifierType
- func AcceleratorGetLabel(key uint, mods gdk.ModifierType) string
- func AcceleratorName(key uint, mods gdk.ModifierType) string
- func AcceleratorParse(acc string) (key uint, mods gdk.ModifierType)
- func AcceleratorSetDefaultModMask(mods gdk.ModifierType)
- func AcceleratorValid(key uint, mods gdk.ModifierType) bool
- func AddProviderForScreen(s *gdk.Screen, provider IStyleProvider, prio uint)
- func CheckVersion(major, minor, micro uint) error
- func DragSetIconPixbuf(context *gdk.DragContext, pixbuf *gdk.Pixbuf, hot_x int, hot_y int)
- func EventsPending() bool
- func GdkCairoSetSourcePixBuf(cr *cairo.Context, pixbuf *gdk.Pixbuf, pixbufX, pixbufY float64)
- func GetData(pointer uintptr) (data []byte)
- func GetMajorVersion() uint
- func GetMicroVersion() uint
- func GetMinorVersion() uint
- func Init(args *[]string)
- func InitCheck(args *[]string) error
- func Main()
- func MainIteration() bool
- func MainIterationDo(blocking bool) bool
- func MainQuit()
- func OpenFileChooserNative(title string, parent_window IWindow) *string
- func PaperSizeGetDefaultRightMargin(unit Unit) string
- func PaperSizeGetPaperSizes(includeCustom bool) *glib.List
- func PrintRunPageSetupDialogAsync(parent IWindow, setup *PageSetup, settings *PrintSettings, ...)
- func RemoveProviderForScreen(s *gdk.Screen, provider IStyleProvider)
- func SetData(pointer uintptr, atom gdk.Atom, data []byte)
- func SetInteractiveDebugging(enable bool)
- func StyleContextResetWidgets(v *gdk.Screen)
- func TestInit(args *[]string)
- func TestListAllTypes() []glib.Type
- func TestRegisterAllTypes()
- func TestWidgetSendKey(widget IWidget, keyval uint, modifiers gdk.ModifierType) bool
- func TestWidgetWaitForDraw(widget IWidget)
- func WidgetToLabel(widget *Widget) (interface{}, error)
- func WindowGetDefaultIconList() *glib.List
- func WindowGetDefaultIconName() (string, error)
- func WindowListToplevels() *glib.List
- func WindowSetAutoStartupNotification(setting bool)
- func WindowSetDefaultIcon(icon *gdk.Pixbuf)
- func WindowSetDefaultIconFromFile(file string) error
- func WindowSetDefaultIconList(list *glib.List)
- func WindowSetDefaultIconName(s string)
- type AboutDialog
- func (v *AboutDialog) AddCreditSection(sectionName string, people []string)
- func (v *AboutDialog) GetArtists() []string
- func (v *AboutDialog) GetAuthors() []string
- func (v *AboutDialog) GetComments() string
- func (v *AboutDialog) GetCopyright() string
- func (v *AboutDialog) GetDocumenters() []string
- func (v *AboutDialog) GetLicense() string
- func (v *AboutDialog) GetLicenseType() License
- func (v *AboutDialog) GetLogo() (*gdk.Pixbuf, error)
- func (v *AboutDialog) GetLogoIconName() string
- func (v *AboutDialog) GetProgramName() string
- func (v *AboutDialog) GetTranslatorCredits() string
- func (v *AboutDialog) GetVersion() string
- func (v *AboutDialog) GetWebsite() string
- func (v *AboutDialog) GetWebsiteLabel() string
- func (v *AboutDialog) GetWrapLicense() bool
- func (v *AboutDialog) SetArtists(artists []string)
- func (v *AboutDialog) SetAuthors(authors []string)
- func (v *AboutDialog) SetComments(comments string)
- func (v *AboutDialog) SetCopyright(copyright string)
- func (v *AboutDialog) SetDocumenters(documenters []string)
- func (v *AboutDialog) SetLicense(license string)
- func (v *AboutDialog) SetLicenseType(license License)
- func (v *AboutDialog) SetLogo(logo *gdk.Pixbuf)
- func (v *AboutDialog) SetLogoIconName(name string)
- func (v *AboutDialog) SetProgramName(name string)
- func (v *AboutDialog) SetTranslatorCredits(translatorCredits string)
- func (v *AboutDialog) SetVersion(version string)
- func (v *AboutDialog) SetWebsite(website string)
- func (v *AboutDialog) SetWebsiteLabel(websiteLabel string)
- func (v *AboutDialog) SetWrapLicense(wrapLicense bool)
- type AccelFlags
- type AccelGroup
- func (v *AccelGroup) Activate(quark glib.Quark, acceleratable *glib.Object, key uint, mods gdk.ModifierType) bool
- func (v *AccelGroup) Connect(key uint, mods gdk.ModifierType, flags AccelFlags, f interface{})
- func (v *AccelGroup) ConnectByPath(path string, f interface{})
- func (v *AccelGroup) Disconnect(f interface{})
- func (v *AccelGroup) DisconnectKey(key uint, mods gdk.ModifierType)
- func (v *AccelGroup) GetModifierMask() gdk.ModifierType
- func (v *AccelGroup) IsLocked() bool
- func (v *AccelGroup) Lock()
- func (v *AccelGroup) Unlock()
- type AccelKey
- type AccelMap
- type ActionBar
- type Actionable
- type Adjustment
- func (v *Adjustment) Configure(value, lower, upper, stepIncrement, pageIncrement, pageSize float64)
- func (v *Adjustment) GetLower() float64
- func (v *Adjustment) GetMinimumIncrement() float64
- func (v *Adjustment) GetPageIncrement() float64
- func (v *Adjustment) GetPageSize() float64
- func (v *Adjustment) GetStepIncrement() float64
- func (v *Adjustment) GetUpper() float64
- func (v *Adjustment) GetValue() float64
- func (v *Adjustment) SetLower(value float64)
- func (v *Adjustment) SetPageIncrement(value float64)
- func (v *Adjustment) SetPageSize(value float64)
- func (v *Adjustment) SetStepIncrement(value float64)
- func (v *Adjustment) SetUpper(value float64)
- func (v *Adjustment) SetValue(value float64)
- type Align
- type Allocation
- type AppChooser
- type AppChooserButton
- func (v *AppChooserButton) AppendSeparator()
- func (v *AppChooserButton) GetHeading() (string, error)
- func (v *AppChooserButton) GetShowDefaultItem() bool
- func (v *AppChooserButton) GetShowDialogItem() bool
- func (v *AppChooserButton) SetActiveCustomItem(name string)
- func (v *AppChooserButton) SetHeading(heading string)
- func (v *AppChooserButton) SetShowDefaultItem(setting bool)
- func (v *AppChooserButton) SetShowDialogItem(setting bool)
- type AppChooserDialog
- type AppChooserWidget
- func (v *AppChooserWidget) GetDefaultText() (string, error)
- func (v *AppChooserWidget) GetShowAll() bool
- func (v *AppChooserWidget) GetShowDefault() bool
- func (v *AppChooserWidget) GetShowFallback() bool
- func (v *AppChooserWidget) GetShowOther() bool
- func (v *AppChooserWidget) GetShowRecommended() bool
- func (v *AppChooserWidget) SetDefaultText(text string)
- func (v *AppChooserWidget) SetShowAll(setting bool)
- func (v *AppChooserWidget) SetShowDefault(setting bool)
- func (v *AppChooserWidget) SetShowFallback(setting bool)
- func (v *AppChooserWidget) SetShowOther(setting bool)
- func (v *AppChooserWidget) SetShowRecommended(setting bool)
- type Application
- func (v *Application) AddWindow(w IWindow)
- func (v *Application) GetAccelsForAction(act string) []string
- func (v *Application) GetActionsForAccel(acc string) []string
- func (v *Application) GetActiveWindow() *Window
- func (v *Application) GetAppMenu() *glib.MenuModel
- func (v *Application) GetMenuByID(id string) *glib.Menu
- func (v *Application) GetMenubar() *glib.MenuModel
- func (v *Application) GetWindowByID(id uint) *Window
- func (v *Application) GetWindows() *glib.List
- func (v *Application) Inhibited(w IWindow, flags ApplicationInhibitFlags, reason string) uint
- func (v *Application) IsInhibited(flags ApplicationInhibitFlags) bool
- func (v *Application) ListActionDescriptions() []string
- func (v *Application) PrefersAppMenu() bool
- func (v *Application) RemoveWindow(w IWindow)
- func (v *Application) SetAccelsForAction(act string, accels []string)
- func (v *Application) SetAppMenu(m *glib.MenuModel)
- func (v *Application) SetMenubar(m *glib.MenuModel)
- func (v *Application) Uninhibit(cookie uint)
- type ApplicationInhibitFlags
- type ApplicationWindow
- type ArrowPlacement
- type ArrowType
- type AspectFrame
- type Assistant
- func (v *Assistant) AddActionWidget(child IWidget)
- func (v *Assistant) AppendPage(page IWidget) int
- func (v *Assistant) Commit()
- func (v *Assistant) GetCurrentPage() int
- func (v *Assistant) GetNPages() int
- func (v *Assistant) GetNthPage(pageNum int) (*Widget, error)
- func (v *Assistant) GetPageComplete(page IWidget) bool
- func (v *Assistant) GetPageTitle(page IWidget) string
- func (v *Assistant) GetPageType(page IWidget) AssistantPageType
- func (v *Assistant) InsertPage(page IWidget, position int) int
- func (v *Assistant) NextPage()
- func (v *Assistant) PrependPage(page IWidget) int
- func (v *Assistant) PreviousPage()
- func (v *Assistant) RemoveActionWidget(child IWidget)
- func (v *Assistant) RemovePage(pageNum int)
- func (v *Assistant) SetCurrentPage(pageNum int)
- func (v *Assistant) SetPageComplete(page IWidget, complete bool)
- func (v *Assistant) SetPageTitle(page IWidget, title string)
- func (v *Assistant) SetPageType(page IWidget, ptype AssistantPageType)
- func (v *Assistant) UpdateButtonsState()
- type AssistantPageType
- type Bin
- type Box
- func (a *Box) GetCenterWidget() *Widget
- func (v *Box) GetHomogeneous() bool
- func (v *Box) GetOrientation() Orientation
- func (v *Box) GetSpacing() int
- func (v *Box) PackEnd(child IWidget, expand, fill bool, padding uint)
- func (v *Box) PackStart(child IWidget, expand, fill bool, padding uint)
- func (v *Box) QueryChildPacking(child IWidget) (expand, fill bool, padding uint, packType PackType)
- func (v *Box) ReorderChild(child IWidget, position int)
- func (a *Box) SetCenterWidget(child IWidget)
- func (v *Box) SetChildPacking(child IWidget, expand, fill bool, padding uint, packType PackType)
- func (v *Box) SetHomogeneous(homogeneous bool)
- func (v *Box) SetOrientation(o Orientation)
- func (v *Box) SetSpacing(spacing int)
- type Builder
- type Button
- func (v *Button) Clicked()
- func (v *Button) GetAlwaysShowImage() bool
- func (v *Button) GetEventWindow() (*gdk.Window, error)
- func (v *Button) GetImage() (*Widget, error)
- func (v *Button) GetImagePosition() PositionType
- func (v *Button) GetLabel() (string, error)
- func (v *Button) GetRelief() ReliefStyle
- func (v *Button) GetUseUnderline() bool
- func (v *Button) SetAlwaysShowImage(alwaysShow bool)
- func (v *Button) SetImage(image IWidget)
- func (v *Button) SetImagePosition(position PositionType)
- func (v *Button) SetLabel(label string)
- func (v *Button) SetRelief(newStyle ReliefStyle)
- func (v *Button) SetUseUnderline(useUnderline bool)
- type ButtonBox
- func (v *ButtonBox) GetChildNonHomogeneous(child IWidget) bool
- func (v *ButtonBox) GetChildSecondary(child IWidget) bool
- func (v *ButtonBox) GetLayout() ButtonBoxStyle
- func (v *ButtonBox) SetChildNonHomogeneous(child IWidget, nonHomogeneous bool)
- func (v *ButtonBox) SetChildSecondary(child IWidget, isSecondary bool)
- func (v *ButtonBox) SetLayout(style ButtonBoxStyle)
- type ButtonBoxStyle
- type ButtonRole
- type ButtonsType
- type Calendar
- func (v *Calendar) ClearMarks()
- func (v *Calendar) GetDate() (year, month, day uint)
- func (v *Calendar) GetDayIsMarked(day uint) bool
- func (v *Calendar) GetDetailHeightRows() int
- func (v *Calendar) GetDetailWidthChars() int
- func (v *Calendar) GetDisplayOptions() CalendarDisplayOptions
- func (v *Calendar) MarkDay(day uint)
- func (v *Calendar) SelectDay(day uint)
- func (v *Calendar) SelectMonth(month, year uint)
- func (v *Calendar) SetDetailHeightRows(rows int)
- func (v *Calendar) SetDetailWidthChars(chars int)
- func (v *Calendar) SetDisplayOptions(flags CalendarDisplayOptions)
- func (v *Calendar) UnmarkDay(day uint)
- type CalendarDisplayOptions
- type CellLayout
- type CellRenderer
- type CellRendererPixbuf
- type CellRendererProgress
- type CellRendererSpinner
- type CellRendererText
- type CellRendererToggle
- func (v *CellRendererToggle) GetActivatable() bool
- func (v *CellRendererToggle) GetActive() bool
- func (v *CellRendererToggle) GetRadio() bool
- func (v *CellRendererToggle) SetActivatable(activatable bool)
- func (v *CellRendererToggle) SetActive(active bool)
- func (v *CellRendererToggle) SetRadio(set bool)
- type CheckButton
- type CheckMenuItem
- func (v *CheckMenuItem) GetActive() bool
- func (v *CheckMenuItem) GetDrawAsRadio() bool
- func (v *CheckMenuItem) GetInconsistent() bool
- func (v *CheckMenuItem) SetActive(isActive bool)
- func (v *CheckMenuItem) SetDrawAsRadio(drawAsRadio bool)
- func (v *CheckMenuItem) SetInconsistent(setting bool)
- func (v *CheckMenuItem) Toggled()
- type Clipboard
- func (v *Clipboard) SetImage(pixbuf *gdk.Pixbuf)
- func (v *Clipboard) SetText(text string)
- func (v *Clipboard) Store()
- func (v *Clipboard) WaitForContents(target gdk.Atom) (*SelectionData, error)
- func (v *Clipboard) WaitForImage() (*gdk.Pixbuf, error)
- func (v *Clipboard) WaitForText() (string, error)
- func (v *Clipboard) WaitIsImageAvailable() bool
- func (v *Clipboard) WaitIsRichTextAvailable(buf *TextBuffer) bool
- func (v *Clipboard) WaitIsTargetAvailable(target gdk.Atom) bool
- func (v *Clipboard) WaitIsTextAvailable() bool
- func (v *Clipboard) WaitIsUrisAvailable() bool
- type ColorButton
- type ColorChooser
- type ColorChooserDialog
- type Cols
- type ComboBox
- func (v *ComboBox) GetActive() int
- func (v *ComboBox) GetActiveID() string
- func (v *ComboBox) GetActiveIter() (*TreeIter, error)
- func (v *ComboBox) GetColumnSpanColumn() int
- func (v *ComboBox) GetEntry() (*Entry, error)
- func (v *ComboBox) GetEntryTextColumn() int
- func (v *ComboBox) GetHasEntry() bool
- func (v *ComboBox) GetIDColumn() int
- func (v *ComboBox) GetModel() (*TreeModel, error)
- func (v *ComboBox) GetPopupFixedWidth() bool
- func (v *ComboBox) GetRowSpanColumn() int
- func (v *ComboBox) GetWrapWidth() int
- func (v *ComboBox) Popdown()
- func (v *ComboBox) Popup()
- func (v *ComboBox) PopupForDevice(device *gdk.Device)
- func (v *ComboBox) SetActive(index int)
- func (v *ComboBox) SetActiveID(id string) bool
- func (v *ComboBox) SetActiveIter(iter *TreeIter)
- func (v *ComboBox) SetColumnSpanColumn(wrapWidth int)
- func (v *ComboBox) SetEntryTextColumn(textColumn int)
- func (v *ComboBox) SetIDColumn(idColumn int)
- func (v *ComboBox) SetModel(model ITreeModel)
- func (v *ComboBox) SetPopupFixedWidth(fixedWidth bool)
- func (v *ComboBox) SetRowSpanColumn(rowSpan int)
- func (v *ComboBox) SetWrapWidth(wrapWidth int)
- type ComboBoxText
- func (v *ComboBoxText) Append(id, text string)
- func (v *ComboBoxText) AppendText(text string)
- func (v *ComboBoxText) GetActiveText() string
- func (v *ComboBoxText) Insert(position int, id, text string)
- func (v *ComboBoxText) InsertText(position int, text string)
- func (v *ComboBoxText) Prepend(id, text string)
- func (v *ComboBoxText) PrependText(text string)
- func (v *ComboBoxText) Remove(position int)
- func (v *ComboBoxText) RemoveAll()
- type Container
- func (v *Container) Add(w IWidget)
- func (v *Container) CheckResize()
- func (v *Container) ChildGetProperty(child IWidget, name string, valueType glib.Type) (interface{}, error)
- func (v *Container) ChildNotify(child IWidget, childProperty string)
- func (v *Container) ChildSetProperty(child IWidget, name string, value interface{}) error
- func (v *Container) ChildType() glib.Type
- func (v *Container) GetBorderWidth() uint
- func (v *Container) GetChildren() *glib.List
- func (v *Container) GetFocusChild() *Widget
- func (v *Container) GetFocusHAdjustment() *Adjustment
- func (v *Container) GetFocusVAdjustment() *Adjustment
- func (v *Container) PropagateDraw(child IWidget, cr *cairo.Context)
- func (v *Container) Remove(w IWidget)
- func (v *Container) SetBorderWidth(borderWidth uint)
- func (v *Container) SetFocusChild(child IWidget)
- func (v *Container) SetFocusHAdjustment(adjustment *Adjustment)
- func (v *Container) SetFocusVAdjustment(adjustment *Adjustment)
- type CornerType
- type CssProvider
- type DestDefaults
- type Dialog
- func (v *Dialog) AddActionWidget(child IWidget, id ResponseType)
- func (v *Dialog) AddButton(text string, id ResponseType) (*Button, error)
- func (v *Dialog) GetContentArea() (*Box, error)
- func (v *Dialog) GetHeaderBar() *Widget
- func (v *Dialog) GetResponseForWidget(widget IWidget) ResponseType
- func (v *Dialog) GetWidgetForResponse(id ResponseType) (*Widget, error)
- func (v *Dialog) Response(response ResponseType)
- func (v *Dialog) Run() ResponseType
- func (v *Dialog) SetDefaultResponse(id ResponseType)
- func (v *Dialog) SetResponseSensitive(id ResponseType, setting bool)
- type DialogFlags
- type DrawingArea
- type Editable
- func (v *Editable) CopyClipboard()
- func (v *Editable) CutClipboard()
- func (v *Editable) DeleteSelection()
- func (v *Editable) DeleteText(startPos, endPos int)
- func (v *Editable) GetChars(startPos, endPos int) string
- func (v *Editable) GetEditable() bool
- func (v *Editable) GetPosition() int
- func (v *Editable) GetSelectionBounds() (start, end int, nonEmpty bool)
- func (v *Editable) InsertText(newText string, position int) int
- func (v *Editable) PasteClipboard()
- func (v *Editable) SelectRegion(startPos, endPos int)
- func (v *Editable) SetEditable(isEditable bool)
- func (v *Editable) SetPosition(position int)
- type Entry
- func (v *Entry) GetActivatesDefault() bool
- func (v *Entry) GetAlignment() float32
- func (v *Entry) GetBuffer() (*EntryBuffer, error)
- func (v *Entry) GetCompletion() (*EntryCompletion, error)
- func (v *Entry) GetCurrentIconDragSource() int
- func (v *Entry) GetCursorHAdjustment() (*Adjustment, error)
- func (v *Entry) GetHasFrame() bool
- func (v *Entry) GetIconActivatable(iconPos EntryIconPosition) bool
- func (v *Entry) GetIconArea(iconPos EntryIconPosition) *gdk.Rectangle
- func (v *Entry) GetIconAtPos(x, y int) int
- func (v *Entry) GetIconName(iconPos EntryIconPosition) (string, error)
- func (v *Entry) GetIconSensitive(iconPos EntryIconPosition) bool
- func (v *Entry) GetIconStorageType(iconPos EntryIconPosition) ImageType
- func (v *Entry) GetIconTooltipMarkup(iconPos EntryIconPosition) (string, error)
- func (v *Entry) GetIconTooltipText(iconPos EntryIconPosition) (string, error)
- func (v *Entry) GetInputHints() InputHints
- func (v *Entry) GetInputPurpose() InputPurpose
- func (v *Entry) GetInvisibleChar() rune
- func (v *Entry) GetLayoutOffsets() (x, y int)
- func (v *Entry) GetMaxLength() int
- func (v *Entry) GetMaxWidthChars() int
- func (v *Entry) GetOverwriteMode() bool
- func (v *Entry) GetPlaceholderText() (string, error)
- func (v *Entry) GetProgressFraction() float64
- func (v *Entry) GetProgressPulseStep() float64
- func (v *Entry) GetText() (string, error)
- func (v *Entry) GetTextArea() *gdk.Rectangle
- func (v *Entry) GetTextLength() uint16
- func (v *Entry) GetVisibility() bool
- func (v *Entry) GetWidthChars() int
- func (v *Entry) GrabFocusWithoutSelecting()
- func (v *Entry) LayoutIndexToTextIndex(layoutIndex int) int
- func (v *Entry) ProgressPulse()
- func (v *Entry) RemoveIcon(iconPos EntryIconPosition)
- func (v *Entry) ResetIMContext()
- func (v *Entry) SetActivatesDefault(setting bool)
- func (v *Entry) SetAlignment(xalign float32)
- func (v *Entry) SetBuffer(buffer *EntryBuffer)
- func (v *Entry) SetCompletion(completion *EntryCompletion)
- func (v *Entry) SetCursorHAdjustment(adjustment *Adjustment)
- func (v *Entry) SetHasFrame(setting bool)
- func (v *Entry) SetIconActivatable(iconPos EntryIconPosition, activatable bool)
- func (v *Entry) SetIconFromIconName(iconPos EntryIconPosition, name string)
- func (v *Entry) SetIconFromPixbuf(iconPos EntryIconPosition, pixbuf *gdk.Pixbuf)
- func (v *Entry) SetIconSensitive(iconPos EntryIconPosition, sensitive bool)
- func (v *Entry) SetIconTooltipMarkup(iconPos EntryIconPosition, tooltip string)
- func (v *Entry) SetIconTooltipText(iconPos EntryIconPosition, tooltip string)
- func (v *Entry) SetInputHints(hints InputHints)
- func (v *Entry) SetInputPurpose(purpose InputPurpose)
- func (v *Entry) SetInvisibleChar(ch rune)
- func (v *Entry) SetMaxLength(len int)
- func (v *Entry) SetMaxWidthChars(nChars int)
- func (v *Entry) SetOverwriteMode(overwrite bool)
- func (v *Entry) SetPlaceholderText(text string)
- func (v *Entry) SetProgressFraction(fraction float64)
- func (v *Entry) SetProgressPulseStep(fraction float64)
- func (v *Entry) SetText(text string)
- func (v *Entry) SetVisibility(visible bool)
- func (v *Entry) SetWidthChars(nChars int)
- func (v *Entry) TextIndexToLayoutIndex(textIndex int) int
- func (v *Entry) UnsetInvisibleChar()
- type EntryBuffer
- func (v *EntryBuffer) DeleteText(position uint, nChars int) uint
- func (v *EntryBuffer) EmitDeletedText(pos, nChars uint)
- func (v *EntryBuffer) EmitInsertedText(pos uint, text string)
- func (v *EntryBuffer) GetBytes() uint
- func (v *EntryBuffer) GetLength() uint
- func (v *EntryBuffer) GetMaxLength() int
- func (v *EntryBuffer) GetText() (string, error)
- func (v *EntryBuffer) InsertText(position uint, text string) uint
- func (v *EntryBuffer) SetMaxLength(maxLength int)
- func (v *EntryBuffer) SetText(text string)
- type EntryCompletion
- func (v *EntryCompletion) GetInlineCompletion() bool
- func (v *EntryCompletion) GetMinimumKeyLength() int
- func (v *EntryCompletion) GetModel() (*TreeModel, error)
- func (v *EntryCompletion) GetPopupCompletion() bool
- func (v *EntryCompletion) GetPopupSetWidth() bool
- func (v *EntryCompletion) GetTextColumn() int
- func (v *EntryCompletion) SetInlineCompletion(inlineCompletion bool)
- func (v *EntryCompletion) SetMinimumKeyLength(minimumLength int)
- func (v *EntryCompletion) SetModel(model ITreeModel)
- func (v *EntryCompletion) SetPopupCompletion(popupCompletion bool)
- func (v *EntryCompletion) SetPopupSetWidth(popupSetWidth bool)
- func (v *EntryCompletion) SetTextColumn(textColumn int)
- type EntryIconPosition
- type EventBox
- type Expander
- type FileChooser
- func (v *FileChooser) AddFilter(filter *FileFilter)
- func (v *FileChooser) AddShortcutFolder(folder string) bool
- func (v *FileChooser) GetCreateFolders() bool
- func (v *FileChooser) GetCurrentFolder() (string, error)
- func (v *FileChooser) GetDoOverwriteConfirmation() bool
- func (v *FileChooser) GetFilename() string
- func (v *FileChooser) GetFilenames() (*glib.SList, error)
- func (v *FileChooser) GetLocalOnly() bool
- func (v *FileChooser) GetPreviewFilename() string
- func (v *FileChooser) GetSelectMultiple() bool
- func (v *FileChooser) GetURI() string
- func (v FileChooser) GetURIs() (*glib.SList, error)
- func (v *FileChooser) RemoveFilter(filter *FileFilter)
- func (v *FileChooser) SelectAll()
- func (v *FileChooser) SelectFilename(filename string) bool
- func (v *FileChooser) SetCreateFolders(value bool)
- func (v *FileChooser) SetCurrentFolder(folder string) bool
- func (v *FileChooser) SetCurrentName(name string)
- func (v *FileChooser) SetDoOverwriteConfirmation(value bool)
- func (v *FileChooser) SetFilename(filename string) bool
- func (v *FileChooser) SetFilter(filter *FileFilter)
- func (v *FileChooser) SetLocalOnly(value bool)
- func (v *FileChooser) SetPreviewWidget(widget IWidget)
- func (v *FileChooser) SetPreviewWidgetActive(active bool)
- func (v *FileChooser) SetSelectMultiple(value bool)
- func (v *FileChooser) UnselectAll()
- func (v *FileChooser) UnselectFilename(filename string)
- type FileChooserAction
- type FileChooserButton
- type FileChooserDialog
- type FileChooserNativeDialog
- type FileChooserWidget
- type FileFilter
- type Fixed
- type FlowBox
- func (fb *FlowBox) GetActivateOnSingleClick() bool
- func (fb *FlowBox) GetChildAtIndex(idx int) *FlowBoxChild
- func (fb *FlowBox) GetColumnSpacing() uint
- func (fb *FlowBox) GetHomogeneous() bool
- func (fb *FlowBox) GetMaxChildrenPerLine() uint
- func (fb *FlowBox) GetMinChildrenPerLine() uint
- func (fb *FlowBox) GetRowSpacing() uint
- func (fb *FlowBox) GetSelectedChildren() (rv []*FlowBoxChild)
- func (fb *FlowBox) GetSelectionMode() SelectionMode
- func (fb *FlowBox) Insert(widget IWidget, position int)
- func (fb *FlowBox) SelectAll()
- func (fb *FlowBox) SelectChild(child *FlowBoxChild)
- func (fb *FlowBox) SetActivateOnSingleClick(single bool)
- func (fb *FlowBox) SetColumnSpacing(spacing uint)
- func (fb *FlowBox) SetHAdjustment(adjustment *Adjustment)
- func (fb *FlowBox) SetHomogeneous(homogeneous bool)
- func (fb *FlowBox) SetMaxChildrenPerLine(n_children uint)
- func (fb *FlowBox) SetMinChildrenPerLine(n_children uint)
- func (fb *FlowBox) SetRowSpacing(spacing uint)
- func (fb *FlowBox) SetSelectionMode(mode SelectionMode)
- func (fb *FlowBox) SetVAdjustment(adjustment *Adjustment)
- func (fb *FlowBox) UnselectAll()
- func (fb *FlowBox) UnselectChild(child *FlowBoxChild)
- type FlowBoxChild
- type FontButton
- func (v *FontButton) GetShowSize() bool
- func (v *FontButton) GetShowStyle() bool
- func (v *FontButton) GetTitle() string
- func (v *FontButton) GetUseFont() bool
- func (v *FontButton) GetUseSize() bool
- func (v *FontButton) SetShowSize(showSize bool)
- func (v *FontButton) SetShowStyle(showStyle bool)
- func (v *FontButton) SetTitle(title string)
- func (v *FontButton) SetUseFont(useFont bool)
- func (v *FontButton) SetUseSize(useSize bool)
- type FontChooser
- type Frame
- func (v *Frame) GetLabel() string
- func (v *Frame) GetLabelAlign() (xAlign, yAlign float32)
- func (v *Frame) GetLabelWidget() (*Widget, error)
- func (v *Frame) GetShadowType() ShadowType
- func (v *Frame) SetLabel(label string)
- func (v *Frame) SetLabelAlign(xAlign, yAlign float32)
- func (v *Frame) SetLabelWidget(labelWidget IWidget)
- func (v *Frame) SetShadowType(t ShadowType)
- type GLArea
- func (v *GLArea) AttachBuffers()
- func (v *GLArea) GetAutoRender() bool
- func (v *GLArea) GetContext() (*gdk.GLContext, error)
- func (v *GLArea) GetError() error
- func (v *GLArea) GetRequiredVersion() (MajorVersion, MinorVersion)
- func (v *GLArea) GetUseES() bool
- func (v *GLArea) HasDepthBuffer() bool
- func (v *GLArea) HasStencilBuffer() bool
- func (v *GLArea) MakeCurrent()
- func (v *GLArea) QueueRender()
- func (v *GLArea) SetAutoRender(autoRender bool)
- func (v *GLArea) SetHasDepthBuffer(hasDepthBuffer bool)
- func (v *GLArea) SetHasStencilBuffer(hasStencilBuffer bool)
- func (v *GLArea) SetRequiredVersion(major, minor int)
- func (v *GLArea) SetUseES(es bool)
- type Grid
- func (v *Grid) Attach(child IWidget, left, top, width, height int)
- func (v *Grid) AttachNextTo(child, sibling IWidget, side PositionType, width, height int)
- func (v *Grid) GetChildAt(left, top int) (*Widget, error)
- func (v *Grid) GetColumnHomogeneous() bool
- func (v *Grid) GetColumnSpacing() uint
- func (v *Grid) GetRowHomogeneous() bool
- func (v *Grid) GetRowSpacing() uint
- func (v *Grid) InsertColumn(position int)
- func (v *Grid) InsertNextTo(sibling IWidget, side PositionType)
- func (v *Grid) InsertRow(position int)
- func (v *Grid) RemoveColumn(position int)
- func (v *Grid) RemoveRow(position int)
- func (v *Grid) SetColumnHomogeneous(homogeneous bool)
- func (v *Grid) SetColumnSpacing(spacing uint)
- func (v *Grid) SetRowHomogeneous(homogeneous bool)
- func (v *Grid) SetRowSpacing(spacing uint)
- type HeaderBar
- func (v *HeaderBar) GetCustomTitle() (*Widget, error)
- func (v *HeaderBar) GetDecorationLayout() string
- func (v *HeaderBar) GetHasSubtitle() bool
- func (v *HeaderBar) GetShowCloseButton() bool
- func (v *HeaderBar) GetSubtitle() string
- func (v *HeaderBar) GetTitle() string
- func (v *HeaderBar) PackEnd(child IWidget)
- func (v *HeaderBar) PackStart(child IWidget)
- func (v *HeaderBar) SetCustomTitle(titleWidget IWidget)
- func (v *HeaderBar) SetDecorationLayout(layout string)
- func (v *HeaderBar) SetHasSubtitle(setting bool)
- func (v *HeaderBar) SetShowCloseButton(setting bool)
- func (v *HeaderBar) SetSubtitle(subtitle string)
- func (v *HeaderBar) SetTitle(title string)
- type IActionable
- type IAppChooser
- type ICellLayout
- type ICellRenderer
- type IColorChooser
- type IEditable
- type IEntry
- type IFontChooser
- type IMenu
- type IMenuItem
- type IOrientable
- type IPrintOperationPreview
- type IRecentChooser
- type IScrollable
- type IStyleProvider
- type IToolItem
- type ITreeModel
- type ITreeSortable
- type IViewport
- type IWidget
- type IWidgetable
- type IWindow
- type IconLookupFlags
- type IconSize
- type IconTheme
- type IconView
- func (v *IconView) ConvertWidgetToBinWindowCoords(x, y int) (int, int)
- func (v *IconView) GetActivateOnSingleClick() bool
- func (v *IconView) GetCellRect(path *TreePath, cell *CellRenderer) *gdk.Rectangle
- func (v *IconView) GetColumnSpacing() int
- func (v *IconView) GetColumns() int
- func (v *IconView) GetCursor() (*TreePath, *CellRenderer)
- func (v *IconView) GetItemAtPos(x, y int) (*TreePath, *CellRenderer)
- func (v *IconView) GetItemOrientation() Orientation
- func (v *IconView) GetItemPadding() int
- func (v *IconView) GetItemRow(path *TreePath) int
- func (v *IconView) GetItemWidth() int
- func (v *IconView) GetMargin() int
- func (v *IconView) GetMarkupColumn() int
- func (v *IconView) GetModel() (*TreeModel, error)
- func (v *IconView) GetPathAtPos(x, y int) *TreePath
- func (v *IconView) GetPixbufColumn() int
- func (v *IconView) GetReorderable() bool
- func (v *IconView) GetRowSpacing() int
- func (v *IconView) GetSelectedItems() *glib.List
- func (v *IconView) GetSelectionMode() SelectionMode
- func (v *IconView) GetSpacing() int
- func (v *IconView) GetTextColumn() int
- func (v *IconView) GetTooltipColumn() int
- func (v *IconView) GetTooltipContext(x, y int, keyboardTip bool) (*TreeModel, *TreePath, *TreeIter)
- func (v *IconView) GetVisibleRange() (*TreePath, *TreePath)
- func (v *IconView) ItemActivated(path *TreePath)
- func (v *IconView) PathIsSelected(path *TreePath) bool
- func (v *IconView) ScrollToPath(path *TreePath, useAlign bool, rowAlign, colAlign float64)
- func (v *IconView) SelectAll()
- func (v *IconView) SelectPath(path *TreePath)
- func (v *IconView) SetActivateOnSingleClick(single bool)
- func (v *IconView) SetColumnSpacing(columnSpacing int)
- func (v *IconView) SetColumns(columns int)
- func (v *IconView) SetCursor(path *TreePath, cell *CellRenderer, startEditing bool)
- func (v *IconView) SetItemOrientation(orientation Orientation)
- func (v *IconView) SetItemPadding(itemPadding int)
- func (v *IconView) SetItemWidth(width int)
- func (v *IconView) SetMargin(margin int)
- func (v *IconView) SetMarkupColumn(column int)
- func (v *IconView) SetModel(model ITreeModel)
- func (v *IconView) SetPixbufColumn(column int)
- func (v *IconView) SetReorderable(reorderable bool)
- func (v *IconView) SetRowSpacing(rowSpacing int)
- func (v *IconView) SetSelectionMode(mode SelectionMode)
- func (v *IconView) SetSpacing(spacing int)
- func (v *IconView) SetTextColumn(column int)
- func (v *IconView) SetTooltipCell(tooltip *Tooltip, path *TreePath, cell *CellRenderer)
- func (v *IconView) SetTooltipColumn(column int)
- func (v *IconView) SetTooltipItem(tooltip *Tooltip, path *TreePath)
- func (v *IconView) UnselectAll()
- func (v *IconView) UnselectPath(path *TreePath)
- type Image
- func ImageNew() (*Image, error)
- func ImageNewFromAnimation(animation *gdk.PixbufAnimation) (*Image, error)
- func ImageNewFromFile(filename string) (*Image, error)
- func ImageNewFromIconName(iconName string, size IconSize) (*Image, error)
- func ImageNewFromPixbuf(pixbuf *gdk.Pixbuf) (*Image, error)
- func ImageNewFromResource(resourcePath string) (*Image, error)
- func (v *Image) Clear()
- func (v *Image) GetAnimation() *gdk.PixbufAnimation
- func (v *Image) GetIconName() (string, IconSize)
- func (v *Image) GetPixbuf() *gdk.Pixbuf
- func (v *Image) GetPixelSize() int
- func (v *Image) GetStorageType() ImageType
- func (v *Image) SetFromAnimation(animation *gdk.PixbufAnimation)
- func (v *Image) SetFromFile(filename string)
- func (v *Image) SetFromIconName(iconName string, size IconSize)
- func (v *Image) SetFromPixbuf(pixbuf *gdk.Pixbuf)
- func (v *Image) SetFromResource(resourcePath string)
- func (v *Image) SetPixelSize(pixelSize int)
- type ImageType
- type InfoBar
- func (v *InfoBar) AddActionWidget(w IWidget, responseId ResponseType)
- func (v *InfoBar) AddButton(buttonText string, responseId ResponseType)
- func (v *InfoBar) GetActionArea() (*Widget, error)
- func (v *InfoBar) GetContentArea() (*Box, error)
- func (v *InfoBar) GetMessageType() MessageType
- func (v *InfoBar) GetShowCloseButton() bool
- func (v *InfoBar) SetDefaultResponse(responseId ResponseType)
- func (v *InfoBar) SetMessageType(messageType MessageType)
- func (v *InfoBar) SetResponseSensitive(responseId ResponseType, setting bool)
- func (v *InfoBar) SetShowCloseButton(setting bool)
- type InputHints
- type InputPurpose
- type Justification
- type Label
- func (v *Label) GetAngle() float64
- func (v *Label) GetCurrentUri() string
- func (v *Label) GetEllipsize() pango.EllipsizeMode
- func (v *Label) GetJustify() Justification
- func (v *Label) GetLabel() string
- func (v *Label) GetLineWrap() bool
- func (v *Label) GetLines() int
- func (v *Label) GetMaxWidthChars() int
- func (v *Label) GetMnemonicKeyval() uint
- func (v *Label) GetSelectable() bool
- func (v *Label) GetSelectionBounds() (start, end int, nonEmpty bool)
- func (v *Label) GetSingleLineMode() bool
- func (v *Label) GetText() (string, error)
- func (v *Label) GetTrackVisitedLinks() bool
- func (v *Label) GetUseMarkup() bool
- func (v *Label) GetUseUnderline() bool
- func (v *Label) GetWidthChars() int
- func (v *Label) GetXAlign() float64
- func (v *Label) GetYAlign() float64
- func (v *Label) SelectRegion(startOffset, endOffset int)
- func (v *Label) SetAngle(angle float64)
- func (v *Label) SetEllipsize(mode pango.EllipsizeMode)
- func (v *Label) SetJustify(jtype Justification)
- func (v *Label) SetLabel(str string)
- func (v *Label) SetLineWrap(wrap bool)
- func (v *Label) SetLineWrapMode(wrapMode pango.WrapMode)
- func (v *Label) SetLines(lines int)
- func (v *Label) SetMarkup(str string)
- func (v *Label) SetMarkupWithMnemonic(str string)
- func (v *Label) SetMaxWidthChars(nChars int)
- func (v *Label) SetMnemonicWidget(widget IWidget)
- func (v *Label) SetPattern(patern string)
- func (v *Label) SetSelectable(setting bool)
- func (v *Label) SetSingleLineMode(mode bool)
- func (v *Label) SetText(str string)
- func (v *Label) SetTrackVisitedLinks(trackLinks bool)
- func (v *Label) SetUseMarkup(use bool)
- func (v *Label) SetUseUnderline(use bool)
- func (v *Label) SetWidthChars(nChars int)
- func (v *Label) SetXAlign(n float64)
- func (v *Label) SetYAlign(n float64)
- type Layout
- type LevelBar
- func (v *LevelBar) AddOffsetValue(name string, value float64)
- func (v *LevelBar) GetInverted() bool
- func (v *LevelBar) GetMaxValue() float64
- func (v *LevelBar) GetMinValue() float64
- func (v *LevelBar) GetMode() LevelBarMode
- func (v *LevelBar) GetOffsetValue(name string) (float64, bool)
- func (v *LevelBar) GetValue() float64
- func (v *LevelBar) RemoveOffsetValue(name string)
- func (v *LevelBar) SetInverted(inverted bool)
- func (v *LevelBar) SetMaxValue(value float64)
- func (v *LevelBar) SetMinValue(value float64)
- func (v *LevelBar) SetMode(m LevelBarMode)
- func (v *LevelBar) SetValue(value float64)
- type LevelBarMode
- type License
- type LinkButton
- type ListBox
- func (v *ListBox) DragHighlightRow(row *ListBoxRow)
- func (v *ListBox) GetActivateOnSingleClick() bool
- func (v *ListBox) GetAdjustment() *Adjustment
- func (v *ListBox) GetRowAtIndex(index int) *ListBoxRow
- func (v *ListBox) GetRowAtY(y int) *ListBoxRow
- func (v *ListBox) GetSelectedRow() *ListBoxRow
- func (v *ListBox) GetSelectedRows() *glib.List
- func (v *ListBox) GetSelectionMode() SelectionMode
- func (v *ListBox) Insert(child IWidget, position int)
- func (v *ListBox) InvalidateFilter()
- func (v *ListBox) InvalidateHeaders()
- func (v *ListBox) InvalidateSort()
- func (v *ListBox) Prepend(child IWidget)
- func (v *ListBox) SelectAll()
- func (v *ListBox) SelectRow(row *ListBoxRow)
- func (v *ListBox) SelectedForeach(fn ListBoxForeachFunc, userData uintptr)
- func (v *ListBox) SetActivateOnSingleClick(single bool)
- func (v *ListBox) SetAdjustment(adjustment *Adjustment)
- func (v *ListBox) SetFilterFunc(fn ListBoxFilterFunc, userData uintptr)
- func (v *ListBox) SetHeaderFunc(fn ListBoxHeaderFunc, userData uintptr)
- func (v *ListBox) SetPlaceholder(placeholder IWidget)
- func (v *ListBox) SetSelectionMode(mode SelectionMode)
- func (v *ListBox) SetSortFunc(fn ListBoxSortFunc, userData uintptr)
- func (v *ListBox) UnselectAll()
- func (v *ListBox) UnselectRow(row *ListBoxRow)
- type ListBoxFilterFunc
- type ListBoxForeachFunc
- type ListBoxHeaderFunc
- type ListBoxRow
- func (v *ListBoxRow) Changed()
- func (v *ListBoxRow) GetActivatable() bool
- func (v *ListBoxRow) GetHeader() *Widget
- func (v *ListBoxRow) GetIndex() int
- func (v *ListBoxRow) GetSelectable() bool
- func (v *ListBoxRow) IsSelected() bool
- func (v *ListBoxRow) SetActivatable(activatable bool)
- func (v *ListBoxRow) SetHeader(header IWidget)
- func (v *ListBoxRow) SetSelectable(selectable bool)
- type ListBoxSortFunc
- type ListStore
- func (v *ListStore) Append() *TreeIter
- func (v *ListStore) Clear()
- func (v *ListStore) InsertAfter(sibling *TreeIter) *TreeIter
- func (v *ListStore) InsertBefore(sibling *TreeIter) *TreeIter
- func (v *ListStore) InsertWithValues(iter *TreeIter, position int, inColumns []int, inValues []interface{}) error
- func (v *ListStore) IterIsValid(iter *TreeIter) bool
- func (v *ListStore) MoveAfter(iter, position *TreeIter)
- func (v *ListStore) MoveBefore(iter, position *TreeIter)
- func (v *ListStore) Prepend() *TreeIter
- func (v *ListStore) Remove(iter *TreeIter) bool
- func (v *ListStore) Set(iter *TreeIter, columns []int, values []interface{}) error
- func (v *ListStore) SetCols(iter *TreeIter, cols Cols) error
- func (v *ListStore) SetValue(iter *TreeIter, column int, value interface{}) error
- func (v *ListStore) Swap(a, b *TreeIter)
- type MajorVersion
- type Menu
- func (v *Menu) GetAccelGroup() *AccelGroup
- func (v *Menu) GetAccelPath() string
- func (v *Menu) Popdown()
- func (v *Menu) PopupAtPointer(triggerEvent *gdk.Event)
- func (v *Menu) PopupAtWidget(widget IWidget, widgetAnchor gdk.Gravity, menuAnchor gdk.Gravity, ...)
- func (v *Menu) ReorderChild(child IWidget, position int)
- func (v *Menu) SetAccelGroup(accelGroup *AccelGroup)
- func (v *Menu) SetAccelPath(path string)
- type MenuBar
- type MenuButton
- func (v *MenuButton) GetAlignWidget() *Widget
- func (v *MenuButton) GetDirection() ArrowType
- func (v *MenuButton) GetMenuModel() *glib.MenuModel
- func (v *MenuButton) GetPopover() *Popover
- func (v *MenuButton) GetPopup() *Menu
- func (v *MenuButton) GetUsePopover() bool
- func (v *MenuButton) SetAlignWidget(alignWidget IWidget)
- func (v *MenuButton) SetDirection(direction ArrowType)
- func (v *MenuButton) SetMenuModel(menuModel *glib.MenuModel)
- func (v *MenuButton) SetPopover(popover *Popover)
- func (v *MenuButton) SetPopup(menu IMenu)
- func (v *MenuButton) SetUsePopover(setting bool)
- type MenuItem
- func (v *MenuItem) GetAccelPath() string
- func (v *MenuItem) GetLabel() string
- func (v *MenuItem) GetUseUnderline() bool
- func (v *MenuItem) SetAccelPath(path string)
- func (v *MenuItem) SetLabel(label string)
- func (v *MenuItem) SetSubmenu(submenu IWidget)
- func (v *MenuItem) SetUseUnderline(settings bool)
- type MenuShell
- func (v *MenuShell) ActivateItem(child IMenuItem, forceDeactivate bool)
- func (v *MenuShell) Append(child IMenuItem)
- func (v *MenuShell) Cancel()
- func (v *MenuShell) Deactivate()
- func (v *MenuShell) Deselect()
- func (v *MenuShell) Insert(child IMenuItem, position int)
- func (v *MenuShell) Prepend(child IMenuItem)
- func (v *MenuShell) SelectFirst(searchSensitive bool)
- func (v *MenuShell) SelectItem(child IMenuItem)
- func (v *MenuShell) SetTakeFocus(takeFocus bool)
- type MessageDialog
- type MessageType
- type MinorVersion
- type ModelButton
- type NativeDialog
- func (v *NativeDialog) Destroy()
- func (v *NativeDialog) GetModal() bool
- func (v *NativeDialog) GetTitle() (string, error)
- func (v *NativeDialog) GetTransientFor() (*Window, error)
- func (v *NativeDialog) GetVisible() bool
- func (v *NativeDialog) Hide()
- func (v *NativeDialog) Run() int
- func (v *NativeDialog) SetModal(modal bool)
- func (v *NativeDialog) SetTitle(title string)
- func (v *NativeDialog) SetTransientFor(parent IWindow)
- func (v *NativeDialog) Show()
- type Notebook
- func (v *Notebook) AppendPage(child IWidget, tabLabel IWidget) int
- func (v *Notebook) AppendPageMenu(child IWidget, tabLabel IWidget, menuLabel IWidget) int
- func (v *Notebook) GetActionWidget(packType PackType) (*Widget, error)
- func (v *Notebook) GetCurrentPage() int
- func (v *Notebook) GetGroupName() (string, error)
- func (v *Notebook) GetMenuLabel(child IWidget) (*Widget, error)
- func (v *Notebook) GetMenuLabelText(child IWidget) (string, error)
- func (v *Notebook) GetNPages() int
- func (v *Notebook) GetNthPage(pageNum int) (*Widget, error)
- func (v *Notebook) GetScrollable() bool
- func (v *Notebook) GetShowBorder() bool
- func (v *Notebook) GetShowTabs() bool
- func (v *Notebook) GetTabDetachable(child IWidget) bool
- func (v *Notebook) GetTabLabel(child IWidget) (*Widget, error)
- func (v *Notebook) GetTabLabelText(child IWidget) (string, error)
- func (v *Notebook) GetTabPos() PositionType
- func (v *Notebook) GetTabReorderable(child IWidget) bool
- func (v *Notebook) InsertPage(child IWidget, tabLabel IWidget, position int) int
- func (v *Notebook) InsertPageMenu(child IWidget, tabLabel IWidget, menuLabel IWidget, position int) int
- func (v *Notebook) NextPage()
- func (v *Notebook) PageNum(child IWidget) int
- func (v *Notebook) PopupDisable()
- func (v *Notebook) PopupEnable()
- func (v *Notebook) PrependPage(child IWidget, tabLabel IWidget) int
- func (v *Notebook) PrependPageMenu(child IWidget, tabLabel IWidget, menuLabel IWidget) int
- func (v *Notebook) PrevPage()
- func (v *Notebook) RemovePage(pageNum int)
- func (v *Notebook) ReorderChild(child IWidget, position int)
- func (v *Notebook) SetActionWidget(widget IWidget, packType PackType)
- func (v *Notebook) SetCurrentPage(pageNum int)
- func (v *Notebook) SetGroupName(groupName string)
- func (v *Notebook) SetMenuLabel(child, menuLabel IWidget)
- func (v *Notebook) SetMenuLabelText(child IWidget, menuText string)
- func (v *Notebook) SetScrollable(scrollable bool)
- func (v *Notebook) SetShowBorder(showBorder bool)
- func (v *Notebook) SetShowTabs(showTabs bool)
- func (v *Notebook) SetTabDetachable(child IWidget, detachable bool)
- func (v *Notebook) SetTabLabel(child, tabLabel IWidget)
- func (v *Notebook) SetTabLabelText(child IWidget, tabText string)
- func (v *Notebook) SetTabPos(pos PositionType)
- func (v *Notebook) SetTabReorderable(child IWidget, reorderable bool)
- type NumberUpLayout
- type OffscreenWindow
- type Orientable
- type Orientation
- type Overlay
- type PackType
- type PageOrientation
- type PageSet
- type PageSetup
- func (ps *PageSetup) Copy() (*PageSetup, error)
- func (ps *PageSetup) GetBottomMargin(unit Unit) float64
- func (ps *PageSetup) GetLeftMargin(unit Unit) float64
- func (ps *PageSetup) GetOrientation() PageOrientation
- func (ps *PageSetup) GetPageHeight(unit Unit) float64
- func (ps *PageSetup) GetPageWidth(unit Unit) float64
- func (ps *PageSetup) GetPaperHeight(unit Unit) float64
- func (ps *PageSetup) GetPaperSize() *PaperSize
- func (ps *PageSetup) GetPaperWidth(unit Unit) float64
- func (ps *PageSetup) GetRightMargin(unit Unit) float64
- func (ps *PageSetup) GetTopMargin(unit Unit) float64
- func (ps *PageSetup) PageSetupLoadFile(name string) error
- func (ps *PageSetup) PageSetupToFile(name string) error
- func (ps *PageSetup) SetBottomMargin(margin float64, unit Unit)
- func (ps *PageSetup) SetLeftMargin(margin float64, unit Unit)
- func (ps *PageSetup) SetOrientation(orientation PageOrientation)
- func (ps *PageSetup) SetPaperSize(size *PaperSize)
- func (ps *PageSetup) SetPaperSizeAndDefaultMargins(size *PaperSize)
- func (ps *PageSetup) SetRightMargin(margin float64, unit Unit)
- func (ps *PageSetup) SetTopMargin(margin float64, unit Unit)
- type PageSetupDoneCallback
- type Paned
- func (v *Paned) Add1(child IWidget)
- func (v *Paned) Add2(child IWidget)
- func (v *Paned) GetChild1() (*Widget, error)
- func (v *Paned) GetChild2() (*Widget, error)
- func (v *Paned) GetHandleWindow() (*Window, error)
- func (v *Paned) GetPosition() int
- func (v *Paned) GetWideHandle() bool
- func (v *Paned) Pack1(child IWidget, resize, shrink bool)
- func (v *Paned) Pack2(child IWidget, resize, shrink bool)
- func (v *Paned) SetPosition(position int)
- func (v *Paned) SetWideHandle(wide bool)
- type PaperSize
- func PaperSizeNew(name string) (*PaperSize, error)
- func PaperSizeNewCustom(name, displayName string, width, height float64, unit Unit) (*PaperSize, error)
- func PaperSizeNewFromIPP(name string, width, height float64) (*PaperSize, error)
- func PaperSizeNewFromPPD(name, displayName string, width, height float64) (*PaperSize, error)
- func (ps *PaperSize) Copy() (*PaperSize, error)
- func (ps *PaperSize) GetDefaultBottomMargin(unit Unit) float64
- func (ps *PaperSize) GetDefaultLeftMargin(unit Unit) float64
- func (ps *PaperSize) GetDefaultRightMargin(unit Unit) float64
- func (ps *PaperSize) GetDefaultTopMargin(unit Unit) float64
- func (ps *PaperSize) GetDisplayName() string
- func (ps *PaperSize) GetHeight(unit Unit) float64
- func (ps *PaperSize) GetName() string
- func (ps *PaperSize) GetPPDName() (string, error)
- func (ps *PaperSize) GetWidth(unit Unit) float64
- func (ps *PaperSize) IsCustom() bool
- func (ps *PaperSize) IsEqual(other *PaperSize) bool
- func (ps *PaperSize) IsIPP() bool
- func (ps *PaperSize) SetSize(width, height float64, unit Unit)
- type PathType
- type Plug
- type PolicyType
- type Popover
- func (v *Popover) BindModel(menuModel *glib.MenuModel, actionNamespace string)
- func (v *Popover) GetConstrainTo() PopoverConstraint
- func (v *Popover) GetModal() bool
- func (v *Popover) GetPointingTo() (*gdk.Rectangle, bool)
- func (v *Popover) GetPosition() PositionType
- func (v *Popover) GetRelativeTo() *Widget
- func (v *Popover) Popdown()
- func (v *Popover) Popup()
- func (v *Popover) SetConstrainTo(constrain PopoverConstraint)
- func (v *Popover) SetModal(modal bool)
- func (v *Popover) SetPointingTo(rect gdk.Rectangle)
- func (v *Popover) SetPosition(position PositionType)
- func (v *Popover) SetRelativeTo(relative IWidget)
- type PopoverConstraint
- type PopoverMenu
- type PositionType
- type PrintContext
- func (pc *PrintContext) CreatePangoContext() *pango.Context
- func (pc *PrintContext) CreatePangoLayout() *pango.Layout
- func (pc *PrintContext) GetCairoContext() *cairo.Context
- func (pc *PrintContext) GetDpiX() float64
- func (pc *PrintContext) GetDpiY() float64
- func (pc *PrintContext) GetHardMargins() (float64, float64, float64, float64, error)
- func (pc *PrintContext) GetHeight() float64
- func (pc *PrintContext) GetPageSetup() *PageSetup
- func (pc *PrintContext) GetPangoFontMap() *pango.FontMap
- func (pc *PrintContext) GetWidth() float64
- func (pc *PrintContext) SetCairoContext(cr *cairo.Context, dpiX, dpiY float64)
- type PrintDuplex
- type PrintError
- type PrintOperation
- func (po *PrintOperation) Cancel()
- func (po *PrintOperation) DrawPageFinish()
- func (po *PrintOperation) GetDefaultPageSetup() (*PageSetup, error)
- func (po *PrintOperation) GetEmbedPageSetup() bool
- func (po *PrintOperation) GetHasSelection() bool
- func (po *PrintOperation) GetNPagesToPrint() int
- func (po *PrintOperation) GetPrintSettings(ps *PageSetup) (*PrintSettings, error)
- func (po *PrintOperation) GetStatus() PrintStatus
- func (po *PrintOperation) GetStatusString() string
- func (po *PrintOperation) GetSupportSelection() bool
- func (po *PrintOperation) IsFinished() bool
- func (po *PrintOperation) PrintOperationGetError() error
- func (po *PrintOperation) PrintOperationSetAllowAsync(allowSync bool)
- func (po *PrintOperation) Run(action PrintOperationAction, parent IWindow) (PrintOperationResult, error)
- func (po *PrintOperation) SetCurrentPage(page int)
- func (po *PrintOperation) SetCustomTabLabel(label string)
- func (po *PrintOperation) SetDefaultPageSetup(ps *PageSetup)
- func (po *PrintOperation) SetDeferDrawing()
- func (po *PrintOperation) SetEmbedPageSetup(embed bool)
- func (po *PrintOperation) SetExportFilename(name string)
- func (po *PrintOperation) SetHasSelection(selection bool)
- func (po *PrintOperation) SetJobName(name string)
- func (po *PrintOperation) SetNPages(pages int)
- func (po *PrintOperation) SetPrintSettings(ps *PrintSettings)
- func (po *PrintOperation) SetShowProgress(show bool)
- func (po *PrintOperation) SetSupportSelection(selection bool)
- func (po *PrintOperation) SetTrackPrintStatus(progress bool)
- func (po *PrintOperation) SetUnit(unit Unit)
- func (po *PrintOperation) SetUseFullPage(full bool)
- type PrintOperationAction
- type PrintOperationPreview
- type PrintOperationResult
- type PrintPages
- type PrintQuality
- type PrintSettings
- func (ps *PrintSettings) Copy() (*PrintSettings, error)
- func (ps *PrintSettings) ForEach(cb PrintSettingsCallback, userData uintptr)
- func (ps *PrintSettings) Get(key string) string
- func (ps *PrintSettings) GetBool(key string) bool
- func (ps *PrintSettings) GetCollate() bool
- func (ps *PrintSettings) GetDefaultSource() string
- func (ps *PrintSettings) GetDither() string
- func (ps *PrintSettings) GetDouble(key string) float64
- func (ps *PrintSettings) GetDoubleWithDefault(key string, def float64) float64
- func (ps *PrintSettings) GetDuplex() PrintDuplex
- func (ps *PrintSettings) GetFinishings() string
- func (ps *PrintSettings) GetInt(key string) int
- func (ps *PrintSettings) GetIntWithDefault(key string, def int) int
- func (ps *PrintSettings) GetLength(key string, unit Unit) float64
- func (ps *PrintSettings) GetMediaType() string
- func (ps *PrintSettings) GetNCopies() int
- func (ps *PrintSettings) GetNmberUp() int
- func (ps *PrintSettings) GetNumberUpLayout() NumberUpLayout
- func (ps *PrintSettings) GetOrientation() PageOrientation
- func (ps *PrintSettings) GetOutputBin() string
- func (ps *PrintSettings) GetPageSet(pages PrintPages) PageSet
- func (ps *PrintSettings) GetPaperHeight(unit Unit) float64
- func (ps *PrintSettings) GetPaperSize() (*PaperSize, error)
- func (ps *PrintSettings) GetPaperWidth(unit Unit) float64
- func (ps *PrintSettings) GetPrintPages() PrintPages
- func (ps *PrintSettings) GetPrinter() string
- func (ps *PrintSettings) GetPrinterLpi() float64
- func (ps *PrintSettings) GetQuality() PrintQuality
- func (ps *PrintSettings) GetResolution() int
- func (ps *PrintSettings) GetResolutionX() int
- func (ps *PrintSettings) GetResolutionY() int
- func (ps *PrintSettings) GetReverse() bool
- func (ps *PrintSettings) GetScale() float64
- func (ps *PrintSettings) GetUseColor() bool
- func (ps *PrintSettings) HasKey(key string) bool
- func (ps *PrintSettings) LoadFile(name string) error
- func (ps *PrintSettings) Set(key, value string)
- func (ps *PrintSettings) SetBool(key string, value bool)
- func (ps *PrintSettings) SetCollate(collate bool)
- func (ps *PrintSettings) SetDither(dither string)
- func (ps *PrintSettings) SetDouble(key string, value float64)
- func (ps *PrintSettings) SetDuplex(duplex PrintDuplex)
- func (ps *PrintSettings) SetFinishings(dither string)
- func (ps *PrintSettings) SetInt(key string, value int)
- func (ps *PrintSettings) SetLength(key string, value float64, unit Unit)
- func (ps *PrintSettings) SetMediaType(mediaType string)
- func (ps *PrintSettings) SetNCopies(copies int)
- func (ps *PrintSettings) SetNumberUp(numberUp int)
- func (ps *PrintSettings) SetNumberUpLayout(numberUpLayout NumberUpLayout)
- func (ps *PrintSettings) SetOrientation(orientation PageOrientation)
- func (ps *PrintSettings) SetOutputBin(bin string)
- func (ps *PrintSettings) SetPageSet(pageSet PageSet)
- func (ps *PrintSettings) SetPaperHeight(width float64, unit Unit)
- func (ps *PrintSettings) SetPaperSize(size *PaperSize)
- func (ps *PrintSettings) SetPaperWidth(width float64, unit Unit)
- func (ps *PrintSettings) SetPrintPages(pages PrintPages)
- func (ps *PrintSettings) SetPrinter(printer string)
- func (ps *PrintSettings) SetPrinterLpi(lpi float64)
- func (ps *PrintSettings) SetQuality(quality PrintQuality)
- func (ps *PrintSettings) SetResolution(resolution int)
- func (ps *PrintSettings) SetResolutionXY(resolutionX, resolutionY int)
- func (ps *PrintSettings) SetReverse(reverse bool)
- func (ps *PrintSettings) SetScale(scale float64)
- func (ps *PrintSettings) SetSefaultSource(defaultSource string)
- func (ps *PrintSettings) SetUseColor(color bool)
- func (ps *PrintSettings) ToFile(name string) error
- func (ps *PrintSettings) Unset(key string)
- type PrintSettingsCallback
- type PrintStatus
- type ProgressBar
- func (v *ProgressBar) GetFraction() float64
- func (v *ProgressBar) GetInverted() bool
- func (v *ProgressBar) GetPulseStep() float64
- func (v *ProgressBar) GetShowText() bool
- func (v *ProgressBar) Pulse()
- func (v *ProgressBar) SetFraction(fraction float64)
- func (v *ProgressBar) SetInverted(inverted bool)
- func (v *ProgressBar) SetPulseStep(fraction float64)
- func (v *ProgressBar) SetShowText(showText bool)
- func (v *ProgressBar) SetText(text string)
- type RadioButton
- func RadioButtonNew(group *glib.SList) (*RadioButton, error)
- func RadioButtonNewFromWidget(radioGroupMember *RadioButton) (*RadioButton, error)
- func RadioButtonNewWithLabel(group *glib.SList, label string) (*RadioButton, error)
- func RadioButtonNewWithLabelFromWidget(radioGroupMember *RadioButton, label string) (*RadioButton, error)
- func RadioButtonNewWithMnemonic(group *glib.SList, label string) (*RadioButton, error)
- func RadioButtonNewWithMnemonicFromWidget(radioGroupMember *RadioButton, label string) (*RadioButton, error)
- type RadioMenuItem
- func RadioMenuItemNew(group *glib.SList) (*RadioMenuItem, error)
- func RadioMenuItemNewFromWidget(group *RadioMenuItem) (*RadioMenuItem, error)
- func RadioMenuItemNewWithLabel(group *glib.SList, label string) (*RadioMenuItem, error)
- func RadioMenuItemNewWithLabelFromWidget(group *RadioMenuItem, label string) (*RadioMenuItem, error)
- func RadioMenuItemNewWithMnemonic(group *glib.SList, label string) (*RadioMenuItem, error)
- func RadioMenuItemNewWithMnemonicFromWidget(group *RadioMenuItem, label string) (*RadioMenuItem, error)
- type Range
- type RecentChooser
- type RecentChooserMenu
- type RecentFilter
- type RecentManager
- type ReliefStyle
- type ResponseType
- type Revealer
- func (v *Revealer) GetChildRevealed() bool
- func (v *Revealer) GetRevealChild() bool
- func (v *Revealer) GetTransitionDuration() uint
- func (v *Revealer) GetTransitionType() RevealerTransitionType
- func (v *Revealer) SetRevealChild(revealChild bool)
- func (v *Revealer) SetTransitionDuration(duration uint)
- func (v *Revealer) SetTransitionType(transition RevealerTransitionType)
- type RevealerTransitionType
- type Scale
- type ScaleButton
- func (v *ScaleButton) GetAdjustment() *Adjustment
- func (v *ScaleButton) GetMinusButton() *Widget
- func (v *ScaleButton) GetPlusButton() *Widget
- func (v *ScaleButton) GetPopup() (*Widget, error)
- func (v *ScaleButton) GetValue() float64
- func (v *ScaleButton) SetAdjustment(adjustment *Adjustment)
- func (v *ScaleButton) SetIcons() []string
- func (v *ScaleButton) SetValue(value float64)
- type Scrollable
- type Scrollbar
- type ScrolledWindow
- func (v *ScrolledWindow) GetHAdjustment() *Adjustment
- func (v *ScrolledWindow) GetOverlayScrolling() bool
- func (v *ScrolledWindow) GetShadowType() ShadowType
- func (v *ScrolledWindow) GetVAdjustment() *Adjustment
- func (v *ScrolledWindow) SetHAdjustment(adjustment *Adjustment)
- func (v *ScrolledWindow) SetOverlayScrolling(scrolling bool)
- func (v *ScrolledWindow) SetPolicy(hScrollbarPolicy, vScrollbarPolicy PolicyType)
- func (v *ScrolledWindow) SetShadowType(t ShadowType)
- func (v *ScrolledWindow) SetVAdjustment(adjustment *Adjustment)
- type SearchBar
- type SearchEntry
- type SelectionData
- type SelectionMode
- type Separator
- type SeparatorMenuItem
- type SeparatorToolItem
- type Settings
- type ShadowType
- type ShortcutsGroup
- type ShortcutsSection
- type ShortcutsShortcut
- type ShortcutsWindow
- type SizeGroup
- type SizeGroupMode
- type Socket
- type SortType
- type SpinButton
- func (v *SpinButton) Configure(adjustment *Adjustment, climbRate float64, digits uint)
- func (v *SpinButton) GetAdjustment() *Adjustment
- func (v *SpinButton) GetValue() float64
- func (v *SpinButton) GetValueAsInt() int
- func (v *SpinButton) SetIncrements(step, page float64)
- func (v *SpinButton) SetRange(min, max float64)
- func (v *SpinButton) SetValue(value float64)
- type Spinner
- type Stack
- func (v *Stack) AddNamed(child IWidget, name string)
- func (v *Stack) AddTitled(child IWidget, name, title string)
- func (v *Stack) GetChildByName(name string) *Widget
- func (v *Stack) GetHomogeneous() bool
- func (v *Stack) GetTransitionDuration() uint
- func (v *Stack) GetTransitionRunning() bool
- func (v *Stack) GetTransitionType() StackTransitionType
- func (v *Stack) GetVisibleChild() *Widget
- func (v *Stack) GetVisibleChildName() string
- func (v *Stack) SetHomogeneous(homogeneous bool)
- func (v *Stack) SetTransitionDuration(duration uint)
- func (v *Stack) SetTransitionType(transition StackTransitionType)
- func (v *Stack) SetVisibleChild(child IWidget)
- func (v *Stack) SetVisibleChildFull(name string, transaction StackTransitionType)
- func (v *Stack) SetVisibleChildName(name string)
- type StackSidebar
- type StackSwitcher
- type StackTransitionType
- type StateFlags
- type Statusbar
- type StyleContext
- func (v *StyleContext) AddClass(class_name string)
- func (v *StyleContext) AddProvider(provider IStyleProvider, prio uint)
- func (v *StyleContext) GetColor(state StateFlags) *gdk.RGBA
- func (v *StyleContext) GetParent() (*StyleContext, error)
- func (v *StyleContext) GetProperty(property string, state StateFlags) (interface{}, error)
- func (v *StyleContext) GetScreen() (*gdk.Screen, error)
- func (v *StyleContext) GetState() StateFlags
- func (v *StyleContext) GetStyleProperty(property string) (interface{}, error)
- func (v *StyleContext) HasClass(className string) bool
- func (v *StyleContext) LookupColor(colorName string) (*gdk.RGBA, bool)
- func (v *StyleContext) RemoveClass(class_name string)
- func (v *StyleContext) RemoveProvider(provider IStyleProvider)
- func (v *StyleContext) Restore()
- func (v *StyleContext) Save()
- func (v *StyleContext) SetParent(p *StyleContext)
- func (v *StyleContext) SetScreen(s *gdk.Screen)
- func (v *StyleContext) SetState(state StateFlags)
- type StyleProviderPriority
- type Switch
- type TargetEntry
- type TargetFlags
- type TextBuffer
- func (v *TextBuffer) AddSelectionClipboard(clipboard *Clipboard)
- func (v *TextBuffer) ApplyTag(tag *TextTag, start, end *TextIter)
- func (v *TextBuffer) ApplyTagByName(name string, start, end *TextIter)
- func (v *TextBuffer) CopyClipboard(clipboard *Clipboard)
- func (v *TextBuffer) CreateChildAnchor(iter *TextIter) *TextChildAnchor
- func (v *TextBuffer) CreateMark(mark_name string, where *TextIter, left_gravity bool) *TextMark
- func (v *TextBuffer) CreateTag(name string, props map[string]interface{}) (tag *TextTag)
- func (v *TextBuffer) CutClipboard(clipboard *Clipboard, defaultEditable bool)
- func (v *TextBuffer) Delete(start, end *TextIter)
- func (v *TextBuffer) DeleteMark(mark *TextMark)
- func (v *TextBuffer) DeleteMarkByName(name string)
- func (v *TextBuffer) DeleteSelection(interactive, defaultEditable bool) bool
- func (v *TextBuffer) Deserialize(contentBuffer *TextBuffer, format gdk.Atom, iter *TextIter, data []byte) (ok bool, err error)
- func (v *TextBuffer) GetBounds() (start, end *TextIter)
- func (v *TextBuffer) GetCharCount() int
- func (v *TextBuffer) GetEndIter() *TextIter
- func (v *TextBuffer) GetHasSelection() bool
- func (v *TextBuffer) GetInsert() *TextMark
- func (v *TextBuffer) GetIterAtLine(line int) *TextIter
- func (v *TextBuffer) GetIterAtLineIndex(lineNumber, charIndex int) (iter *TextIter)
- func (v *TextBuffer) GetIterAtLineOffset(lineNumber, charOffset int) (iter *TextIter)
- func (v *TextBuffer) GetIterAtMark(mark *TextMark) *TextIter
- func (v *TextBuffer) GetIterAtOffset(charOffset int) *TextIter
- func (v *TextBuffer) GetLineCount() int
- func (v *TextBuffer) GetMark(mark_name string) *TextMark
- func (v *TextBuffer) GetModified() bool
- func (v *TextBuffer) GetSelectionBound() *TextMark
- func (v *TextBuffer) GetSelectionBounds() (start, end *TextIter, ok bool)
- func (v *TextBuffer) GetStartIter() *TextIter
- func (v *TextBuffer) GetTagTable() (*TextTagTable, error)
- func (v *TextBuffer) GetText(start, end *TextIter, includeHiddenChars bool) (string, error)
- func (v *TextBuffer) Insert(iter *TextIter, text string)
- func (v *TextBuffer) InsertAtCursor(text string)
- func (v *TextBuffer) InsertMarkup(start *TextIter, text string)
- func (v *TextBuffer) InsertPixbuf(iter *TextIter, pixbuf *gdk.Pixbuf)
- func (v *TextBuffer) InsertWithTag(iter *TextIter, text string, tag *TextTag)
- func (v *TextBuffer) InsertWithTagByName(iter *TextIter, text string, tagName string)
- func (v *TextBuffer) PasteClipboard(clipboard *Clipboard, overrideLocation *TextIter, defaultEditable bool)
- func (v *TextBuffer) PlaceCursor(iter *TextIter)
- func (v *TextBuffer) RegisterDeserializeTagset(tagsetName string) gdk.Atom
- func (v *TextBuffer) RegisterSerializeTagset(tagsetName string) gdk.Atom
- func (v *TextBuffer) RemoveAllTags(start, end *TextIter)
- func (v *TextBuffer) RemoveSelectionClipboard(clipboard *Clipboard)
- func (v *TextBuffer) RemoveTag(tag *TextTag, start, end *TextIter)
- func (v *TextBuffer) RemoveTagByName(name string, start, end *TextIter)
- func (v *TextBuffer) SelectRange(start, end *TextIter)
- func (v *TextBuffer) Serialize(contentBuffer *TextBuffer, format gdk.Atom, start, end *TextIter) string
- func (v *TextBuffer) SetModified(setting bool)
- func (v *TextBuffer) SetText(text string)
- type TextChildAnchor
- type TextDirection
- type TextIter
- func (v *TextIter) BackwardChar() bool
- func (v *TextIter) BackwardChars(v1 int) bool
- func (v *TextIter) BackwardCursorPosition() bool
- func (v *TextIter) BackwardCursorPositions(v1 int) bool
- func (v *TextIter) BackwardLine() bool
- func (v *TextIter) BackwardLines(v1 int) bool
- func (v *TextIter) BackwardSearch(text string, flags TextSearchFlags, limit *TextIter) (matchStart, matchEnd *TextIter, ok bool)
- func (v *TextIter) BackwardToTagToggle(v1 *TextTag) bool
- func (v *TextIter) BackwardVisibleCursorPosition() bool
- func (v *TextIter) BackwardVisibleCursorPositions(v1 int) bool
- func (v *TextIter) BackwardVisibleLine() bool
- func (v *TextIter) BackwardVisibleLines(v1 int) bool
- func (v *TextIter) CanInsert(v1 bool) bool
- func (v *TextIter) Compare(v1 *TextIter) int
- func (v *TextIter) Editable(v1 bool) bool
- func (v *TextIter) EndsLine() bool
- func (v *TextIter) EndsSentence() bool
- func (v *TextIter) EndsTag(v1 *TextTag) bool
- func (v *TextIter) EndsWord() bool
- func (v *TextIter) Equal(v1 *TextIter) bool
- func (v *TextIter) ForwardChar() bool
- func (v *TextIter) ForwardChars(v1 int) bool
- func (v *TextIter) ForwardCursorPosition() bool
- func (v *TextIter) ForwardCursorPositions(v1 int) bool
- func (v *TextIter) ForwardLine() bool
- func (v *TextIter) ForwardLines(v1 int) bool
- func (v *TextIter) ForwardSearch(text string, flags TextSearchFlags, limit *TextIter) (matchStart, matchEnd *TextIter, ok bool)
- func (v *TextIter) ForwardSentenceEnd() bool
- func (v *TextIter) ForwardSentenceEnds(v1 int) bool
- func (v *TextIter) ForwardToEnd()
- func (v *TextIter) ForwardToLineEnd() bool
- func (v *TextIter) ForwardToTagToggle(v1 *TextTag) bool
- func (v *TextIter) ForwardVisibleCursorPosition() bool
- func (v *TextIter) ForwardVisibleCursorPositions(v1 int) bool
- func (v *TextIter) ForwardVisibleLine() bool
- func (v *TextIter) ForwardVisibleLines(v1 int) bool
- func (v *TextIter) ForwardVisibleWordEnd() bool
- func (v *TextIter) ForwardVisibleWordEnds(v1 int) bool
- func (v *TextIter) ForwardWordEnd() bool
- func (v *TextIter) ForwardWordEnds(v1 int) bool
- func (v *TextIter) GetBuffer() *TextBuffer
- func (v *TextIter) GetBytesInLine() int
- func (v *TextIter) GetChar() rune
- func (v *TextIter) GetCharsInLine() int
- func (v *TextIter) GetLine() int
- func (v *TextIter) GetLineIndex() int
- func (v *TextIter) GetLineOffset() int
- func (v *TextIter) GetOffset() int
- func (v *TextIter) GetSlice(end *TextIter) string
- func (v *TextIter) GetText(end *TextIter) string
- func (v *TextIter) GetVisibleLineIndex() int
- func (v *TextIter) GetVisibleLineOffset() int
- func (v *TextIter) GetVisibleSlice(end *TextIter) string
- func (v *TextIter) GetVisibleText(end *TextIter) string
- func (v *TextIter) HasTag(v1 *TextTag) bool
- func (v *TextIter) InRange(v1 *TextIter, v2 *TextIter) bool
- func (v *TextIter) InsideSentence() bool
- func (v *TextIter) InsideWord() bool
- func (v *TextIter) IsCursorPosition() bool
- func (v *TextIter) IsEnd() bool
- func (v *TextIter) IsStart() bool
- func (v *TextIter) SetLine(v1 int)
- func (v *TextIter) SetLineIndex(v1 int)
- func (v *TextIter) SetLineOffset(v1 int)
- func (v *TextIter) SetOffset(v1 int)
- func (v *TextIter) SetVisibleLineIndex(v1 int)
- func (v *TextIter) SetVisibleLineOffset(v1 int)
- func (v *TextIter) StartsLine() bool
- func (v *TextIter) StartsSentence() bool
- func (v *TextIter) StartsWord() bool
- func (v *TextIter) TogglesTag(v1 *TextTag) bool
- type TextMark
- type TextSearchFlags
- type TextTag
- type TextTagTable
- type TextView
- func (v *TextView) AddChildAtAnchor(child IWidget, anchor *TextChildAnchor)
- func (v *TextView) AddChildInWindow(child IWidget, tp TextWindowType, xpos, ypos int)
- func (v *TextView) BackwardDisplayLine(iter *TextIter) bool
- func (v *TextView) BackwardDisplayLineStart(iter *TextIter) bool
- func (v *TextView) BufferToWindowCoords(win TextWindowType, buffer_x, buffer_y int) (window_x, window_y int)
- func (v *TextView) ForwardDisplayLine(iter *TextIter) bool
- func (v *TextView) ForwardDisplayLineEnd(iter *TextIter) bool
- func (v *TextView) GetAcceptsTab() bool
- func (v *TextView) GetBorderWindowSize(tp TextWindowType) int
- func (v *TextView) GetBuffer() (*TextBuffer, error)
- func (v *TextView) GetCursorLocations(iter *TextIter) (strong, weak *gdk.Rectangle)
- func (v *TextView) GetCursorVisible() bool
- func (v *TextView) GetEditable() bool
- func (v *TextView) GetIndent() int
- func (v *TextView) GetInputHints() InputHints
- func (v *TextView) GetInputPurpose() InputPurpose
- func (v *TextView) GetIterAtLocation(x, y int) *TextIter
- func (v *TextView) GetIterAtPosition(x, y int) (*TextIter, int)
- func (v *TextView) GetIterLocation(iter *TextIter) *gdk.Rectangle
- func (v *TextView) GetJustification() Justification
- func (v *TextView) GetLeftMargin() int
- func (v *TextView) GetLineAtY(y int) (*TextIter, int)
- func (v *TextView) GetLineYrange(iter *TextIter) (y, height int)
- func (v *TextView) GetOverwrite() bool
- func (v *TextView) GetPixelsAboveLines() int
- func (v *TextView) GetPixelsBelowLines() int
- func (v *TextView) GetPixelsInsideWrap() int
- func (v *TextView) GetRightMargin() int
- func (v *TextView) GetVisibleRect() *gdk.Rectangle
- func (v *TextView) GetWindow(win TextWindowType) *gdk.Window
- func (v *TextView) GetWindowType(w *gdk.Window) TextWindowType
- func (v *TextView) GetWrapMode() WrapMode
- func (v *TextView) ImContextFilterKeypress(event *gdk.EventKey) bool
- func (v *TextView) MoveChild(child IWidget, xpos, ypos int)
- func (v *TextView) MoveMarkOnscreen(mark *TextMark) bool
- func (v *TextView) MoveVisually(iter *TextIter, count int) bool
- func (v *TextView) PlaceCursorOnscreen() bool
- func (v *TextView) ResetImContext()
- func (v *TextView) ScrollMarkOnscreen(mark *TextMark)
- func (v *TextView) ScrollToIter(iter *TextIter, within_margin float64, use_align bool, xalign, yalign float64) bool
- func (v *TextView) ScrollToMark(mark *TextMark, within_margin float64, use_align bool, xalign, yalign float64)
- func (v *TextView) SetAcceptsTab(acceptsTab bool)
- func (v *TextView) SetBorderWindowSize(tp TextWindowType, size int)
- func (v *TextView) SetBuffer(buffer *TextBuffer)
- func (v *TextView) SetCursorVisible(visible bool)
- func (v *TextView) SetEditable(editable bool)
- func (v *TextView) SetIndent(indent int)
- func (v *TextView) SetInputHints(hints InputHints)
- func (v *TextView) SetInputPurpose(purpose InputPurpose)
- func (v *TextView) SetJustification(justify Justification)
- func (v *TextView) SetLeftMargin(margin int)
- func (v *TextView) SetOverwrite(overwrite bool)
- func (v *TextView) SetPixelsAboveLines(px int)
- func (v *TextView) SetPixelsBelowLines(px int)
- func (v *TextView) SetPixelsInsideWrap(px int)
- func (v *TextView) SetRightMargin(margin int)
- func (v *TextView) SetWrapMode(wrapMode WrapMode)
- func (v *TextView) StartsDisplayLine(iter *TextIter) bool
- func (v *TextView) WindowToBufferCoords(win TextWindowType, window_x, window_y int) (buffer_x, buffer_y int)
- type TextWindowType
- type TickCallback
- type ToggleButton
- func (v *ToggleButton) GetActive() bool
- func (v *ToggleButton) GetInconsistent() bool
- func (v *ToggleButton) GetMode() bool
- func (v *ToggleButton) SetActive(isActive bool)
- func (v *ToggleButton) SetInconsistent(setting bool)
- func (v *ToggleButton) SetMode(drawIndicator bool)
- func (v *ToggleButton) Toggled()
- type ToggleToolButton
- type ToolButton
- func (v *ToolButton) GetIconName() string
- func (v *ToolButton) GetIconWidget() *Widget
- func (v *ToolButton) GetLabel() string
- func (v *ToolButton) GetLabelWidget() *Widget
- func (v *ToolButton) GetuseUnderline() bool
- func (v *ToolButton) SetGetUnderline(useUnderline bool)
- func (v *ToolButton) SetIconName(iconName string)
- func (v *ToolButton) SetIconWidget(iconWidget IWidget)
- func (v *ToolButton) SetLabel(label string)
- func (v *ToolButton) SetLabelWidget(labelWidget IWidget)
- type ToolItem
- func (v *ToolItem) GetExpand() bool
- func (v *ToolItem) GetHomogeneous() bool
- func (v *ToolItem) GetIconSize() IconSize
- func (v *ToolItem) GetIsImportant() bool
- func (v *ToolItem) GetOrientation() Orientation
- func (v *ToolItem) GetReliefStyle() ReliefStyle
- func (v *ToolItem) GetTextAlignment() float32
- func (v *ToolItem) GetTextOrientation() Orientation
- func (v *ToolItem) GetToolbarStyle() ToolbarStyle
- func (v *ToolItem) GetUseDragWindow() bool
- func (v *ToolItem) GetVisibleHorizontal() bool
- func (v *ToolItem) GetVisibleVertical() bool
- func (v *ToolItem) RebuildMenu()
- func (v *ToolItem) RetrieveProxyMenuItem() *MenuItem
- func (v *ToolItem) SetExpand(expand bool)
- func (v *ToolItem) SetHomogeneous(homogeneous bool)
- func (v *ToolItem) SetIsImportant(isImportant bool)
- func (v *ToolItem) SetProxyMenuItem(menuItemId string, menuItem IMenuItem)
- func (v *ToolItem) SetTooltipMarkup(text string)
- func (v *ToolItem) SetTooltipText(text string)
- func (v *ToolItem) SetUseDragWindow(useDragWindow bool)
- func (v *ToolItem) SetVisibleHorizontal(visibleHorizontal bool)
- func (v *ToolItem) SetVisibleVertical(visibleVertical bool)
- func (v *ToolItem) ToolbarReconfigured()
- type Toolbar
- func (v *Toolbar) GetDropIndex(x, y int) int
- func (v *Toolbar) GetIconSize() IconSize
- func (v *Toolbar) GetItemIndex(item IToolItem) int
- func (v *Toolbar) GetNItems() int
- func (v *Toolbar) GetNthItem(n int) *ToolItem
- func (v *Toolbar) GetReliefStyle() ReliefStyle
- func (v *Toolbar) GetShowArrow() bool
- func (v *Toolbar) GetStyle() ToolbarStyle
- func (v *Toolbar) Insert(item IToolItem, pos int)
- func (v *Toolbar) SetDropHighlightItem(toolItem IToolItem, index int)
- func (v *Toolbar) SetIconSize(iconSize IconSize)
- func (v *Toolbar) SetShowArrow(showArrow bool)
- func (v *Toolbar) SetStyle(style ToolbarStyle)
- func (v *Toolbar) UnsetIconSize()
- func (v *Toolbar) UnsetStyle()
- type ToolbarStyle
- type Tooltip
- type TreeIter
- type TreeIterCompareFunc
- type TreeModel
- func (v *TreeModel) FilterNew(root *TreePath) (*TreeModelFilter, error)
- func (v *TreeModel) ForEach(f TreeModelForeachFunc, userData ...interface{}) error
- func (v *TreeModel) GetColumnType(index int) glib.Type
- func (v *TreeModel) GetFlags() TreeModelFlags
- func (v *TreeModel) GetIter(path *TreePath) (*TreeIter, error)
- func (v *TreeModel) GetIterFirst() (*TreeIter, bool)
- func (v *TreeModel) GetIterFromString(path string) (*TreeIter, error)
- func (v *TreeModel) GetNColumns() int
- func (v *TreeModel) GetPath(iter *TreeIter) (*TreePath, error)
- func (v *TreeModel) GetValue(iter *TreeIter, column int) (*glib.Value, error)
- func (v *TreeModel) IterChildren(iter, child *TreeIter) bool
- func (v *TreeModel) IterHasChild(iter *TreeIter) bool
- func (v *TreeModel) IterNChildren(iter *TreeIter) int
- func (v *TreeModel) IterNext(iter *TreeIter) bool
- func (v *TreeModel) IterNthChild(iter *TreeIter, parent *TreeIter, n int) bool
- func (v *TreeModel) IterParent(iter, child *TreeIter) bool
- func (v *TreeModel) IterPrevious(iter *TreeIter) bool
- type TreeModelFilter
- func (v *TreeModelFilter) ConvertChildIterToIter(childIter *TreeIter) (*TreeIter, bool)
- func (v *TreeModelFilter) ConvertChildPathToPath(childPath *TreePath) *TreePath
- func (v *TreeModelFilter) ConvertIterToChildIter(filterIter *TreeIter) *TreeIter
- func (v *TreeModelFilter) ConvertPathToChildPath(filterPath *TreePath) *TreePath
- func (v *TreeModelFilter) Refilter()
- func (v *TreeModelFilter) SetVisibleColumn(column int)
- func (v *TreeModelFilter) SetVisibleFunc(f TreeModelFilterVisibleFunc, userData ...interface{}) error
- type TreeModelFilterVisibleFunc
- type TreeModelFlags
- type TreeModelForeachFunc
- type TreeModelSort
- func (v *TreeModelSort) ClearCache()
- func (v *TreeModelSort) ConvertChildIterToIter(childIter *TreeIter) (*TreeIter, bool)
- func (v *TreeModelSort) ConvertChildPathToPath(childPath *TreePath) *TreePath
- func (v *TreeModelSort) ConvertIterToChildIter(sortIter *TreeIter) *TreeIter
- func (v *TreeModelSort) ConvertPathToChildPath(sortPath *TreePath) *TreePath
- func (v *TreeModelSort) GetModel() ITreeModel
- func (v *TreeModelSort) IterIsValid(iter *TreeIter) bool
- func (v *TreeModelSort) ResetDefaultSortFunc()
- type TreePath
- func (v *TreePath) AppendIndex(index int)
- func (v *TreePath) Compare(b *TreePath) int
- func (v *TreePath) Copy() (*TreePath, error)
- func (v *TreePath) Down()
- func (v *TreePath) GetDepth() int
- func (v *TreePath) GetIndices() []int
- func (v *TreePath) IsAncestor(descendant *TreePath) bool
- func (v *TreePath) IsDescendant(ancestor *TreePath) bool
- func (v *TreePath) Next()
- func (v *TreePath) PrependIndex(index int)
- func (v *TreePath) Prev() bool
- func (v *TreePath) String() string
- func (v *TreePath) Up() bool
- type TreeRowReference
- type TreeSelection
- func (v *TreeSelection) CountSelectedRows() int
- func (v *TreeSelection) GetMode() SelectionMode
- func (v *TreeSelection) GetSelected() (model ITreeModel, iter *TreeIter, ok bool)
- func (v *TreeSelection) GetSelectedRows(model ITreeModel) *glib.List
- func (v *TreeSelection) IterIsSelected(iter *TreeIter) bool
- func (v *TreeSelection) PathIsSelected(path *TreePath) bool
- func (v *TreeSelection) SelectAll()
- func (v *TreeSelection) SelectIter(iter *TreeIter)
- func (v *TreeSelection) SelectPath(path *TreePath)
- func (v *TreeSelection) SelectRange(start, end *TreePath)
- func (v *TreeSelection) SelectedForEach(f TreeSelectionForeachFunc, userData ...interface{}) error
- func (v *TreeSelection) SetMode(m SelectionMode)
- func (v *TreeSelection) UnselectAll()
- func (v *TreeSelection) UnselectIter(iter *TreeIter)
- func (v *TreeSelection) UnselectPath(path *TreePath)
- func (v *TreeSelection) UnselectRange(start, end *TreePath)
- type TreeSelectionForeachFunc
- type TreeSortable
- func (v *TreeSortable) GetSortColumnId() (int, SortType, bool)
- func (v *TreeSortable) HasDefaultSortFunc() bool
- func (v *TreeSortable) SetDefaultSortFunc(f TreeIterCompareFunc, userData ...interface{}) error
- func (v *TreeSortable) SetSortColumnId(column int, order SortType)
- func (v *TreeSortable) SetSortFunc(sortColumn int, f TreeIterCompareFunc, userData ...interface{}) error
- type TreeStore
- func (v *TreeStore) Append(parent *TreeIter) *TreeIter
- func (v *TreeStore) Clear()
- func (v *TreeStore) Insert(parent *TreeIter, position int) *TreeIter
- func (v *TreeStore) InsertAfter(parent, sibling *TreeIter) *TreeIter
- func (v *TreeStore) InsertBefore(parent, sibling *TreeIter) *TreeIter
- func (v *TreeStore) InsertWithValues(iter, parent *TreeIter, position int, inColumns []int, inValues []interface{}) error
- func (v *TreeStore) Remove(iter *TreeIter) bool
- func (v *TreeStore) SetValue(iter *TreeIter, column int, value interface{}) error
- type TreeView
- func (v *TreeView) AppendColumn(column *TreeViewColumn) int
- func (v *TreeView) CollapseAll()
- func (v *TreeView) CollapseRow(path *TreePath) bool
- func (v *TreeView) ColumnsAutosize()
- func (v *TreeView) ConvertBinWindowToWidgetCoords(bx, by int, wx, wy *int)
- func (v *TreeView) ConvertWidgetToBinWindowCoords(wx, wy int, bx, by *int)
- func (v *TreeView) ExpandAll()
- func (v *TreeView) ExpandRow(path *TreePath, openAll bool) bool
- func (v *TreeView) ExpandToPath(path *TreePath)
- func (v *TreeView) GetActivateOnSingleClick() bool
- func (v *TreeView) GetBinWindow() *gdk.Window
- func (v *TreeView) GetCellArea(path *TreePath, column *TreeViewColumn) *gdk.Rectangle
- func (v *TreeView) GetColumn(n int) *TreeViewColumn
- func (v *TreeView) GetColumns() *glib.List
- func (v *TreeView) GetCursor() (p *TreePath, c *TreeViewColumn)
- func (v *TreeView) GetEnableSearch() bool
- func (v *TreeView) GetEnableTreeLines() bool
- func (v *TreeView) GetExpanderColumn() *TreeViewColumn
- func (v *TreeView) GetFixedHeightMode() bool
- func (v *TreeView) GetGridLines() TreeViewGridLines
- func (v *TreeView) GetHeadersClickable() bool
- func (v *TreeView) GetHeadersVisible() bool
- func (v *TreeView) GetHoverExpand() bool
- func (v *TreeView) GetHoverSelection() bool
- func (v *TreeView) GetLevelIndentation() int
- func (v *TreeView) GetModel() (*TreeModel, error)
- func (v *TreeView) GetNColumns() uint
- func (v *TreeView) GetPathAtPos(x, y int) (*TreePath, *TreeViewColumn, int, int, bool)
- func (v *TreeView) GetReorderable() bool
- func (v *TreeView) GetRubberBanding() bool
- func (v *TreeView) GetSearchColumn() int
- func (v *TreeView) GetSearchEntry() *Entry
- func (v *TreeView) GetSelection() (*TreeSelection, error)
- func (v *TreeView) GetShowExpanders() bool
- func (v *TreeView) GetTooltipColumn() int
- func (v *TreeView) InsertColumn(column *TreeViewColumn, pos int) int
- func (v *TreeView) IsBlankAtPos(x, y int) (*TreePath, *TreeViewColumn, int, int, bool)
- func (v *TreeView) IsRubberBandingActive() bool
- func (v *TreeView) MoveColumnAfter(column *TreeViewColumn, baseColumn *TreeViewColumn)
- func (v *TreeView) RemoveColumn(column *TreeViewColumn) int
- func (v *TreeView) RowActivated(path *TreePath, column *TreeViewColumn)
- func (v *TreeView) RowExpanded(path *TreePath) bool
- func (v *TreeView) ScrollToCell(path *TreePath, column *TreeViewColumn, align bool, xAlign, yAlign float32)
- func (v *TreeView) ScrollToPoint(treeX, treeY int)
- func (v *TreeView) SetActivateOnSingleClick(show bool)
- func (v *TreeView) SetCursor(path *TreePath, focusColumn *TreeViewColumn, startEditing bool)
- func (v *TreeView) SetCursorOnCell(path *TreePath, focusColumn *TreeViewColumn, focusCell *CellRenderer, ...)
- func (v *TreeView) SetEnableSearch(b bool)
- func (v *TreeView) SetEnableTreeLines(b bool)
- func (v *TreeView) SetExpanderColumn(column *TreeViewColumn)
- func (v *TreeView) SetFixedHeightMode(b bool)
- func (v *TreeView) SetGridLines(gridLines TreeViewGridLines)
- func (v *TreeView) SetHeadersClickable(show bool)
- func (v *TreeView) SetHeadersVisible(show bool)
- func (v *TreeView) SetHoverExpand(b bool)
- func (v *TreeView) SetHoverSelection(b bool)
- func (v *TreeView) SetLevelIndentation(indent int)
- func (v *TreeView) SetModel(model ITreeModel)
- func (v *TreeView) SetReorderable(b bool)
- func (v *TreeView) SetRubberBanding(b bool)
- func (v *TreeView) SetSearchColumn(c int)
- func (v *TreeView) SetSearchEntry(e *Entry)
- func (v *TreeView) SetSearchEqualSubstringMatch()
- func (v *TreeView) SetShowExpanders(show bool)
- func (v *TreeView) SetTooltipCell(tooltip *Tooltip, path *TreePath, column *TreeViewColumn, cell *CellRenderer)
- func (v *TreeView) SetTooltipColumn(c int)
- func (v *TreeView) SetTooltipRow(tooltip *Tooltip, path *TreePath)
- type TreeViewColumn
- func (v *TreeViewColumn) AddAttribute(renderer ICellRenderer, attribute string, column int)
- func (v *TreeViewColumn) CellIsVisible() bool
- func (v *TreeViewColumn) Clear()
- func (v *TreeViewColumn) ClearAttributes(cell *CellRenderer)
- func (v *TreeViewColumn) Clicked()
- func (v *TreeViewColumn) FocusCell(cell *CellRenderer)
- func (v *TreeViewColumn) GetButton() (*Widget, error)
- func (v *TreeViewColumn) GetClickable() bool
- func (v *TreeViewColumn) GetExpand() bool
- func (v *TreeViewColumn) GetFixedWidth() int
- func (v *TreeViewColumn) GetMaxWidth() int
- func (v *TreeViewColumn) GetMinWidth() int
- func (v *TreeViewColumn) GetReorderable() bool
- func (v *TreeViewColumn) GetResizable() bool
- func (v *TreeViewColumn) GetSizing() TreeViewColumnSizing
- func (v *TreeViewColumn) GetSortColumnID() int
- func (v *TreeViewColumn) GetSortIndicator() bool
- func (v *TreeViewColumn) GetSortOrder() SortType
- func (v *TreeViewColumn) GetSpacing() int
- func (v *TreeViewColumn) GetTitle() string
- func (v *TreeViewColumn) GetVisible() bool
- func (v *TreeViewColumn) GetWidget() (*Widget, error)
- func (v *TreeViewColumn) GetWidth() int
- func (v *TreeViewColumn) GetXOffset() int
- func (v *TreeViewColumn) PackEnd(cell ICellRenderer, expand bool)
- func (v *TreeViewColumn) PackStart(cell ICellRenderer, expand bool)
- func (v *TreeViewColumn) QueueResize()
- func (v *TreeViewColumn) SetClickable(clickable bool)
- func (v *TreeViewColumn) SetExpand(expand bool)
- func (v *TreeViewColumn) SetFixedWidth(w int)
- func (v *TreeViewColumn) SetMaxWidth(w int)
- func (v *TreeViewColumn) SetMinWidth(minWidth int)
- func (v *TreeViewColumn) SetReorderable(reorderable bool)
- func (v *TreeViewColumn) SetResizable(resizable bool)
- func (v *TreeViewColumn) SetSizing(sizing TreeViewColumnSizing)
- func (v *TreeViewColumn) SetSortColumnID(w int)
- func (v *TreeViewColumn) SetSortIndicator(reorderable bool)
- func (v *TreeViewColumn) SetSortOrder(order SortType)
- func (v *TreeViewColumn) SetSpacing(spacing int)
- func (v *TreeViewColumn) SetTitle(t string)
- func (v *TreeViewColumn) SetVisible(visible bool)
- func (v *TreeViewColumn) SetWidget(widget IWidget)
- type TreeViewColumnSizing
- type TreeViewGridLines
- type Unit
- type Viewport
- type VolumeButton
- type Widget
- func (v *Widget) Activate() bool
- func (v *Widget) AddAccelerator(signal string, group *AccelGroup, key uint, mods gdk.ModifierType, ...)
- func (v *Widget) AddEvents(events int)
- func (v *Widget) AddTickCallback(fn TickCallback, userData uintptr) int
- func (v *Widget) CanActivateAccel(signalId uint) bool
- func (v *Widget) Destroy()
- func (v *Widget) DragDestSet(flags DestDefaults, targets []TargetEntry, actions gdk.DragAction)
- func (v *Widget) DragSourceSet(startButtonMask gdk.ModifierType, targets []TargetEntry, ...)
- func (v *Widget) Event(event *gdk.Event) bool
- func (v *Widget) FreezeChildNotify()
- func (v *Widget) GetAllocatedHeight() int
- func (v *Widget) GetAllocatedWidth() int
- func (v *Widget) GetAllocation() *Allocation
- func (v *Widget) GetAppPaintable() bool
- func (v *Widget) GetCanDefault() bool
- func (v *Widget) GetCanFocus() bool
- func (v *Widget) GetClip() *Allocation
- func (v *Widget) GetDeviceEnabled(device *gdk.Device) bool
- func (v *Widget) GetEvents() int
- func (v *Widget) GetFocusOnClick() bool
- func (v *Widget) GetFrameClock() *gdk.FrameClock
- func (v *Widget) GetHAlign() Align
- func (v *Widget) GetHExpand() bool
- func (v *Widget) GetHasWindow() bool
- func (v *Widget) GetMapped() bool
- func (v *Widget) GetMarginBottom() int
- func (v *Widget) GetMarginEnd() int
- func (v *Widget) GetMarginStart() int
- func (v *Widget) GetMarginTop() int
- func (v *Widget) GetName() (string, error)
- func (v *Widget) GetNoShowAll() bool
- func (v *Widget) GetOpacity() float64
- func (v *Widget) GetParent() (*Widget, error)
- func (v *Widget) GetParentWindow() (*gdk.Window, error)
- func (v *Widget) GetPreferredHeight() (int, int)
- func (v *Widget) GetPreferredWidth() (int, int)
- func (v *Widget) GetRealized() bool
- func (v *Widget) GetScreen() (*gdk.Screen, error)
- func (v *Widget) GetSensitive() bool
- func (v *Widget) GetSizeRequest() (width, height int)
- func (v *Widget) GetStyleContext() (*StyleContext, error)
- func (v *Widget) GetTooltipMarkup() (string, error)
- func (v *Widget) GetTooltipText() (string, error)
- func (v *Widget) GetToplevel() (*Widget, error)
- func (v *Widget) GetVAlign() Align
- func (v *Widget) GetVExpand() bool
- func (v *Widget) GetVisible() bool
- func (v *Widget) GetWindow() (*gdk.Window, error)
- func (v *Widget) GrabDefault()
- func (v *Widget) GrabFocus()
- func (v *Widget) HasDefault() bool
- func (v *Widget) HasFocus() bool
- func (v *Widget) HasGrab() bool
- func (v *Widget) HasVisibleFocus() bool
- func (v *Widget) Hide()
- func (v *Widget) HideOnDelete()
- func (v *Widget) InDestruction() bool
- func (v *Widget) InsertActionGroup(name string, group glib.IActionGroup)
- func (v *Widget) Intersect(area gdk.Rectangle) (*gdk.Rectangle, bool)
- func (v *Widget) IsDrawable() bool
- func (v *Widget) IsFocus() bool
- func (v *Widget) IsSensitive() bool
- func (v *Widget) IsToplevel() bool
- func (v *Widget) IsVisible() bool
- func (v *Widget) Map()
- func (v *Widget) QueueDraw()
- func (v *Widget) QueueDrawArea(x, y, w, h int)
- func (v *Widget) RemoveAccelerator(group *AccelGroup, key uint, mods gdk.ModifierType) bool
- func (v *Widget) RemoveTickCallback(id int)
- func (v *Widget) ResetStyle()
- func (v *Widget) SetAccelPath(path string, group *AccelGroup)
- func (v *Widget) SetAllocation(allocation *Allocation)
- func (v *Widget) SetAppPaintable(paintable bool)
- func (v *Widget) SetCanDefault(canDefault bool)
- func (v *Widget) SetCanFocus(canFocus bool)
- func (v *Widget) SetClip(clip *Allocation)
- func (v *Widget) SetDeviceEnabled(device *gdk.Device, enabled bool)
- func (v *Widget) SetEvents(events int)
- func (v *Widget) SetFocusOnClick(focusOnClick bool)
- func (v *Widget) SetHAlign(align Align)
- func (v *Widget) SetHExpand(expand bool)
- func (v *Widget) SetHasWindow(hasWindow bool)
- func (v *Widget) SetMapped(mapped bool)
- func (v *Widget) SetMarginBottom(margin int)
- func (v *Widget) SetMarginEnd(margin int)
- func (v *Widget) SetMarginStart(margin int)
- func (v *Widget) SetMarginTop(margin int)
- func (v *Widget) SetName(name string)
- func (v *Widget) SetNoShowAll(noShowAll bool)
- func (v *Widget) SetOpacity(opacity float64)
- func (v *Widget) SetParent(parent IWidget)
- func (v *Widget) SetParentWindow(parentWindow *gdk.Window)
- func (v *Widget) SetRealized(realized bool)
- func (v *Widget) SetSensitive(sensitive bool)
- func (v *Widget) SetSizeRequest(width, height int)
- func (v *Widget) SetStateFlags(stateFlags StateFlags, clear bool)
- func (v *Widget) SetTooltipMarkup(text string)
- func (v *Widget) SetTooltipText(text string)
- func (v *Widget) SetVAlign(align Align)
- func (v *Widget) SetVExpand(expand bool)
- func (v *Widget) SetVisible(visible bool)
- func (v *Widget) SetVisual(visual *gdk.Visual)
- func (v *Widget) Show()
- func (v *Widget) ShowAll()
- func (v *Widget) ShowNow()
- func (v *Widget) SizeAllocate(allocation *Allocation)
- func (v *Widget) ThawChildNotify()
- func (v *Widget) TranslateCoordinates(dest IWidget, srcX, srcY int) (destX, destY int, e error)
- func (v *Widget) Unmap()
- func (v *Widget) Unparent()
- type Window
- func (v *Window) ActivateDefault() bool
- func (v *Window) ActivateFocus() bool
- func (v *Window) ActivateKey(event *gdk.EventKey) bool
- func (v *Window) ActivateMnemonic(keyval uint, mods gdk.ModifierType) bool
- func (v *Window) AddAccelGroup(accelGroup *AccelGroup)
- func (v *Window) AddMnemonic(keyval uint, target *Widget)
- func (v *Window) BeginMoveDrag(button, rootX, rootY int, timestamp uint32)
- func (v *Window) BeginResizeDrag(edge gdk.WindowEdge, button, rootX, rootY int, timestamp uint32)
- func (v *Window) Close()
- func (v *Window) Deiconify()
- func (v *Window) Fullscreen()
- func (v *Window) FullscreenOnMonitor(screen *gdk.Screen, monitor int)
- func (v *Window) GetAcceptFocus() bool
- func (v *Window) GetApplication() (*Application, error)
- func (v *Window) GetAttachedTo() (*Widget, error)
- func (v *Window) GetDecorated() bool
- func (v *Window) GetDefaultSize() (width, height int)
- func (v *Window) GetDefaultWidget() *Widget
- func (v *Window) GetDeletable() bool
- func (v *Window) GetDestroyWithParent() bool
- func (v *Window) GetFocus() (*Widget, error)
- func (v *Window) GetFocusOnMap() bool
- func (v *Window) GetFocusVisible() bool
- func (v *Window) GetGravity() gdk.Gravity
- func (v *Window) GetGroup() *WindowGroup
- func (v *Window) GetHideTitlebarWhenMaximized() bool
- func (v *Window) GetIcon() (*gdk.Pixbuf, error)
- func (v *Window) GetIconList() *glib.List
- func (v *Window) GetIconName() (string, error)
- func (v *Window) GetMnemonicModifier() gdk.ModifierType
- func (v *Window) GetMnemonicsVisible() bool
- func (v *Window) GetModal() bool
- func (v *Window) GetPosition() (int, int)
- func (v *Window) GetResizable() bool
- func (v *Window) GetRole() (string, error)
- func (v *Window) GetScreen() *gdk.Screen
- func (v *Window) GetSize() (width, height int)
- func (v *Window) GetSkipPagerHint() bool
- func (v *Window) GetSkipTaskbarHint() bool
- func (v *Window) GetTitle() (string, error)
- func (v *Window) GetTitlebar() *Widget
- func (v *Window) GetTransientFor() (*Window, error)
- func (v *Window) GetTypeHint() gdk.WindowTypeHint
- func (v *Window) GetUrgencyHint() bool
- func (v *Window) GetWindowType() WindowType
- func (v *Window) HasGroup() bool
- func (v *Window) HasToplevelFocus() bool
- func (v *Window) Iconify()
- func (v *Window) IsActive() bool
- func (v *Window) IsMaximized() bool
- func (v *Window) Maximize()
- func (v *Window) Move(x, y int)
- func (v *Window) Present()
- func (v *Window) PresentWithTime(ts uint32)
- func (v *Window) PropagateKeyEvent(event *gdk.EventKey) bool
- func (v *Window) RemoveAccelGroup(accelGroup *AccelGroup)
- func (v *Window) RemoveMnemonic(keyval uint, target *Widget)
- func (v *Window) Resize(width, height int)
- func (v *Window) SetAcceptFocus(setting bool)
- func (v *Window) SetApplication(a *Application)
- func (v *Window) SetAttachedTo(attachWidget IWidget)
- func (v *Window) SetDecorated(setting bool)
- func (v *Window) SetDefault(widget IWidget)
- func (v *Window) SetDefaultSize(width, height int)
- func (v *Window) SetDeletable(setting bool)
- func (v *Window) SetDestroyWithParent(setting bool)
- func (v *Window) SetFocus(w *Widget)
- func (v *Window) SetFocusOnMap(setting bool)
- func (v *Window) SetFocusVisible(setting bool)
- func (v *Window) SetGeometryHints(geometryWidget IWidget, geometry gdk.Geometry, geometryMask gdk.WindowHints)
- func (v *Window) SetGravity(gravity gdk.Gravity)
- func (v *Window) SetHideTitlebarWhenMaximized(setting bool)
- func (v *Window) SetIcon(icon *gdk.Pixbuf)
- func (v *Window) SetIconFromFile(file string) error
- func (v *Window) SetIconList(list *glib.List)
- func (v *Window) SetIconName(name string)
- func (v *Window) SetKeepAbove(setting bool)
- func (v *Window) SetKeepBelow(setting bool)
- func (v *Window) SetMnemonicModifier(mods gdk.ModifierType)
- func (v *Window) SetMnemonicsVisible(setting bool)
- func (v *Window) SetModal(modal bool)
- func (v *Window) SetPosition(position WindowPosition)
- func (v *Window) SetResizable(resizable bool)
- func (v *Window) SetRole(s string)
- func (v *Window) SetScreen(screen *gdk.Screen)
- func (v *Window) SetSkipPagerHint(setting bool)
- func (v *Window) SetSkipTaskbarHint(setting bool)
- func (v *Window) SetStartupID(sid string)
- func (v *Window) SetTitle(title string)
- func (v *Window) SetTitlebar(titlebar IWidget)
- func (v *Window) SetTransientFor(parent IWindow)
- func (v *Window) SetTypeHint(typeHint gdk.WindowTypeHint)
- func (v *Window) SetUrgencyHint(setting bool)
- func (v *Window) Stick()
- func (v *Window) Unfullscreen()
- func (v *Window) Unmaximize()
- func (v *Window) Unstick()
- type WindowGroup
- type WindowPosition
- type WindowType
- type WrapFn
- type WrapMode
Constants ¶
const ( ICON_LOOKUP_NO_SVG IconLookupFlags = C.GTK_ICON_LOOKUP_NO_SVG ICON_LOOKUP_FORCE_SVG = C.GTK_ICON_LOOKUP_FORCE_SVG ICON_LOOKUP_USE_BUILTIN = C.GTK_ICON_LOOKUP_USE_BUILTIN ICON_LOOKUP_GENERIC_FALLBACK = C.GTK_ICON_LOOKUP_GENERIC_FALLBACK ICON_LOOKUP_FORCE_SIZE = C.GTK_ICON_LOOKUP_FORCE_SIZE )
const ( SORT_COLUMN_DEFAULT int = -1 SORT_COLUMN_UNSORTED int = -2 )
Use as column id in SetSortColumnId to specify ListStore sorted by default column or unsorted
const ( LEVEL_BAR_OFFSET_LOW string = C.GTK_LEVEL_BAR_OFFSET_LOW LEVEL_BAR_OFFSET_HIGH string = C.GTK_LEVEL_BAR_OFFSET_HIGH )
stock offset macro values of GtkLevelBar
const ( UNIT_PIXEL int = C.GTK_UNIT_PIXEL PAPER_NAME_A3 string = C.GTK_PAPER_NAME_A3 PAPER_NAME_A4 string = C.GTK_PAPER_NAME_A4 PAPER_NAME_A5 string = C.GTK_PAPER_NAME_A5 PAPER_NAME_B5 string = C.GTK_PAPER_NAME_B5 PAPER_NAME_LETTER string = C.GTK_PAPER_NAME_LETTER PAPER_NAME_EXECUTIVE string = C.GTK_PAPER_NAME_EXECUTIVE PAPER_NAME_LEGAL string = C.GTK_PAPER_NAME_LEGAL )
const ( PRINT_SETTINGS_PRINTER string = C.GTK_PRINT_SETTINGS_PRINTER PRINT_SETTINGS_ORIENTATION string = C.GTK_PRINT_SETTINGS_ORIENTATION PRINT_SETTINGS_PAPER_FORMAT string = C.GTK_PRINT_SETTINGS_PAPER_FORMAT PRINT_SETTINGS_PAPER_WIDTH string = C.GTK_PRINT_SETTINGS_PAPER_WIDTH PRINT_SETTINGS_PAPER_HEIGHT string = C.GTK_PRINT_SETTINGS_PAPER_HEIGHT PRINT_SETTINGS_USE_COLOR string = C.GTK_PRINT_SETTINGS_USE_COLOR PRINT_SETTINGS_COLLATE string = C.GTK_PRINT_SETTINGS_COLLATE PRINT_SETTINGS_REVERSE string = C.GTK_PRINT_SETTINGS_REVERSE PRINT_SETTINGS_DUPLEX string = C.GTK_PRINT_SETTINGS_DUPLEX PRINT_SETTINGS_QUALITY string = C.GTK_PRINT_SETTINGS_QUALITY PRINT_SETTINGS_N_COPIES string = C.GTK_PRINT_SETTINGS_N_COPIES PRINT_SETTINGS_NUMBER_UP string = C.GTK_PRINT_SETTINGS_NUMBER_UP PRINT_SETTINGS_NUMBER_UP_LAYOUT string = C.GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT PRINT_SETTINGS_RESOLUTION string = C.GTK_PRINT_SETTINGS_RESOLUTION PRINT_SETTINGS_RESOLUTION_X string = C.GTK_PRINT_SETTINGS_RESOLUTION_X PRINT_SETTINGS_RESOLUTION_Y string = C.GTK_PRINT_SETTINGS_RESOLUTION_Y PRINT_SETTINGS_PRINTER_LPI string = C.GTK_PRINT_SETTINGS_PRINTER_LPI PRINT_SETTINGS_SCALE string = C.GTK_PRINT_SETTINGS_SCALE PRINT_SETTINGS_PRINT_PAGES string = C.GTK_PRINT_SETTINGS_PRINT_PAGES PRINT_SETTINGS_PAGE_RANGES string = C.GTK_PRINT_SETTINGS_PAGE_RANGES PRINT_SETTINGS_PAGE_SET string = C.GTK_PRINT_SETTINGS_PAGE_SET PRINT_SETTINGS_DEFAULT_SOURCE string = C.GTK_PRINT_SETTINGS_DEFAULT_SOURCE PRINT_SETTINGS_MEDIA_TYPE string = C.GTK_PRINT_SETTINGS_MEDIA_TYPE PRINT_SETTINGS_DITHER string = C.GTK_PRINT_SETTINGS_DITHER PRINT_SETTINGS_FINISHINGS string = C.GTK_PRINT_SETTINGS_FINISHINGS PRINT_SETTINGS_OUTPUT_BIN string = C.GTK_PRINT_SETTINGS_OUTPUT_BIN PRINT_SETTINGS_OUTPUT_DIR string = C.GTK_PRINT_SETTINGS_OUTPUT_DIR PRINT_SETTINGS_OUTPUT_BASENAME string = C.GTK_PRINT_SETTINGS_OUTPUT_BASENAME PRINT_SETTINGS_OUTPUT_FILE_FORMAT string = C.GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT PRINT_SETTINGS_OUTPUT_URI string = C.GTK_PRINT_SETTINGS_OUTPUT_URI PRINT_SETTINGS_WIN32_DRIVER_EXTRA string = C.GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA PRINT_SETTINGS_WIN32_DRIVER_VERSION string = C.GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION )
const ( STYLE_PROVIDER_PRIORITY_FALLBACK StyleProviderPriority = C.GTK_STYLE_PROVIDER_PRIORITY_FALLBACK STYLE_PROVIDER_PRIORITY_THEME = C.GTK_STYLE_PROVIDER_PRIORITY_THEME STYLE_PROVIDER_PRIORITY_SETTINGS = C.GTK_STYLE_PROVIDER_PRIORITY_SETTINGS STYLE_PROVIDER_PRIORITY_APPLICATION = C.GTK_STYLE_PROVIDER_PRIORITY_APPLICATION STYLE_PROVIDER_PRIORITY_USER = C.GTK_STYLE_PROVIDER_PRIORITY_USER )
const ( TREE_VIEW_COLUMN_GROW_ONLY TreeViewColumnSizing = C.GTK_TREE_VIEW_COLUMN_GROW_ONLY TREE_VIEW_COLUMN_AUTOSIZE = C.GTK_TREE_VIEW_COLUMN_AUTOSIZE TREE_VIEW_COLUMN_FIXED = C.GTK_TREE_VIEW_COLUMN_FIXED )
const (
LEVEL_BAR_OFFSET_FULL string = C.GTK_LEVEL_BAR_OFFSET_FULL
)
Variables ¶
var WrapMap = map[string]WrapFn{
"GtkAccelGroup": wrapAccelGroup,
"GtkAccelMao": wrapAccelMap,
"GtkAdjustment": wrapAdjustment,
"GtkApplicationWindow": wrapApplicationWindow,
"GtkAssistant": wrapAssistant,
"GtkBin": wrapBin,
"GtkBox": wrapBox,
"GtkButton": wrapButton,
"GtkCalendar": wrapCalendar,
"GtkCellLayout": wrapCellLayout,
"GtkCellRenderer": wrapCellRenderer,
"GtkCellRendererSpinner": wrapCellRendererSpinner,
"GtkCellRendererPixbuf": wrapCellRendererPixbuf,
"GtkCellRendererText": wrapCellRendererText,
"GtkCellRendererProgress": wrapCellRendererProgress,
"GtkCellRendererToggle": wrapCellRendererToggle,
"GtkCheckButton": wrapCheckButton,
"GtkCheckMenuItem": wrapCheckMenuItem,
"GtkClipboard": wrapClipboard,
"GtkColorButton": wrapColorButton,
"GtkContainer": wrapContainer,
"GtkDialog": wrapDialog,
"GtkDrawingArea": wrapDrawingArea,
"GtkEditable": wrapEditable,
"GtkEntry": wrapEntry,
"GtkEntryBuffer": wrapEntryBuffer,
"GtkEntryCompletion": wrapEntryCompletion,
"GtkEventBox": wrapEventBox,
"GtkExpander": wrapExpander,
"GtkFrame": wrapFrame,
"GtkFileChooser": wrapFileChooser,
"GtkFileChooserButton": wrapFileChooserButton,
"GtkFileChooserDialog": wrapFileChooserDialog,
"GtkFileChooserWidget": wrapFileChooserWidget,
"GtkGrid": wrapGrid,
"GtkIconView": wrapIconView,
"GtkImage": wrapImage,
"GtkLabel": wrapLabel,
"GtkLayout": wrapLayout,
"GtkLinkButton": wrapLinkButton,
"GtkListStore": wrapListStore,
"GtkMenu": wrapMenu,
"GtkMenuBar": wrapMenuBar,
"GtkMenuButton": wrapMenuButton,
"GtkMenuItem": wrapMenuItem,
"GtkMenuShell": wrapMenuShell,
"GtkMessageDialog": wrapMessageDialog,
"GtkNotebook": wrapNotebook,
"GtkOffscreenWindow": wrapOffscreenWindow,
"GtkOrientable": wrapOrientable,
"GtkOverlay": wrapOverlay,
"GtkPaned": wrapPaned,
"GtkProgressBar": wrapProgressBar,
"GtkRadioButton": wrapRadioButton,
"GtkRadioMenuItem": wrapRadioMenuItem,
"GtkRange": wrapRange,
"GtkRecentChooser": wrapRecentChooser,
"GtkRecentChooserMenu": wrapRecentChooserMenu,
"GtkRecentFilter": wrapRecentFilter,
"GtkRecentManager": wrapRecentManager,
"GtkScaleButton": wrapScaleButton,
"GtkScale": wrapScale,
"GtkScrollable": wrapScrollable,
"GtkScrollbar": wrapScrollbar,
"GtkScrolledWindow": wrapScrolledWindow,
"GtkSearchEntry": wrapSearchEntry,
"GtkSeparator": wrapSeparator,
"GtkSeparatorMenuItem": wrapSeparatorMenuItem,
"GtkSeparatorToolItem": wrapSeparatorToolItem,
"GtkSpinButton": wrapSpinButton,
"GtkSpinner": wrapSpinner,
"GtkStatusbar": wrapStatusbar,
"GtkSwitch": wrapSwitch,
"GtkTextView": wrapTextView,
"GtkTextBuffer": wrapTextBuffer,
"GtkTextTag": wrapTextTag,
"GtkTextTagTable": wrapTextTagTable,
"GtkToggleButton": wrapToggleButton,
"GtkToolbar": wrapToolbar,
"GtkToolButton": wrapToolButton,
"GtkToggleToolButton": wrapToggleToolButton,
"GtkToolItem": wrapToolItem,
"GtkTreeModel": wrapTreeModel,
"GtkTreeModelFilter": wrapTreeModelFilter,
"GtkTreeModelSort": wrapTreeModelSort,
"GtkTreeSelection": wrapTreeSelection,
"GtkTreeStore": wrapTreeStore,
"GtkTreeView": wrapTreeView,
"GtkTreeViewColumn": wrapTreeViewColumn,
"GtkViewport": wrapViewport,
"GtkVolumeButton": wrapVolumeButton,
"GtkWidget": wrapWidget,
"GtkWindow": wrapWindow,
}
Functions ¶
func AccelGroupsActivate ¶
AccelGroupsActivate is a wrapper around gtk_accel_groups_activate().
func AccelGroupsFromObject ¶
AccelGroupsFromObject is a wrapper around gtk_accel_groups_from_object().
func AccelMapAddEntry ¶
func AccelMapAddEntry(path string, key uint, mods gdk.ModifierType)
AccelMapAddEntry is a wrapper around gtk_accel_map_add_entry().
func AccelMapAddFilter ¶
func AccelMapAddFilter(filter string)
AccelMapAddFilter is a wrapper around gtk_accel_map_add_filter().
func AccelMapChangeEntry ¶
AccelMapChangeEntry is a wrapper around gtk_accel_map_change_entry().
func AccelMapLoad ¶
func AccelMapLoad(fileName string)
AccelMapLoad is a wrapper around gtk_accel_map_load().
func AccelMapLoadFD ¶
func AccelMapLoadFD(fd int)
AccelMapLoadFD is a wrapper around gtk_accel_map_load_fd().
func AccelMapLockPath ¶
func AccelMapLockPath(path string)
AccelMapLockPath is a wrapper around gtk_accel_map_lock_path().
func AccelMapSave ¶
func AccelMapSave(fileName string)
AccelMapSave is a wrapper around gtk_accel_map_save().
func AccelMapSaveFD ¶
func AccelMapSaveFD(fd int)
AccelMapSaveFD is a wrapper around gtk_accel_map_save_fd().
func AccelMapUnlockPath ¶
func AccelMapUnlockPath(path string)
AccelMapUnlockPath is a wrapper around gtk_accel_map_unlock_path().
func AcceleratorGetDefaultModMask ¶
func AcceleratorGetDefaultModMask() gdk.ModifierType
AcceleratorGetDefaultModMask is a wrapper around gtk_accelerator_get_default_mod_mask().
func AcceleratorGetLabel ¶
func AcceleratorGetLabel(key uint, mods gdk.ModifierType) string
AcceleratorGetLabel is a wrapper around gtk_accelerator_get_label().
func AcceleratorName ¶
func AcceleratorName(key uint, mods gdk.ModifierType) string
AcceleratorName is a wrapper around gtk_accelerator_name().
func AcceleratorParse ¶
func AcceleratorParse(acc string) (key uint, mods gdk.ModifierType)
AcceleratorParse is a wrapper around gtk_accelerator_parse().
func AcceleratorSetDefaultModMask ¶
func AcceleratorSetDefaultModMask(mods gdk.ModifierType)
AcceleratorSetDefaultModMask is a wrapper around gtk_accelerator_set_default_mod_mask().
func AcceleratorValid ¶
func AcceleratorValid(key uint, mods gdk.ModifierType) bool
AcceleratorValid is a wrapper around gtk_accelerator_valid().
func AddProviderForScreen ¶
func AddProviderForScreen(s *gdk.Screen, provider IStyleProvider, prio uint)
AddProviderForScreen is a wrapper around gtk_style_context_add_provider_for_screen().
func CheckVersion ¶
func DragSetIconPixbuf ¶
for "drag-begin" event
func EventsPending ¶
func EventsPending() bool
EventsPending is a wrapper around gtk_events_pending.
func GdkCairoSetSourcePixBuf ¶
GdkCairoSetSourcePixBuf() is a wrapper around gdk_cairo_set_source_pixbuf().
func GetMajorVersion ¶
func GetMajorVersion() uint
func GetMicroVersion ¶
func GetMicroVersion() uint
func GetMinorVersion ¶
func GetMinorVersion() uint
func Init ¶
func Init(args *[]string)
Init() is a wrapper around gtk_init() and must be called before any other GTK calls and is used to initialize everything necessary.
In addition to setting up GTK for usage, a pointer to a slice of strings may be passed in to parse standard GTK command line arguments. args will be modified to remove any flags that were handled. Alternatively, nil may be passed in to not perform any command line parsing.
func InitCheck ¶
InitCheck() is a wrapper around gtk_init_check() and works exactly like Init() only that it doesn't terminate the program if initialization fails.
func Main ¶
func Main()
Main() is a wrapper around gtk_main() and runs the GTK main loop, blocking until MainQuit() is called.
func MainIteration ¶
func MainIteration() bool
MainIteration is a wrapper around gtk_main_iteration.
func MainIterationDo ¶
MainIterationDo is a wrapper around gtk_main_iteration_do.
func MainQuit ¶
func MainQuit()
MainQuit() is a wrapper around gtk_main_quit() is used to terminate the GTK main loop (started by Main()).
func OpenFileChooserNative ¶
* FileChooserNative
func PaperSizeGetDefaultRightMargin ¶
PaperSizeGetDefault() is a wrapper around gtk_paper_size_get_default().
func PaperSizeGetPaperSizes ¶
PaperSizeGetPaperSizes() is a wrapper around gtk_paper_size_get_paper_sizes().
func PrintRunPageSetupDialogAsync ¶
func PrintRunPageSetupDialogAsync(parent IWindow, setup *PageSetup, settings *PrintSettings, cb PageSetupDoneCallback, data uintptr)
PrintRunPageSetupDialogAsync() is a wrapper around gtk_print_run_page_setup_dialog_async().
func RemoveProviderForScreen ¶
func RemoveProviderForScreen(s *gdk.Screen, provider IStyleProvider)
RemoveProviderForScreen is a wrapper around gtk_style_context_remove_provider_for_screen().
func SetInteractiveDebugging ¶
func SetInteractiveDebugging(enable bool)
SetInteractiveDebugging is a wrapper around gtk_window_set_interactive_debugging().
func StyleContextResetWidgets ¶
StyleContextResetWidgets is a wrapper around gtk_style_context_reset_widgets().
func TestInit ¶
func TestInit(args *[]string)
TestInit is a wrapper around gtk_test_init(). This function is used to initialize a GTK+ test program. It will in turn call g_test_init() and gtk_init() to properly initialize the testing framework and graphical toolkit. It’ll also set the program’s locale to “C” and prevent loading of rc files and Gtk+ modules. This is done to make tets program environments as deterministic as possible.
Like gtk_init() and g_test_init(), any known arguments will be processed and stripped from argc and argv.
func TestListAllTypes ¶
TestListAllTypes is a wrapper around gtk_test_list_all_types(). Return the type ids that have been registered after calling TestRegisterAllTypes().
func TestRegisterAllTypes ¶
func TestRegisterAllTypes()
TestRegisterAllTypes is a wrapper around gtk_test_register_all_types(). Force registration of all core Gtk+ and Gdk object types. This allowes to refer to any of those object types via g_type_from_name() after calling this function.
func TestWidgetSendKey ¶
func TestWidgetSendKey(widget IWidget, keyval uint, modifiers gdk.ModifierType) bool
TestWidgetSendKey is a wrapper around gtk_test_widget_send_key()
This function will generate keyboard press and release events in the middle of the first GdkWindow found that belongs to widget. For windowless widgets like GtkButton (which returns FALSE from gtk_widget_get_has_window()), this will often be an input-only event window. For other widgets, this is usually widget->window.
widget: Widget to generate a key press and release on. keyval: A Gdk keyboard value. modifiers: Keyboard modifiers the event is setup with.
returns: whether all actions neccessary for the key event simulation were carried out successfully.
func TestWidgetWaitForDraw ¶
func TestWidgetWaitForDraw(widget IWidget)
TestWidgetWaitForDraw is a wrapper around gtk_test_widget_wait_for_draw(). Enters the main loop and waits for widget to be “drawn”. In this context that means it waits for the frame clock of widget to have run a full styling, layout and drawing cycle. This function is intended to be used for syncing with actions that depend on widget relayouting or on interaction with the display server.
func WidgetToLabel ¶
func WindowGetDefaultIconList ¶
WindowGetDefaultIconList is a wrapper around gtk_window_get_default_icon_list(). Returned list is wrapped to return *gdk.Pixbuf elements.
func WindowGetDefaultIconName ¶
WindowGetDefaultIconName is a wrapper around gtk_window_get_default_icon_name().
func WindowListToplevels ¶
WindowListToplevels is a wrapper around gtk_window_list_toplevels(). Returned list is wrapped to return *gtk.Window elements. TODO: Use IWindow and wrap to correct type
func WindowSetAutoStartupNotification ¶
func WindowSetAutoStartupNotification(setting bool)
WindowSetAutoStartupNotification is a wrapper around gtk_window_set_auto_startup_notification().
func WindowSetDefaultIcon ¶
WindowSetDefaultIcon is a wrapper around gtk_window_set_default_icon().
func WindowSetDefaultIconFromFile ¶
WindowSetDefaultIconFromFile is a wrapper around gtk_window_set_default_icon_from_file().
func WindowSetDefaultIconList ¶
WindowSetDefaultIconList is a wrapper around gtk_window_set_default_icon_list(). List should only contain *gdk.Pixbuf elements!
func WindowSetDefaultIconName ¶
func WindowSetDefaultIconName(s string)
WindowSetDefaultIconName is a wrapper around gtk_window_set_default_icon_name().
Types ¶
type AboutDialog ¶
type AboutDialog struct {
Dialog
}
AboutDialog is a representation of GTK's GtkAboutDialog.
func AboutDialogNew ¶
func AboutDialogNew() (*AboutDialog, error)
AboutDialogNew is a wrapper around gtk_about_dialog_new().
func (*AboutDialog) AddCreditSection ¶
func (v *AboutDialog) AddCreditSection(sectionName string, people []string)
AddCreditSection is a wrapper around gtk_about_dialog_add_credit_section().
func (*AboutDialog) GetArtists ¶
func (v *AboutDialog) GetArtists() []string
GetArtists is a wrapper around gtk_about_dialog_get_artists().
func (*AboutDialog) GetAuthors ¶
func (v *AboutDialog) GetAuthors() []string
GetAuthors is a wrapper around gtk_about_dialog_get_authors().
func (*AboutDialog) GetComments ¶
func (v *AboutDialog) GetComments() string
GetComments is a wrapper around gtk_about_dialog_get_comments().
func (*AboutDialog) GetCopyright ¶
func (v *AboutDialog) GetCopyright() string
GetCopyright is a wrapper around gtk_about_dialog_get_copyright().
func (*AboutDialog) GetDocumenters ¶
func (v *AboutDialog) GetDocumenters() []string
GetDocumenters is a wrapper around gtk_about_dialog_get_documenters().
func (*AboutDialog) GetLicense ¶
func (v *AboutDialog) GetLicense() string
GetLicense is a wrapper around gtk_about_dialog_get_license().
func (*AboutDialog) GetLicenseType ¶
func (v *AboutDialog) GetLicenseType() License
GetLicenseType is a wrapper around gtk_about_dialog_get_license_type().
func (*AboutDialog) GetLogo ¶
func (v *AboutDialog) GetLogo() (*gdk.Pixbuf, error)
GetLogo is a wrapper around gtk_about_dialog_get_logo().
func (*AboutDialog) GetLogoIconName ¶
func (v *AboutDialog) GetLogoIconName() string
GetLogoIconName is a wrapper around gtk_about_dialog_get_logo_icon_name().
func (*AboutDialog) GetProgramName ¶
func (v *AboutDialog) GetProgramName() string
GetProgramName is a wrapper around gtk_about_dialog_get_program_name().
func (*AboutDialog) GetTranslatorCredits ¶
func (v *AboutDialog) GetTranslatorCredits() string
GetTranslatorCredits is a wrapper around gtk_about_dialog_get_translator_credits().
func (*AboutDialog) GetVersion ¶
func (v *AboutDialog) GetVersion() string
GetVersion is a wrapper around gtk_about_dialog_get_version().
func (*AboutDialog) GetWebsite ¶
func (v *AboutDialog) GetWebsite() string
GetWebsite is a wrapper around gtk_about_dialog_get_website().
func (*AboutDialog) GetWebsiteLabel ¶
func (v *AboutDialog) GetWebsiteLabel() string
GetWebsiteLabel is a wrapper around gtk_about_dialog_get_website_label().
func (*AboutDialog) GetWrapLicense ¶
func (v *AboutDialog) GetWrapLicense() bool
GetWrapLicense is a wrapper around gtk_about_dialog_get_wrap_license().
func (*AboutDialog) SetArtists ¶
func (v *AboutDialog) SetArtists(artists []string)
SetArtists is a wrapper around gtk_about_dialog_set_artists().
func (*AboutDialog) SetAuthors ¶
func (v *AboutDialog) SetAuthors(authors []string)
SetAuthors is a wrapper around gtk_about_dialog_set_authors().
func (*AboutDialog) SetComments ¶
func (v *AboutDialog) SetComments(comments string)
SetComments is a wrapper around gtk_about_dialog_set_comments().
func (*AboutDialog) SetCopyright ¶
func (v *AboutDialog) SetCopyright(copyright string)
SetCopyright is a wrapper around gtk_about_dialog_set_copyright().
func (*AboutDialog) SetDocumenters ¶
func (v *AboutDialog) SetDocumenters(documenters []string)
SetDocumenters is a wrapper around gtk_about_dialog_set_documenters().
func (*AboutDialog) SetLicense ¶
func (v *AboutDialog) SetLicense(license string)
SetLicense is a wrapper around gtk_about_dialog_set_license().
func (*AboutDialog) SetLicenseType ¶
func (v *AboutDialog) SetLicenseType(license License)
SetLicenseType is a wrapper around gtk_about_dialog_set_license_type().
func (*AboutDialog) SetLogo ¶
func (v *AboutDialog) SetLogo(logo *gdk.Pixbuf)
SetLogo is a wrapper around gtk_about_dialog_set_logo().
func (*AboutDialog) SetLogoIconName ¶
func (v *AboutDialog) SetLogoIconName(name string)
SetLogoIconName is a wrapper around gtk_about_dialog_set_logo_icon_name().
func (*AboutDialog) SetProgramName ¶
func (v *AboutDialog) SetProgramName(name string)
SetProgramName is a wrapper around gtk_about_dialog_set_program_name().
func (*AboutDialog) SetTranslatorCredits ¶
func (v *AboutDialog) SetTranslatorCredits(translatorCredits string)
SetTranslatorCredits is a wrapper around gtk_about_dialog_set_translator_credits().
func (*AboutDialog) SetVersion ¶
func (v *AboutDialog) SetVersion(version string)
SetVersion is a wrapper around gtk_about_dialog_set_version().
func (*AboutDialog) SetWebsite ¶
func (v *AboutDialog) SetWebsite(website string)
SetWebsite is a wrapper around gtk_about_dialog_set_website().
func (*AboutDialog) SetWebsiteLabel ¶
func (v *AboutDialog) SetWebsiteLabel(websiteLabel string)
SetWebsiteLabel is a wrapper around gtk_about_dialog_set_website_label().
func (*AboutDialog) SetWrapLicense ¶
func (v *AboutDialog) SetWrapLicense(wrapLicense bool)
SetWrapLicense is a wrapper around gtk_about_dialog_set_wrap_license().
type AccelFlags ¶
type AccelFlags int
AccelFlags is a representation of GTK's GtkAccelFlags
const ( ACCEL_VISIBLE AccelFlags = C.GTK_ACCEL_VISIBLE ACCEL_LOCKED AccelFlags = C.GTK_ACCEL_LOCKED ACCEL_MASK AccelFlags = C.GTK_ACCEL_MASK )
type AccelGroup ¶
AccelGroup is a representation of GTK's GtkAccelGroup.
func AccelGroupFromClosure ¶
func AccelGroupFromClosure(f interface{}) *AccelGroup
AccelGroupFromClosure is a wrapper around gtk_accel_group_from_accel_closure().
func AccelGroupNew ¶
func AccelGroupNew() (*AccelGroup, error)
AccelGroup is a wrapper around gtk_accel_group_new().
func (*AccelGroup) Activate ¶
func (v *AccelGroup) Activate(quark glib.Quark, acceleratable *glib.Object, key uint, mods gdk.ModifierType) bool
Activate is a wrapper around gtk_accel_group_activate().
func (*AccelGroup) Connect ¶
func (v *AccelGroup) Connect(key uint, mods gdk.ModifierType, flags AccelFlags, f interface{})
Connect is a wrapper around gtk_accel_group_connect().
func (*AccelGroup) ConnectByPath ¶
func (v *AccelGroup) ConnectByPath(path string, f interface{})
ConnectByPath is a wrapper around gtk_accel_group_connect_by_path().
func (*AccelGroup) Disconnect ¶
func (v *AccelGroup) Disconnect(f interface{})
Disconnect is a wrapper around gtk_accel_group_disconnect().
func (*AccelGroup) DisconnectKey ¶
func (v *AccelGroup) DisconnectKey(key uint, mods gdk.ModifierType)
DisconnectKey is a wrapper around gtk_accel_group_disconnect_key().
func (*AccelGroup) GetModifierMask ¶
func (v *AccelGroup) GetModifierMask() gdk.ModifierType
GetModifierMask is a wrapper around gtk_accel_group_get_modifier_mask().
func (*AccelGroup) IsLocked ¶
func (v *AccelGroup) IsLocked() bool
IsLocked is a wrapper around gtk_accel_group_get_is_locked().
func (*AccelGroup) Lock ¶
func (v *AccelGroup) Lock()
Lock is a wrapper around gtk_accel_group_lock().
func (*AccelGroup) Unlock ¶
func (v *AccelGroup) Unlock()
Unlock is a wrapper around gtk_accel_group_unlock().
type AccelKey ¶
type AccelKey struct {
// contains filtered or unexported fields
}
func AccelMapLookupEntry ¶
AccelMapLookupEntry is a wrapper around gtk_accel_map_lookup_entry().
type AccelMap ¶
AccelMap is a representation of GTK's GtkAccelMap.
func AccelMapGet ¶
func AccelMapGet() *AccelMap
AccelMapGet is a wrapper around gtk_accel_map_get().
type ActionBar ¶
type ActionBar struct {
Bin
}
ActionBar is a representation of GtkActionBar
func ActionBarNew ¶
ActionBarNew is a wrapper around gtk_action_bar_new()
func (*ActionBar) GetCenterWidget ¶
GetCenterWidget is a wrapper around gtk_action_bar_get_center_widget().
func (*ActionBar) SetCenterWidget ¶
SetCenterWidget is a wrapper around gtk_action_bar_set_center_widget().
type Actionable ¶
Actionable is a representation of the GtkActionable GInterface. Do not embed this concrete type in implementing structs but rather use IActionable (see Button wrapper for an example)
func (*Actionable) GetActionName ¶
func (v *Actionable) GetActionName() (string, error)
GetActionName is a wrapper around gtk_actionable_set_action_name(). Since 3.4
func (*Actionable) SetActionName ¶
func (v *Actionable) SetActionName(action_name string)
SetActionName is a wrapper around gtk_actionable_set_action_name(). Since 3.4
func (*Actionable) SetDetailedActionName ¶
func (v *Actionable) SetDetailedActionName(detailed_action_name string)
SetDetailedActionName is a wrapper around gtk_actionable_set_detailed_action_name(). Since 3.4
type Adjustment ¶
type Adjustment struct {
glib.InitiallyUnowned
}
Adjustment is a representation of GTK's GtkAdjustment.
func AdjustmentNew ¶
func AdjustmentNew(value, lower, upper, stepIncrement, pageIncrement, pageSize float64) (*Adjustment, error)
AdjustmentNew is a wrapper around gtk_adjustment_new().
func (*Adjustment) Configure ¶
func (v *Adjustment) Configure(value, lower, upper, stepIncrement, pageIncrement, pageSize float64)
Configure is a wrapper around gtk_adjustment_configure().
func (*Adjustment) GetLower ¶
func (v *Adjustment) GetLower() float64
GetLower is a wrapper around gtk_adjustment_get_lower().
func (*Adjustment) GetMinimumIncrement ¶
func (v *Adjustment) GetMinimumIncrement() float64
GetMinimumIncrement is a wrapper around gtk_adjustment_get_minimum_increment().
func (*Adjustment) GetPageIncrement ¶
func (v *Adjustment) GetPageIncrement() float64
GetPageIncrement is a wrapper around gtk_adjustment_get_page_increment().
func (*Adjustment) GetPageSize ¶
func (v *Adjustment) GetPageSize() float64
GetPageSize is a wrapper around gtk_adjustment_get_page_size().
func (*Adjustment) GetStepIncrement ¶
func (v *Adjustment) GetStepIncrement() float64
GetStepIncrement is a wrapper around gtk_adjustment_get_step_increment().
func (*Adjustment) GetUpper ¶
func (v *Adjustment) GetUpper() float64
GetUpper is a wrapper around gtk_adjustment_get_upper().
func (*Adjustment) GetValue ¶
func (v *Adjustment) GetValue() float64
GetValue is a wrapper around gtk_adjustment_get_value().
func (*Adjustment) SetLower ¶
func (v *Adjustment) SetLower(value float64)
SetLower is a wrapper around gtk_adjustment_set_lower().
func (*Adjustment) SetPageIncrement ¶
func (v *Adjustment) SetPageIncrement(value float64)
SetPageIncrement is a wrapper around gtk_adjustment_set_page_increment().
func (*Adjustment) SetPageSize ¶
func (v *Adjustment) SetPageSize(value float64)
SetPageSize is a wrapper around gtk_adjustment_set_page_size().
func (*Adjustment) SetStepIncrement ¶
func (v *Adjustment) SetStepIncrement(value float64)
SetStepIncrement is a wrapper around gtk_adjustment_set_step_increment().
func (*Adjustment) SetUpper ¶
func (v *Adjustment) SetUpper(value float64)
SetUpper is a wrapper around gtk_adjustment_set_upper().
func (*Adjustment) SetValue ¶
func (v *Adjustment) SetValue(value float64)
SetValue is a wrapper around gtk_adjustment_set_value().
type Align ¶
type Align int
Align is a representation of GTK's GtkAlign.
const ( ALIGN_FILL Align = C.GTK_ALIGN_FILL ALIGN_START Align = C.GTK_ALIGN_START ALIGN_END Align = C.GTK_ALIGN_END ALIGN_CENTER Align = C.GTK_ALIGN_CENTER )
const (
ALIGN_BASELINE Align = C.GTK_ALIGN_BASELINE
)
type Allocation ¶
Allocation is a representation of GTK's GtkAllocation type.
type AppChooser ¶
AppChooser is a representation of GTK's GtkAppChooser GInterface.
func (*AppChooser) GetContentType ¶
func (v *AppChooser) GetContentType() string
GetContentType is a wrapper around gtk_app_chooser_get_content_type().
func (*AppChooser) Refresh ¶
func (v *AppChooser) Refresh()
Refresh is a wrapper around gtk_app_chooser_refresh().
type AppChooserButton ¶
type AppChooserButton struct { ComboBox // Interfaces AppChooser }
AppChooserButton is a representation of GTK's GtkAppChooserButton.
func AppChooserButtonNew ¶
func AppChooserButtonNew(content_type string) (*AppChooserButton, error)
AppChooserButtonNew() is a wrapper around gtk_app_chooser_button_new().
func (*AppChooserButton) AppendSeparator ¶
func (v *AppChooserButton) AppendSeparator()
AppendSeparator() is a wrapper around gtk_app_chooser_button_append_separator().
func (*AppChooserButton) GetHeading ¶
func (v *AppChooserButton) GetHeading() (string, error)
GetHeading() is a wrapper around gtk_app_chooser_button_get_heading(). In case when gtk_app_chooser_button_get_heading() returns a nil string, GetHeading() returns a non-nil error.
func (*AppChooserButton) GetShowDefaultItem ¶
func (v *AppChooserButton) GetShowDefaultItem() bool
GetShowDefaultItem() is a wrapper around gtk_app_chooser_button_get_show_default_item().
func (*AppChooserButton) GetShowDialogItem ¶
func (v *AppChooserButton) GetShowDialogItem() bool
GetShowDialogItem() is a wrapper around gtk_app_chooser_button_get_show_dialog_item().
func (*AppChooserButton) SetActiveCustomItem ¶
func (v *AppChooserButton) SetActiveCustomItem(name string)
SetActiveCustomItem() is a wrapper around gtk_app_chooser_button_set_active_custom_item().
func (*AppChooserButton) SetHeading ¶
func (v *AppChooserButton) SetHeading(heading string)
SetHeading() is a wrapper around gtk_app_chooser_button_set_heading().
func (*AppChooserButton) SetShowDefaultItem ¶
func (v *AppChooserButton) SetShowDefaultItem(setting bool)
SetShowDefaultItem() is a wrapper around gtk_app_chooser_button_set_show_default_item().