Versions in this module Expand all Collapse all v0 v0.4.0 Feb 13, 2020 Changes in this version + const ICON_LOOKUP_FORCE_SIZE + const ICON_LOOKUP_FORCE_SVG + const ICON_LOOKUP_GENERIC_FALLBACK + const ICON_LOOKUP_NO_SVG + const ICON_LOOKUP_USE_BUILTIN + const LEVEL_BAR_OFFSET_FULL + const LEVEL_BAR_OFFSET_HIGH + const LEVEL_BAR_OFFSET_LOW + const PAPER_NAME_A3 + const PAPER_NAME_A4 + const PAPER_NAME_A5 + const PAPER_NAME_B5 + const PAPER_NAME_EXECUTIVE + const PAPER_NAME_LEGAL + const PAPER_NAME_LETTER + const PRINT_SETTINGS_COLLATE + const PRINT_SETTINGS_DEFAULT_SOURCE + const PRINT_SETTINGS_DITHER + const PRINT_SETTINGS_DUPLEX + const PRINT_SETTINGS_FINISHINGS + const PRINT_SETTINGS_MEDIA_TYPE + const PRINT_SETTINGS_NUMBER_UP + const PRINT_SETTINGS_NUMBER_UP_LAYOUT + const PRINT_SETTINGS_N_COPIES + const PRINT_SETTINGS_ORIENTATION + const PRINT_SETTINGS_OUTPUT_BASENAME + const PRINT_SETTINGS_OUTPUT_BIN + const PRINT_SETTINGS_OUTPUT_DIR + const PRINT_SETTINGS_OUTPUT_FILE_FORMAT + const PRINT_SETTINGS_OUTPUT_URI + const PRINT_SETTINGS_PAGE_RANGES + const PRINT_SETTINGS_PAGE_SET + const PRINT_SETTINGS_PAPER_FORMAT + const PRINT_SETTINGS_PAPER_HEIGHT + const PRINT_SETTINGS_PAPER_WIDTH + const PRINT_SETTINGS_PRINTER + const PRINT_SETTINGS_PRINTER_LPI + const PRINT_SETTINGS_PRINT_PAGES + const PRINT_SETTINGS_QUALITY + const PRINT_SETTINGS_RESOLUTION + const PRINT_SETTINGS_RESOLUTION_X + const PRINT_SETTINGS_RESOLUTION_Y + const PRINT_SETTINGS_REVERSE + const PRINT_SETTINGS_SCALE + const PRINT_SETTINGS_USE_COLOR + const PRINT_SETTINGS_WIN32_DRIVER_EXTRA + const PRINT_SETTINGS_WIN32_DRIVER_VERSION + const SORT_COLUMN_DEFAULT + const SORT_COLUMN_UNSORTED + const STYLE_PROVIDER_PRIORITY_APPLICATION + const STYLE_PROVIDER_PRIORITY_FALLBACK + const STYLE_PROVIDER_PRIORITY_SETTINGS + const STYLE_PROVIDER_PRIORITY_THEME + const STYLE_PROVIDER_PRIORITY_USER + const TREE_VIEW_COLUMN_AUTOSIZE + const TREE_VIEW_COLUMN_FIXED + const TREE_VIEW_COLUMN_GROW_ONLY + const UNIT_PIXEL + var WrapMap = map[string]WrapFn + 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 struct + func AboutDialogNew() (*AboutDialog, error) + 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 int + const ACCEL_LOCKED + const ACCEL_MASK + const ACCEL_VISIBLE + type AccelGroup struct + func AccelGroupFromClosure(f interface{}) *AccelGroup + func AccelGroupNew() (*AccelGroup, error) + 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 struct + func AccelMapLookupEntry(path string) *AccelKey + type AccelMap struct + func AccelMapGet() *AccelMap + type ActionBar struct + func ActionBarNew() (*ActionBar, error) + func (a *ActionBar) GetCenterWidget() *Widget + func (a *ActionBar) PackEnd(child IWidget) + func (a *ActionBar) PackStart(child IWidget) + func (a *ActionBar) SetCenterWidget(child IWidget) + type Actionable struct + func (v *Actionable) GetActionName() (string, error) + func (v *Actionable) SetActionName(action_name string) + func (v *Actionable) SetDetailedActionName(detailed_action_name string) + type Adjustment struct + func AdjustmentNew(value, lower, upper, stepIncrement, pageIncrement, pageSize float64) (*Adjustment, error) + 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 int + const ALIGN_BASELINE + const ALIGN_CENTER + const ALIGN_END + const ALIGN_FILL + const ALIGN_START + type Allocation struct + type AppChooser struct + func (v *AppChooser) GetContentType() string + func (v *AppChooser) Refresh() + type AppChooserButton struct + func AppChooserButtonNew(content_type string) (*AppChooserButton, error) + 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 struct + func AppChooserDialogNewForContentType(parent IWindow, flags DialogFlags, content_type string) (*AppChooserDialog, error) + func (v *AppChooserDialog) GetHeading() (string, error) + func (v *AppChooserDialog) GetWidget() *AppChooserWidget + func (v *AppChooserDialog) SetHeading(heading string) + type AppChooserWidget struct + func AppChooserWidgetNew(content_type string) (*AppChooserWidget, error) + 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 struct + func ApplicationNew(appId string, flags glib.ApplicationFlags) (*Application, error) + 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 int + const APPLICATION_INHIBIT_IDLE + const APPLICATION_INHIBIT_LOGOUT + const APPLICATION_INHIBIT_SUSPEND + const APPLICATION_INHIBIT_SWITCH + type ApplicationWindow struct + func ApplicationWindowNew(app *Application) (*ApplicationWindow, error) + func (v *ApplicationWindow) GetHelpOverlay() *ShortcutsWindow + func (v *ApplicationWindow) GetID() uint + func (v *ApplicationWindow) GetShowMenubar() bool + func (v *ApplicationWindow) SetHelpOverlay(helpOverlay *ShortcutsWindow) + func (v *ApplicationWindow) SetShowMenubar(b bool) + type ArrowPlacement int + const ARROWS_BOTH + const ARROWS_END + const ARROWS_START + type ArrowType int + const ARROW_DOWN + const ARROW_LEFT + const ARROW_NONE + const ARROW_RIGHT + const ARROW_UP + type AspectFrame struct + func AspectFrameNew(label string, xalign, yalign, ratio float32, obeyChild bool) (*AspectFrame, error) + type Assistant struct + func AssistantNew() (*Assistant, error) + 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 int + const ASSISTANT_PAGE_CONFIRM + const ASSISTANT_PAGE_CONTENT + const ASSISTANT_PAGE_CUSTOM + const ASSISTANT_PAGE_INTRO + const ASSISTANT_PAGE_PROGRESS + const ASSISTANT_PAGE_SUMMARY + type Bin struct + func (v *Bin) GetChild() (*Widget, error) + type Box struct + func BoxNew(orientation Orientation, spacing int) (*Box, error) + func (a *Box) GetCenterWidget() *Widget + func (a *Box) SetCenterWidget(child IWidget) + 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 (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 struct + func BuilderNew() (*Builder, error) + func BuilderNewFromFile(filePath string) (*Builder, error) + func BuilderNewFromResource(resourcePath string) (*Builder, error) + func (b *Builder) AddFromFile(filename string) error + func (b *Builder) AddFromResource(path string) error + func (b *Builder) AddFromString(str string) error + func (b *Builder) ConnectSignals(signals map[string]interface{}) + func (b *Builder) GetObject(name string) (glib.IObject, error) + type Button struct + func ButtonNew() (*Button, error) + func ButtonNewFromIconName(iconName string, size IconSize) (*Button, error) + func ButtonNewWithLabel(label string) (*Button, error) + func ButtonNewWithMnemonic(label string) (*Button, error) + 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 struct + func ButtonBoxNew(o Orientation) (*ButtonBox, error) + 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 int + const BUTTONBOX_CENTER + const BUTTONBOX_EDGE + const BUTTONBOX_END + const BUTTONBOX_EXPAND + const BUTTONBOX_SPREAD + const BUTTONBOX_START + type ButtonRole int + const BUTTON_ROLE_CHECK + const BUTTON_ROLE_NORMAL + const BUTTON_ROLE_RADIO + type ButtonsType int + const BUTTONS_CANCEL + const BUTTONS_CLOSE + const BUTTONS_NONE + const BUTTONS_OK + const BUTTONS_OK_CANCEL + const BUTTONS_YES_NO + type Calendar struct + func CalendarNew() (*Calendar, error) + 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 int + const CALENDAR_NO_MONTH_CHANGE + const CALENDAR_SHOW_DAY_NAMES + const CALENDAR_SHOW_DETAILS + const CALENDAR_SHOW_HEADING + const CALENDAR_SHOW_WEEK_NUMBERS + type CellLayout struct + func (v *CellLayout) AddAttribute(cell ICellRenderer, attribute string, column int) + func (v *CellLayout) PackStart(cell ICellRenderer, expand bool) + type CellRenderer struct + type CellRendererPixbuf struct + func CellRendererPixbufNew() (*CellRendererPixbuf, error) + type CellRendererProgress struct + func CellRendererProgressNew() (*CellRendererProgress, error) + type CellRendererSpinner struct + func CellRendererSpinnerNew() (*CellRendererSpinner, error) + type CellRendererText struct + func CellRendererTextNew() (*CellRendererText, error) + type CellRendererToggle struct + func CellRendererToggleNew() (*CellRendererToggle, error) + 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 struct + func CheckButtonNew() (*CheckButton, error) + func CheckButtonNewWithLabel(label string) (*CheckButton, error) + func CheckButtonNewWithMnemonic(label string) (*CheckButton, error) + type CheckMenuItem struct + func CheckMenuItemNew() (*CheckMenuItem, error) + func CheckMenuItemNewWithLabel(label string) (*CheckMenuItem, error) + func CheckMenuItemNewWithMnemonic(label string) (*CheckMenuItem, error) + 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 struct + func ClipboardGet(atom gdk.Atom) (*Clipboard, error) + func ClipboardGetForDisplay(display *gdk.Display, atom gdk.Atom) (*Clipboard, error) + 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 struct + func ColorButtonNew() (*ColorButton, error) + func ColorButtonNewWithRGBA(gdkColor *gdk.RGBA) (*ColorButton, error) + func (v *ColorButton) GetTitle() string + func (v *ColorButton) SetTitle(title string) + type ColorChooser struct + func (v *ColorChooser) AddPalette(orientation Orientation, colors_per_line int, colors []*gdk.RGBA) + func (v *ColorChooser) GetRGBA() *gdk.RGBA + func (v *ColorChooser) GetUseAlpha() bool + func (v *ColorChooser) SetRGBA(gdkColor *gdk.RGBA) + func (v *ColorChooser) SetUseAlpha(use_alpha bool) + type ColorChooserDialog struct + func ColorChooserDialogNew(title string, parent IWindow) (*ColorChooserDialog, error) + type Cols map[int]interface + type ComboBox struct + func ComboBoxNew() (*ComboBox, error) + func ComboBoxNewWithEntry() (*ComboBox, error) + func ComboBoxNewWithModel(model ITreeModel) (*ComboBox, error) + func ComboBoxNewWithModelAndEntry(model ITreeModel) (*ComboBox, error) + 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 struct + func ComboBoxTextNew() (*ComboBoxText, error) + func ComboBoxTextNewWithEntry() (*ComboBoxText, error) + 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 struct + 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 int + const CORNER_BOTTOM_LEFT + const CORNER_BOTTOM_RIGHT + const CORNER_TOP_LEFT + const CORNER_TOP_RIGHT + type CssProvider struct + func CssProviderGetNamed(name string, variant string) (*CssProvider, error) + func CssProviderNew() (*CssProvider, error) + func (v *CssProvider) LoadFromData(data string) error + func (v *CssProvider) LoadFromPath(path string) error + func (v *CssProvider) ToString() (string, error) + type DestDefaults int + const DEST_DEFAULT_ALL + const DEST_DEFAULT_DROP + const DEST_DEFAULT_HIGHLIGHT + const DEST_DEFAULT_MOTION + type Dialog struct + func DialogNew() (*Dialog, error) + func DialogNewWithButtons(title string, parent IWindow, flags DialogFlags, buttons ...[]interface{}) (dialog *Dialog, err error) + 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 int + const DIALOG_DESTROY_WITH_PARENT + const DIALOG_MODAL + type DrawingArea struct + func DrawingAreaNew() (*DrawingArea, error) + type Editable struct + 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 struct + func EntryNew() (*Entry, error) + func EntryNewWithBuffer(buffer *EntryBuffer) (*Entry, error) + 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 struct + func EntryBufferNew(initialChars string, nInitialChars int) (*EntryBuffer, error) + 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 struct + func EntryCompletionNew() (*EntryCompletion, error) + 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 int + const ENTRY_ICON_PRIMARY + const ENTRY_ICON_SECONDARY + type EventBox struct + func EventBoxNew() (*EventBox, error) + func (v *EventBox) GetAboveChild() bool + func (v *EventBox) GetVisibleWindow() bool + func (v *EventBox) SetAboveChild(aboveChild bool) + func (v *EventBox) SetVisibleWindow(visibleWindow bool) + type Expander struct + func ExpanderNew(label string) (*Expander, error) + func (v *Expander) GetExpanded() bool + func (v *Expander) GetLabel() string + func (v *Expander) SetExpanded(expanded bool) + func (v *Expander) SetLabel(label string) + func (v *Expander) SetLabelWidget(widget IWidget) + type FileChooser struct + 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) 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) + func (v FileChooser) GetURIs() (*glib.SList, error) + type FileChooserAction int + const FILE_CHOOSER_ACTION_CREATE_FOLDER + const FILE_CHOOSER_ACTION_OPEN + const FILE_CHOOSER_ACTION_SAVE + const FILE_CHOOSER_ACTION_SELECT_FOLDER + type FileChooserButton struct + func FileChooserButtonNew(title string, action FileChooserAction) (*FileChooserButton, error) + type FileChooserDialog struct + func FileChooserDialogNewWith1Button(title string, parent IWindow, action FileChooserAction, ...) (*FileChooserDialog, error) + func FileChooserDialogNewWith2Buttons(title string, parent IWindow, action FileChooserAction, ...) (*FileChooserDialog, error) + type FileChooserNativeDialog struct + func FileChooserNativeDialogNew(title string, parent IWindow, action FileChooserAction, accept_label string, ...) (*FileChooserNativeDialog, error) + func (v *FileChooserNativeDialog) GetAcceptLabel() (string, error) + func (v *FileChooserNativeDialog) GetCancelLabel() (string, error) + func (v *FileChooserNativeDialog) SetAcceptLabel(accept_label string) + func (v *FileChooserNativeDialog) SetCancelLabel(cancel_label string) + type FileChooserWidget struct + func FileChooserWidgetNew(action FileChooserAction) (*FileChooserWidget, error) + type FileFilter struct + func FileFilterNew() (*FileFilter, error) + func (v *FileFilter) AddMimeType(mimeType string) + func (v *FileFilter) AddPattern(pattern string) + func (v *FileFilter) AddPixbufFormats() + func (v *FileFilter) SetName(name string) + type Fixed struct + func FixedNew() (*Fixed, error) + func (v *Fixed) Move(w IWidget, x, y int) + func (v *Fixed) Put(w IWidget, x, y int) + type FlowBox struct + func FlowBoxNew() (*FlowBox, error) + 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 struct + func FlowBoxChildNew() (*FlowBoxChild, error) + func (fbc *FlowBoxChild) Changed() + func (fbc *FlowBoxChild) GetIndex() int + func (fbc *FlowBoxChild) IsSelected() bool + type FontButton struct + func FontButtonNew() (*FontButton, error) + func FontButtonNewWithFont(fontname string) (*FontButton, error) + 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 struct + func (v *FontChooser) GetFont() string + func (v *FontChooser) SetFont(font string) + type Frame struct + func FrameNew(label string) (*Frame, error) + 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 struct + func GLAreaNew() (*GLArea, error) + func WidgetToGLArea(widget *Widget) (*GLArea, error) + 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 struct + func GridNew() (*Grid, error) + 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 struct + func HeaderBarNew() (*HeaderBar, error) + 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 interface + GetActionName func() (string, error) + Native func() uintptr + SetActionName func(name string) + SetDetailedActionName func(name string) + type IAppChooser interface + type ICellLayout interface + type ICellRenderer interface + type IColorChooser interface + type IEditable interface + type IEntry interface + type IFontChooser interface + type IMenu interface + type IMenuItem interface + type IOrientable interface + type IPrintOperationPreview interface + type IRecentChooser interface + type IScrollable interface + type IStyleProvider interface + type IToolItem interface + type ITreeModel interface + type ITreeSortable interface + type IViewport interface + type IWidget interface + Set func(string, interface{}) error + func TestFindLabel(widget IWidget, labelPattern string) (IWidget, error) + func TestFindSibling(baseWidget IWidget, widgetType glib.Type) (IWidget, error) + func TestFindWidget(widget IWidget, labelPattern string, widgetType glib.Type) (IWidget, error) + type IWidgetable interface + type IWindow interface + type IconLookupFlags int + type IconSize int + const ICON_SIZE_BUTTON + const ICON_SIZE_DIALOG + const ICON_SIZE_DND + const ICON_SIZE_INVALID + const ICON_SIZE_LARGE_TOOLBAR + const ICON_SIZE_MENU + const ICON_SIZE_SMALL_TOOLBAR + type IconTheme struct + Theme *C.GtkIconTheme + func IconThemeGetDefault() (*IconTheme, error) + func IconThemeGetForScreen(screen gdk.Screen) (*IconTheme, error) + func (v *IconTheme) LoadIcon(iconName string, size int, flags IconLookupFlags) (*gdk.Pixbuf, error) + type IconView struct + func IconViewNew() (*IconView, error) + func IconViewNewWithModel(model ITreeModel) (*IconView, error) + 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 struct + 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 int + const IMAGE_ANIMATION + const IMAGE_EMPTY + const IMAGE_GICON + const IMAGE_ICON_NAME + const IMAGE_ICON_SET + const IMAGE_PIXBUF + const IMAGE_STOCK + type InfoBar struct + func InfoBarNew() (*InfoBar, error) + 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 int + const INPUT_HINT_INHIBIT_OSK + const INPUT_HINT_LOWERCASE + const INPUT_HINT_NONE + const INPUT_HINT_NO_SPELLCHECK + const INPUT_HINT_SPELLCHECK + const INPUT_HINT_UPPERCASE_CHARS + const INPUT_HINT_UPPERCASE_SENTENCES + const INPUT_HINT_UPPERCASE_WORDS + const INPUT_HINT_WORD_COMPLETION + type InputPurpose int + const INPUT_PURPOSE_ALPHA + const INPUT_PURPOSE_DIGITS + const INPUT_PURPOSE_EMAIL + const INPUT_PURPOSE_FREE_FORM + const INPUT_PURPOSE_NAME + const INPUT_PURPOSE_NUMBER + const INPUT_PURPOSE_PASSWORD + const INPUT_PURPOSE_PHONE + const INPUT_PURPOSE_PIN + const INPUT_PURPOSE_URL + type Justification int + const JUSTIFY_CENTER + const JUSTIFY_FILL + const JUSTIFY_LEFT + const JUSTIFY_RIGHT + type Label struct + func LabelNew(str string) (*Label, error) + func LabelNewWithMnemonic(str string) (*Label, error) + 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 struct + func LayoutNew(hadjustment, vadjustment *Adjustment) (*Layout, error) + func (v *Layout) GetSize() (width, height uint) + func (v *Layout) Move(w IWidget, x, y int) + func (v *Layout) Put(w IWidget, x, y int) + func (v *Layout) SetSize(width, height uint) + type LevelBar struct + func LevelBarNew() (*LevelBar, error) + func LevelBarNewForInterval(min_value, max_value float64) (*LevelBar, error) + 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 int + const LEVEL_BAR_MODE_CONTINUOUS + const LEVEL_BAR_MODE_DISCRETE + type License int + const LICENSE_BSD + const LICENSE_CUSTOM + const LICENSE_GPL_2_0 + const LICENSE_GPL_3_0 + const LICENSE_GTK_ARTISTIC + const LICENSE_LGPL_2_1 + const LICENSE_LGPL_3_0 + const LICENSE_MIT_X11 + const LICENSE_UNKNOWN + type LinkButton struct + func LinkButtonNew(label string) (*LinkButton, error) + func LinkButtonNewWithLabel(uri, label string) (*LinkButton, error) + func (v *LinkButton) GetUri() string + func (v *LinkButton) GetVisited() bool + func (v *LinkButton) SetUri(uri string) + func (v *LinkButton) SetVisited(visited bool) + type ListBox struct + func ListBoxNew() (*ListBox, error) + 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 func(row *ListBoxRow, userData uintptr) bool + type ListBoxForeachFunc func(box *ListBox, row *ListBoxRow, userData uintptr) int + type ListBoxHeaderFunc func(row *ListBoxRow, before *ListBoxRow, userData uintptr) + type ListBoxRow struct + func ListBoxRowNew() (*ListBoxRow, error) + 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 func(row1 *ListBoxRow, row2 *ListBoxRow, userData uintptr) int + type ListStore struct + func ListStoreNew(types ...glib.Type) (*ListStore, error) + 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 int + type Menu struct + func MenuNew() (*Menu, error) + 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 struct + func MenuBarNew() (*MenuBar, error) + type MenuButton struct + func MenuButtonNew() (*MenuButton, error) + 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 struct + func MenuItemNew() (*MenuItem, error) + func MenuItemNewWithLabel(label string) (*MenuItem, error) + func MenuItemNewWithMnemonic(label string) (*MenuItem, error) + 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 struct + 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 struct + func MessageDialogNew(parent IWindow, flags DialogFlags, mType MessageType, buttons ButtonsType, ...) *MessageDialog + func MessageDialogNewWithMarkup(parent IWindow, flags DialogFlags, mType MessageType, buttons ButtonsType, ...) *MessageDialog + func (v *MessageDialog) FormatSecondaryMarkup(format string, a ...interface{}) + func (v *MessageDialog) FormatSecondaryText(format string, a ...interface{}) + func (v *MessageDialog) GetMessageArea() (*Box, error) + func (v *MessageDialog) SetMarkup(str string) + type MessageType int + const MESSAGE_ERROR + const MESSAGE_INFO + const MESSAGE_OTHER + const MESSAGE_QUESTION + const MESSAGE_WARNING + type MinorVersion int + type ModelButton struct + func ModelButtonNew() (*ModelButton, error) + type NativeDialog struct + 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 struct + func NotebookNew() (*Notebook, error) + 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 int + const NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT + const NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT + const NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP + const NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM + const NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP + const NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM + const NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT + const NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT + type OffscreenWindow struct + func OffscreenWindowNew() (*OffscreenWindow, error) + func (v *OffscreenWindow) GetPixbuf() (*gdk.Pixbuf, error) + func (v *OffscreenWindow) GetSurface() (*cairo.Surface, error) + type Orientable struct + func (v *Orientable) GetOrientation() Orientation + func (v *Orientable) SetOrientation(orientation Orientation) + type Orientation int + const ORIENTATION_HORIZONTAL + const ORIENTATION_VERTICAL + type Overlay struct + func OverlayNew() (*Overlay, error) + func (v *Overlay) AddOverlay(widget IWidget) + type PackType int + const PACK_END + const PACK_START + type PageOrientation int + const PAGE_ORIENTATION_LANDSCAPE + const PAGE_ORIENTATION_PORTRAIT + const PAGE_ORIENTATION_REVERSE_LANDSCAPE + const PAGE_ORIENTATION_REVERSE_PORTRAIT + type PageSet int + const PAGE_SET_ALL + const PAGE_SET_EVEN + const PAGE_SET_ODD + type PageSetup struct + func PageSetupNew() (*PageSetup, error) + func PageSetupNewFromFile(fileName string) (*PageSetup, error) + func PrintRunPageSetupDialog(parent IWindow, pageSetup *PageSetup, settings *PrintSettings) *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 func(setup *PageSetup, userData uintptr) + type Paned struct + func PanedNew(orientation Orientation) (*Paned, error) + 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 struct + GtkPaperSize *C.GtkPaperSize + 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 int + const PATH_CLASS + const PATH_WIDGET + const PATH_WIDGET_CLASS + type Plug struct — linux/amd64 + func PlugNew(socketId uint) (*Plug, error) + func PlugNewForDisplay(display *gdk.Display, socketId uint) (*Plug, error) + func (v *Plug) Construct(socketId uint) + func (v *Plug) ConstructForDisplay(display *gdk.Display, socketId uint) + func (v *Plug) GetEmbedded() bool + func (v *Plug) GetId() uint + func (v *Plug) GetSocketWindow() (*Window, error) + type PolicyType int + const POLICY_ALWAYS + const POLICY_AUTOMATIC + const POLICY_EXTERNAL + const POLICY_NEVER + type Popover struct + func PopoverNew(relative IWidget) (*Popover, error) + func PopoverNewFromModel(relative IWidget, model *glib.MenuModel) (*Popover, error) + 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 int + const POPOVER_CONSTRAINT_NONE + const POPOVER_CONSTRAINT_WINDOW + type PopoverMenu struct + func PopoverMenuNew() (*PopoverMenu, error) + func (v *PopoverMenu) OpenSubmenu(name string) + type PositionType int + const POS_BOTTOM + const POS_LEFT + const POS_RIGHT + const POS_TOP + type PrintContext struct + 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 int + const PRINT_DUPLEX_HORIZONTAL + const PRINT_DUPLEX_SIMPLEX + const PRINT_DUPLEX_VERTICAL + type PrintError int + const PRINT_ERROR_GENERAL + const PRINT_ERROR_INTERNAL_ERROR + const PRINT_ERROR_INVALID_FILE + const PRINT_ERROR_NOMEM + type PrintOperation struct + func PrintOperationNew() (*PrintOperation, error) + 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 int + const PRINT_OPERATION_ACTION_EXPORT + const PRINT_OPERATION_ACTION_PREVIEW + const PRINT_OPERATION_ACTION_PRINT + const PRINT_OPERATION_ACTION_PRINT_DIALOG + type PrintOperationPreview struct + func (pop *PrintOperationPreview) EndPreview() + func (pop *PrintOperationPreview) IsSelected(page int) bool + func (pop *PrintOperationPreview) RenderPage(page int) + type PrintOperationResult int + const PRINT_OPERATION_RESULT_APPLY + const PRINT_OPERATION_RESULT_CANCEL + const PRINT_OPERATION_RESULT_ERROR + const PRINT_OPERATION_RESULT_IN_PROGRESS + type PrintPages int + const PRINT_PAGES_ALL + const PRINT_PAGES_CURRENT + const PRINT_PAGES_RANGES + const PRINT_PAGES_SELECTION + type PrintQuality int + const PRINT_QUALITY_DRAFT + const PRINT_QUALITY_HIGH + const PRINT_QUALITY_LOW + const PRINT_QUALITY_NORMAL + type PrintSettings struct + func PrintSettingsNew() (*PrintSettings, error) + func PrintSettingsNewFromFile(name string) (*PrintSettings, error) + 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 func(key, value string, userData uintptr) + type PrintStatus int + const PRINT_STATUS_FINISHED + const PRINT_STATUS_FINISHED_ABORTED + const PRINT_STATUS_GENERATING_DATA + const PRINT_STATUS_INITIAL + const PRINT_STATUS_PENDING + const PRINT_STATUS_PENDING_ISSUE + const PRINT_STATUS_PREPARING + const PRINT_STATUS_PRINTING + const PRINT_STATUS_SENDING_DATA + type ProgressBar struct + func ProgressBarNew() (*ProgressBar, error) + 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 struct + 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) + func (v *RadioButton) GetGroup() (*glib.SList, error) + func (v *RadioButton) JoinGroup(groupSource *RadioButton) + func (v *RadioButton) SetGroup(group *glib.SList) + type RadioMenuItem struct + 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) + func (v *RadioMenuItem) GetGroup() (*glib.SList, error) + func (v *RadioMenuItem) SetGroup(group *glib.SList) + type Range struct + func (v *Range) GetInverted() bool + func (v *Range) GetValue() float64 + func (v *Range) SetIncrements(step, page float64) + func (v *Range) SetInverted(inverted bool) + func (v *Range) SetRange(min, max float64) + func (v *Range) SetValue(value float64) + type RecentChooser struct + func (v *RecentChooser) AddFilter(filter *RecentFilter) + func (v *RecentChooser) GetCurrentUri() string + func (v *RecentChooser) RemoveFilter(filter *RecentFilter) + type RecentChooserMenu struct + type RecentFilter struct + func RecentFilterNew() (*RecentFilter, error) + type RecentManager struct + func RecentManagerGetDefault() (*RecentManager, error) + func (v *RecentManager) AddItem(fileURI string) bool + type ReliefStyle int + const RELIEF_HALF + const RELIEF_NONE + const RELIEF_NORMAL + type ResponseType int + const RESPONSE_ACCEPT + const RESPONSE_APPLY + const RESPONSE_CANCEL + const RESPONSE_CLOSE + const RESPONSE_DELETE_EVENT + const RESPONSE_HELP + const RESPONSE_NO + const RESPONSE_NONE + const RESPONSE_OK + const RESPONSE_REJECT + const RESPONSE_YES + type Revealer struct + func RevealerNew() (*Revealer, error) + 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 int + const REVEALER_TRANSITION_TYPE_CROSSFADE + const REVEALER_TRANSITION_TYPE_NONE + const REVEALER_TRANSITION_TYPE_SLIDE_DOWN + const REVEALER_TRANSITION_TYPE_SLIDE_LEFT + const REVEALER_TRANSITION_TYPE_SLIDE_RIGHT + const REVEALER_TRANSITION_TYPE_SLIDE_UP + type Scale struct + func ScaleNew(orientation Orientation, adjustment *Adjustment) (*Scale, error) + func ScaleNewWithRange(orientation Orientation, min, max, step float64) (*Scale, error) + func (v *Scale) SetDrawValue(drawValue bool) + type ScaleButton struct + func ScaleButtonNew(size IconSize, min, max, step float64, icons []string) (*ScaleButton, error) + 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 struct + func (v *Scrollable) GetHAdjustment() (*Adjustment, error) + func (v *Scrollable) GetVAdjustment() (*Adjustment, error) + func (v *Scrollable) SetHAdjustment(adjustment *Adjustment) + func (v *Scrollable) SetVAdjustment(adjustment *Adjustment) + type Scrollbar struct + func ScrollbarNew(orientation Orientation, adjustment *Adjustment) (*Scrollbar, error) + type ScrolledWindow struct + func ScrolledWindowNew(hadjustment, vadjustment *Adjustment) (*ScrolledWindow, error) + 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 struct + func SearchBarNew() (*SearchBar, error) + func (v *SearchBar) ConnectEntry(entry IEntry) + func (v *SearchBar) GetSearchMode() bool + func (v *SearchBar) GetShowCloseButton() bool + func (v *SearchBar) HandleEvent(event *gdk.Event) + func (v *SearchBar) SetSearchMode(searchMode bool) + func (v *SearchBar) SetShowCloseButton(visible bool) + type SearchEntry struct + func SearchEntryNew() (*SearchEntry, error) + type SelectionData struct + GtkSelectionData *C.GtkSelectionData + func (v *SelectionData) GetData() (data []byte) + func (v *SelectionData) GetLength() int + type SelectionMode int + const SELECTION_BROWSE + const SELECTION_MULTIPLE + const SELECTION_NONE + const SELECTION_SINGLE + type Separator struct + func SeparatorNew(orientation Orientation) (*Separator, error) + type SeparatorMenuItem struct + func SeparatorMenuItemNew() (*SeparatorMenuItem, error) + type SeparatorToolItem struct + func SeparatorToolItemNew() (*SeparatorToolItem, error) + func (v *SeparatorToolItem) GetDraw() bool + func (v *SeparatorToolItem) SetDraw(draw bool) + type Settings struct + func SettingsGetDefault() (*Settings, error) + type ShadowType int + const SHADOW_ETCHED_IN + const SHADOW_ETCHED_OUT + const SHADOW_IN + const SHADOW_NONE + const SHADOW_OUT + type ShortcutsGroup struct + type ShortcutsSection struct + type ShortcutsShortcut struct + type ShortcutsWindow struct + type SizeGroup struct + func SizeGroupNew(mode SizeGroupMode) (*SizeGroup, error) + func (v *SizeGroup) AddWidget(widget IWidget) + func (v *SizeGroup) GetMode() SizeGroupMode + func (v *SizeGroup) GetWidgets() *glib.SList + func (v *SizeGroup) RemoveWidget(widget IWidget) + func (v *SizeGroup) SetMode(mode SizeGroupMode) + type SizeGroupMode int + const SIZE_GROUP_BOTH + const SIZE_GROUP_HORIZONTAL + const SIZE_GROUP_NONE + const SIZE_GROUP_VERTICAL + type Socket struct — linux/amd64 + func SocketNew() (*Socket, error) + func (v *Socket) AddId(window uint) + func (v *Socket) GetId() uint + func (v *Socket) GetPlugWindow() (*Window, error) + type SortType int + const SORT_ASCENDING + const SORT_DESCENDING + type SpinButton struct + func SpinButtonNew(adjustment *Adjustment, climbRate float64, digits uint) (*SpinButton, error) + func SpinButtonNewWithRange(min, max, step float64) (*SpinButton, error) + 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 struct + func SpinnerNew() (*Spinner, error) + func (v *Spinner) Start() + func (v *Spinner) Stop() + type Stack struct + func StackNew() (*Stack, error) + 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 struct + func StackSidebarNew() (*StackSidebar, error) + func (v *StackSidebar) GetStack() *Stack + func (v *StackSidebar) SetStack(stack *Stack) + type StackSwitcher struct + func StackSwitcherNew() (*StackSwitcher, error) + func (v *StackSwitcher) GetStack() *Stack + func (v *StackSwitcher) SetStack(stack *Stack) + type StackTransitionType int + const STACK_TRANSITION_TYPE_CROSSFADE + const STACK_TRANSITION_TYPE_NONE + const STACK_TRANSITION_TYPE_SLIDE_DOWN + const STACK_TRANSITION_TYPE_SLIDE_LEFT + const STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT + const STACK_TRANSITION_TYPE_SLIDE_RIGHT + const STACK_TRANSITION_TYPE_SLIDE_UP + const STACK_TRANSITION_TYPE_SLIDE_UP_DOWN + type StateFlags int + const STATE_FLAG_ACTIVE + const STATE_FLAG_BACKDROP + const STATE_FLAG_CHECKED + const STATE_FLAG_DIR_LTR + const STATE_FLAG_DIR_RTL + const STATE_FLAG_DROP_ACTIVE + const STATE_FLAG_FOCUSED + const STATE_FLAG_INCONSISTENT + const STATE_FLAG_INSENSITIVE + const STATE_FLAG_LINK + const STATE_FLAG_NORMAL + const STATE_FLAG_PRELIGHT + const STATE_FLAG_SELECTED + const STATE_FLAG_VISITED + type Statusbar struct + func StatusbarNew() (*Statusbar, error) + func (v *Statusbar) GetContextId(contextDescription string) uint + func (v *Statusbar) GetMessageArea() (*Box, error) + func (v *Statusbar) Pop(contextID uint) + func (v *Statusbar) Push(contextID uint, text string) uint + func (v *Statusbar) RemoveAll(contextID uint) + type StyleContext struct + 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 int + type Switch struct + func SwitchNew() (*Switch, error) + func (v *Switch) GetActive() bool + func (v *Switch) SetActive(isActive bool) + type TargetEntry C.GtkTargetEntry + func TargetEntryNew(target string, flags TargetFlags, info uint) (*TargetEntry, error) + type TargetFlags int + const TARGET_OTHER_APP + const TARGET_OTHER_WIDGET + const TARGET_SAME_APP + const TARGET_SAME_WIDGET + type TextBuffer struct + func TextBufferNew(table *TextTagTable) (*TextBuffer, error) + 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 C.GtkTextChildAnchor + type TextDirection int + const TEXT_DIR_LTR + const TEXT_DIR_NONE + const TEXT_DIR_RTL + func GetLocaleDirection() TextDirection + type TextIter C.GtkTextIter + 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 C.GtkTextMark + type TextSearchFlags int + const TEXT_SEARCH_CASE_INSENSITIVE + const TEXT_SEARCH_TEXT_ONLY + const TEXT_SEARCH_VISIBLE_ONLY + type TextTag struct + func TextTagNew(name string) (*TextTag, error) + func (v *TextTag) Event(eventObject *glib.Object, event *gdk.Event, iter *TextIter) bool + func (v *TextTag) GetPriority() int + func (v *TextTag) SetPriority(priority int) + type TextTagTable struct + func TextTagTableNew() (*TextTagTable, error) + func (v *TextTagTable) Add(tag *TextTag) + func (v *TextTagTable) Lookup(name string) (*TextTag, error) + func (v *TextTagTable) Remove(tag *TextTag) + type TextView struct + func TextViewNew() (*TextView, error) + func TextViewNewWithBuffer(buf *TextBuffer) (*TextView, error) + 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 int + const TEXT_WINDOW_BOTTOM + const TEXT_WINDOW_LEFT + const TEXT_WINDOW_PRIVATE + const TEXT_WINDOW_RIGHT + const TEXT_WINDOW_TEXT + const TEXT_WINDOW_TOP + const TEXT_WINDOW_WIDGET + type TickCallback func(widget *Widget, frameClock *gdk.FrameClock, userData uintptr) bool + type ToggleButton struct + func ToggleButtonNew() (*ToggleButton, error) + func ToggleButtonNewWithLabel(label string) (*ToggleButton, error) + func ToggleButtonNewWithMnemonic(label string) (*ToggleButton, error) + 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 struct + func ToggleToolButtonNew() (*ToggleToolButton, error) + func (v *ToggleToolButton) GetActive() bool + func (v *ToggleToolButton) SetActive(isActive bool) + type ToolButton struct + func ToolButtonNew(iconWidget IWidget, label string) (*ToolButton, error) + 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 struct + func ToolItemNew() (*ToolItem, error) + 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 struct + func ToolbarNew() (*Toolbar, error) + 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 int + const TOOLBAR_BOTH + const TOOLBAR_BOTH_HORIZ + const TOOLBAR_ICONS + const TOOLBAR_TEXT + type Tooltip struct + func (t *Tooltip) SetCustom(w *Widget) + func (t *Tooltip) SetIcon(pixbuf *gdk.Pixbuf) + func (t *Tooltip) SetIconFromIconName(iconName string, size IconSize) + func (t *Tooltip) SetMarkup(str string) + func (t *Tooltip) SetText(str string) + func (t *Tooltip) SetTipArea(rect gdk.Rectangle) + type TreeIter struct + GtkTreeIter C.GtkTreeIter + func (v *TreeIter) Copy() (*TreeIter, error) + type TreeIterCompareFunc func(model *TreeModel, a, b *TreeIter, userData interface{}) int + type TreeModel struct + 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 struct + 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 func(model *TreeModelFilter, iter *TreeIter, userData interface{}) bool + type TreeModelFlags int + const TREE_MODEL_ITERS_PERSIST + const TREE_MODEL_LIST_ONLY + type TreeModelForeachFunc func(model *TreeModel, path *TreePath, iter *TreeIter, userData interface{}) bool + type TreeModelSort struct + func TreeModelSortNew(model ITreeModel) (*TreeModelSort, error) + 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 struct + GtkTreePath *C.GtkTreePath + func TreePathFromList(list *glib.List) *TreePath + func TreePathNewFirst() (*TreePath, error) + func TreePathNewFromIndicesv(indices []int) (*TreePath, error) + func TreePathNewFromString(path string) (*TreePath, error) + 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 struct + GtkTreeRowReference *C.GtkTreeRowReference + func TreeRowReferenceNew(model *TreeModel, path *TreePath) (*TreeRowReference, error) + func (v *TreeRowReference) GetModel() ITreeModel + func (v *TreeRowReference) GetPath() *TreePath + func (v *TreeRowReference) Valid() bool + type TreeSelection struct + 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 func(model *TreeModel, path *TreePath, iter *TreeIter, userData interface{}) + type TreeSortable struct + 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 struct + func TreeStoreNew(types ...glib.Type) (*TreeStore, error) + 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 struct + func TreeViewNew() (*TreeView, error) + func TreeViewNewWithModel(model ITreeModel) (*TreeView, error) + 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 struct + func TreeViewColumnNew() (*TreeViewColumn, error) + func TreeViewColumnNewWithAttribute(title string, renderer ICellRenderer, attribute string, column int) (*TreeViewColumn, error) + 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 int + type TreeViewGridLines int + const TREE_VIEW_GRID_LINES_BOTH + const TREE_VIEW_GRID_LINES_HORIZONTAL + const TREE_VIEW_GRID_LINES_NONE + const TREE_VIEW_GRID_LINES_VERTICAL + type Unit int + const GTK_UNIT_INCH + const GTK_UNIT_MM + const GTK_UNIT_NONE + const GTK_UNIT_POINTS + type Viewport struct + func ViewportNew(hadjustment, vadjustment *Adjustment) (*Viewport, error) + func (v *Viewport) GetBinWindow() *gdk.Window + func (v *Viewport) GetShadowType() ShadowType + func (v *Viewport) GetViewWindow() *gdk.Window + func (v *Viewport) SetShadowType(shadowType ShadowType) + type VolumeButton struct + func VolumeButtonNew() (*VolumeButton, error) + type Widget struct + 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 struct + func WindowNew(t WindowType) (*Window, error) + 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 struct + func WindowGroupNew() (*WindowGroup, error) + func (v *WindowGroup) AddWindow(window IWindow) + func (v *WindowGroup) GetCurrentDeviceGrab(device *gdk.Device) (IWidget, error) + func (v *WindowGroup) GetCurrentGrab() (IWidget, error) + func (v *WindowGroup) ListWindows() *glib.List + func (v *WindowGroup) RemoveWindow(window IWindow) + type WindowPosition int + const WIN_POS_CENTER + const WIN_POS_CENTER_ALWAYS + const WIN_POS_CENTER_ON_PARENT + const WIN_POS_MOUSE + const WIN_POS_NONE + type WindowType int + const WINDOW_POPUP + const WINDOW_TOPLEVEL + type WrapFn interface + type WrapMode int + const WRAP_CHAR + const WRAP_NONE + const WRAP_WORD + const WRAP_WORD_CHAR