Documentation ¶
Overview ¶
Go Bindings for Gtk+ 2. Support version 2.16 and later.
Index ¶
- Constants
- func ABOUT_DIALOG(p *AboutDialog) *C.GtkAboutDialog
- func ACCEL_LABEL(p *AccelLabel) *C.GtkAccelLabel
- func ACCESSIBLE(p *Accessible) *C.GtkAccessible
- func ACTION(p *Action) *C.GtkAction
- func ACTION_GROUP(p *ActionGroup) *C.GtkActionGroup
- func ACTIVATABLE(p *Activatable) *C.GtkActivatable
- func ADJUSTMENT(p *Adjustment) *C.GtkAdjustment
- func ALIGNMENT(p *Alignment) *C.GtkAlignment
- func ARROW(p *Arrow) *C.GtkArrow
- func ASSISTANT(p *Assistant) *C.GtkAssistant
- func AS_GWIDGET(p unsafe.Pointer) *C.GtkWidget
- func AcceleratorGetDefaultModMask() uint
- func AcceleratorParse(accelerator string) (uint, gdk.ModifierType)
- func BIN(p *Bin) *C.GtkBin
- func BOX(p *Box) *C.GtkBox
- func BUTTON(p *Button) *C.GtkButton
- func BinaryAge() uint
- func CALENDAR(p *Calendar) *C.GtkCalendar
- func CELL_RENDERER_TEXT(p *CellRendererText) *C.GtkCellRendererText
- func CELL_RENDERER_TOGGLE(p *CellRendererToggle) *C.GtkCellRendererToggle
- func CHECK_MENU_ITEM(p *CheckMenuItem) *C.GtkCheckMenuItem
- func COLOR_BUTTON(p *ColorButton) *C.GtkColorButton
- func COMBO_BOX(p *ComboBox) *C.GtkComboBox
- func COMBO_BOX_ENTRY(p *ComboBoxEntry) *C.GtkComboBoxEntry
- func COMBO_BOX_TEXT(p *ComboBoxText) *C.GtkComboBoxText
- func CONTAINER(p *Container) *C.GtkContainer
- func CheckVersion(major uint, minor uint, micro uint) string
- func DIALOG(p *Dialog) *C.GtkDialog
- func DRAWING_AREA(p *DrawingArea) *C.GtkDrawingArea
- func ENTRY(p *Entry) *C.GtkEntry
- func EXPANDER(p *Expander) *C.GtkExpander
- func EventsPending() bool
- func FILE_CHOOSER(p *Widget) *C.GtkFileChooser
- func FIXED(p *Fixed) *C.GtkFixed
- func FONT_BUTTON(p *FontButton) *C.GtkFontButton
- func FONT_SELECTION(p *FontSelection) *C.GtkFontSelection
- func FONT_SELECTION_DIALOG(p *FontSelectionDialog) *C.GtkFontSelectionDialog
- func FRAME(p *Frame) *C.GtkFrame
- func GetCurrentEventTime() uint32
- func ICON_VIEW(p *IconView) *C.GtkIconView
- func IMAGE(p *Image) *C.GtkImage
- func IMAGE_MENU_ITEM(p *ImageMenuItem) *C.GtkImageMenuItem
- func INFO_BAR(p *InfoBar) *C.GtkInfoBar
- func ITEM(p *Item) *C.GtkItem
- func IconSizeLookup(size IconSize) (width int, height int)
- func Init(args *[]string)
- func InterfaceAge() uint
- func LABEL(p *Label) *C.GtkLabel
- func LAYOUT(p *Layout) *C.GtkLayout
- func LINK_BUTTON(p *LinkButton) *C.GtkLinkButton
- func MENU(p *Menu) *C.GtkMenu
- func MENU_BAR(p *MenuBar) *C.GtkMenuBar
- func MENU_ITEM(p *MenuItem) *C.GtkMenuItem
- func MENU_SHELL(p *MenuShell) *C.GtkMenuShell
- func MENU_TOOL_BUTTON(p *MenuToolButton) *C.GtkMenuToolButton
- func MESSAGE_DIALOG(p *MessageDialog) *C.GtkMessageDialog
- func MISC(m *Misc) *C.GtkMisc
- func Main()
- func MainIteration() bool
- func MainIterationDo(blocking bool) bool
- func MainQuit()
- func MajorVersion() uint
- func MicroVersion() uint
- func MinorVersion() uint
- func NOTEBOOK(p *Notebook) *C.GtkNotebook
- func PANED(p *Paned) *C.GtkPaned
- func PROGRESS_BAR(p *ProgressBar) *C.GtkProgressBar
- func RADIO_ACTION(p *RadioAction) *C.GtkRadioAction
- func RADIO_BUTTON(p *RadioButton) *C.GtkRadioButton
- func RADIO_MENU_ITEM(p *RadioMenuItem) *C.GtkRadioMenuItem
- func RANGE(p *Range) *C.GtkRange
- func RCParse(file string)
- func RCParseString(style string)
- func RCReparseAll() bool
- func RCResetStyles(settings *Settings)
- func RECENT_ACTION(p *RecentAction) *C.GtkRecentAction
- func SCALE(p *Scale) *C.GtkScale
- func SCALEBUTTON(p *ScaleButton) *C.GtkScaleButton
- func SCROLLED_WINDOW(p *ScrolledWindow) *C.GtkScrolledWindow
- func SEPARATOR_TOOL_ITEM(p *SeparatorToolItem) *C.GtkSeparatorToolItem
- func SPINNER(s *Spinner) *C.GtkSpinner
- func SPIN_BUTTON(p *SpinButton) *C.GtkSpinButton
- func STATUSBAR(p *Statusbar) *C.GtkStatusbar
- func STYLE(p *Style) *C.GtkStyle
- func SetLocale()
- func StatusIconPositionMenu(menu *Menu, px, py *int, push_in *bool, data interface{})
- func StockListIDs() *glib.SList
- func StockLookup(stock_id string, item *StockItem) bool
- func TABLE(p *Table) *C.GtkTable
- func TEXT_BUFFER(p unsafe.Pointer) *C.GtkTextBuffer
- func TEXT_TAG(p unsafe.Pointer) *C.GtkTextTag
- func TEXT_VIEW(p *TextView) *C.GtkTextView
- func TOGGLE_ACTION(p *ToggleAction) *C.GtkToggleAction
- func TOGGLE_BUTTON(p *ToggleButton) *C.GtkToggleButton
- func TOGGLE_TOOL_BUTTON(p *ToggleToolButton) *C.GtkToggleToolButton
- func TOOLBAR(p *Toolbar) *C.GtkToolbar
- func TOOL_BUTTON(p *ToolButton) *C.GtkToolButton
- func TOOL_ITEM(p *ToolItem) *C.GtkToolItem
- func TOOL_ITEM_GROUP(p *ToolItemGroup) *C.GtkToolItemGroup
- func TOOL_PALETTE(p *ToolPalette) *C.GtkToolPalette
- func TREE_VIEW(p *TreeView) *C.GtkTreeView
- func ToNative(w IWidget) *C.GtkWidget
- func UI_MANAGER(p *UIManager) *C.GtkUIManager
- func VIEWPORT(p *Viewport) *C.GtkViewport
- func WIDGET(p *Widget) *C.GtkWidget
- func WINDOW(p *Window) *C.GtkWindow
- type AboutDialog
- 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) GetLogo() *gdkpixbuf.Pixbuf
- 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) SetLogo(logo *gdkpixbuf.Pixbuf)
- func (v *AboutDialog) SetLogoIconName(icon_name string)
- func (v *AboutDialog) SetProgramName(name string)
- func (v *AboutDialog) SetTranslatorCredits(translator_credits string)
- func (v *AboutDialog) SetVersion(version string)
- func (v *AboutDialog) SetWebsite(website string)
- func (v *AboutDialog) SetWebsiteLabel(website_label string)
- func (v *AboutDialog) SetWrapLicense(wrap_license bool)
- type AccelFlags
- type AccelGroup
- type AccelLabel
- type Accessible
- type Action
- func (v *Action) Activate()
- func (v *Action) BlockActivate()
- func (v *Action) BlockActivateFrom(proxy *Widget)
- func (v *Action) ConnectAccelerator()
- func (v *Action) ConnectProxy(proxy *Widget)
- func (v *Action) CreateIcon(icon_size IconSize) *Widget
- func (v *Action) CreateMenu() *Widget
- func (v *Action) CreateMenuItem() *Widget
- func (v *Action) CreateToolItem() *Widget
- func (v *Action) DisconnectAccelerator()
- func (v *Action) DisconnectProxy(proxy *Widget)
- func (v *Action) GetAccelPath() string
- func (v *Action) GetAlwaysShowImage() bool
- func (v *Action) GetIconName() string
- func (v *Action) GetIsImportant() bool
- func (v *Action) GetLabel() string
- func (v *Action) GetName() string
- func (v *Action) GetProxies() *glib.SList
- func (v *Action) GetSensitive() bool
- func (v *Action) GetShortLabel() string
- func (v *Action) GetStockId() string
- func (v *Action) GetTooltip() string
- func (v *Action) GetVisible() bool
- func (v *Action) GetVisibleHorizontal() bool
- func (v *Action) GetVisibleVertical() bool
- func (v *Action) IsSensitive() bool
- func (v *Action) IsVisible() bool
- func (v *Action) SetAccelGroup(accel_group *AccelGroup)
- func (v *Action) SetAccelPath(accel_path string)
- func (v *Action) SetAlwaysShowImage(always_show bool)
- func (v *Action) SetIconName(icon_name string)
- func (v *Action) SetIsImportant(is_important bool)
- func (v *Action) SetLable(label string)
- func (v *Action) SetSensitive(sensitive bool)
- func (v *Action) SetShortLabel(short_label string)
- func (v *Action) SetStockId(stock_id string)
- func (v *Action) SetTooltip(tooltip string)
- func (v *Action) SetVisible(visible bool)
- func (v *Action) SetVisibleHorizontal(visible_horizontal bool)
- func (v *Action) SetVisibleVertical(visible_vertical bool)
- func (v *Action) UnblockActivate()
- func (v *Action) UnblockActivateFrom(proxy *Widget)
- type ActionGroup
- func (v *ActionGroup) AddAction(action interface{})
- func (v *ActionGroup) AddActionWithAccel(action *Action, accelerator string)
- func (v *ActionGroup) GetAction(action_name string) *Action
- func (v *ActionGroup) GetName() string
- func (v *ActionGroup) GetSensitive() bool
- func (v *ActionGroup) GetVisible() bool
- func (v *ActionGroup) ListActions() *glib.List
- func (v *ActionGroup) RemoveAction(action *Action)
- func (v *ActionGroup) SetSensitive(sensitive bool)
- func (v *ActionGroup) SetVisible(visible bool)
- type Activatable
- type Adjustment
- func (v *Adjustment) Configure(value, lower, upper, step_increment, page_increment, page_size float64)
- func (v *Adjustment) Connect(s string, f interface{}, datas ...interface{}) int
- func (v *Adjustment) GetLower() 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(lower float64)
- func (v *Adjustment) SetPageIncrement(page_increment float64)
- func (v *Adjustment) SetPageSize(page_size float64)
- func (v *Adjustment) SetStepIncrement(step_increment float64)
- func (v *Adjustment) SetUpper(upper float64)
- func (v *Adjustment) SetValue(value float64)
- type Alignment
- func (v *Alignment) GetPadding() (padding_top uint, padding_bottom uint, padding_left uint, padding_right uint)
- func (v *Alignment) Set(xalign float64, yalign float64, xscale float64, yscale float64)
- func (v *Alignment) SetPadding(padding_top uint, padding_bottom uint, padding_left uint, padding_right uint)
- type Allocation
- type Arrow
- type ArrowType
- type Assistant
- func (v *Assistant) AddActionWidget(child IWidget)
- func (v *Assistant) AppendPage(page IWidget) int
- func (v *Assistant) GetCurrentPage() int
- func (v *Assistant) GetNPages() int
- func (v *Assistant) GetNthPage(page_num int) *Widget
- func (v *Assistant) GetPageComplete(page IWidget) bool
- func (v *Assistant) GetPageHeaderImage(page IWidget) *gdkpixbuf.Pixbuf
- func (v *Assistant) GetPageSideImage(page IWidget) *gdkpixbuf.Pixbuf
- 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) PrependPage(page IWidget) int
- func (v *Assistant) RemoveActionWidget(child IWidget)
- func (v *Assistant) SetCurrentPage(page_num int)
- func (v *Assistant) SetPageComplete(page IWidget, complete bool)
- func (v *Assistant) SetPageHeaderImage(page IWidget, pixbuf *gdkpixbuf.Pixbuf)
- func (v *Assistant) SetPageSideImage(page IWidget, pixbuf *gdkpixbuf.Pixbuf)
- func (v *Assistant) SetPageTitle(page IWidget, title string)
- func (v *Assistant) SetPageType(page IWidget, t AssistantPageType)
- func (v *Assistant) UpdateButtonsState()
- type AssistantPageType
- type AttachOptions
- type Bin
- type Border
- type Box
- func (v *Box) GetHomogeneous() bool
- func (v *Box) GetSpacing() int
- func (v *Box) PackEnd(child IWidget, expand bool, fill bool, padding uint)
- func (v *Box) PackEndDefaults(child IWidget)
- func (v *Box) PackStart(child IWidget, expand bool, fill bool, padding uint)
- func (v *Box) PackStartDefaults(child IWidget)
- func (v *Box) QueryChildPacking(child IWidget, expand *bool, fill *bool, padding *uint, pack_type *PackType)
- func (v *Box) ReorderChild(child IWidget, position int)
- func (v *Box) SetChildPacking(child IWidget, expand, fill bool, padding uint, pack_type PackType)
- func (v *Box) SetHomogeneous(homogeneous bool)
- func (v *Box) SetSpacing(spacing int)
- type Builder
- func (v *Builder) AddFromFile(filename string) (ret uint, error *glib.Error)
- func (v *Builder) AddFromString(buffer string) (ret uint, error *glib.Error)
- func (v *Builder) ConnectSignals(user_data interface{})
- func (v *Builder) ConnectSignalsFull(f BuilderConnectFunc, user_data interface{})
- func (v *Builder) GetObject(name string) *glib.GObject
- func (v *Builder) GetObjects() *glib.SList
- func (v *Builder) GetTranslationDomain() string
- func (v *Builder) GetTypeFromName(type_name string) int
- func (v *Builder) SetTranslationDomain(domain string)
- type BuilderConnectFunc
- type BuilderConnectInfo
- type Button
- func (v *Button) Clicked(onclick interface{}, datas ...interface{}) int
- func (v *Button) Enter()
- func (v *Button) GetAlignment() (xalign, yalign float64)
- func (v *Button) GetEventWindow() *gdk.Window
- func (v *Button) GetFocusOnClick() bool
- func (v *Button) GetImage() *Image
- func (v *Button) GetImagePosition() PositionType
- func (v *Button) GetLabel() string
- func (v *Button) GetRelief() ReliefStyle
- func (v *Button) GetUseStock() bool
- func (v *Button) GetUseUnderline() bool
- func (v *Button) Leave()
- func (v *Button) Pressed()
- func (v *Button) Released()
- func (v *Button) SetAlignment(xalign, yalign float64)
- func (v *Button) SetFocusOnClick(setting bool)
- func (v *Button) SetImage(image IWidget)
- func (v *Button) SetImagePosition(pos PositionType)
- func (v *Button) SetLabel(label string)
- func (v *Button) SetRelief(relief ReliefStyle)
- func (v *Button) SetUseStock(use bool)
- func (v *Button) SetUseUnderline(setting bool)
- type ButtonsType
- type Calendar
- type CellRenderer
- type CellRendererAccel
- type CellRendererCombo
- type CellRendererPixbuf
- type CellRendererProgress
- type CellRendererSpin
- type CellRendererSpinner
- type CellRendererText
- type CellRendererToggle
- func (v *CellRendererToggle) GetActivatable() bool
- func (v *CellRendererToggle) GetActive() bool
- func (v *CellRendererToggle) GetRadio() bool
- func (v *CellRendererToggle) SetActivatable(activatable bool)
- func (v *CellRendererToggle) SetActive(active bool)
- func (v *CellRendererToggle) SetRadio(radio bool)
- type CheckButton
- type CheckMenuItem
- func (v *CheckMenuItem) GetActive() bool
- func (v *CheckMenuItem) GetDrawAsRadio() bool
- func (v *CheckMenuItem) GetInconsistent() bool
- func (v *CheckMenuItem) SetActive(setting bool)
- func (v *CheckMenuItem) SetDrawAsRadio(setting bool)
- func (v *CheckMenuItem) SetInconsistent(setting bool)
- func (v *CheckMenuItem) Toggled()
- type Clipboard
- func (v *Clipboard) Clear()
- func (v *Clipboard) Connect(s string, f interface{}, datas ...interface{}) int
- func (v *Clipboard) SetImage(pixbuf *gdkpixbuf.Pixbuf)
- func (v *Clipboard) SetText(text string)
- func (v *Clipboard) Store()
- func (v *Clipboard) WaitForContents(target gdk.Atom) *SelectionData
- func (v *Clipboard) WaitForImage() *gdkpixbuf.Pixbuf
- func (v *Clipboard) WaitForText() string
- type ColorButton
- func (v *ColorButton) GetAlpha() uint16
- func (v *ColorButton) GetColor() *gdk.Color
- func (v *ColorButton) GetTitle() string
- func (v *ColorButton) GetUseAlpha() bool
- func (v *ColorButton) SetAlpha(alpha uint16)
- func (v *ColorButton) SetColor(color *gdk.Color)
- func (v *ColorButton) SetTitle(title string)
- func (v *ColorButton) SetUseAlpha(use_alpha bool)
- type ComboBox
- func (v *ComboBox) AppendText(text string)
- func (v *ComboBox) GetActive() int
- func (v *ComboBox) GetActiveIter(iter *TreeIter) bool
- func (v *ComboBox) GetActiveText() string
- func (v *ComboBox) GetAddTearoffs() bool
- func (v *ComboBox) GetColumnSpanColumn() int
- func (v *ComboBox) GetFocusOnClick() bool
- func (v *ComboBox) GetModel() *TreeModel
- func (v *ComboBox) GetRowSpanColumn() int
- func (v *ComboBox) GetTitle() string
- func (v *ComboBox) GetWrapWidth() int
- func (v *ComboBox) InsertText(text string, position int)
- func (v *ComboBox) Popdown()
- func (v *ComboBox) Popup()
- func (v *ComboBox) PrependText(text string)
- func (v *ComboBox) RemoveText(position int)
- func (v *ComboBox) SetActive(width int)
- func (v *ComboBox) SetActiveIter(iter *TreeIter)
- func (v *ComboBox) SetAddTearoffs(add_tearoffs bool)
- func (v *ComboBox) SetColumnSpanColumn(column_span int)
- func (v *ComboBox) SetFocusOnClick(focus_on_click bool)
- func (v *ComboBox) SetModel(model *TreeModel)
- func (v *ComboBox) SetRowSpanColumn(row_span int)
- func (v *ComboBox) SetTitle(title string)
- func (v *ComboBox) SetWrapWidth(width int)
- type ComboBoxEntry
- type ComboBoxText
- type Container
- func (v *Container) Add(w IWidget)
- func (v *Container) CheckResize()
- func (v *Container) ChildGet(w IWidget, propName string, value interface{})
- func (v *Container) ChildSet(w IWidget, propName string, value interface{})
- 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) GetResizeMode() ResizeMode
- func (v *Container) Remove(w IWidget)
- func (v *Container) SetBorderWidth(border_width uint)
- func (v *Container) SetFocusChild(child *Widget)
- func (v *Container) SetFocusHAdjustment(adjustment *Adjustment)
- func (v *Container) SetFocusVAdjustment(adjustment *Adjustment)
- func (v *Container) SetReallocateRedraws(redraws bool)
- func (v *Container) SetResizeMode(resize_mode ResizeMode)
- type CornerType
- type DestDefaults
- type Dialog
- func (v *Dialog) AddButton(button_text string, response_id ResponseType) *Button
- func (v *Dialog) GetContentArea() *VBox
- func (v *Dialog) GetHasSeparator() bool
- func (v *Dialog) GetResponseForWidget(w *Widget) ResponseType
- func (v *Dialog) GetVBox() *VBox
- func (v *Dialog) GetWidgetForResponse(id ResponseType) *Widget
- func (v *Dialog) Response(response interface{}, datas ...interface{})
- func (v *Dialog) Run() ResponseType
- func (v *Dialog) SetDefaultResponse(id ResponseType)
- func (v *Dialog) SetHasSeparator(f bool)
- func (v *Dialog) SetResponseSensitive(id ResponseType, setting bool)
- type DialogFlags
- type DrawingArea
- type Editable
- func (v *Editable) CopyClipboard()
- func (v *Editable) CutClipboard()
- func (v *Editable) DeleteSelection()
- func (v *Editable) DeleteText(startPos int, endPos int)
- func (v *Editable) GetChars(startPos int, endPos int) string
- func (v *Editable) GetEditable() bool
- func (v *Editable) GetPosition() int
- func (v *Editable) GetSelectionBounds() (isSelected bool, startPos int, endPos int)
- func (v *Editable) InsertText(newText string, position int) int
- func (v *Editable) PasteClipboard()
- func (v *Editable) SelectRegion(startPos int, endPos int)
- func (v *Editable) SetEditable(isEditable bool)
- func (v *Editable) SetPosition(position int)
- type Entry
- func (v *Entry) GetActivatesDefault() bool
- func (v *Entry) GetAlignment() float64
- func (v *Entry) GetBuffer() *EntryBuffer
- func (v *Entry) GetCompletion() *EntryCompletion
- func (v *Entry) GetHasFrame() bool
- func (v *Entry) GetInnerBorder() *Border
- func (v *Entry) GetInvisibleChar() rune
- func (v *Entry) GetMaxLength() int
- func (v *Entry) GetOverwriteMode() bool
- func (v *Entry) GetText() string
- func (v *Entry) GetTextLength() int
- func (v *Entry) GetVisibility() bool
- func (v *Entry) GetWidthChars() int
- func (v *Entry) SetActivatesDefault(setting bool)
- func (v *Entry) SetAlignment(xalign float64)
- func (v *Entry) SetBuffer(buffer *EntryBuffer)
- func (v *Entry) SetCompletion(completion *EntryCompletion)
- func (v *Entry) SetHasFrame(setting bool)
- func (v *Entry) SetInnerBorder(border *Border)
- func (v *Entry) SetInvisibleChar(ch rune)
- func (v *Entry) SetMaxLength(i int)
- func (v *Entry) SetOverwriteMode(mode bool)
- func (v *Entry) SetText(text string)
- func (v *Entry) SetVisibility(setting bool)
- func (v *Entry) SetWidthChars(i int)
- func (v *Entry) UnsetInvisibleChar()
- type EntryBuffer
- func (v *EntryBuffer) DeleteText(position uint, nChars int) uint
- func (v *EntryBuffer) GetLength() uint
- func (v *EntryBuffer) GetMaxLength() int
- func (v *EntryBuffer) GetText() string
- func (v *EntryBuffer) InsertText(position uint, text string) uint
- func (v *EntryBuffer) SetMaxLength(maxLength int)
- func (v *EntryBuffer) SetText(text string)
- type EntryCompletion
- func (v *EntryCompletion) Complete()
- func (v *EntryCompletion) DeleteAction(index int)
- func (v *EntryCompletion) GetCompletionPrefix() string
- func (v *EntryCompletion) GetEntry() *Widget
- func (v *EntryCompletion) GetInlineCompletion() bool
- func (v *EntryCompletion) GetInlineSelection() bool
- func (v *EntryCompletion) GetMinimumKeyLength() int
- func (v *EntryCompletion) GetModel() *TreeModel
- func (v *EntryCompletion) GetPopupCompletion() bool
- func (v *EntryCompletion) GetPopupSetWidth() bool
- func (v *EntryCompletion) GetPopupSingleMatch() bool
- func (v *EntryCompletion) GetTextColumn() int
- func (v *EntryCompletion) InsertActionMarkup(index int, markup string)
- func (v *EntryCompletion) InsertActionText(index int, text string)
- func (v *EntryCompletion) InsertPrefix()
- func (v *EntryCompletion) SetInlineCompletion(inlineCompletion bool)
- func (v *EntryCompletion) SetInlineSelection(inlineSelection bool)
- func (v *EntryCompletion) SetMinimumKeyLength(length int)
- func (v *EntryCompletion) SetModel(model *TreeModel)
- func (v *EntryCompletion) SetPopupCompletion(popupCompletion bool)
- func (v *EntryCompletion) SetPopupSetWidth(popupSetWidth bool)
- func (v *EntryCompletion) SetPopupSingleMatch(popupSingleMatch bool)
- func (v *EntryCompletion) SetTextColumn(column int)
- type EntryCompletionMatchFunc
- type EventBox
- type Expander
- func (v *Expander) GetExpanded() bool
- func (v *Expander) GetLabel() string
- func (v *Expander) GetLabelWidget() ILabel
- func (v *Expander) GetSpacing() int
- func (v *Expander) GetUseMarkup() bool
- func (v *Expander) GetUseUnderline() bool
- func (v *Expander) SetExpanded(expanded bool)
- func (v *Expander) SetLabel(label string)
- func (v *Expander) SetLabelWidget(label_widget ILabel)
- func (v *Expander) SetSpacing(spacing int)
- func (v *Expander) SetUseMarkup(setting bool)
- func (v *Expander) SetUseUnderline(setting bool)
- type FileChooser
- func (v *FileChooser) AddFilter(f *FileFilter)
- func (v *FileChooser) GetAction() FileChooserAction
- func (v *FileChooser) GetCreateFolders() bool
- func (v *FileChooser) GetCurrentFolder() string
- func (v *FileChooser) GetDoOverwriteConfirmation() bool
- func (v *FileChooser) GetFilename() string
- func (v *FileChooser) GetFilenames() []string
- func (v *FileChooser) GetFilter() *FileFilter
- func (v *FileChooser) GetLocalOnly() bool
- func (v *FileChooser) GetSelectMultiple() bool
- func (v *FileChooser) GetShowHidden() bool
- func (v *FileChooser) GetUri() string
- func (v *FileChooser) GetUris() []string
- func (v *FileChooser) ListFilters() []*FileFilter
- func (v *FileChooser) RemoveFilter(f *FileFilter)
- func (v *FileChooser) SelectAll()
- func (v *FileChooser) SelectFilename(filename string) bool
- func (v *FileChooser) SelectUri(uri string) bool
- func (v *FileChooser) SetAction(action FileChooserAction)
- func (v *FileChooser) SetCreateFolders(b bool)
- func (v *FileChooser) SetCurrentFolder(f string) bool
- func (v *FileChooser) SetCurrentName(name string)
- func (v *FileChooser) SetDoOverwriteConfirmation(b bool)
- func (v *FileChooser) SetFilename(filename string)
- func (v *FileChooser) SetFilter(f *FileFilter)
- func (v *FileChooser) SetLocalOnly(b bool)
- func (v *FileChooser) SetSelectMultiple(b bool)
- func (v *FileChooser) SetShowHidden(showHidden bool)
- func (v *FileChooser) SetUri(uri string) bool
- func (v *FileChooser) UnselectAll()
- func (v *FileChooser) UnselectFilename(filename string)
- func (v *FileChooser) UnselectUri(uri string)
- type FileChooserAction
- type FileChooserButton
- type FileChooserDialog
- type FileChooserWidget
- type FileFilter
- type Fixed
- type FontButton
- func (v *FontButton) GetFontName() string
- 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) SetFontName(fontname string)
- func (v *FontButton) SetShowSize(show_size bool)
- func (v *FontButton) SetShowStyle(show bool)
- func (v *FontButton) SetTitle(title string)
- func (v *FontButton) SetUseFont(use bool)
- func (v *FontButton) SetUseSize(use_size bool)
- type FontSelection
- type FontSelectionDialog
- func (v *FontSelectionDialog) GetCancelButton() *Widget
- func (v *FontSelectionDialog) GetFontName() string
- func (v *FontSelectionDialog) GetFontSelection() *FontSelection
- func (v *FontSelectionDialog) GetOkButton() *Widget
- func (v *FontSelectionDialog) GetPreviewText() string
- func (v *FontSelectionDialog) SetFontName(font string)
- func (v *FontSelectionDialog) SetPreviewText(text string)
- type Frame
- func (v *Frame) GetLabel() string
- func (v *Frame) GetLabelAlign() (xalign, yalign float64)
- func (v *Frame) GetLabelWidget() ILabel
- func (v *Frame) GetShadowType() ShadowType
- func (v *Frame) SetLabel(label string)
- func (v *Frame) SetLabelAlign(xalign, yalign float64)
- func (v *Frame) SetLabelWidget(label_widget ILabel)
- func (v *Frame) SetShadowType(shadow_type ShadowType)
- type GtkTreeSelecter
- type HBox
- type HPaned
- type HScrollbar
- type HSeparator
- type IAction
- type IBox
- type ICellRenderer
- type IContainer
- type ILabel
- type IPaned
- type ITextBuffer
- type ITreeModel
- type IWidget
- type IconInfo
- type IconLookupFlags
- type IconSize
- type IconTheme
- type IconView
- func (v *IconView) GetMarkupColumn() int
- func (v *IconView) GetModel() *TreeModel
- func (v *IconView) GetPixbufColumn() int
- func (v *IconView) GetTextColumn() int
- func (v *IconView) ScrollToPath(path *TreePath, use bool, ra float64, ca float64)
- func (v *IconView) SetMarkupColumn(markup_column int)
- func (v *IconView) SetModel(model ITreeModel)
- func (v *IconView) SetPixbufColumn(pixbuf_column int)
- func (v *IconView) SetTextColumn(text_column int)
- type Image
- type ImageMenuItem
- type InfoBar
- func (v *InfoBar) AddActionWidget(child IWidget, responseId ResponseType)
- func (v *InfoBar) AddButton(buttonText string, responseId ResponseType) *Widget
- func (v *InfoBar) AddButtons(buttons ...interface{})
- func (v *InfoBar) GetActionArea() *Widget
- func (v *InfoBar) GetContentArea() *Widget
- func (v *InfoBar) GetMessageType() MessageType
- func (v *InfoBar) Response(responseId ResponseType)
- func (v *InfoBar) SetDefaultResponse(responseId ResponseType)
- func (v *InfoBar) SetMessageType(messageType MessageType)
- func (v *InfoBar) SetResponseSensitive(responseId ResponseType, setting bool)
- type Item
- type Justification
- type Label
- func (v *Label) GetAngle() float64
- func (v *Label) GetCurrentUri() string
- func (v *Label) GetEllipsize() pango.EllipsizeMode
- func (v *Label) GetJustify() Justification
- func (v *Label) GetLabel() string
- func (v *Label) GetLineWrap() bool
- func (v *Label) GetLineWrapMode() pango.WrapMode
- func (v *Label) GetMaxWidthChars() int
- func (v *Label) GetMnemonicWidget() *Widget
- func (v *Label) GetSelectable() bool
- func (v *Label) GetSelectionBounds() (start int, end int)
- func (v *Label) GetSingleLineMode() bool
- func (v *Label) GetText() string
- func (v *Label) GetTrackVisitedLinks() bool
- func (v *Label) GetUseMarkup() bool
- func (v *Label) GetUseUnderline() bool
- func (v *Label) GetWidthChars() int
- func (v *Label) SelectRegion(start_offset int, end_offset int)
- func (v *Label) SetAngle(angle float64)
- func (v *Label) SetEllipsize(ellipsize pango.EllipsizeMode)
- func (v *Label) SetJustify(jtype Justification)
- func (v *Label) SetLabel(label string)
- func (v *Label) SetLineWrap(setting bool)
- func (v *Label) SetMarkup(markup string)
- func (v *Label) SetMaxWidthChars(n_chars int)
- func (v *Label) SetMnemonicWidget(widget IWidget)
- func (v *Label) SetPattern(pattern string)
- func (v *Label) SetSelectable(setting bool)
- func (v *Label) SetSingleLineMode(single_line bool)
- func (v *Label) SetText(label string)
- func (v *Label) SetTextWithMnemonic(str string)
- func (v *Label) SetTrackVisitedLinks(track_links bool)
- func (v *Label) SetUseLineWrapMode(wrap_mode pango.WrapMode)
- func (v *Label) SetUseMarkup(setting bool)
- func (v *Label) SetUseUnderline(setting bool)
- func (v *Label) SetWidthChars(n_chars int)
- type Layout
- func (v *Layout) Freeze()
- func (v *Layout) GetBinWindow() *Window
- func (v *Layout) GetHAdjustment() *Adjustment
- func (v *Layout) GetSize() (width int, height int)
- func (v *Layout) GetVAdjustment() *Adjustment
- func (v *Layout) Move(child IWidget, x int, y int)
- func (v *Layout) Put(child IWidget, x int, y int)
- func (v *Layout) SetHAdjustment(hadjustment *Adjustment)
- func (v *Layout) SetSize(width int, height int)
- func (v *Layout) SetVAdjustment(vadjustment *Adjustment)
- func (v *Layout) Thaw()
- type LinkButton
- type ListStore
- func (v *ListStore) Append(iter *TreeIter)
- func (v *ListStore) Clear()
- func (v *ListStore) Insert(iter *TreeIter, position int)
- func (v *ListStore) InsertAfter(iter *TreeIter, sibling *TreeIter)
- func (v *ListStore) InsertBefore(iter *TreeIter, sibling *TreeIter)
- func (v *ListStore) IterIsValid(iter *TreeIter) bool
- func (v *ListStore) MoveAfter(iter *TreeIter, position *TreeIter)
- func (v *ListStore) MoveBefore(iter *TreeIter, position *TreeIter)
- func (v *ListStore) Prepend(iter *TreeIter)
- func (v *ListStore) Remove(iter *TreeIter) bool
- func (v *ListStore) Reorder(i *int)
- func (v *ListStore) Set(iter *TreeIter, a ...interface{})
- func (v *ListStore) SetValue(iter *TreeIter, column int, a interface{})
- func (v *ListStore) Swap(a *TreeIter, b *TreeIter)
- func (v *ListStore) ToTreeModel() *TreeModel
- type Menu
- func (v *Menu) Detach()
- func (v *Menu) GetActive() *Widget
- func (v *Menu) GetAttachWidget() *Widget
- func (v *Menu) GetReserveToggleSize() bool
- func (v *Menu) GetTearoffState() bool
- func (v *Menu) Popdown()
- func (v *Menu) Popup(parent_menu_shell, parent_menu_item IWidget, f MenuPositionFunc, ...)
- func (v *Menu) Reposition()
- func (v *Menu) SetReserveToggleSize(b bool)
- func (v *Menu) SetTearoffState(b bool)
- func (v *Menu) SetTitle(title string)
- type MenuBar
- type MenuItem
- func (v *MenuItem) Activate()
- func (v *MenuItem) Deselect()
- func (v *MenuItem) GetLabel() string
- func (v *MenuItem) GetRightJustified() bool
- func (v *MenuItem) GetSubmenu() *Widget
- func (v *MenuItem) GetUseUnderline() bool
- func (v *MenuItem) RemoveSubmenu()
- func (v *MenuItem) Select()
- func (v *MenuItem) SetLabel(label string)
- func (v *MenuItem) SetRightJustified(b bool)
- func (v *MenuItem) SetSubmenu(w IWidget)
- func (v *MenuItem) SetUseUnderline(setting bool)
- func (v *MenuItem) ToggleSizeAllocate(i int)
- func (v *MenuItem) ToggleSizeRequest(i *int)
- type MenuPositionFunc
- type MenuPositionFuncInfo
- type MenuShell
- type MenuToolButton
- type MessageDialog
- type MessageType
- type Misc
- type Notebook
- func (v *Notebook) AppendPage(child IWidget, tab_label IWidget) int
- func (v *Notebook) AppendPageMenu(child IWidget, tab_label IWidget, menu_label IWidget) int
- func (v *Notebook) GetCurrentPage() int
- func (v *Notebook) GetGroup() unsafe.Pointer
- func (v *Notebook) GetGroupId() int
- func (v *Notebook) GetGroupName() string
- func (v *Notebook) GetMenuLabel(child IWidget) *Widget
- func (v *Notebook) GetMenuLabelText(child IWidget) string
- func (v *Notebook) GetNPages() int
- func (v *Notebook) GetNthPage(page_num int) *Widget
- 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
- func (v *Notebook) GetTabLabelText(child IWidget) string
- func (v *Notebook) GetTabPos() uint
- func (v *Notebook) GetTabReorderable(child IWidget) bool
- func (v *Notebook) InsertPage(child IWidget, tab_label IWidget, position int) int
- func (v *Notebook) InsertPageMenu(child IWidget, tab_label IWidget, menu_label 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, tab_label IWidget) int
- func (v *Notebook) PrependPageMenu(child IWidget, tab_label IWidget, menu_label IWidget) int
- func (v *Notebook) PrevPage()
- func (v *Notebook) QueryTabLabelPacking(child IWidget, expand *bool, fill *bool, pack_type *uint)
- func (v *Notebook) RemovePage(child IWidget, page_num int)
- func (v *Notebook) ReorderChild(child IWidget, position int)
- func (v *Notebook) SetCurrentPage(pageNum int)
- func (v *Notebook) SetGroup(group unsafe.Pointer)
- func (v *Notebook) SetGroupId(group_id int)
- func (v *Notebook) SetGroupName(group string)
- func (v *Notebook) SetHomogeneousTabs(homogeneous bool)
- func (v *Notebook) SetMenuLabel(child IWidget, menu_label IWidget)
- func (v *Notebook) SetMenuLabelText(child IWidget, name string)
- func (v *Notebook) SetReorderable(child IWidget, reorderable bool)
- func (v *Notebook) SetScrollable(scrollable bool)
- func (v *Notebook) SetShowBorder(show_border bool)
- func (v *Notebook) SetShowTabs(show_tabs bool)
- func (v *Notebook) SetTabBorder(border_width uint)
- func (v *Notebook) SetTabDetachable(child IWidget, detachable bool)
- func (v *Notebook) SetTabHBorder(tab_hborder uint)
- func (v *Notebook) SetTabLabel(child IWidget, tab_label IWidget)
- func (v *Notebook) SetTabLabelPacking(child IWidget, expand bool, fill bool, pack_type uint)
- func (v *Notebook) SetTabLabelText(child IWidget, name string)
- func (v *Notebook) SetTabPos(pos PositionType)
- func (v *Notebook) SetTabVBorder(tab_vborder uint)
- type Object
- type Orientation
- type PackDirection
- type PackType
- type Paned
- func (v *Paned) Add1(child IWidget)
- func (v *Paned) Add2(child IWidget)
- func (v *Paned) GetChild1() *Widget
- func (v *Paned) GetChild2() *Widget
- func (v *Paned) GetPosition() int
- func (v *Paned) Pack1(child IWidget, resize bool, shrink bool)
- func (v *Paned) Pack2(child IWidget, resize bool, shrink bool)
- func (v *Paned) SetPosition(position int)
- type PolicyType
- type PositionType
- type PrintContext
- type PrintOperation
- type PrintOperationAction
- type PrintOperationResult
- type ProgressBar
- func (v *ProgressBar) GetEllipsize() pango.EllipsizeMode
- func (v *ProgressBar) GetFraction() float64
- func (v *ProgressBar) GetOrientation() ProgressBarOrientation
- func (v *ProgressBar) GetPulseStep() float64
- func (v *ProgressBar) GetText() string
- func (v *ProgressBar) Pulse()
- func (v *ProgressBar) SetEllipsize(ellipsize pango.EllipsizeMode)
- func (v *ProgressBar) SetFraction(fraction float64)
- func (v *ProgressBar) SetOrientation(i ProgressBarOrientation)
- func (v *ProgressBar) SetPulseStep(fraction float64)
- func (v *ProgressBar) SetText(show_text string)
- type ProgressBarOrientation
- type RadioAction
- type RadioButton
- func NewRadioButton(group *glib.SList) *RadioButton
- func NewRadioButtonFromWidget(w *RadioButton) *RadioButton
- func NewRadioButtonWithLabel(group *glib.SList, label string) *RadioButton
- func NewRadioButtonWithLabelFromWidget(w *RadioButton, label string) *RadioButton
- func NewRadioButtonWithMnemonic(group *glib.SList, label string) *RadioButton
- func NewRadioButtonWithMnemonicFromWidget(w *RadioButton, label string) *RadioButton
- type RadioMenuItem
- type RadioToolButton
- type Range
- func (v *Range) GetAdjustment() *Adjustment
- func (v *Range) GetFillLevel() float64
- func (v *Range) GetFlippable() bool
- func (v *Range) GetInverted() bool
- func (v *Range) GetRestrictToFillLevel() bool
- func (v *Range) GetShowFillLevel() bool
- func (v *Range) GetValue() float64
- func (v *Range) SetAdjustment(a *Adjustment)
- func (v *Range) SetFillLevel(value float64)
- func (v *Range) SetFlippable(b bool)
- func (v *Range) SetIncrements(step, page float64)
- func (v *Range) SetInverted(b bool)
- func (v *Range) SetRange(min, max float64)
- func (v *Range) SetRestrictToFillLevel(b bool)
- func (v *Range) SetShowFillLevel(b bool)
- func (v *Range) SetValue(value float64)
- type RecentAction
- type ReliefStyle
- type ResizeMode
- type ResponseType
- type Scale
- func (v *Scale) AddMark(value float64, position PositionType, markup string)
- func (v *Scale) ClearMarks()
- func (v *Scale) GetDigits() int
- func (v *Scale) GetDrawValue() bool
- func (v *Scale) GetLayoutOffsets() (x int, y int)
- func (v *Scale) GetValuePos() PositionType
- func (v *Scale) SetDigits(digits int)
- func (v *Scale) SetDrawValue(draw_value bool)
- func (v *Scale) SetValuePos(pos PositionType)
- type ScaleButton
- func (v *ScaleButton) GetAdjustment() *Adjustment
- func (v *ScaleButton) GetMinusButton() *Widget
- func (v *ScaleButton) GetPlusButton() *Widget
- func (v *ScaleButton) GetPopup() *Widget
- func (v *ScaleButton) GetValue() float64
- func (v *ScaleButton) SetAdjustment(a *Adjustment)
- func (v *ScaleButton) SetIcons(icons []string)
- func (v *ScaleButton) SetValue(value float64)
- type Scrollbar
- type ScrolledWindow
- func (v *ScrolledWindow) AddWithViewPort(w IWidget)
- func (v *ScrolledWindow) GetHAdjustment() *Adjustment
- func (v *ScrolledWindow) GetPlacement() CornerType
- func (v *ScrolledWindow) GetPolicy(hscrollbar_policy *PolicyType, vscrollbar_policy *PolicyType)
- func (v *ScrolledWindow) GetShadowType() ShadowType
- func (v *ScrolledWindow) GetVAdjustment() *Adjustment
- func (v *ScrolledWindow) SetHAdjustment(hadjustment *Adjustment)
- func (v *ScrolledWindow) SetPlacement(window_placement CornerType)
- func (v *ScrolledWindow) SetPolicy(hscrollbar_policy PolicyType, vscrollbar_policy PolicyType)
- func (v *ScrolledWindow) SetShadowType(typ ShadowType)
- func (v *ScrolledWindow) SetVAdjustment(vadjustment *Adjustment)
- func (v *ScrolledWindow) UnsetPlacement()
- type SelectionData
- type SelectionMode
- type Separator
- type SeparatorMenuItem
- type SeparatorToolItem
- type Settings
- type ShadowType
- type SizeGroup
- func (v *SizeGroup) AddWidget(w IWidget)
- func (v *SizeGroup) GetIgnoreHidden() bool
- func (v *SizeGroup) GetMode() SizeGroupMode
- func (v *SizeGroup) GetWidgets() *glib.SList
- func (v *SizeGroup) RemoveWidget(w IWidget)
- func (v *SizeGroup) SetIgnoreHidden(ignore_hidden bool)
- func (v *SizeGroup) SetMode(mode SizeGroupMode)
- type SizeGroupMode
- type SortFunc
- type SortType
- type SpinButton
- func (v *SpinButton) Configure(a *Adjustment, climb_rate float64, digits uint)
- func (v *SpinButton) GetAdjustment() *Adjustment
- func (v *SpinButton) GetDigits() uint
- func (v *SpinButton) GetIncrements() (float64, float64)
- func (v *SpinButton) GetNumeric() bool
- func (v *SpinButton) GetRange() (float64, float64)
- func (v *SpinButton) GetSnapToTicks() bool
- func (v *SpinButton) GetUpdatePolicy() SpinButtonUpdatePolicy
- func (v *SpinButton) GetValue() float64
- func (v *SpinButton) GetValueAsFloat() float64
- func (v *SpinButton) GetValueAsInt() int
- func (v *SpinButton) GetWrap() bool
- func (v *SpinButton) OnChangeValue(onclick interface{}, datas ...interface{}) int
- func (v *SpinButton) OnInput(onclick interface{}, datas ...interface{}) int
- func (v *SpinButton) OnOutput(onclick interface{}, datas ...interface{}) int
- func (v *SpinButton) OnValueChanged(onclick interface{}, datas ...interface{}) int
- func (v *SpinButton) OnWrapped(onclick interface{}, datas ...interface{}) int
- func (v *SpinButton) SetAdjustment(a *Adjustment)
- func (v *SpinButton) SetDigits(digits uint)
- func (v *SpinButton) SetIncrements(step, page float64)
- func (v *SpinButton) SetNumeric(numeric bool)
- func (v *SpinButton) SetRange(min, max float64)
- func (v *SpinButton) SetSnapToTicks(snap_to_ticks bool)
- func (v *SpinButton) SetUpdatePolicy(policy SpinButtonUpdatePolicy)
- func (v *SpinButton) SetValue(val float64)
- func (v *SpinButton) SetWrap(wrap bool)
- func (v *SpinButton) Spin(direction SpinType, increment float64)
- func (v *SpinButton) Update()
- type SpinButtonUpdatePolicy
- type SpinType
- type Spinner
- type StateType
- type StatusIcon
- func (v *StatusIcon) Connect(s string, f interface{}, datas ...interface{}) int
- func (v *StatusIcon) GetHasTooltip() bool
- func (v *StatusIcon) GetIconName() string
- func (v *StatusIcon) GetPixbuf() *gdkpixbuf.Pixbuf
- func (v *StatusIcon) GetStock() string
- func (v *StatusIcon) GetTitle() string
- func (v *StatusIcon) GetTooltipMarkup() string
- func (v *StatusIcon) GetTooltipText() string
- func (v *StatusIcon) GetVisible() bool
- func (v *StatusIcon) SetFromFile(filename string)
- func (v *StatusIcon) SetFromIconName(icon_name string)
- func (v *StatusIcon) SetFromPixbuf(pixbuf *gdkpixbuf.Pixbuf)
- func (v *StatusIcon) SetFromStock(stock_id string)
- func (v *StatusIcon) SetHasTooltip(setting bool)
- func (v *StatusIcon) SetName(name string)
- func (v *StatusIcon) SetTitle(title string)
- func (v *StatusIcon) SetTooltipMarkup(markup string)
- func (v *StatusIcon) SetTooltipText(text string)
- func (v *StatusIcon) SetVisible(setting bool)
- type Statusbar
- func (v *Statusbar) GetContextId(content_description string) uint
- func (v *Statusbar) GetHasResizeGrip() bool
- func (v *Statusbar) Pop(context_id uint)
- func (v *Statusbar) Push(context_id uint, text string)
- func (v *Statusbar) Remove(context_id uint, message_id uint)
- func (v *Statusbar) SetHasResizeGrip(add_tearoffs bool)
- type StockItem
- type Style
- type Table
- func (v *Table) Attach(child IWidget, left_attach uint, right_attach uint, top_attach uint, ...)
- func (v *Table) AttachDefaults(child IWidget, left_attach uint, right_attach uint, top_attach uint, ...)
- func (v *Table) GetColSpacing(column uint) uint
- func (v *Table) GetDefaultColSpacing() uint
- func (v *Table) GetDefaultRowSpacing() uint
- func (v *Table) GetHomogeneous() bool
- func (v *Table) GetRowSpacing(row uint) uint
- func (v *Table) Resize(rows uint, columns uint)
- func (v *Table) SetColSpacing(column uint, spacing uint)
- func (v *Table) SetColSpacings(spacing uint)
- func (v *Table) SetHomogeneous(homogeneous bool)
- func (v *Table) SetRowSpacing(row uint, spacing uint)
- func (v *Table) SetRowSpacings(spacing uint)
- type TargetEntry
- type TearoffMenuItem
- type TextAttributes
- type TextBuffer
- func (v *TextBuffer) AddMark(mark *TextMark, where *TextIter)
- func (v *TextBuffer) ApplyTag(tag *TextTag, start *TextIter, end *TextIter)
- func (v *TextBuffer) ApplyTagByName(name string, start *TextIter, end *TextIter)
- func (v *TextBuffer) Backspace(iter *TextIter, interactive bool, default_editable bool) bool
- func (v *TextBuffer) CreateMark(mark_name string, where *TextIter, left_gravity bool) *TextMark
- func (v *TextBuffer) CreateTag(tag_name string, props map[string]interface{}) *TextTag
- func (v *TextBuffer) Delete(start *TextIter, end *TextIter)
- func (v *TextBuffer) DeleteInteractive(start *TextIter, end *TextIter, default_editable bool) bool
- func (v *TextBuffer) DeleteMark(mark *TextMark)
- func (v *TextBuffer) DeleteMarkByName(name string)
- func (v *TextBuffer) DeleteSelection(interactive bool, default_editable bool)
- func (v *TextBuffer) GetBounds(start *TextIter, end *TextIter)
- func (v *TextBuffer) GetCharCount() int
- func (v *TextBuffer) GetEndIter(iter *TextIter)
- func (v *TextBuffer) GetHasSelection() bool
- func (v *TextBuffer) GetInsert() *TextMark
- func (v *TextBuffer) GetIterAtChildAnchor(i *TextIter, a *TextChildAnchor)
- func (v *TextBuffer) GetIterAtLine(iter *TextIter, line_number int)
- func (v *TextBuffer) GetIterAtLineIndex(iter *TextIter, line_number int, byte_index int)
- func (v *TextBuffer) GetIterAtLineOffset(iter *TextIter, line_number int, char_offset int)
- func (v *TextBuffer) GetIterAtMark(iter *TextIter, mark *TextMark)
- func (v *TextBuffer) GetIterAtOffset(iter *TextIter, char_offset int)
- func (v *TextBuffer) GetLineCount() int
- func (v *TextBuffer) GetMark(name string) *TextMark
- func (v *TextBuffer) GetModified() bool
- func (v *TextBuffer) GetNativeBuffer() unsafe.Pointer
- func (v *TextBuffer) GetSelectionBound() *TextMark
- func (v *TextBuffer) GetSelectionBounds(be, en *TextIter) bool
- func (v *TextBuffer) GetSlice(start *TextIter, end *TextIter, include_hidden_chars bool) string
- func (v *TextBuffer) GetStartIter(iter *TextIter)
- func (v *TextBuffer) GetTagTable() *TextTagTable
- func (v *TextBuffer) GetText(start *TextIter, end *TextIter, include_hidden_chars bool) string
- func (v *TextBuffer) Insert(iter *TextIter, text string)
- func (v *TextBuffer) InsertAtCursor(text string)
- func (v *TextBuffer) InsertInteractive(iter *TextIter, text string, default_editable bool) bool
- func (v *TextBuffer) InsertInteractiveAtCursor(text string, default_editable bool) bool
- func (v *TextBuffer) InsertPixbuf(iter *TextIter, pixbuf *gdkpixbuf.Pixbuf)
- func (v *TextBuffer) InsertRange(iter *TextIter, start *TextIter, end *TextIter)
- func (v *TextBuffer) InsertRangeInteractive(iter *TextIter, start *TextIter, end *TextIter, default_editable bool) bool
- func (v *TextBuffer) InsertWithTag(iter *TextIter, text string, tag *TextTag)
- func (v *TextBuffer) MoveMark(mark *TextMark, where *TextIter)
- func (v *TextBuffer) MoveMarkByName(name string, where *TextIter)
- func (v *TextBuffer) PlaceCursor(where *TextIter)
- func (v *TextBuffer) RemoveAllTags(start *TextIter, end *TextIter)
- func (v *TextBuffer) RemoveTag(tag *TextTag, start *TextIter, end *TextIter)
- func (v *TextBuffer) RemoveTagByName(name string, start *TextIter, end *TextIter)
- func (v *TextBuffer) SelectRange(ins *TextIter, bound *TextIter)
- func (v *TextBuffer) SetModified(setting bool)
- func (v *TextBuffer) SetText(text string)
- type TextChildAnchor
- type TextIter
- func (v *TextIter) Assign(iter *TextIter)
- func (v *TextIter) BackwardChar() bool
- func (v *TextIter) BackwardChars(count int) bool
- func (v *TextIter) BackwardSearch(str string, flags TextSearchFlags, start *TextIter, end *TextIter, ...) bool
- func (v *TextIter) Copy() *TextIter
- func (v *TextIter) ForwardChar() bool
- func (v *TextIter) ForwardChars(count int) bool
- func (v *TextIter) ForwardSearch(str string, flags TextSearchFlags, start *TextIter, end *TextIter, ...) bool
- func (v *TextIter) Free()
- func (v *TextIter) GetBuffer() *TextBuffer
- func (v *TextIter) GetChar() int
- func (v *TextIter) GetLine() int
- func (v *TextIter) GetLineIndex() int
- func (v *TextIter) GetLineOffset() int
- func (v *TextIter) GetMarks() *glib.SList
- func (v *TextIter) GetOffset() int
- func (v *TextIter) GetSlice(end *TextIter) string
- func (v *TextIter) GetTags() *glib.SList
- 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
- type TextMark
- type TextSearchFlags
- type TextTag
- type TextTagTable
- type TextView
- func (v *TextView) GetAcceptsTab() bool
- func (v *TextView) GetBuffer() *TextBuffer
- func (v *TextView) GetCursorVisible() bool
- func (v *TextView) GetEditable() bool
- func (v *TextView) GetIterAtLocation(iter *TextIter, x int, y int)
- func (v *TextView) GetIterAtPosition(iter *TextIter, trailing *int, x int, y int)
- func (v *TextView) GetLineYrange(iter *TextIter) (y int, height int)
- func (v *TextView) GetOverwrite() bool
- func (v *TextView) GetWrapMode() WrapMode
- func (v *TextView) ScrollToIter(iter *TextIter, wm float64, ua bool, xa float64, ya float64) bool
- func (v *TextView) ScrollToMark(mark *TextMark, wm float64, ua bool, xa float64, ya float64)
- func (v *TextView) SetAcceptsTab(accepts_tab bool)
- func (v *TextView) SetBuffer(b ITextBuffer)
- func (v *TextView) SetCursorVisible(setting bool)
- func (v *TextView) SetEditable(setting bool)
- func (v *TextView) SetOverwrite(overwrite bool)
- func (v *TextView) SetWrapMode(mode WrapMode)
- type ToggleAction
- type ToggleButton
- type ToggleToolButton
- type ToolButton
- func (v *ToolButton) GetIconName() string
- func (v *ToolButton) GetIconWidget() *Widget
- func (v *ToolButton) GetLabel() string
- func (v *ToolButton) GetLabelWidget() *Widget
- func (v *ToolButton) GetStockId() string
- func (v *ToolButton) GetUseUnderline() bool
- func (v *ToolButton) OnClicked(onclick interface{}, datas ...interface{}) int
- func (v *ToolButton) SetIconName(icon_name string)
- func (v *ToolButton) SetIconWidget(icon_widget *Widget)
- func (v *ToolButton) SetLabel(label string)
- func (v *ToolButton) SetLabelWidget(label_widget *Widget)
- func (v *ToolButton) SetStockId(stock_id string)
- func (v *ToolButton) SetUseUnderline(use_underline bool)
- type ToolItem
- func (v *ToolItem) GetExpand() bool
- func (v *ToolItem) GetHomogeneous() bool
- func (v *ToolItem) GetIsImportant() bool
- func (v *ToolItem) GetReliefStyle() ReliefStyle
- func (v *ToolItem) GetTextAlignment() float64
- func (v *ToolItem) GetTextOrientation() Orientation
- func (v *ToolItem) GetToolbarStyle() ToolbarStyle
- func (v *ToolItem) OnCreateMenuProxy(onclick interface{}, datas ...interface{}) int
- func (v *ToolItem) OnSetTooltip(onclick interface{}, datas ...interface{}) int
- func (v *ToolItem) OnToolbarReconfigured(onclick interface{}, datas ...interface{}) int
- func (v *ToolItem) RebuildMenu()
- func (v *ToolItem) SetArrowTooltipMarkup(markup string)
- func (v *ToolItem) SetArrowTooltipText(text string)
- func (v *ToolItem) SetExpand(expand bool)
- func (v *ToolItem) SetHomogeneous(homogeneous bool)
- func (v *ToolItem) SetIsImportant(b bool)
- func (v *ToolItem) SetTooltipMarkup(markup string)
- type ToolItemGroup
- func (v *ToolItemGroup) GetCollapsed() bool
- func (v *ToolItemGroup) GetHeaderRelief() ReliefStyle
- func (v *ToolItemGroup) GetLabel() string
- func (v *ToolItemGroup) Insert(item IWidget, pos int)
- func (v *ToolItemGroup) SetCollapsed(collapsed bool)
- func (v *ToolItemGroup) SetHeaderRelief(style ReliefStyle)
- func (v *ToolItemGroup) SetLabel(label string)
- type ToolPalette
- func (v *ToolPalette) GetExclusive(group *ToolItemGroup) bool
- func (v *ToolPalette) GetExpand(group *ToolItemGroup) bool
- func (v *ToolPalette) GetGroupPosition(group *ToolItemGroup) int
- func (v *ToolPalette) GetIconSize() IconSize
- func (v *ToolPalette) GetStyle() ToolbarStyle
- func (v *ToolPalette) SetExclusive(group *ToolItemGroup, exclusive bool)
- func (v *ToolPalette) SetExpand(group *ToolItemGroup, expand bool)
- func (v *ToolPalette) SetGroupPosition(group *ToolItemGroup, pos int)
- func (v *ToolPalette) SetIconSize(size IconSize)
- func (v *ToolPalette) SetStyle(style ToolbarStyle)
- func (v *ToolPalette) UnsetIconSize()
- func (v *ToolPalette) UnsetStyle()
- type Toolbar
- func (v *Toolbar) GetDropIndex(x, y int) int
- func (v *Toolbar) GetIconSize() IconSize
- func (v *Toolbar) GetItemIndex(item IWidget) int
- func (v *Toolbar) GetNItems() int
- func (v *Toolbar) GetNthItem(n int) IWidget
- func (v *Toolbar) GetOrientation() Orientation
- func (v *Toolbar) GetReliefStyle() ReliefStyle
- func (v *Toolbar) GetShowArrow() bool
- func (v *Toolbar) GetStyle() ToolbarStyle
- func (v *Toolbar) GetTooltips() bool
- func (v *Toolbar) Insert(item IWidget, pos int)
- func (v *Toolbar) OnFocusHomeOrEnd(onclick interface{}, datas ...interface{}) int
- func (v *Toolbar) OnOrientationChanged(onclick interface{}, datas ...interface{}) int
- func (v *Toolbar) OnPopupContextMenu(onclick interface{}, datas ...interface{}) int
- func (v *Toolbar) OnStyleChanged(onclick interface{}, datas ...interface{}) int
- func (v *Toolbar) SetDropHighlightItem(item IWidget, index int)
- func (v *Toolbar) SetIconSize(icon_size IconSize)
- func (v *Toolbar) SetOrientation(orientation Orientation)
- func (v *Toolbar) SetShowArrow(show_arrow bool)
- func (v *Toolbar) SetStyle(style ToolbarStyle)
- func (v *Toolbar) SetTooltips(enable bool)
- func (v *Toolbar) UnsetIconSize()
- func (v *Toolbar) UnsetStyle()
- type ToolbarStyle
- type Tooltip
- type TreeIter
- type TreeModel
- func (v *TreeModel) GetFlags() TreeModelFlags
- func (v *TreeModel) GetIter(iter *TreeIter, path *TreePath) bool
- func (v *TreeModel) GetIterFirst(iter *TreeIter) bool
- func (v *TreeModel) GetIterFromString(iter *TreeIter, path_string string) bool
- func (v *TreeModel) GetNColumns() int
- func (v *TreeModel) GetPath(iter *TreeIter) *TreePath
- func (v *TreeModel) GetStringFromIter(iter *TreeIter) string
- func (v *TreeModel) GetValue(iter *TreeIter, col int, val *glib.GValue)
- func (v *TreeModel) IterChildren(iter *TreeIter, parent *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 *TreeIter, child *TreeIter) bool
- type TreeModelFlags
- type TreePath
- func (v *TreePath) AppendIndex(index int)
- func (v *TreePath) Compare(w TreePath) int
- func (v *TreePath) Copy() *TreePath
- func (v *TreePath) Down()
- func (v *TreePath) Free()
- func (v *TreePath) GetDepth() int
- func (v *TreePath) GetIndices() []int
- func (v *TreePath) IsAncestor(descendant TreePath) bool
- func (v *TreePath) IsDescendant(ancestor TreePath) bool
- func (v *TreePath) Next()
- func (v *TreePath) PrependIndex(index int)
- func (v *TreePath) Prev() bool
- func (v *TreePath) String() string
- func (v *TreePath) Up() bool
- type TreeRowReference
- type TreeSelection
- func (v *TreeSelection) Connect(s string, f interface{}, datas ...interface{}) int
- func (v *TreeSelection) CountSelectedRows() int
- func (v *TreeSelection) GetMode() SelectionMode
- func (v *TreeSelection) GetSelected(iter *TreeIter) bool
- func (v *TreeSelection) GetSelectedRows(model *TreeModel) *C.GList
- 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_path *TreePath, end_path *TreePath)
- func (v *TreeSelection) SetMode(m SelectionMode)
- func (v *TreeSelection) SetSelectFunction(selecter *GtkTreeSelecter)
- func (v *TreeSelection) UnselectAll()
- func (v *TreeSelection) UnselectIter(iter *TreeIter)
- func (v *TreeSelection) UnselectPath(path *TreePath)
- func (v *TreeSelection) UnselectRange(start_path *TreePath, end_path *TreePath)
- type TreeSortable
- func (ts *TreeSortable) GetSortColumnId(id int, order SortType) bool
- func (ts *TreeSortable) HasDefaultSortFunc() bool
- func (ts *TreeSortable) SetDefaultSortFunc(fun SortFunc, userData interface{})
- func (ts *TreeSortable) SetSortColumnId(id int, order SortType)
- func (ts *TreeSortable) SetSortFunc(col int, fun SortFunc, userData interface{})
- type TreeStore
- func (v *TreeStore) Append(iter *TreeIter, parent *TreeIter)
- func (v *TreeStore) Clear()
- func (v *TreeStore) Insert(iter *TreeIter, parent *TreeIter, position int)
- func (v *TreeStore) InsertAfter(iter *TreeIter, parent *TreeIter, sibling *TreeIter)
- func (v *TreeStore) InsertBefore(iter *TreeIter, parent *TreeIter, sibling *TreeIter)
- func (v *TreeStore) IterDepth(iter *TreeIter) int
- func (v *TreeStore) IterIsValid(iter *TreeIter) bool
- func (v *TreeStore) MoveAfter(iter *TreeIter, position *TreeIter)
- func (v *TreeStore) MoveBefore(iter *TreeIter, position *TreeIter)
- func (v *TreeStore) Prepend(iter *TreeIter, parent *TreeIter)
- func (v *TreeStore) Remove(iter *TreeIter) bool
- func (v *TreeStore) Reorder(iter *TreeIter, i *int)
- func (v *TreeStore) Set(iter *TreeIter, a ...interface{})
- func (v *TreeStore) SetValue(iter *TreeIter, column int, a interface{})
- func (v *TreeStore) Swap(a *TreeIter, b *TreeIter)
- func (v *TreeStore) ToTreeModel() *TreeModel
- type TreeView
- func (v *TreeView) AppendColumn(c *TreeViewColumn) int
- func (v *TreeView) CollapseAll()
- func (v *TreeView) CollapseRow(path *TreePath) bool
- func (v *TreeView) ExpandAll()
- func (v *TreeView) ExpandRow(path *TreePath, openall bool) bool
- func (v *TreeView) GetColumn(n int) *TreeViewColumn
- func (v *TreeView) GetColumns() []*TreeViewColumn
- func (v *TreeView) GetCursor(path **TreePath, focus_column **TreeViewColumn)
- func (v *TreeView) GetModel() *TreeModel
- func (v *TreeView) GetSelection() *TreeSelection
- func (v *TreeView) RemoveColumn(c *TreeViewColumn) int
- func (v *TreeView) RowExpanded(path *TreePath) bool
- func (v *TreeView) ScrollToCell(path *TreePath, col *TreeViewColumn, use bool, ra, ca float64)
- func (v *TreeView) SetCursor(path *TreePath, col *TreeViewColumn, se bool)
- func (v *TreeView) SetHeadersClickable(flag bool)
- func (v *TreeView) SetHeadersVisible(flag bool)
- func (v *TreeView) SetModel(model ITreeModel)
- func (v *TreeView) SetRubberBanding(enable bool)
- type TreeViewColumn
- func (v *TreeViewColumn) AddAttribute(cell ICellRenderer, attribute string, column int)
- func (v *TreeViewColumn) Clear()
- func (v *TreeViewColumn) Clicked()
- 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) GetSpacing() int
- func (v *TreeViewColumn) GetTitle() string
- func (v *TreeViewColumn) GetVisible() bool
- func (v *TreeViewColumn) GetWidth() int
- func (v *TreeViewColumn) PackEnd(cell ICellRenderer, expand bool)
- func (v *TreeViewColumn) PackStart(cell ICellRenderer, expand bool)
- 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(w int)
- func (v *TreeViewColumn) SetReorderable(reorderable bool)
- func (v *TreeViewColumn) SetResizable(resizable bool)
- func (v *TreeViewColumn) SetSizing(s TreeViewColumnSizing)
- func (v *TreeViewColumn) SetSortColumnId(col int)
- func (v *TreeViewColumn) SetSpacing(spacing int)
- func (v *TreeViewColumn) SetTitle(title string)
- func (v *TreeViewColumn) SetVisible(resizable bool)
- type TreeViewColumnSizing
- type UIManager
- type VBox
- type VPaned
- type VScrollbar
- type VSeparator
- type Viewport
- func (v *Viewport) GetBinWindow() *Window
- func (v *Viewport) GetHAdjustment() *Adjustment
- func (v *Viewport) GetShadowType() ShadowType
- func (v *Viewport) GetVAdjustment() *Adjustment
- func (v *Viewport) GetViewWindow() *Window
- func (v *Viewport) SetHAdjustment(ha *Adjustment)
- func (v *Viewport) SetShadowType(typ ShadowType)
- func (v *Viewport) SetVAdjustment(va *Adjustment)
- type VolumeButton
- type Widget
- func (v *Widget) Activate()
- func (v *Widget) AddAccelerator(signal string, group *AccelGroup, key uint, mods gdk.ModifierType, ...)
- func (v *Widget) AddEvents(events int)
- func (v *Widget) CanActivateAccel(signal_id uint) bool
- func (v *Widget) Connect(s string, f interface{}, datas ...interface{}) int
- func (v *Widget) Destroy()
- func (v *Widget) DragDestAddUriTargets()
- func (v *Widget) DragDestSet(flags DestDefaults, targets []TargetEntry, actions gdk.DragAction)
- func (v *Widget) DragFinish(context *gdk.DragContext, success bool, del bool, time uint32)
- func (v *Widget) DragSourceSet(start_button_mask gdk.ModifierType, targets []TargetEntry, ...)
- func (v *Widget) Emit(s string)
- func (v *Widget) GetAllocation() *Allocation
- func (v *Widget) GetAppPaintable() bool
- func (v *Widget) GetCanDefault() bool
- func (v *Widget) GetCanFocus() bool
- func (v *Widget) GetChildVisible() bool
- func (v *Widget) GetColormap() *gdk.Colormap
- func (v *Widget) GetDoubleBuffered() bool
- func (v *Widget) GetHasTooltip() bool
- func (v *Widget) GetHasWindow() bool
- func (v *Widget) GetName() string
- func (v *Widget) GetNoShowAll() bool
- func (v *Widget) GetPangoContext() *pango.Context
- func (v *Widget) GetParent() *Widget
- func (v *Widget) GetParentWindow() *gdk.Window
- func (v *Widget) GetReceivesDefault() bool
- func (v *Widget) GetSensitive() bool
- func (v *Widget) GetSettings() *Settings
- func (v *Widget) GetSizeRequest() (width int, height int)
- func (v *Widget) GetState() StateType
- func (v *Widget) GetStyle() *Style
- func (v *Widget) GetTooltipMarkup() string
- func (v *Widget) GetTooltipText() string
- func (v *Widget) GetTooltipWindow() *Window
- func (v *Widget) GetTopLevel() *Widget
- func (v *Widget) GetTopLevelAsWindow() *Window
- func (v *Widget) GetVisible() bool
- func (v *Widget) GetWindow() *gdk.Window
- func (v *Widget) GrabDefault()
- func (v *Widget) GrabFocus()
- func (v *Widget) HandlerBlock(id int)
- func (v *Widget) HandlerDisconnect(id int)
- func (v *Widget) HandlerUnblock(id int)
- func (v *Widget) HasDefault() bool
- func (v *Widget) HasFocus() bool
- func (v *Widget) HasGrab() bool
- func (v *Widget) Hide()
- func (v *Widget) HideAll()
- func (v *Widget) HideOnDelete()
- func (v *Widget) IsComposited() bool
- func (v *Widget) IsDrawable() bool
- func (v *Widget) IsFocus() bool
- func (v *Widget) IsSensitive() bool
- func (v *Widget) IsToplevel() bool
- func (v *Widget) Map()
- func (v *Widget) MnemonicActivate(group_cycling bool) bool
- func (v *Widget) ModifyBG(state StateType, color *gdk.Color)
- func (v *Widget) ModifyBase(state StateType, color *gdk.Color)
- func (v *Widget) ModifyFG(state StateType, color *gdk.Color)
- func (v *Widget) ModifyFontEasy(desc string)
- func (v *Widget) ModifyText(state StateType, color *gdk.Color)
- func (v *Widget) QueueClear()
- func (v *Widget) QueueDraw()
- func (v *Widget) QueueResize()
- func (v *Widget) QueueResizeNoRedraw()
- func (v *Widget) Realize()
- func (v *Widget) Ref()
- func (v *Widget) RenderIcon(stock_id string, size IconSize, detail string) *gdkpixbuf.Pixbuf
- func (v *Widget) Reparent(parent IWidget)
- func (v *Widget) SetAllocation(allocation *Allocation)
- func (v *Widget) SetAppPaintable(setting bool)
- func (v *Widget) SetCanDefault(setting bool)
- func (v *Widget) SetCanFocus(setting bool)
- func (v *Widget) SetChildVisible(setting bool)
- func (v *Widget) SetDoubleBuffered(setting bool)
- func (v *Widget) SetEvents(events int)
- func (v *Widget) SetHasTooltip(setting bool)
- func (v *Widget) SetHasWindow(setting bool)
- func (v *Widget) SetName(name string)
- func (v *Widget) SetNoShowAll(setting bool)
- func (v *Widget) SetParent(parent IWidget)
- func (v *Widget) SetParentWindow(parent *gdk.Window)
- func (v *Widget) SetReceivesDefault(setting bool)
- func (v *Widget) SetRedrawOnAllocate(setting bool)
- func (v *Widget) SetSensitive(setting bool)
- func (v *Widget) SetSizeRequest(width int, height int)
- func (v *Widget) SetState(state StateType)
- func (v *Widget) SetTooltipMarkup(markup string)
- func (v *Widget) SetTooltipText(text string)
- func (v *Widget) SetTooltipWindow(w *Window)
- func (v *Widget) SetUSize(width int, height int)
- func (v *Widget) SetVisible(setting bool)
- func (v *Widget) SetWindow(window *gdk.Window)
- func (v *Widget) Show()
- func (v *Widget) ShowAll()
- func (v *Widget) ShowNow()
- func (v *Widget) StopEmission(s string)
- func (v *Widget) ToNative() *C.GtkWidget
- func (v *Widget) Unmap()
- func (v *Widget) Unparent()
- func (v *Widget) Unrealize()
- func (v *Widget) Unref()
- type Window
- func (v *Window) ActivateDefault() bool
- func (v *Window) ActivateFocus() bool
- func (v *Window) AddAccelGroup(agroup *AccelGroup)
- func (v *Window) Deiconify()
- func (v *Window) Fullscreen()
- func (v *Window) GetAcceptFocus() bool
- func (v *Window) GetDefaultSize() (width int, height int)
- func (v *Window) GetDestroyWithParent() bool
- func (v *Window) GetIconName() string
- func (v *Window) GetModal() bool
- func (v *Window) GetOpacity() float64
- func (v *Window) GetPosition() (root_x int, root_y int)
- func (v *Window) GetResizable() bool
- func (v *Window) GetScreen() *gdk.Screen
- func (v *Window) GetSize() (width int, height int)
- func (v *Window) GetSkipTaskbarHint() bool
- func (v *Window) GetTitle() string
- func (v *Window) GetTypeHint() gdk.WindowTypeHint
- func (v *Window) HasToplevelFocus() bool
- func (v *Window) Iconify()
- func (v *Window) IsActive() bool
- func (v *Window) ListToplevels() *glib.List
- func (v *Window) Maximize()
- func (v *Window) Move(x int, y int)
- func (v *Window) Present()
- func (v *Window) RemoveAccelGroup(agroup *AccelGroup)
- func (v *Window) Resize(width int, height int)
- func (v *Window) SetAcceptFocus(setting bool)
- func (v *Window) SetAutoStartupNotification(setting bool)
- func (v *Window) SetDecorated(setting bool)
- func (v *Window) SetDefault(w *Widget)
- func (v *Window) SetDefaultSize(width int, height int)
- func (v *Window) SetDeletable(setting bool)
- func (v *Window) SetDestroyWithParent(setting bool)
- func (v *Window) SetGravity(gravity gdk.Gravity)
- func (v *Window) SetIcon(icon *gdkpixbuf.Pixbuf)
- func (v *Window) SetIconFromFile(file string)
- func (v *Window) SetIconName(name string)
- func (v *Window) SetKeepAbove(setting bool)
- func (v *Window) SetKeepBelow(setting bool)
- func (v *Window) SetModal(modal bool)
- func (v *Window) SetOpacity(opacity float64)
- func (v *Window) SetPosition(position WindowPosition)
- func (v *Window) SetResizable(resizable bool)
- func (v *Window) SetScreen(screen *gdk.Screen)
- func (v *Window) SetSkipTaskbarHint(setting bool)
- func (v *Window) SetTitle(title string)
- func (v *Window) SetTransientFor(parent *Window)
- func (v *Window) SetTypeHint(hint gdk.WindowTypeHint)
- func (v *Window) SetWMClass(name string, class string)
- func (v *Window) Stick()
- func (v *Window) Unfullscreen()
- func (v *Window) Unmaximize()
- func (v *Window) Unstick()
- type WindowPosition
- type WindowType
- type WrapMode
Constants ¶
const ( STOCK_ABOUT = "gtk-about" STOCK_ADD = "gtk-add" STOCK_APPLY = "gtk-apply" STOCK_BOLD = "gtk-bold" STOCK_CANCEL = "gtk-cancel" STOCK_CAPS_LOCK_WARNING = "gtk-caps-lock-warning" STOCK_CDROM = "gtk-cdrom" STOCK_CLEAR = "gtk-clear" STOCK_CLOSE = "gtk-close" STOCK_COLOR_PICKER = "gtk-color-picker" STOCK_CONVERT = "gtk-convert" STOCK_CONNECT = "gtk-connect" STOCK_COPY = "gtk-copy" STOCK_CUT = "gtk-cut" STOCK_DELETE = "gtk-delete" STOCK_DIALOG_AUTHENTICATION = "gtk-dialog-authentication" STOCK_DIALOG_INFO = "gtk-dialog-info" STOCK_DIALOG_WARNING = "gtk-dialog-warning" STOCK_DIALOG_ERROR = "gtk-dialog-error" STOCK_DIALOG_QUESTION = "gtk-dialog-question" STOCK_DIRECTORY = "gtk-directory" STOCK_DISCARD = "gtk-discard" STOCK_DISCONNECT = "gtk-disconnect" STOCK_DND = "gtk-dnd" STOCK_DND_MULTIPLE = "gtk-dnd-multiple" STOCK_EDIT = "gtk-edit" STOCK_EXECUTE = "gtk-execute" STOCK_FILE = "gtk-file" STOCK_FIND = "gtk-find" STOCK_FIND_AND_REPLACE = "gtk-find-and-replace" STOCK_FLOPPY = "gtk-floppy" STOCK_FULLSCREEN = "gtk-fullscreen" STOCK_GOTO_BOTTOM = "gtk-goto-bottom" STOCK_GOTO_FIRST = "gtk-goto-first" STOCK_GOTO_LAST = "gtk-goto-last" STOCK_GOTO_TOP = "gtk-goto-top" STOCK_GO_BACK = "gtk-go-back" STOCK_GO_DOWN = "gtk-go-down" STOCK_GO_FORWARD = "gtk-go-forward" STOCK_GO_UP = "gtk-go-up" STOCK_HARDDISK = "gtk-harddisk" STOCK_HELP = "gtk-help" STOCK_HOME = "gtk-home" STOCK_INDEX = "gtk-index" STOCK_INDENT = "gtk-indent" STOCK_INFO = "gtk-info" STOCK_UNINDENT = "gtk-unindent" STOCK_ITALIC = "gtk-italic" STOCK_JUMP_TO = "gtk-jump-to" STOCK_JUSTIFY_CENTER = "gtk-justify-center" STOCK_JUSTIFY_FILL = "gtk-justify-fill" STOCK_JUSTIFY_LEFT = "gtk-justify-left" STOCK_JUSTIFY_RIGHT = "gtk-justify-right" STOCK_LEAVE_FULLSCREEN = "gtk-leave-fullscreen" STOCK_MISSING_IMAGE = "gtk-missing-image" STOCK_MEDIA_FORWARD = "gtk-media-forward" STOCK_MEDIA_NEXT = "gtk-media-next" STOCK_MEDIA_PAUSE = "gtk-media-pause" STOCK_MEDIA_PLAY = "gtk-media-play" STOCK_MEDIA_PREVIOUS = "gtk-media-previous" STOCK_MEDIA_RECORD = "gtk-media-record" STOCK_MEDIA_REWIND = "gtk-media-rewind" STOCK_MEDIA_STOP = "gtk-media-stop" STOCK_NETWORK = "gtk-network" STOCK_NEW = "gtk-new" STOCK_NO = "gtk-no" STOCK_OK = "gtk-ok" STOCK_OPEN = "gtk-open" STOCK_ORIENTATION_PORTRAIT = "gtk-orientation-portrait" STOCK_ORIENTATION_LANDSCAPE = "gtk-orientation-landscape" STOCK_ORIENTATION_REVERSE_LANDSCAPE = "gtk-orientation-reverse-landscape" STOCK_ORIENTATION_REVERSE_PORTRAIT = "gtk-orientation-reverse-portrait" STOCK_PAGE_SETUP = "gtk-page-setup" STOCK_PASTE = "gtk-paste" STOCK_PREFERENCES = "gtk-preferences" STOCK_PRINT = "gtk-print" STOCK_PRINT_ERROR = "gtk-print-error" STOCK_PRINT_PAUSED = "gtk-print-paused" STOCK_PRINT_PREVIEW = "gtk-print-preview" STOCK_PRINT_REPORT = "gtk-print-report" STOCK_PRINT_WARNING = "gtk-print-warning" STOCK_PROPERTIES = "gtk-properties" STOCK_QUIT = "gtk-quit" STOCK_REDO = "gtk-redo" STOCK_REFRESH = "gtk-refresh" STOCK_REMOVE = "gtk-remove" STOCK_REVERT_TO_SAVED = "gtk-revert-to-saved" STOCK_SAVE = "gtk-save" STOCK_SAVE_AS = "gtk-save-as" STOCK_SELECT_ALL = "gtk-select-all" STOCK_SELECT_COLOR = "gtk-select-color" STOCK_SELECT_FONT = "gtk-select-font" STOCK_SORT_ASCENDING = "gtk-sort-ascending" STOCK_SORT_DESCENDING = "gtk-sort-descending" STOCK_SPELL_CHECK = "gtk-spell-check" STOCK_STOP = "gtk-stop" STOCK_STRIKETHROUGH = "gtk-strikethrough" STOCK_UNDELETE = "gtk-undelete" STOCK_UNDERLINE = "gtk-underline" STOCK_UNDO = "gtk-undo" STOCK_YES = "gtk-yes" STOCK_ZOOM_100 = "gtk-zoom-100" STOCK_ZOOM_FIT = "gtk-zoom-fit" STOCK_ZOOM_IN = "gtk-zoom-in" STOCK_ZOOM_OUT = "gtk-zoom-out" )
----------------------------------------------------------------------- GtkStockItem -----------------------------------------------------------------------
const ( TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID int = -1 TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID int = -2 )
const ( TYPE_CHAR = glib.G_TYPE_CHAR TYPE_UCHAR = glib.G_TYPE_UCHAR TYPE_BOOL = glib.G_TYPE_BOOL TYPE_INT = glib.G_TYPE_INT TYPE_UINT = glib.G_TYPE_UINT TYPE_LONG = glib.G_TYPE_LONG TYPE_ULONG = glib.G_TYPE_ULONG TYPE_FLOAT = glib.G_TYPE_FLOAT TYPE_DOUBLE = glib.G_TYPE_DOUBLE TYPE_STRING = glib.G_TYPE_STRING TYPE_BOXED = glib.G_TYPE_BOXED TYPE_POINTER = glib.G_TYPE_POINTER TYPE_PIXBUF = TYPE_POINTER )
----------------------------------------------------------------------- GtkListStore -----------------------------------------------------------------------
const ( RESIZE_PARENT = ResizeMode(0) RESIZE_QUEUE = ResizeMode(1) RESIZE_IMMEDIATE = ResizeMode(2) )
Variables ¶
This section is empty.
Functions ¶
func ABOUT_DIALOG ¶
func ABOUT_DIALOG(p *AboutDialog) *C.GtkAboutDialog
func ACCEL_LABEL ¶
func ACCEL_LABEL(p *AccelLabel) *C.GtkAccelLabel
func ACCESSIBLE ¶
func ACCESSIBLE(p *Accessible) *C.GtkAccessible
func ACTION_GROUP ¶
func ACTION_GROUP(p *ActionGroup) *C.GtkActionGroup
func ACTIVATABLE ¶
func ACTIVATABLE(p *Activatable) *C.GtkActivatable
func ADJUSTMENT ¶
func ADJUSTMENT(p *Adjustment) *C.GtkAdjustment
func ALIGNMENT ¶
func ALIGNMENT(p *Alignment) *C.GtkAlignment
func ASSISTANT ¶
func ASSISTANT(p *Assistant) *C.GtkAssistant
func AcceleratorGetDefaultModMask ¶
func AcceleratorGetDefaultModMask() uint
func AcceleratorParse ¶
func AcceleratorParse(accelerator string) (uint, gdk.ModifierType)
Parse string representing an accelerator and return the key code and the modifier masks.
func CALENDAR ¶
func CALENDAR(p *Calendar) *C.GtkCalendar
func CELL_RENDERER_TEXT ¶
func CELL_RENDERER_TEXT(p *CellRendererText) *C.GtkCellRendererText
func CELL_RENDERER_TOGGLE ¶
func CELL_RENDERER_TOGGLE(p *CellRendererToggle) *C.GtkCellRendererToggle
func CHECK_MENU_ITEM ¶
func CHECK_MENU_ITEM(p *CheckMenuItem) *C.GtkCheckMenuItem
func COLOR_BUTTON ¶
func COLOR_BUTTON(p *ColorButton) *C.GtkColorButton
func COMBO_BOX ¶
func COMBO_BOX(p *ComboBox) *C.GtkComboBox
func COMBO_BOX_ENTRY ¶
func COMBO_BOX_ENTRY(p *ComboBoxEntry) *C.GtkComboBoxEntry
func COMBO_BOX_TEXT ¶
func COMBO_BOX_TEXT(p *ComboBoxText) *C.GtkComboBoxText
func CONTAINER ¶
func CONTAINER(p *Container) *C.GtkContainer
func DRAWING_AREA ¶
func DRAWING_AREA(p *DrawingArea) *C.GtkDrawingArea
func EXPANDER ¶
func EXPANDER(p *Expander) *C.GtkExpander
func EventsPending ¶
func EventsPending() bool
func FILE_CHOOSER ¶
func FILE_CHOOSER(p *Widget) *C.GtkFileChooser
func FONT_BUTTON ¶
func FONT_BUTTON(p *FontButton) *C.GtkFontButton
func FONT_SELECTION ¶
func FONT_SELECTION(p *FontSelection) *C.GtkFontSelection
func FONT_SELECTION_DIALOG ¶
func FONT_SELECTION_DIALOG(p *FontSelectionDialog) *C.GtkFontSelectionDialog
func GetCurrentEventTime ¶
func GetCurrentEventTime() uint32
func ICON_VIEW ¶
func ICON_VIEW(p *IconView) *C.GtkIconView
func IMAGE_MENU_ITEM ¶
func IMAGE_MENU_ITEM(p *ImageMenuItem) *C.GtkImageMenuItem
func INFO_BAR ¶
func INFO_BAR(p *InfoBar) *C.GtkInfoBar
func IconSizeLookup ¶
gtk_icon_size_lookup
func InterfaceAge ¶
func InterfaceAge() uint
func LINK_BUTTON ¶
func LINK_BUTTON(p *LinkButton) *C.GtkLinkButton
func MENU_BAR ¶
func MENU_BAR(p *MenuBar) *C.GtkMenuBar
func MENU_ITEM ¶
func MENU_ITEM(p *MenuItem) *C.GtkMenuItem
func MENU_SHELL ¶
func MENU_SHELL(p *MenuShell) *C.GtkMenuShell
func MENU_TOOL_BUTTON ¶
func MENU_TOOL_BUTTON(p *MenuToolButton) *C.GtkMenuToolButton
func MESSAGE_DIALOG ¶
func MESSAGE_DIALOG(p *MessageDialog) *C.GtkMessageDialog
func MainIteration ¶
func MainIteration() bool
func MainIterationDo ¶
func MajorVersion ¶
func MajorVersion() uint
----------------------------------------------------------------------- Version Information -----------------------------------------------------------------------
func MicroVersion ¶
func MicroVersion() uint
func MinorVersion ¶
func MinorVersion() uint
func NOTEBOOK ¶
func NOTEBOOK(p *Notebook) *C.GtkNotebook
func PROGRESS_BAR ¶
func PROGRESS_BAR(p *ProgressBar) *C.GtkProgressBar
func RADIO_ACTION ¶
func RADIO_ACTION(p *RadioAction) *C.GtkRadioAction
func RADIO_BUTTON ¶
func RADIO_BUTTON(p *RadioButton) *C.GtkRadioButton
func RADIO_MENU_ITEM ¶
func RADIO_MENU_ITEM(p *RadioMenuItem) *C.GtkRadioMenuItem
func RCParseString ¶
func RCParseString(style string)
func RCReparseAll ¶
func RCReparseAll() bool
func RCResetStyles ¶
func RCResetStyles(settings *Settings)
func RECENT_ACTION ¶
func RECENT_ACTION(p *RecentAction) *C.GtkRecentAction
func SCALEBUTTON ¶
func SCALEBUTTON(p *ScaleButton) *C.GtkScaleButton
func SCROLLED_WINDOW ¶
func SCROLLED_WINDOW(p *ScrolledWindow) *C.GtkScrolledWindow
func SEPARATOR_TOOL_ITEM ¶
func SEPARATOR_TOOL_ITEM(p *SeparatorToolItem) *C.GtkSeparatorToolItem
func SPINNER ¶
func SPINNER(s *Spinner) *C.GtkSpinner
func SPIN_BUTTON ¶
func SPIN_BUTTON(p *SpinButton) *C.GtkSpinButton
func STATUSBAR ¶
func STATUSBAR(p *Statusbar) *C.GtkStatusbar
func SetLocale ¶
func SetLocale()
Deprecated since 2.24. Use setlocale() directly. (see http://developer.gnome.org/gtk/stable/gtk-General.html#gtk-set-locale)
func StatusIconPositionMenu ¶
func StockListIDs ¶
func StockLookup ¶
func TEXT_BUFFER ¶
func TEXT_BUFFER(p unsafe.Pointer) *C.GtkTextBuffer
func TEXT_VIEW ¶
func TEXT_VIEW(p *TextView) *C.GtkTextView
func TOGGLE_ACTION ¶
func TOGGLE_ACTION(p *ToggleAction) *C.GtkToggleAction
func TOGGLE_BUTTON ¶
func TOGGLE_BUTTON(p *ToggleButton) *C.GtkToggleButton
func TOGGLE_TOOL_BUTTON ¶
func TOGGLE_TOOL_BUTTON(p *ToggleToolButton) *C.GtkToggleToolButton
func TOOLBAR ¶
func TOOLBAR(p *Toolbar) *C.GtkToolbar
func TOOL_BUTTON ¶
func TOOL_BUTTON(p *ToolButton) *C.GtkToolButton
func TOOL_ITEM ¶
func TOOL_ITEM(p *ToolItem) *C.GtkToolItem
func TOOL_ITEM_GROUP ¶
func TOOL_ITEM_GROUP(p *ToolItemGroup) *C.GtkToolItemGroup
func TOOL_PALETTE ¶
func TOOL_PALETTE(p *ToolPalette) *C.GtkToolPalette
func TREE_VIEW ¶
func TREE_VIEW(p *TreeView) *C.GtkTreeView
func UI_MANAGER ¶
func UI_MANAGER(p *UIManager) *C.GtkUIManager
func VIEWPORT ¶
func VIEWPORT(p *Viewport) *C.GtkViewport
Types ¶
type AboutDialog ¶
type AboutDialog struct {
Dialog
}
----------------------------------------------------------------------- GtkAboutDialog -----------------------------------------------------------------------
func NewAboutDialog ¶
func NewAboutDialog() *AboutDialog
func (*AboutDialog) GetArtists ¶
func (v *AboutDialog) GetArtists() []string
func (*AboutDialog) GetAuthors ¶
func (v *AboutDialog) GetAuthors() []string
func (*AboutDialog) GetComments ¶
func (v *AboutDialog) GetComments() string
func (*AboutDialog) GetCopyright ¶
func (v *AboutDialog) GetCopyright() string
func (*AboutDialog) GetDocumenters ¶
func (v *AboutDialog) GetDocumenters() []string
func (*AboutDialog) GetLicense ¶
func (v *AboutDialog) GetLicense() string
func (*AboutDialog) GetLogo ¶
func (v *AboutDialog) GetLogo() *gdkpixbuf.Pixbuf
func (*AboutDialog) GetLogoIconName ¶
func (v *AboutDialog) GetLogoIconName() string
func (*AboutDialog) GetProgramName ¶
func (v *AboutDialog) GetProgramName() string
func (*AboutDialog) GetTranslatorCredits ¶
func (v *AboutDialog) GetTranslatorCredits() string
func (*AboutDialog) GetVersion ¶
func (v *AboutDialog) GetVersion() string
func (*AboutDialog) GetWebsite ¶
func (v *AboutDialog) GetWebsite() string
func (*AboutDialog) GetWebsiteLabel ¶
func (v *AboutDialog) GetWebsiteLabel() string
func (*AboutDialog) GetWrapLicense ¶
func (v *AboutDialog) GetWrapLicense() bool
func (*AboutDialog) SetArtists ¶
func (v *AboutDialog) SetArtists(artists []string)
func (*AboutDialog) SetAuthors ¶
func (v *AboutDialog) SetAuthors(authors []string)
func (*AboutDialog) SetComments ¶
func (v *AboutDialog) SetComments(comments string)
func (*AboutDialog) SetCopyright ¶
func (v *AboutDialog) SetCopyright(copyright string)
func (*AboutDialog) SetDocumenters ¶
func (v *AboutDialog) SetDocumenters(documenters []string)
func (*AboutDialog) SetLicense ¶
func (v *AboutDialog) SetLicense(license string)
func (*AboutDialog) SetLogo ¶
func (v *AboutDialog) SetLogo(logo *gdkpixbuf.Pixbuf)
func (*AboutDialog) SetLogoIconName ¶
func (v *AboutDialog) SetLogoIconName(icon_name string)
func (*AboutDialog) SetProgramName ¶
func (v *AboutDialog) SetProgramName(name string)
func (*AboutDialog) SetTranslatorCredits ¶
func (v *AboutDialog) SetTranslatorCredits(translator_credits string)
func (*AboutDialog) SetVersion ¶
func (v *AboutDialog) SetVersion(version string)
func (*AboutDialog) SetWebsite ¶
func (v *AboutDialog) SetWebsite(website string)
func (*AboutDialog) SetWebsiteLabel ¶
func (v *AboutDialog) SetWebsiteLabel(website_label string)
func (*AboutDialog) SetWrapLicense ¶
func (v *AboutDialog) SetWrapLicense(wrap_license bool)
type AccelFlags ¶
type AccelFlags int
const ( ACCEL_VISIBLE AccelFlags = 1 << iota ACCEL_LOCKED ACCEL_MASK = 0x07 )
type AccelGroup ¶
type AccelGroup struct {
GAccelGroup *C.GtkAccelGroup
}
----------------------------------------------------------------------- GtkAccelGroup -----------------------------------------------------------------------
func NewAccelGroup ¶
func NewAccelGroup() *AccelGroup
type AccelLabel ¶
type AccelLabel struct {
Widget
}
----------------------------------------------------------------------- GtkAccelLabel -----------------------------------------------------------------------
type IAccelLabel interface { IWidget GetAccelWidget() GtkWidget SetAccelWidget(GtkWidget) }
func NewAccelLabel ¶
func NewAccelLabel(label string) *AccelLabel
func (*AccelLabel) GetAccelWidget ¶
func (v *AccelLabel) GetAccelWidget() Widget
func (*AccelLabel) GetAccelWidth ¶
func (v *AccelLabel) GetAccelWidth() uint
func (*AccelLabel) Refetch ¶
func (v *AccelLabel) Refetch() bool
func (*AccelLabel) SetAccelWidget ¶
func (v *AccelLabel) SetAccelWidget(w IWidget)
type Accessible ¶
----------------------------------------------------------------------- GtkAccessible -----------------------------------------------------------------------
func (*Accessible) ConnectWidgetDestroyed ¶
func (v *Accessible) ConnectWidgetDestroyed()
func (*Accessible) GetWidget ¶
func (v *Accessible) GetWidget() *Widget
func (*Accessible) SetWidget ¶
func (v *Accessible) SetWidget(w IWidget)
type Action ¶
func (*Action) BlockActivate ¶
func (v *Action) BlockActivate()
func (*Action) BlockActivateFrom ¶
func (*Action) ConnectAccelerator ¶
func (v *Action) ConnectAccelerator()
func (*Action) ConnectProxy ¶
func (*Action) CreateIcon ¶
func (*Action) CreateMenu ¶
func (*Action) CreateMenuItem ¶
func (*Action) CreateToolItem ¶
func (*Action) DisconnectAccelerator ¶
func (v *Action) DisconnectAccelerator()
func (*Action) DisconnectProxy ¶
func (*Action) GetAccelPath ¶
func (*Action) GetAlwaysShowImage ¶
func (*Action) GetIconName ¶
func (*Action) GetIsImportant ¶
func (*Action) GetProxies ¶
func (*Action) GetSensitive ¶
func (*Action) GetShortLabel ¶
func (*Action) GetStockId ¶
func (*Action) GetTooltip ¶
func (*Action) GetVisible ¶
func (*Action) GetVisibleHorizontal ¶
func (*Action) GetVisibleVertical ¶
func (*Action) IsSensitive ¶
func (*Action) SetAccelGroup ¶
func (v *Action) SetAccelGroup(accel_group *AccelGroup)
func (*Action) SetAccelPath ¶
func (*Action) SetAlwaysShowImage ¶
func (*Action) SetIconName ¶
func (*Action) SetIsImportant ¶
func (*Action) SetSensitive ¶
func (*Action) SetShortLabel ¶
func (*Action) SetStockId ¶
func (*Action) SetTooltip ¶
func (*Action) SetVisible ¶
func (*Action) SetVisibleHorizontal ¶
func (*Action) SetVisibleVertical ¶
func (*Action) UnblockActivate ¶
func (v *Action) UnblockActivate()
func (*Action) UnblockActivateFrom ¶
type ActionGroup ¶
func NewActionGroup ¶
func NewActionGroup(name string) *ActionGroup
func (*ActionGroup) AddAction ¶
func (v *ActionGroup) AddAction(action interface{})
func (*ActionGroup) AddActionWithAccel ¶
func (v *ActionGroup) AddActionWithAccel(action *Action, accelerator string)
func (*ActionGroup) GetAction ¶
func (v *ActionGroup) GetAction(action_name string) *Action
func (*ActionGroup) GetName ¶
func (v *ActionGroup) GetName() string
func (*ActionGroup) GetSensitive ¶
func (v *ActionGroup) GetSensitive() bool
func (*ActionGroup) GetVisible ¶
func (v *ActionGroup) GetVisible() bool
func (*ActionGroup) ListActions ¶
func (v *ActionGroup) ListActions() *glib.List
func (*ActionGroup) RemoveAction ¶
func (v *ActionGroup) RemoveAction(action *Action)
func (*ActionGroup) SetSensitive ¶
func (v *ActionGroup) SetSensitive(sensitive bool)
func (*ActionGroup) SetVisible ¶
func (v *ActionGroup) SetVisible(visible bool)
type Activatable ¶
Known Implementations for GtkActivatable interface: GtkActivatable is implemented by GtkButton, GtkCheckButton, GtkCheckMenuItem, GtkColorButton, GtkFontButton, GtkImageMenuItem, GtkLinkButton, GtkLockButton, GtkMenuItem, GtkMenuToolButton, GtkRadioButton, GtkRadioMenuItem, GtkRadioToolButton, GtkRecentChooserMenu, GtkScaleButton, GtkSeparatorMenuItem, GtkSeparatorToolItem, GtkSwitch, GtkTearoffMenuItem, GtkToggleButton, GtkToggleToolButton, GtkToolButton, GtkToolItem and GtkVolumeButton.
func (*Activatable) GetRelatedAction ¶
func (v *Activatable) GetRelatedAction() *Action
func (*Activatable) GetUseActionAppearance ¶
func (v *Activatable) GetUseActionAppearance() bool
func (*Activatable) SetRelatedAction ¶
func (v *Activatable) SetRelatedAction(action *Action)
func (*Activatable) SetUseActionAppearance ¶
func (v *Activatable) SetUseActionAppearance(use_appearance bool)
type Adjustment ¶
type Adjustment struct {
GAdjustment *C.GtkAdjustment
}
----------------------------------------------------------------------- GtkAdjustment -----------------------------------------------------------------------
func NewAdjustment ¶
func NewAdjustment(value, lower, upper, step_increment, page_increment, page_size float64) *Adjustment
func (*Adjustment) Configure ¶
func (v *Adjustment) Configure(value, lower, upper, step_increment, page_increment, page_size float64)
func (*Adjustment) Connect ¶
func (v *Adjustment) Connect(s string, f interface{}, datas ...interface{}) int
func (*Adjustment) GetLower ¶
func (v *Adjustment) GetLower() float64
func (*Adjustment) GetPageIncrement ¶
func (v *Adjustment) GetPageIncrement() float64
func (*Adjustment) GetPageSize ¶
func (v *Adjustment) GetPageSize() float64
func (*Adjustment) GetStepIncrement ¶
func (v *Adjustment) GetStepIncrement() float64
func (*Adjustment) GetUpper ¶
func (v *Adjustment) GetUpper() float64
func (*Adjustment) GetValue ¶
func (v *Adjustment) GetValue() float64
func (*Adjustment) SetLower ¶
func (v *Adjustment) SetLower(lower float64)
func (*Adjustment) SetPageIncrement ¶
func (v *Adjustment) SetPageIncrement(page_increment float64)
func (*Adjustment) SetPageSize ¶
func (v *Adjustment) SetPageSize(page_size float64)
func (*Adjustment) SetStepIncrement ¶
func (v *Adjustment) SetStepIncrement(step_increment float64)
func (*Adjustment) SetUpper ¶
func (v *Adjustment) SetUpper(upper float64)
func (*Adjustment) SetValue ¶
func (v *Adjustment) SetValue(value float64)
type Alignment ¶
type Alignment struct {
Bin
}
----------------------------------------------------------------------- GtkAlignment -----------------------------------------------------------------------
func NewAlignment ¶
func (*Alignment) GetPadding ¶
type Allocation ¶
----------------------------------------------------------------------- GtkWidget -----------------------------------------------------------------------
type Arrow ¶
type Arrow struct {
Widget
}
func NewArrow ¶
func NewArrow(at ArrowType, st ShadowType) *Arrow
Draw arrowhead facing in given direction with a shadow. Like gtk.Label it does not emit signals.
func (*Arrow) Set ¶
func (a *Arrow) Set(at ArrowType, st ShadowType)
Change the arrows direction and shadow.
type Assistant ¶
type Assistant struct {
Widget
}
func NewAssistant ¶
func NewAssistant() *Assistant
func (*Assistant) AddActionWidget ¶
func (*Assistant) AppendPage ¶
func (*Assistant) GetCurrentPage ¶
func (*Assistant) GetNthPage ¶
func (*Assistant) GetPageComplete ¶
func (*Assistant) GetPageHeaderImage ¶
func (*Assistant) GetPageSideImage ¶
func (*Assistant) GetPageTitle ¶
func (*Assistant) GetPageType ¶
func (v *Assistant) GetPageType(page IWidget) AssistantPageType
func (*Assistant) PrependPage ¶
func (*Assistant) RemoveActionWidget ¶
func (*Assistant) SetCurrentPage ¶
func (*Assistant) SetPageComplete ¶
func (*Assistant) SetPageHeaderImage ¶
func (*Assistant) SetPageSideImage ¶
func (*Assistant) SetPageTitle ¶
func (*Assistant) SetPageType ¶
func (v *Assistant) SetPageType(page IWidget, t AssistantPageType)
func (*Assistant) UpdateButtonsState ¶
func (v *Assistant) UpdateButtonsState()
type AssistantPageType ¶
type AssistantPageType int
----------------------------------------------------------------------- GtkAssistant -----------------------------------------------------------------------
const ( ASSISTANT_PAGE_CONTENT AssistantPageType = iota ASSISTANT_PAGE_INTRO ASSISTANT_PAGE_CONFIRM ASSISTANT_PAGE_SUMMARY ASSISTANT_PAGE_PROGRESS )
type AttachOptions ¶
type AttachOptions int
----------------------------------------------------------------------- GtkTable -----------------------------------------------------------------------
const ( EXPAND AttachOptions = 1 << iota SHRINK FILL )
type Bin ¶
type Bin struct {
Container
}
----------------------------------------------------------------------- GtkBin -----------------------------------------------------------------------
type Box ¶
type Box struct {
Container
}
func (*Box) GetHomogeneous ¶
func (*Box) GetSpacing ¶
func (*Box) PackEndDefaults ¶
Deprecated since 2.14. Use PackEnd() instead.
func (*Box) PackStartDefaults ¶
Deprecated since 2.14. Use PackStart() instead.
func (*Box) QueryChildPacking ¶
func (*Box) ReorderChild ¶
func (*Box) SetChildPacking ¶
func (*Box) SetHomogeneous ¶
func (*Box) SetSpacing ¶
type Builder ¶
type Builder struct {
GBuilder *C.GtkBuilder
}
----------------------------------------------------------------------- GtkBuilder -----------------------------------------------------------------------
func NewBuilder ¶
func NewBuilder() *Builder
func (*Builder) AddFromFile ¶
func (*Builder) AddFromString ¶
func (*Builder) ConnectSignals ¶
func (v *Builder) ConnectSignals(user_data interface{})
func (*Builder) ConnectSignalsFull ¶
func (v *Builder) ConnectSignalsFull(f BuilderConnectFunc, user_data interface{})
func (*Builder) GetObjects ¶
func (*Builder) GetTranslationDomain ¶
func (*Builder) GetTypeFromName ¶
func (*Builder) SetTranslationDomain ¶
type BuilderConnectFunc ¶
type BuilderConnectInfo ¶
type BuilderConnectInfo struct {
// contains filtered or unexported fields
}
type Button ¶
type Button struct { Bin Activatable // implement GtkActivatable interface }
func NewButtonFromStock ¶
func NewButtonWithLabel ¶
func NewButtonWithMnemonic ¶
func (*Button) GetAlignment ¶
func (*Button) GetEventWindow ¶
func (*Button) GetFocusOnClick ¶
func (*Button) GetImagePosition ¶
func (v *Button) GetImagePosition() PositionType
func (*Button) GetRelief ¶
func (v *Button) GetRelief() ReliefStyle
func (*Button) GetUseStock ¶
func (*Button) GetUseUnderline ¶
func (*Button) SetAlignment ¶
func (*Button) SetFocusOnClick ¶
func (*Button) SetImagePosition ¶
func (v *Button) SetImagePosition(pos PositionType)
func (*Button) SetRelief ¶
func (v *Button) SetRelief(relief ReliefStyle)
func (*Button) SetUseStock ¶
func (*Button) SetUseUnderline ¶
type ButtonsType ¶
type ButtonsType int
const ( BUTTONS_NONE ButtonsType = iota BUTTONS_OK BUTTONS_CLOSE BUTTONS_CANCEL BUTTONS_YES_NO BUTTONS_OK_CANCEL )
type CellRenderer ¶
type CellRenderer struct { GCellRenderer *C.GtkCellRenderer ICellRenderer }
func (*CellRenderer) Connect ¶
func (v *CellRenderer) Connect(s string, f interface{}, datas ...interface{}) int
func (*CellRenderer) ToCellRenderer ¶
func (v *CellRenderer) ToCellRenderer() *C.GtkCellRenderer
type CellRendererAccel ¶
type CellRendererAccel struct {
CellRenderer
}
----------------------------------------------------------------------- GtkCellRendererAccel -----------------------------------------------------------------------
func NewCellRendererAccel ¶
func NewCellRendererAccel() *CellRendererAccel
type CellRendererCombo ¶
type CellRendererCombo struct {
CellRenderer
}
----------------------------------------------------------------------- GtkCellRendererCombo -----------------------------------------------------------------------
func NewCellRendererCombo ¶
func NewCellRendererCombo() *CellRendererCombo
type CellRendererPixbuf ¶
type CellRendererPixbuf struct {
CellRenderer
}
----------------------------------------------------------------------- GtkCellRendererPixbuf -----------------------------------------------------------------------
func NewCellRendererPixbuf ¶
func NewCellRendererPixbuf() *CellRendererPixbuf
type CellRendererProgress ¶
type CellRendererProgress struct {
CellRenderer
}
----------------------------------------------------------------------- GtkCellRendererProgress -----------------------------------------------------------------------
func NewCellRendererProgress ¶
func NewCellRendererProgress() *CellRendererProgress
type CellRendererSpin ¶
type CellRendererSpin struct {
CellRenderer
}
----------------------------------------------------------------------- GtkCellRendererSpin -----------------------------------------------------------------------
func NewCellRendererSpin ¶
func NewCellRendererSpin() *CellRendererSpin
type CellRendererSpinner ¶
type CellRendererSpinner struct {
CellRenderer
}
----------------------------------------------------------------------- GtkCellRendererSpinner -----------------------------------------------------------------------
func NewCellRendererSpinner ¶
func NewCellRendererSpinner() *CellRendererSpinner
type CellRendererText ¶
type CellRendererText struct {
CellRenderer
}
----------------------------------------------------------------------- GtkCellRendererText -----------------------------------------------------------------------
func NewCellRendererText ¶
func NewCellRendererText() *CellRendererText
func (*CellRendererText) SetFixedHeightFromFont ¶
func (v *CellRendererText) SetFixedHeightFromFont(number_of_rows int)
type CellRendererToggle ¶
type CellRendererToggle struct {
CellRenderer
}
----------------------------------------------------------------------- GtkCellRendererToggle -----------------------------------------------------------------------
func NewCellRendererToggle ¶
func NewCellRendererToggle() *CellRendererToggle
func (*CellRendererToggle) GetActivatable ¶
func (v *CellRendererToggle) GetActivatable() bool
func (*CellRendererToggle) GetActive ¶
func (v *CellRendererToggle) GetActive() bool
func (*CellRendererToggle) GetRadio ¶
func (v *CellRendererToggle) GetRadio() bool
func (*CellRendererToggle) SetActivatable ¶
func (v *CellRendererToggle) SetActivatable(activatable bool)
func (*CellRendererToggle) SetActive ¶
func (v *CellRendererToggle) SetActive(active bool)
func (*CellRendererToggle) SetRadio ¶
func (v *CellRendererToggle) SetRadio(radio bool)
type CheckButton ¶
type CheckButton struct {
ToggleButton
}
----------------------------------------------------------------------- GtkCheckButton -----------------------------------------------------------------------
func NewCheckButton ¶
func NewCheckButton() *CheckButton
func NewCheckButtonWithLabel ¶
func NewCheckButtonWithLabel(label string) *CheckButton
func NewCheckButtonWithMnemonic ¶
func NewCheckButtonWithMnemonic(label string) *CheckButton
type CheckMenuItem ¶
type CheckMenuItem struct {
MenuItem
}
----------------------------------------------------------------------- GtkCheckMenuItem -----------------------------------------------------------------------
func NewCheckMenuItem ¶
func NewCheckMenuItem() *CheckMenuItem
func NewCheckMenuItemWithLabel ¶
func NewCheckMenuItemWithLabel(label string) *CheckMenuItem
func NewCheckMenuItemWithMnemonic ¶
func NewCheckMenuItemWithMnemonic(label string) *CheckMenuItem
func (*CheckMenuItem) GetActive ¶
func (v *CheckMenuItem) GetActive() bool
func (*CheckMenuItem) GetDrawAsRadio ¶
func (v *CheckMenuItem) GetDrawAsRadio() bool
func (*CheckMenuItem) GetInconsistent ¶
func (v *CheckMenuItem) GetInconsistent() bool
func (*CheckMenuItem) SetActive ¶
func (v *CheckMenuItem) SetActive(setting bool)
func (*CheckMenuItem) SetDrawAsRadio ¶
func (v *CheckMenuItem) SetDrawAsRadio(setting bool)
func (*CheckMenuItem) SetInconsistent ¶
func (v *CheckMenuItem) SetInconsistent(setting bool)
func (*CheckMenuItem) Toggled ¶
func (v *CheckMenuItem) Toggled()
type Clipboard ¶
type Clipboard struct {
GClipboard *C.GtkClipboard
}
----------------------------------------------------------------------- GtkClipboard -----------------------------------------------------------------------
func (*Clipboard) WaitForContents ¶
func (v *Clipboard) WaitForContents(target gdk.Atom) *SelectionData
func (*Clipboard) WaitForImage ¶
func (*Clipboard) WaitForText ¶
type ColorButton ¶
type ColorButton struct {
Button
}
func NewColorButton ¶
func NewColorButton() *ColorButton
func NewColorButtonWithColor ¶
func NewColorButtonWithColor(color *gdk.Color) *ColorButton
func (*ColorButton) GetAlpha ¶
func (v *ColorButton) GetAlpha() uint16
func (*ColorButton) GetColor ¶
func (v *ColorButton) GetColor() *gdk.Color
func (*ColorButton) GetTitle ¶
func (v *ColorButton) GetTitle() string
func (*ColorButton) GetUseAlpha ¶
func (v *ColorButton) GetUseAlpha() bool
func (*ColorButton) SetAlpha ¶
func (v *ColorButton) SetAlpha(alpha uint16)
func (*ColorButton) SetColor ¶
func (v *ColorButton) SetColor(color *gdk.Color)
func (*ColorButton) SetTitle ¶
func (v *ColorButton) SetTitle(title string)
func (*ColorButton) SetUseAlpha ¶
func (v *ColorButton) SetUseAlpha(use_alpha bool)
type ComboBox ¶
type ComboBox struct {
Bin
}
----------------------------------------------------------------------- GtkComboBox -----------------------------------------------------------------------
func NewComboBox ¶
func NewComboBox() *ComboBox
func NewComboBoxNewText ¶
func NewComboBoxNewText() *ComboBox
Deprecated since 2.24. Use GtkComboBoxText.
func NewComboBoxWithEntry ¶
func NewComboBoxWithEntry() *ComboBox
func NewComboBoxWithModel ¶
func (*ComboBox) AppendText ¶
Deprecated since 2.24. Use GtkComboBoxText.
func (*ComboBox) GetActiveIter ¶
func (*ComboBox) GetActiveText ¶
Deprecated since 2.24. Use GtkComboBoxText or, if combo box contains an entry, get text directly from GtkEntry.
func (*ComboBox) GetAddTearoffs ¶
func (*ComboBox) GetColumnSpanColumn ¶
func (*ComboBox) GetFocusOnClick ¶
func (*ComboBox) GetRowSpanColumn ¶
func (*ComboBox) GetWrapWidth ¶
func (*ComboBox) InsertText ¶
Deprecated since 2.24. Use GtkComboBoxText.
func (*ComboBox) PrependText ¶
Deprecated since 2.24. Use GtkComboBoxText.
func (*ComboBox) RemoveText ¶
Deprecated since 2.24. Use GtkComboBoxText.
func (*ComboBox) SetActiveIter ¶
func (*ComboBox) SetAddTearoffs ¶
func (*ComboBox) SetColumnSpanColumn ¶
func (*ComboBox) SetFocusOnClick ¶
func (*ComboBox) SetRowSpanColumn ¶
func (*ComboBox) SetWrapWidth ¶
type ComboBoxEntry ¶
type ComboBoxEntry struct {
ComboBox
}
----------------------------------------------------------------------- GtkComboBoxEntry -----------------------------------------------------------------------
func NewComboBoxEntry ¶
func NewComboBoxEntry() *ComboBoxEntry
func NewComboBoxEntryNewText ¶
func NewComboBoxEntryNewText() *ComboBoxEntry
func (*ComboBoxEntry) GetTextColumn ¶
func (v *ComboBoxEntry) GetTextColumn() int
func (*ComboBoxEntry) SetTextColumn ¶
func (v *ComboBoxEntry) SetTextColumn(text_column int)
type ComboBoxText ¶
type ComboBoxText struct {
ComboBox
}
----------------------------------------------------------------------- GtkComboBoxText -----------------------------------------------------------------------
func NewComboBoxText ¶
func NewComboBoxText() *ComboBoxText
func NewComboBoxTextWithEntry ¶
func NewComboBoxTextWithEntry() *ComboBoxText
func (*ComboBoxText) AppendText ¶
func (v *ComboBoxText) AppendText(text string)
func (*ComboBoxText) GetActiveText ¶
func (v *ComboBoxText) GetActiveText() string
func (*ComboBoxText) GetEntry ¶
func (v *ComboBoxText) GetEntry() *Entry
func (*ComboBoxText) InsertText ¶
func (v *ComboBoxText) InsertText(position int, text string)
func (*ComboBoxText) PrependText ¶
func (v *ComboBoxText) PrependText(text string)
func (*ComboBoxText) Remove ¶
func (v *ComboBoxText) Remove(position int)
type Container ¶
type Container struct {
Widget
}
func (*Container) CheckResize ¶
func (v *Container) CheckResize()
func (*Container) GetBorderWidth ¶
func (*Container) GetChildren ¶
func (*Container) GetFocusChild ¶
func (*Container) GetFocusHAdjustment ¶
func (v *Container) GetFocusHAdjustment() *Adjustment
func (*Container) GetFocusVAdjustment ¶
func (v *Container) GetFocusVAdjustment() *Adjustment
func (*Container) GetResizeMode ¶
func (v *Container) GetResizeMode() ResizeMode
gtk_container_add_with_properties
func (*Container) SetBorderWidth ¶
func (*Container) SetFocusChild ¶
func (*Container) SetFocusHAdjustment ¶
func (v *Container) SetFocusHAdjustment(adjustment *Adjustment)
func (*Container) SetFocusVAdjustment ¶
func (v *Container) SetFocusVAdjustment(adjustment *Adjustment)
func (*Container) SetReallocateRedraws ¶
func (*Container) SetResizeMode ¶
func (v *Container) SetResizeMode(resize_mode ResizeMode)
type CornerType ¶
type CornerType int
const ( CORNER_TOP_LEFT CornerType = iota CORNER_BOTTOM_LEFT CORNER_TOP_RIGHT CORNER_BOTTOM_RIGHT )
type DestDefaults ¶
type DestDefaults int
----------------------------------------------------------------------- Drag and Drop -----------------------------------------------------------------------
const ( DEST_DEFAULT_MOTION DestDefaults = 1 << iota /* respond to "drag_motion" */ DEST_DEFAULT_HIGHLIGHT /* auto-highlight */ DEST_DEFAULT_DROP /* respond to "drag_drop" */ DEST_DEFAULT_ALL = 0x07 )
type Dialog ¶
type Dialog struct {
Window
}
func (*Dialog) AddButton ¶
func (v *Dialog) AddButton(button_text string, response_id ResponseType) *Button
func (*Dialog) GetContentArea ¶
func (*Dialog) GetResponseForWidget ¶
func (v *Dialog) GetResponseForWidget(w *Widget) ResponseType
func (*Dialog) GetWidgetForResponse ¶
func (v *Dialog) GetWidgetForResponse(id ResponseType) *Widget
func (*Dialog) Run ¶
func (v *Dialog) Run() ResponseType
func (*Dialog) SetDefaultResponse ¶
func (v *Dialog) SetDefaultResponse(id ResponseType)
func (*Dialog) SetResponseSensitive ¶
func (v *Dialog) SetResponseSensitive(id ResponseType, setting bool)
type DialogFlags ¶
type DialogFlags int
----------------------------------------------------------------------- GtkDialog -----------------------------------------------------------------------
const ( DIALOG_MODAL DialogFlags = 1 << iota /* call gtk_window_set_modal (win, TRUE) */ DIALOG_DESTROY_WITH_PARENT /* call gtk_window_set_destroy_with_parent () */ DIALOG_NO_SEPARATOR /* no separator bar above buttons */ )
type DrawingArea ¶
type DrawingArea struct {
Widget
}
----------------------------------------------------------------------- GtkDrawingArea -----------------------------------------------------------------------
func NewDrawingArea ¶
func NewDrawingArea() *DrawingArea
func (*DrawingArea) Size
deprecated
func (v *DrawingArea) Size(width, height int)
Deprecated: Use GtkWidget.SetSizeRequest() instead.
type Editable ¶
type Editable struct {
GEditable *C.GtkEditable
}
----------------------------------------------------------------------- GtkEditable -----------------------------------------------------------------------
func (*Editable) CopyClipboard ¶
func (v *Editable) CopyClipboard()
func (*Editable) CutClipboard ¶
func (v *Editable) CutClipboard()
func (*Editable) DeleteSelection ¶
func (v *Editable) DeleteSelection()
func (*Editable) DeleteText ¶
func (*Editable) GetEditable ¶
func (*Editable) GetPosition ¶
func (*Editable) GetSelectionBounds ¶
func (*Editable) PasteClipboard ¶
func (v *Editable) PasteClipboard()
func (*Editable) SelectRegion ¶
func (*Editable) SetEditable ¶
func (*Editable) SetPosition ¶
type Entry ¶
func NewEntryWithBuffer ¶
func NewEntryWithBuffer(buffer *EntryBuffer) *Entry
func (*Entry) GetActivatesDefault ¶
func (*Entry) GetAlignment ¶
func (*Entry) GetBuffer ¶
func (v *Entry) GetBuffer() *EntryBuffer
func (*Entry) GetCompletion ¶
func (v *Entry) GetCompletion() *EntryCompletion
func (*Entry) GetHasFrame ¶
func (*Entry) GetInnerBorder ¶
func (*Entry) GetInvisibleChar ¶
func (*Entry) GetMaxLength ¶
func (*Entry) GetOverwriteMode ¶
func (*Entry) GetTextLength ¶
func (*Entry) GetVisibility ¶
func (*Entry) GetWidthChars ¶
func (*Entry) SetActivatesDefault ¶
func (*Entry) SetAlignment ¶
func (*Entry) SetBuffer ¶
func (v *Entry) SetBuffer(buffer *EntryBuffer)
func (*Entry) SetCompletion ¶
func (v *Entry) SetCompletion(completion *EntryCompletion)
func (*Entry) SetHasFrame ¶
func (*Entry) SetInnerBorder ¶
func (*Entry) SetInvisibleChar ¶
func (*Entry) SetMaxLength ¶
func (*Entry) SetOverwriteMode ¶
func (*Entry) SetVisibility ¶
func (*Entry) SetWidthChars ¶
func (*Entry) UnsetInvisibleChar ¶
func (v *Entry) UnsetInvisibleChar()
type EntryBuffer ¶
type EntryBuffer struct {
GEntryBuffer *C.GtkEntryBuffer
}
----------------------------------------------------------------------- GtkEntryBuffer -----------------------------------------------------------------------
func NewEntryBuffer ¶
func NewEntryBuffer(initialText string) *EntryBuffer
func (*EntryBuffer) DeleteText ¶
func (v *EntryBuffer) DeleteText(position uint, nChars int) uint
func (*EntryBuffer) GetLength ¶
func (v *EntryBuffer) GetLength() uint
func (*EntryBuffer) GetMaxLength ¶
func (v *EntryBuffer) GetMaxLength() int
func (*EntryBuffer) GetText ¶
func (v *EntryBuffer) GetText() string
func (*EntryBuffer) InsertText ¶
func (v *EntryBuffer) InsertText(position uint, text string) uint
func (*EntryBuffer) SetMaxLength ¶
func (v *EntryBuffer) SetMaxLength(maxLength int)
func (*EntryBuffer) SetText ¶
func (v *EntryBuffer) SetText(text string)
type EntryCompletion ¶
type EntryCompletion struct { GEntryCompletion *C.GtkEntryCompletion *glib.GObject }
func NewEntryCompletion ¶
func NewEntryCompletion() *EntryCompletion
func (*EntryCompletion) Complete ¶
func (v *EntryCompletion) Complete()
func (*EntryCompletion) DeleteAction ¶
func (v *EntryCompletion) DeleteAction(index int)
func (*EntryCompletion) GetCompletionPrefix ¶
func (v *EntryCompletion) GetCompletionPrefix() string
func (*EntryCompletion) GetEntry ¶
func (v *EntryCompletion) GetEntry() *Widget
func (*EntryCompletion) GetInlineCompletion ¶
func (v *EntryCompletion) GetInlineCompletion() bool
func (*EntryCompletion) GetInlineSelection ¶
func (v *EntryCompletion) GetInlineSelection() bool
func (*EntryCompletion) GetMinimumKeyLength ¶
func (v *EntryCompletion) GetMinimumKeyLength() int
func (*EntryCompletion) GetModel ¶
func (v *EntryCompletion) GetModel() *TreeModel
func (*EntryCompletion) GetPopupCompletion ¶
func (v *EntryCompletion) GetPopupCompletion() bool
func (*EntryCompletion) GetPopupSetWidth ¶
func (v *EntryCompletion) GetPopupSetWidth() bool
func (*EntryCompletion) GetPopupSingleMatch ¶
func (v *EntryCompletion) GetPopupSingleMatch() bool
func (*EntryCompletion) GetTextColumn ¶
func (v *EntryCompletion) GetTextColumn() int
func (*EntryCompletion) InsertActionMarkup ¶
func (v *EntryCompletion) InsertActionMarkup(index int, markup string)
func (*EntryCompletion) InsertActionText ¶
func (v *EntryCompletion) InsertActionText(index int, text string)
func (*EntryCompletion) InsertPrefix ¶
func (v *EntryCompletion) InsertPrefix()
func (*EntryCompletion) SetInlineCompletion ¶
func (v *EntryCompletion) SetInlineCompletion(inlineCompletion bool)
func (*EntryCompletion) SetInlineSelection ¶
func (v *EntryCompletion) SetInlineSelection(inlineSelection bool)
func (*EntryCompletion) SetMinimumKeyLength ¶
func (v *EntryCompletion) SetMinimumKeyLength(length int)
func (*EntryCompletion) SetModel ¶
func (v *EntryCompletion) SetModel(model *TreeModel)
func (*EntryCompletion) SetPopupCompletion ¶
func (v *EntryCompletion) SetPopupCompletion(popupCompletion bool)
func (*EntryCompletion) SetPopupSetWidth ¶
func (v *EntryCompletion) SetPopupSetWidth(popupSetWidth bool)
func (*EntryCompletion) SetPopupSingleMatch ¶
func (v *EntryCompletion) SetPopupSingleMatch(popupSingleMatch bool)
func (*EntryCompletion) SetTextColumn ¶
func (v *EntryCompletion) SetTextColumn(column int)
type EntryCompletionMatchFunc ¶
type EntryCompletionMatchFunc func(completion *EntryCompletion, key string, iter *TreeIter, data interface{})
type EventBox ¶
type EventBox struct {
Bin
}
----------------------------------------------------------------------- GtkEventBox -----------------------------------------------------------------------
func NewEventBox ¶
func NewEventBox() *EventBox
type Expander ¶
type Expander struct {
Bin
}
----------------------------------------------------------------------- GtkExpander -----------------------------------------------------------------------
func NewExpander ¶
func NewExpanderWithMnemonic ¶
func (*Expander) GetExpanded ¶
func (*Expander) GetLabelWidget ¶
func (*Expander) GetSpacing ¶
func (*Expander) GetUseMarkup ¶
func (*Expander) GetUseUnderline ¶
func (*Expander) SetExpanded ¶
func (*Expander) SetLabelWidget ¶
func (*Expander) SetSpacing ¶
func (*Expander) SetUseMarkup ¶
func (*Expander) SetUseUnderline ¶
type FileChooser ¶
type FileChooser struct {
GFileChooser *C.GtkFileChooser
}
func (*FileChooser) AddFilter ¶
func (v *FileChooser) AddFilter(f *FileFilter)
func (*FileChooser) GetAction ¶
func (v *FileChooser) GetAction() FileChooserAction
func (*FileChooser) GetCreateFolders ¶
func (v *FileChooser) GetCreateFolders() bool
func (*FileChooser) GetCurrentFolder ¶
func (v *FileChooser) GetCurrentFolder() string
func (*FileChooser) GetDoOverwriteConfirmation ¶
func (v *FileChooser) GetDoOverwriteConfirmation() bool
func (*FileChooser) GetFilename ¶
func (v *FileChooser) GetFilename() string
func (*FileChooser) GetFilenames ¶
func (v *FileChooser) GetFilenames() []string
func (*FileChooser) GetFilter ¶
func (v *FileChooser) GetFilter() *FileFilter
func (*FileChooser) GetLocalOnly ¶
func (v *FileChooser) GetLocalOnly() bool
func (*FileChooser) GetSelectMultiple ¶
func (v *FileChooser) GetSelectMultiple() bool
func (*FileChooser) GetShowHidden ¶
func (v *FileChooser) GetShowHidden() bool
func (*FileChooser) GetUri ¶
func (v *FileChooser) GetUri() string
func (*FileChooser) GetUris ¶
func (v *FileChooser) GetUris() []string
func (*FileChooser) ListFilters ¶
func (v *FileChooser) ListFilters() []*FileFilter
func (*FileChooser) RemoveFilter ¶
func (v *FileChooser) RemoveFilter(f *FileFilter)
func (*FileChooser) SelectAll ¶
func (v *FileChooser) SelectAll()
func (*FileChooser) SelectFilename ¶
func (v *FileChooser) SelectFilename(filename string) bool
GTK doc said the return value is "Not useful".
func (*FileChooser) SelectUri ¶
func (v *FileChooser) SelectUri(uri string) bool
func (*FileChooser) SetAction ¶
func (v *FileChooser) SetAction(action FileChooserAction)
func (*FileChooser) SetCreateFolders ¶
func (v *FileChooser) SetCreateFolders(b bool)
func (*FileChooser) SetCurrentFolder ¶
func (v *FileChooser) SetCurrentFolder(f string) bool
func (*FileChooser) SetCurrentName ¶
func (v *FileChooser) SetCurrentName(name string)
func (*FileChooser) SetDoOverwriteConfirmation ¶
func (v *FileChooser) SetDoOverwriteConfirmation(b bool)
func (*FileChooser) SetFilename ¶
func (v *FileChooser) SetFilename(filename string)
func (*FileChooser) SetFilter ¶
func (v *FileChooser) SetFilter(f *FileFilter)
func (*FileChooser) SetLocalOnly ¶
func (v *FileChooser) SetLocalOnly(b bool)
func (*FileChooser) SetSelectMultiple ¶
func (v *FileChooser) SetSelectMultiple(b bool)
func (*FileChooser) SetShowHidden ¶
func (v *FileChooser) SetShowHidden(showHidden bool)
func (*FileChooser) SetUri ¶
func (v *FileChooser) SetUri(uri string) bool
func (*FileChooser) UnselectAll ¶
func (v *FileChooser) UnselectAll()
func (*FileChooser) UnselectFilename ¶
func (v *FileChooser) UnselectFilename(filename string)
func (*FileChooser) UnselectUri ¶
func (v *FileChooser) UnselectUri(uri string)
type FileChooserAction ¶
type FileChooserAction int
----------------------------------------------------------------------- GtkFileChooser -----------------------------------------------------------------------
const ( FILE_CHOOSER_ACTION_OPEN FileChooserAction = iota FILE_CHOOSER_ACTION_SAVE FILE_CHOOSER_ACTION_SELECT_FOLDER FILE_CHOOSER_ACTION_CREATE_FOLDER )
type FileChooserButton ¶
type FileChooserButton struct { HBox FileChooser }
----------------------------------------------------------------------- GtkFileChooserButton -----------------------------------------------------------------------
func NewFileChooserButton ¶
func NewFileChooserButton(title string, action FileChooserAction) *FileChooserButton
gtk_file_chooser_button_new
func NewFileChooserButtonWithDialog ¶
func NewFileChooserButtonWithDialog(dialog *FileChooserDialog) *FileChooserButton
gtk_file_chooser_button_new_with_dialog
type FileChooserDialog ¶
type FileChooserDialog struct { Dialog FileChooser }
----------------------------------------------------------------------- GtkFileChooserDialog -----------------------------------------------------------------------
func NewFileChooserDialog ¶
func NewFileChooserDialog(title string, parent *Window, file_chooser_action FileChooserAction, button_text string, button_action ResponseType, buttons ...interface{}) *FileChooserDialog
type FileChooserWidget ¶
type FileChooserWidget struct { VBox FileChooser }
----------------------------------------------------------------------- GtkFileChooserWidget -----------------------------------------------------------------------
func NewFileChooserWidget ¶
func NewFileChooserWidget(file_chooser_action FileChooserAction) *FileChooserWidget
type FileFilter ¶
type FileFilter struct {
GFileFilter *C.GtkFileFilter
}
----------------------------------------------------------------------- GtkFileFilter -----------------------------------------------------------------------
func NewFileFilter ¶
func NewFileFilter() *FileFilter
func (*FileFilter) AddMimeType ¶
func (v *FileFilter) AddMimeType(mimetype string)
func (*FileFilter) AddPattern ¶
func (v *FileFilter) AddPattern(pattern string)
func (*FileFilter) GetName ¶
func (v *FileFilter) GetName() string
func (*FileFilter) SetName ¶
func (v *FileFilter) SetName(name string)
type Fixed ¶
type Fixed struct {
Container
}
----------------------------------------------------------------------- GtkFixed -----------------------------------------------------------------------
type FontButton ¶
type FontButton struct {
Button
}
----------------------------------------------------------------------- GtkFontButton -----------------------------------------------------------------------
func NewFontButton ¶
func NewFontButton() *FontButton
func NewFontButtonWithFont ¶
func NewFontButtonWithFont(fontname string) *FontButton
func (*FontButton) GetFontName ¶
func (v *FontButton) GetFontName() string
func (*FontButton) GetShowSize ¶
func (v *FontButton) GetShowSize() bool
func (*FontButton) GetShowStyle ¶
func (v *FontButton) GetShowStyle() bool
func (*FontButton) GetTitle ¶
func (v *FontButton) GetTitle() string
func (*FontButton) GetUseFont ¶
func (v *FontButton) GetUseFont() bool
func (*FontButton) GetUseSize ¶
func (v *FontButton) GetUseSize() bool
func (*FontButton) SetFontName ¶
func (v *FontButton) SetFontName(fontname string)
func (*FontButton) SetShowSize ¶
func (v *FontButton) SetShowSize(show_size bool)
func (*FontButton) SetShowStyle ¶
func (v *FontButton) SetShowStyle(show bool)
func (*FontButton) SetTitle ¶
func (v *FontButton) SetTitle(title string)
func (*FontButton) SetUseFont ¶
func (v *FontButton) SetUseFont(use bool)
func (*FontButton) SetUseSize ¶
func (v *FontButton) SetUseSize(use_size bool)
type FontSelection ¶
type FontSelection struct {
VBox
}
----------------------------------------------------------------------- GtkFontSelection -----------------------------------------------------------------------
func NewFontSelection ¶
func NewFontSelection() *FontSelection
func (*FontSelection) GetFont ¶
func (v *FontSelection) GetFont() *gdk.Font
func (*FontSelection) GetFontName ¶
func (v *FontSelection) GetFontName() string
func (*FontSelection) SetFontName ¶
func (v *FontSelection) SetFontName(name string)
type FontSelectionDialog ¶
type FontSelectionDialog struct {
Dialog
}
----------------------------------------------------------------------- GtkFontSelectionDialog -----------------------------------------------------------------------
func NewFontSelectionDialog ¶
func NewFontSelectionDialog(title string) *FontSelectionDialog
func (*FontSelectionDialog) GetCancelButton ¶
func (v *FontSelectionDialog) GetCancelButton() *Widget
func (*FontSelectionDialog) GetFontName ¶
func (v *FontSelectionDialog) GetFontName() string
func (*FontSelectionDialog) GetFontSelection ¶
func (v *FontSelectionDialog) GetFontSelection() *FontSelection
func (*FontSelectionDialog) GetOkButton ¶
func (v *FontSelectionDialog) GetOkButton() *Widget
func (*FontSelectionDialog) GetPreviewText ¶
func (v *FontSelectionDialog) GetPreviewText() string
func (*FontSelectionDialog) SetFontName ¶
func (v *FontSelectionDialog) SetFontName(font string)
func (*FontSelectionDialog) SetPreviewText ¶
func (v *FontSelectionDialog) SetPreviewText(text string)
type Frame ¶
type Frame struct {
Bin
}
func (*Frame) GetLabelAlign ¶
func (*Frame) GetLabelWidget ¶
func (*Frame) GetShadowType ¶
func (v *Frame) GetShadowType() ShadowType
func (*Frame) SetLabelAlign ¶
func (*Frame) SetLabelWidget ¶
func (*Frame) SetShadowType ¶
func (v *Frame) SetShadowType(shadow_type ShadowType)
type GtkTreeSelecter ¶
type GtkTreeSelecter interface {
Select(selection *TreeSelection, model *TreeModel, path *TreePath, selected bool) bool
}
type HBox ¶
type HBox struct {
Box
}
----------------------------------------------------------------------- GtkHBox -----------------------------------------------------------------------
type HPaned ¶
type HPaned struct {
Paned
}
----------------------------------------------------------------------- GtkHPaned -----------------------------------------------------------------------
type HScrollbar ¶
type HScrollbar struct {
Scrollbar
}
----------------------------------------------------------------------- GtkHScrollbar -----------------------------------------------------------------------
func NewHScrollbar ¶
func NewHScrollbar(ha *Adjustment) *HScrollbar
type HSeparator ¶
type HSeparator struct {
Separator
}
----------------------------------------------------------------------- GtkHSeparator -----------------------------------------------------------------------
func NewHSeparator ¶
func NewHSeparator() *HSeparator
type ICellRenderer ¶
type ICellRenderer interface {
ToCellRenderer() *C.GtkCellRenderer
}
----------------------------------------------------------------------- GtkCellRenderer -----------------------------------------------------------------------
type IContainer ¶
----------------------------------------------------------------------- GtkContainer -----------------------------------------------------------------------
type IPaned ¶
type IPaned interface { IContainer Add1(child IWidget) Add2(child IWidget) Pack1(child IWidget, expand bool, fill bool) Pack2(child IWidget, expand bool, fill bool) }
----------------------------------------------------------------------- GtkPaned -----------------------------------------------------------------------
type ITextBuffer ¶
----------------------------------------------------------------------- GtkTextBuffer -----------------------------------------------------------------------
type ITreeModel ¶
type ITreeModel interface {
// contains filtered or unexported methods
}
type IconInfo ¶
type IconInfo struct {
GtkIconInfo *C.GtkIconInfo
}
type IconLookupFlags ¶
type IconLookupFlags C.GtkIconLookupFlags
var ( IconLookupNoSVG IconLookupFlags = C.GTK_ICON_LOOKUP_NO_SVG IconLookupForceSVG IconLookupFlags = C.GTK_ICON_LOOKUP_FORCE_SVG IconLookupUseBuiltin IconLookupFlags = C.GTK_ICON_LOOKUP_USE_BUILTIN IconLookupGenericFallback IconLookupFlags = C.GTK_ICON_LOOKUP_GENERIC_FALLBACK IconLookupForceSize IconLookupFlags = C.GTK_ICON_LOOKUP_FORCE_SIZE )
type IconSize ¶
type IconSize int
----------------------------------------------------------------------- GtkImage -----------------------------------------------------------------------
const ( GTK_ICON_SIZE_INVALID IconSize = C.GTK_ICON_SIZE_INVALID GTK_ICON_SIZE_MENU IconSize = C.GTK_ICON_SIZE_MENU GTK_ICON_SIZE_SMALL_TOOLBAR IconSize = C.GTK_ICON_SIZE_SMALL_TOOLBAR GTK_ICON_SIZE_LARGE_TOOLBAR IconSize = C.GTK_ICON_SIZE_LARGE_TOOLBAR GTK_ICON_SIZE_BUTTON IconSize = C.GTK_ICON_SIZE_BUTTON GTK_ICON_SIZE_DND IconSize = C.GTK_ICON_SIZE_DND GTK_ICON_SIZE_DIALOG IconSize = C.GTK_ICON_SIZE_DIALOG )
type IconTheme ¶
type IconTheme struct {
GtkIconTheme *C.GtkIconTheme
}
type IconView ¶
type IconView struct {
Container
}
----------------------------------------------------------------------- GtkIconView -----------------------------------------------------------------------
func NewIconView ¶
func NewIconView() *IconView
func NewIconViewWithModel ¶
func NewIconViewWithModel(model ITreeModel) *IconView
func (*IconView) GetMarkupColumn ¶
func (*IconView) GetPixbufColumn ¶
func (*IconView) GetTextColumn ¶
func (*IconView) ScrollToPath ¶
func (*IconView) SetMarkupColumn ¶
func (*IconView) SetModel ¶
func (v *IconView) SetModel(model ITreeModel)
func (*IconView) SetPixbufColumn ¶
func (*IconView) SetTextColumn ¶
type Image ¶
type Image struct {
Misc
}
type IImage interface { IWidget }
func NewImageFromFile ¶
func NewImageFromIconName ¶
func NewImageFromPixbuf ¶
func NewImageFromStock ¶
func (*Image) SetFromFile ¶
func (*Image) SetFromPixbuf ¶
func (*Image) SetFromStock ¶
type ImageMenuItem ¶
type ImageMenuItem struct {
MenuItem
}
func NewImageMenuItem ¶
func NewImageMenuItem() *ImageMenuItem
func NewImageMenuItemFromStock ¶
func NewImageMenuItemFromStock(stock_id string, accel_group *AccelGroup) *ImageMenuItem
func NewImageMenuItemWithLabel ¶
func NewImageMenuItemWithLabel(label string) *ImageMenuItem
func NewImageMenuItemWithMnemonic ¶
func NewImageMenuItemWithMnemonic(label string) *ImageMenuItem
func (*ImageMenuItem) GetImage ¶
func (v *ImageMenuItem) GetImage() *Widget
func (*ImageMenuItem) SetImage ¶
func (v *ImageMenuItem) SetImage(image *Widget)
type InfoBar ¶
type InfoBar struct {
HBox
}
----------------------------------------------------------------------- GtkInfoBar -----------------------------------------------------------------------
func NewInfoBar ¶
func NewInfoBar() *InfoBar
func NewInfoBarWithButtons ¶
func NewInfoBarWithButtons(buttons ...interface{}) *InfoBar
func (*InfoBar) AddActionWidget ¶
func (v *InfoBar) AddActionWidget(child IWidget, responseId ResponseType)
func (*InfoBar) AddButton ¶
func (v *InfoBar) AddButton(buttonText string, responseId ResponseType) *Widget
func (*InfoBar) AddButtons ¶
func (v *InfoBar) AddButtons(buttons ...interface{})
func (*InfoBar) GetActionArea ¶
func (*InfoBar) GetContentArea ¶
func (*InfoBar) GetMessageType ¶
func (v *InfoBar) GetMessageType() MessageType
func (*InfoBar) Response ¶
func (v *InfoBar) Response(responseId ResponseType)
func (*InfoBar) SetDefaultResponse ¶
func (v *InfoBar) SetDefaultResponse(responseId ResponseType)
func (*InfoBar) SetMessageType ¶
func (v *InfoBar) SetMessageType(messageType MessageType)
func (*InfoBar) SetResponseSensitive ¶
func (v *InfoBar) SetResponseSensitive(responseId ResponseType, setting bool)
type Item ¶
type Item struct {
Bin
}
----------------------------------------------------------------------- GtkItem -----------------------------------------------------------------------
func (*Item) Deselect ¶
func (v *Item) Deselect()
Deprecated since 2.22. Use GtkMenuItem.Deselect() instead.
type Justification ¶
type Justification int
----------------------------------------------------------------------- GtkLabel -----------------------------------------------------------------------
const ( JUSTIFY_LEFT Justification = iota JUSTIFY_RIGHT JUSTIFY_CENTER JUSTIFY_FILL )
type Label ¶
type Label struct {
Misc
}
func LabelWithMnemonic ¶
func (*Label) GetCurrentUri ¶
func (*Label) GetEllipsize ¶
func (v *Label) GetEllipsize() pango.EllipsizeMode
func (*Label) GetLineWrap ¶
func (*Label) GetLineWrapMode ¶
func (*Label) GetMaxWidthChars ¶
func (*Label) GetMnemonicWidget ¶
func (*Label) GetSelectable ¶
func (*Label) GetSelectionBounds ¶
gtk_label_get_mnemonic_widget
func (*Label) GetSingleLineMode ¶
func (*Label) GetTrackVisitedLinks ¶
func (*Label) GetUseMarkup ¶
func (*Label) GetUseUnderline ¶
func (*Label) GetWidthChars ¶
func (*Label) SelectRegion ¶
func (*Label) SetEllipsize ¶
func (v *Label) SetEllipsize(ellipsize pango.EllipsizeMode)
func (*Label) SetJustify ¶
func (v *Label) SetJustify(jtype Justification)
func (*Label) SetLineWrap ¶
func (*Label) SetMaxWidthChars ¶
func (*Label) SetMnemonicWidget ¶
func (*Label) SetPattern ¶
func (*Label) SetSelectable ¶
func (*Label) SetSingleLineMode ¶
func (*Label) SetTextWithMnemonic ¶
func (*Label) SetTrackVisitedLinks ¶
func (*Label) SetUseLineWrapMode ¶
func (*Label) SetUseMarkup ¶
func (*Label) SetUseUnderline ¶
func (*Label) SetWidthChars ¶
type Layout ¶
type Layout struct {
Container
}
func NewLayout ¶
func NewLayout(hadjustment *Adjustment, vadjustment *Adjustment) *Layout
func (*Layout) GetBinWindow ¶
func (*Layout) GetHAdjustment ¶
func (v *Layout) GetHAdjustment() *Adjustment
func (*Layout) GetVAdjustment ¶
func (v *Layout) GetVAdjustment() *Adjustment
func (*Layout) SetHAdjustment ¶
func (v *Layout) SetHAdjustment(hadjustment *Adjustment)
func (*Layout) SetVAdjustment ¶
func (v *Layout) SetVAdjustment(vadjustment *Adjustment)
type LinkButton ¶
type LinkButton struct {
Button
}
----------------------------------------------------------------------- GtkLinkButton -----------------------------------------------------------------------
func NewLinkButton ¶
func NewLinkButton(uri string) *LinkButton
func NewLinkButtonWithLabel ¶
func NewLinkButtonWithLabel(uri string, label string) *LinkButton
func (*LinkButton) GetUri ¶
func (v *LinkButton) GetUri() string
func (*LinkButton) GetVisited ¶
func (v *LinkButton) GetVisited() bool
gtk_link_button_set_uri_hook has been deprecated since 2.24. Use clicked signal instead. //TODO func (v GtkLinkButton) SetUriHook(f func(button *GtkLinkButton, link string, user_data unsafe.Pointer), ) { GtkLinkButtonUriFunc gtk_link_button_set_uri_hook (GtkLinkButtonUriFunc func, gpointer data, GDestroyNotify destroy); }
func (*LinkButton) SetUri ¶
func (v *LinkButton) SetUri(uri string)
func (*LinkButton) SetVisited ¶
func (v *LinkButton) SetVisited(visited bool)
type ListStore ¶
type ListStore struct { TreeModel GListStore *C.GtkListStore }
func NewListStore ¶
func NewListStore(v ...interface{}) *ListStore
func NewListStoreFromNative ¶
func (*ListStore) InsertAfter ¶
func (*ListStore) InsertBefore ¶
func (*ListStore) IterIsValid ¶
func (*ListStore) MoveBefore ¶
func (*ListStore) ToTreeModel ¶
TODO instead of using this methods to change between treemodel and liststore, is better to usa an interface ITreeModel nb: ListStore e TreeStore sono un TreeModel (implementano GtkTreeModel!)
type Menu ¶
type Menu struct {
MenuShell
}
----------------------------------------------------------------------- GtkMenu -----------------------------------------------------------------------
func (*Menu) GetAttachWidget ¶
func (*Menu) GetReserveToggleSize ¶
func (*Menu) GetTearoffState ¶
func (*Menu) Popup ¶
func (v *Menu) Popup(parent_menu_shell, parent_menu_item IWidget, f MenuPositionFunc, data interface{}, button uint, active_item uint32)
func (*Menu) Reposition ¶
func (v *Menu) Reposition()
func (*Menu) SetReserveToggleSize ¶
func (*Menu) SetTearoffState ¶
type MenuBar ¶
type MenuBar struct {
MenuShell
}
func NewMenuBar ¶
func NewMenuBar() *MenuBar
func (*MenuBar) GetChildPackDirection ¶
func (v *MenuBar) GetChildPackDirection() PackDirection
func (*MenuBar) GetPackDirection ¶
func (v *MenuBar) GetPackDirection() PackDirection
func (*MenuBar) SetChildPackDirection ¶
func (v *MenuBar) SetChildPackDirection(pack_dir PackDirection)
func (*MenuBar) SetPackDirection ¶
func (v *MenuBar) SetPackDirection(pack_dir PackDirection)
type MenuItem ¶
type MenuItem struct { Item Activatable // implement GtkActivatable interface }
----------------------------------------------------------------------- GtkMenuItem -----------------------------------------------------------------------
func NewMenuItem ¶
func NewMenuItem() *MenuItem
func NewMenuItemWithLabel ¶
func NewMenuItemWithMnemonic ¶
func (*MenuItem) GetRightJustified ¶
func (*MenuItem) GetSubmenu ¶
func (*MenuItem) GetUseUnderline ¶
func (*MenuItem) RemoveSubmenu ¶
func (v *MenuItem) RemoveSubmenu()
Deprecated since 2.12. Use SetSubmenu() instead.
func (*MenuItem) SetRightJustified ¶
func (*MenuItem) SetSubmenu ¶
func (*MenuItem) SetUseUnderline ¶
func (*MenuItem) ToggleSizeAllocate ¶
func (*MenuItem) ToggleSizeRequest ¶
type MenuPositionFunc ¶
type MenuPositionFuncInfo ¶
type MenuPositionFuncInfo struct {
// contains filtered or unexported fields
}
type MenuToolButton ¶
type MenuToolButton struct { ToolButton // contains filtered or unexported fields }
func NewMenuToolButton ¶
func NewMenuToolButton(icon IWidget, text string) *MenuToolButton
func NewMenuToolButtonFromStock ¶
func NewMenuToolButtonFromStock(stock_id string) *MenuToolButton
func (*MenuToolButton) GetMenu ¶
func (v *MenuToolButton) GetMenu() *Menu
func (*MenuToolButton) SetArrowTooltipMarkup ¶
func (v *MenuToolButton) SetArrowTooltipMarkup(markup string)
func (*MenuToolButton) SetArrowTooltipText ¶
func (v *MenuToolButton) SetArrowTooltipText(text string)
gtk_menu_tool_button_set_arrow_tooltip (deprecated since 2.12)
func (*MenuToolButton) SetMenu ¶
func (v *MenuToolButton) SetMenu(menu *Menu)
type MessageDialog ¶
type MessageDialog struct {
Dialog
}
func NewMessageDialog ¶
func NewMessageDialog(parent *Window, flag DialogFlags, t MessageType, buttons ButtonsType, format string, args ...interface{}) *MessageDialog
TODO should be variadic function
func NewMessageDialogWithMarkup ¶
func NewMessageDialogWithMarkup(parent *Window, flag DialogFlags, t MessageType, buttons ButtonsType, format string, args ...interface{}) *MessageDialog
func (*MessageDialog) GetImage ¶
func (v *MessageDialog) GetImage() *Image
func (*MessageDialog) SetImage ¶
func (v *MessageDialog) SetImage(image IWidget)
func (*MessageDialog) SetMarkup ¶
func (v *MessageDialog) SetMarkup(markup string)
type MessageType ¶
type MessageType int
----------------------------------------------------------------------- GtkMessageDialog -----------------------------------------------------------------------
const ( MESSAGE_INFO MessageType = iota MESSAGE_WARNING MESSAGE_QUESTION MESSAGE_ERROR MESSAGE_OTHER )
type Misc ¶
type Misc struct {
Widget
}
func (*Misc) GetAlignment ¶
func (*Misc) GetPadding ¶
func (*Misc) SetAlignment ¶
func (*Misc) SetPadding ¶
type Notebook ¶
type Notebook struct {
Container
}
----------------------------------------------------------------------- GtkNotebook -----------------------------------------------------------------------
func NewNotebook ¶
func NewNotebook() *Notebook
func (*Notebook) AppendPageMenu ¶
func (*Notebook) GetCurrentPage ¶
func (*Notebook) GetGroupId ¶
Deprecated since 2.12, use GetGroupName() instead
func (*Notebook) GetGroupName ¶
func (*Notebook) GetMenuLabel ¶
func (*Notebook) GetMenuLabelText ¶
func (*Notebook) GetNthPage ¶
func (*Notebook) GetScrollable ¶
func (*Notebook) GetShowBorder ¶
func (*Notebook) GetShowTabs ¶
func (*Notebook) GetTabDetachable ¶
func (*Notebook) GetTabLabel ¶
func (*Notebook) GetTabLabelText ¶
func (*Notebook) GetTabReorderable ¶
func (*Notebook) InsertPage ¶
func (*Notebook) InsertPageMenu ¶
func (*Notebook) PopupDisable ¶
func (v *Notebook) PopupDisable()
func (*Notebook) PopupEnable ¶
func (v *Notebook) PopupEnable()
func (*Notebook) PrependPageMenu ¶
func (*Notebook) QueryTabLabelPacking ¶
Deprecated since 2.20. Modify the "tab-expand" and "tab-fill" child properties instead.
func (*Notebook) RemovePage ¶
func (*Notebook) ReorderChild ¶
func (*Notebook) SetCurrentPage ¶
func (*Notebook) SetGroupId ¶
Deprecated since 2.12, use SetGroupName() instead
func (*Notebook) SetGroupName ¶
func (*Notebook) SetHomogeneousTabs ¶
Deprecated.
func (*Notebook) SetMenuLabel ¶
func (*Notebook) SetMenuLabelText ¶
func (*Notebook) SetReorderable ¶
func (*Notebook) SetScrollable ¶
func (*Notebook) SetShowBorder ¶
func (*Notebook) SetShowTabs ¶
func (*Notebook) SetTabDetachable ¶
func (*Notebook) SetTabLabel ¶
func (*Notebook) SetTabLabelPacking ¶
Deprecated since 2.20. Modify the "tab-expand" and "tab-fill" child properties instead.
func (*Notebook) SetTabLabelText ¶
func (*Notebook) SetTabPos ¶
func (v *Notebook) SetTabPos(pos PositionType)
type Object ¶
----------------------------------------------------------------------- GtkObject -----------------------------------------------------------------------
type Orientation ¶
type Orientation int
const ( ORIENTATION_HORIZONTAL Orientation = iota ORIENTATION_VERTICAL )
type PackDirection ¶
type PackDirection int
----------------------------------------------------------------------- GtkMenuBar -----------------------------------------------------------------------
const ( PACK_DIRECTION_LTR PackDirection = iota PACK_DIRECTION_RTL PACK_DIRECTION_TTB PACK_DIRECTION_BTT )
type PackType ¶
type PackType int
----------------------------------------------------------------------- GtkBox -----------------------------------------------------------------------
type Paned ¶
type Paned struct {
Container
}
func (*Paned) GetPosition ¶
func (*Paned) SetPosition ¶
type PolicyType ¶
type PolicyType int
----------------------------------------------------------------------- GtkScrolledWindow -----------------------------------------------------------------------
const ( POLICY_ALWAYS PolicyType = iota POLICY_AUTOMATIC POLICY_NEVER )
type PositionType ¶
type PositionType int
----------------------------------------------------------------------- GtkScale -----------------------------------------------------------------------
const ( POS_LEFT PositionType = iota POS_RIGHT POS_TOP POS_BOTTOM )
type PrintContext ¶
type PrintContext struct {
GPrintContext *C.GtkPrintContext
}
----------------------------------------------------------------------- GtkPrintContext -----------------------------------------------------------------------
func PrintContextFromNative ¶
func PrintContextFromNative(l unsafe.Pointer) *PrintContext
func (*PrintContext) GetCairoContext ¶
func (v *PrintContext) GetCairoContext() *C.cairo_t
func (*PrintContext) SetCairoContext ¶
func (v *PrintContext) SetCairoContext(cairo *C.cairo_t, dpi_x float64, dpi_y float64)
type PrintOperation ¶
type PrintOperation struct {
GPrintOperation *C.GtkPrintOperation
}
func NewPrintOperation ¶
func NewPrintOperation() *PrintOperation
func (*PrintOperation) Cancel ¶
func (v *PrintOperation) Cancel()
func (*PrintOperation) Connect ¶
func (v *PrintOperation) Connect(s string, f interface{}, datas ...interface{}) int
func (*PrintOperation) IsFinished ¶
func (v *PrintOperation) IsFinished() bool
func (*PrintOperation) Run ¶
func (v *PrintOperation) Run(action PrintOperationAction, parent *Window) (result PrintOperationResult, err error)
type PrintOperationAction ¶
type PrintOperationAction int
const ( PRINT_OPERATION_ACTION_PRINT_DIALOG PrintOperationAction = iota PRINT_OPERATION_ACTION_PRINT PRINT_OPERATION_ACTION_PREVIEW PRINT_OPERATION_ACTION_EXPOR )
type PrintOperationResult ¶
type PrintOperationResult int
const ( PRINT_OPERATION_RESULT_ERROR PrintOperationResult = iota PRINT_OPERATION_RESULT_APPLY PRINT_OPERATION_RESULT_CANCEL PRINT_OPERATION_RESULT_IN_PROGRESS )
type ProgressBar ¶
type ProgressBar struct {
Widget
}
func NewProgressBar ¶
func NewProgressBar() *ProgressBar
func (*ProgressBar) GetEllipsize ¶
func (v *ProgressBar) GetEllipsize() pango.EllipsizeMode
func (*ProgressBar) GetFraction ¶
func (v *ProgressBar) GetFraction() float64
func (*ProgressBar) GetOrientation ¶
func (v *ProgressBar) GetOrientation() ProgressBarOrientation
func (*ProgressBar) GetPulseStep ¶
func (v *ProgressBar) GetPulseStep() float64
func (*ProgressBar) GetText ¶
func (v *ProgressBar) GetText() string
func (*ProgressBar) Pulse ¶
func (v *ProgressBar) Pulse()
func (*ProgressBar) SetEllipsize ¶
func (v *ProgressBar) SetEllipsize(ellipsize pango.EllipsizeMode)
func (*ProgressBar) SetFraction ¶
func (v *ProgressBar) SetFraction(fraction float64)
func (*ProgressBar) SetOrientation ¶
func (v *ProgressBar) SetOrientation(i ProgressBarOrientation)
func (*ProgressBar) SetPulseStep ¶
func (v *ProgressBar) SetPulseStep(fraction float64)
func (*ProgressBar) SetText ¶
func (v *ProgressBar) SetText(show_text string)
type ProgressBarOrientation ¶
type ProgressBarOrientation int
----------------------------------------------------------------------- GtkProgressBar -----------------------------------------------------------------------
const ( PROGRESS_LEFT_TO_RIGHT ProgressBarOrientation = iota PROGRESS_RIGHT_TO_LEFT PROGRESS_BOTTOM_TO_TOP PROGRESS_TOP_TO_BOTTOM )
type RadioAction ¶
type RadioAction struct {
ToggleAction
}
func NewRadioAction ¶
func (*RadioAction) GetCurrentValue ¶
func (v *RadioAction) GetCurrentValue() int
func (*RadioAction) GetGroup ¶
func (v *RadioAction) GetGroup() *glib.SList
func (*RadioAction) SetCurrentValue ¶
func (v *RadioAction) SetCurrentValue(current_value int)
func (*RadioAction) SetGroup ¶
func (v *RadioAction) SetGroup(group *glib.SList)
type RadioButton ¶
type RadioButton struct {
CheckButton
}
----------------------------------------------------------------------- GtkRadioButton -----------------------------------------------------------------------
func NewRadioButton ¶
func NewRadioButton(group *glib.SList) *RadioButton
func NewRadioButtonFromWidget ¶
func NewRadioButtonFromWidget(w *RadioButton) *RadioButton
func NewRadioButtonWithLabel ¶
func NewRadioButtonWithLabel(group *glib.SList, label string) *RadioButton
func NewRadioButtonWithLabelFromWidget ¶
func NewRadioButtonWithLabelFromWidget(w *RadioButton, label string) *RadioButton
func NewRadioButtonWithMnemonic ¶
func NewRadioButtonWithMnemonic(group *glib.SList, label string) *RadioButton
func NewRadioButtonWithMnemonicFromWidget ¶
func NewRadioButtonWithMnemonicFromWidget(w *RadioButton, label string) *RadioButton
func (*RadioButton) GetGroup ¶
func (v *RadioButton) GetGroup() *glib.SList
func (*RadioButton) SetGroup ¶
func (v *RadioButton) SetGroup(group *glib.SList)
type RadioMenuItem ¶
type RadioMenuItem struct {
CheckMenuItem
}
----------------------------------------------------------------------- GtkRadioMenuItem -----------------------------------------------------------------------
func NewRadioMenuItem ¶
func NewRadioMenuItem(group *glib.SList) *RadioMenuItem
func NewRadioMenuItemWithLabel ¶
func NewRadioMenuItemWithLabel(group *glib.SList, label string) *RadioMenuItem
func (*RadioMenuItem) GetGroup ¶
func (v *RadioMenuItem) GetGroup() *glib.SList
func (*RadioMenuItem) SetGroup ¶
func (v *RadioMenuItem) SetGroup(group *glib.SList)
type RadioToolButton ¶
type RadioToolButton struct {
ToggleToolButton
}
func NewRadioToolButton ¶
func NewRadioToolButton(group *glib.SList) *RadioToolButton
func NewRadioToolButtonFromStock ¶
func NewRadioToolButtonFromStock(group *glib.SList, stock_id string) *RadioToolButton
type Range ¶
type Range struct {
Widget
}
----------------------------------------------------------------------- GtkRange -----------------------------------------------------------------------
func (*Range) GetAdjustment ¶
func (v *Range) GetAdjustment() *Adjustment
func (*Range) GetFillLevel ¶
func (*Range) GetFlippable ¶
func (*Range) GetInverted ¶
func (*Range) GetRestrictToFillLevel ¶
func (*Range) GetShowFillLevel ¶
func (*Range) SetAdjustment ¶
func (v *Range) SetAdjustment(a *Adjustment)
func (*Range) SetFillLevel ¶
func (*Range) SetFlippable ¶
func (*Range) SetIncrements ¶
func (*Range) SetInverted ¶
func (*Range) SetRestrictToFillLevel ¶
func (*Range) SetShowFillLevel ¶
type RecentAction ¶
type RecentAction struct {
Action
}
func NewRecentAction ¶
func NewRecentAction(name string, label string, tooltip string, stock_id string) *RecentAction
func (*RecentAction) GetShowNumbers ¶
func (v *RecentAction) GetShowNumbers() bool
func (*RecentAction) SetShowNumbers ¶
func (v *RecentAction) SetShowNumbers(show_numbers bool)
type ReliefStyle ¶
type ReliefStyle int
const ( RELIEF_NORMAL ReliefStyle = iota RELIEF_HALF RELIEF_NONE )
type ResizeMode ¶
type ResizeMode int
type ResponseType ¶
type ResponseType int
const ( RESPONSE_NONE ResponseType = -iota - 1 RESPONSE_REJECT RESPONSE_ACCEPT RESPONSE_DELETE_EVENT RESPONSE_OK RESPONSE_CANCEL RESPONSE_CLOSE RESPONSE_YES RESPONSE_NO RESPONSE_APPLY RESPONSE_HELP )
type Scale ¶
type Scale struct {
Range
}
func NewHScale ¶
func NewHScale(adjustment *Adjustment) *Scale
----------------------------------------------------------------------- GtkHScale -----------------------------------------------------------------------
func NewHScaleWithRange ¶
func NewVScale ¶
func NewVScale(a *Adjustment) *Scale
----------------------------------------------------------------------- GtkVScale -----------------------------------------------------------------------
func NewVScaleWithRange ¶
func (*Scale) AddMark ¶
func (v *Scale) AddMark(value float64, position PositionType, markup string)
func (*Scale) ClearMarks ¶
func (v *Scale) ClearMarks()
func (*Scale) GetDrawValue ¶
func (*Scale) GetLayoutOffsets ¶
func (*Scale) GetValuePos ¶
func (v *Scale) GetValuePos() PositionType
func (*Scale) SetDrawValue ¶
func (*Scale) SetValuePos ¶
func (v *Scale) SetValuePos(pos PositionType)
type ScaleButton ¶
type ScaleButton struct {
Bin
}
func NewScaleButton ¶
func NewScaleButton(size IconSize, min, max, step float64, icons []string) *ScaleButton
TODO: wrapper around icons** C.gchar
func (*ScaleButton) GetAdjustment ¶
func (v *ScaleButton) GetAdjustment() *Adjustment
func (*ScaleButton) GetMinusButton ¶
func (v *ScaleButton) GetMinusButton() *Widget
func (*ScaleButton) GetPlusButton ¶
func (v *ScaleButton) GetPlusButton() *Widget
func (*ScaleButton) GetPopup ¶
func (v *ScaleButton) GetPopup() *Widget
func (*ScaleButton) GetValue ¶
func (v *ScaleButton) GetValue() float64
func (*ScaleButton) SetAdjustment ¶
func (v *ScaleButton) SetAdjustment(a *Adjustment)
func (*ScaleButton) SetIcons ¶
func (v *ScaleButton) SetIcons(icons []string)
func (*ScaleButton) SetValue ¶
func (v *ScaleButton) SetValue(value float64)
type Scrollbar ¶
type Scrollbar struct {
Range
}
----------------------------------------------------------------------- GtkScrollbar -----------------------------------------------------------------------
type ScrolledWindow ¶
type ScrolledWindow struct {
Bin
}
func NewScrolledWindow ¶
func NewScrolledWindow(hadjustment *Adjustment, vadjustment *Adjustment) *ScrolledWindow
func (*ScrolledWindow) AddWithViewPort ¶
func (v *ScrolledWindow) AddWithViewPort(w IWidget)
func (*ScrolledWindow) GetHAdjustment ¶
func (v *ScrolledWindow) GetHAdjustment() *Adjustment
func (*ScrolledWindow) GetPlacement ¶
func (v *ScrolledWindow) GetPlacement() CornerType
func (*ScrolledWindow) GetPolicy ¶
func (v *ScrolledWindow) GetPolicy(hscrollbar_policy *PolicyType, vscrollbar_policy *PolicyType)
func (*ScrolledWindow) GetShadowType ¶
func (v *ScrolledWindow) GetShadowType() ShadowType
func (*ScrolledWindow) GetVAdjustment ¶
func (v *ScrolledWindow) GetVAdjustment() *Adjustment
func (*ScrolledWindow) SetHAdjustment ¶
func (v *ScrolledWindow) SetHAdjustment(hadjustment *Adjustment)
func (*ScrolledWindow) SetPlacement ¶
func (v *ScrolledWindow) SetPlacement(window_placement CornerType)
func (*ScrolledWindow) SetPolicy ¶
func (v *ScrolledWindow) SetPolicy(hscrollbar_policy PolicyType, vscrollbar_policy PolicyType)
func (*ScrolledWindow) SetShadowType ¶
func (v *ScrolledWindow) SetShadowType(typ ShadowType)
func (*ScrolledWindow) SetVAdjustment ¶
func (v *ScrolledWindow) SetVAdjustment(vadjustment *Adjustment)
func (*ScrolledWindow) UnsetPlacement ¶
func (v *ScrolledWindow) UnsetPlacement()
type SelectionData ¶
func NewSelectionDataFromNative ¶
func NewSelectionDataFromNative(l unsafe.Pointer) *SelectionData
func (*SelectionData) GetData ¶
func (v *SelectionData) GetData() unsafe.Pointer
func (*SelectionData) GetLength ¶
func (v *SelectionData) GetLength() int
func (*SelectionData) GetText ¶
func (v *SelectionData) GetText() string
type SelectionMode ¶
type SelectionMode int
const ( SELECTION_NONE SelectionMode = iota SELECTION_SINGLE SELECTION_BROWSE SELECTION_MULTIPLE SELECTION_EXTENDED = SELECTION_MULTIPLE )
type Separator ¶
type Separator struct {
Widget
}
----------------------------------------------------------------------- GtkSeparator -----------------------------------------------------------------------
type SeparatorMenuItem ¶
type SeparatorMenuItem struct {
MenuItem
}
----------------------------------------------------------------------- GtkSeparatorMenuItem -----------------------------------------------------------------------
func NewSeparatorMenuItem ¶
func NewSeparatorMenuItem() *SeparatorMenuItem
type SeparatorToolItem ¶
type SeparatorToolItem struct {
ToolItem
}
----------------------------------------------------------------------- GtkSeparatorToolItem -----------------------------------------------------------------------
func NewSeparatorToolItem ¶
func NewSeparatorToolItem() *SeparatorToolItem
func (*SeparatorToolItem) GetDraw ¶
func (v *SeparatorToolItem) GetDraw() bool
func (*SeparatorToolItem) SetDraw ¶
func (v *SeparatorToolItem) SetDraw(draw bool)
type Settings ¶
type Settings struct {
GSettings *C.GtkSettings
}
----------------------------------------------------------------------- GtkSettings -----------------------------------------------------------------------
func GetSettingsForScreen ¶
gtk_settings_get_for_screen
func SettingsGetDefault ¶
func SettingsGetDefault() *Settings
func (*Settings) SetDoubleProperty ¶
func (*Settings) SetLongProperty ¶
func (*Settings) SetStringProperty ¶
type ShadowType ¶
type ShadowType int
----------------------------------------------------------------------- GtkFrame -----------------------------------------------------------------------
const ( SHADOW_NONE ShadowType = iota SHADOW_IN SHADOW_OUT SHADOW_ETCHED_IN SHADOW_ETCHED_OUT )
type SizeGroup ¶
type SizeGroup struct {
GSizeGroup *C.GtkSizeGroup
}
func NewSizeGroup ¶
func NewSizeGroup(mode SizeGroupMode) *SizeGroup
func (*SizeGroup) GetIgnoreHidden ¶
func (*SizeGroup) GetMode ¶
func (v *SizeGroup) GetMode() SizeGroupMode
func (*SizeGroup) GetWidgets ¶
func (*SizeGroup) RemoveWidget ¶
func (*SizeGroup) SetIgnoreHidden ¶
func (*SizeGroup) SetMode ¶
func (v *SizeGroup) SetMode(mode SizeGroupMode)
type SizeGroupMode ¶
type SizeGroupMode int
----------------------------------------------------------------------- GtkSizeGroup -----------------------------------------------------------------------
const ( SIZE_GROUP_NONE SizeGroupMode = iota SIZE_GROUP_HORIZONTAL SIZE_GROUP_VERTICAL SIZE_GROUP_BOTH )
type SortType ¶
type SortType int
----------------------------------------------------------------------- GtkTreeSortable -----------------------------------------------------------------------
type SpinButton ¶
type SpinButton struct {
Entry
}
func NewSpinButton ¶
func NewSpinButton(a *Adjustment, climb float64, digits uint) *SpinButton
func NewSpinButtonWithRange ¶
func NewSpinButtonWithRange(min, max, step float64) *SpinButton
func (*SpinButton) Configure ¶
func (v *SpinButton) Configure(a *Adjustment, climb_rate float64, digits uint)
func (*SpinButton) GetAdjustment ¶
func (v *SpinButton) GetAdjustment() *Adjustment
func (*SpinButton) GetDigits ¶
func (v *SpinButton) GetDigits() uint
func (*SpinButton) GetIncrements ¶
func (v *SpinButton) GetIncrements() (float64, float64)
func (*SpinButton) GetNumeric ¶
func (v *SpinButton) GetNumeric() bool
func (*SpinButton) GetRange ¶
func (v *SpinButton) GetRange() (float64, float64)
func (*SpinButton) GetSnapToTicks ¶
func (v *SpinButton) GetSnapToTicks() bool
func (*SpinButton) GetUpdatePolicy ¶
func (v *SpinButton) GetUpdatePolicy() SpinButtonUpdatePolicy
func (*SpinButton) GetValue ¶
func (v *SpinButton) GetValue() float64
func (*SpinButton) GetValueAsFloat ¶
func (v *SpinButton) GetValueAsFloat() float64
func (*SpinButton) GetValueAsInt ¶
func (v *SpinButton) GetValueAsInt() int
func (*SpinButton) GetWrap ¶
func (v *SpinButton) GetWrap() bool
func (*SpinButton) OnChangeValue ¶
func (v *SpinButton) OnChangeValue(onclick interface{}, datas ...interface{}) int
func (*SpinButton) OnInput ¶
func (v *SpinButton) OnInput(onclick interface{}, datas ...interface{}) int
func (*SpinButton) OnOutput ¶
func (v *SpinButton) OnOutput(onclick interface{}, datas ...interface{}) int
func (*SpinButton) OnValueChanged ¶
func (v *SpinButton) OnValueChanged(onclick interface{}, datas ...interface{}) int
func (*SpinButton) OnWrapped ¶
func (v *SpinButton) OnWrapped(onclick interface{}, datas ...interface{}) int
func (*SpinButton) SetAdjustment ¶
func (v *SpinButton) SetAdjustment(a *Adjustment)
func (*SpinButton) SetDigits ¶
func (v *SpinButton) SetDigits(digits uint)
func (*SpinButton) SetIncrements ¶
func (v *SpinButton) SetIncrements(step, page float64)
func (*SpinButton) SetNumeric ¶
func (v *SpinButton) SetNumeric(numeric bool)
func (*SpinButton) SetRange ¶
func (v *SpinButton) SetRange(min, max float64)
func (*SpinButton) SetSnapToTicks ¶
func (v *SpinButton) SetSnapToTicks(snap_to_ticks bool)
func (*SpinButton) SetUpdatePolicy ¶
func (v *SpinButton) SetUpdatePolicy(policy SpinButtonUpdatePolicy)
func (*SpinButton) SetValue ¶
func (v *SpinButton) SetValue(val float64)
func (*SpinButton) SetWrap ¶
func (v *SpinButton) SetWrap(wrap bool)
func (*SpinButton) Spin ¶
func (v *SpinButton) Spin(direction SpinType, increment float64)
func (*SpinButton) Update ¶
func (v *SpinButton) Update()
type SpinButtonUpdatePolicy ¶
type SpinButtonUpdatePolicy int
----------------------------------------------------------------------- GtkSpinButton -----------------------------------------------------------------------
const ( UPDATE_ALWAYS SpinButtonUpdatePolicy = iota UPDATE_IF_VALID )
type StatusIcon ¶
type StatusIcon struct {
GStatusIcon *C.GtkStatusIcon
}
----------------------------------------------------------------------- GtkStatusIcon -----------------------------------------------------------------------
func NewStatusIcon ¶
func NewStatusIcon() *StatusIcon
func NewStatusIconFromFile ¶
func NewStatusIconFromFile(filename string) *StatusIcon
func NewStatusIconFromIconName ¶
func NewStatusIconFromIconName(icon_name string) *StatusIcon
func NewStatusIconFromPixbuf ¶
func NewStatusIconFromPixbuf(pixbuf *gdkpixbuf.Pixbuf) *StatusIcon
func NewStatusIconFromStock ¶
func NewStatusIconFromStock(stock_id string) *StatusIcon
func (*StatusIcon) Connect ¶
func (v *StatusIcon) Connect(s string, f interface{}, datas ...interface{}) int
func (*StatusIcon) GetHasTooltip ¶
func (v *StatusIcon) GetHasTooltip() bool
func (*StatusIcon) GetIconName ¶
func (v *StatusIcon) GetIconName() string
func (*StatusIcon) GetPixbuf ¶
func (v *StatusIcon) GetPixbuf() *gdkpixbuf.Pixbuf
func (*StatusIcon) GetStock ¶
func (v *StatusIcon) GetStock() string
func (*StatusIcon) GetTitle ¶
func (v *StatusIcon) GetTitle() string
func (*StatusIcon) GetTooltipMarkup ¶
func (v *StatusIcon) GetTooltipMarkup() string
func (*StatusIcon) GetTooltipText ¶
func (v *StatusIcon) GetTooltipText() string
func (*StatusIcon) GetVisible ¶
func (v *StatusIcon) GetVisible() bool
func (*StatusIcon) SetFromFile ¶
func (v *StatusIcon) SetFromFile(filename string)
func (*StatusIcon) SetFromIconName ¶
func (v *StatusIcon) SetFromIconName(icon_name string)
func (*StatusIcon) SetFromPixbuf ¶
func (v *StatusIcon) SetFromPixbuf(pixbuf *gdkpixbuf.Pixbuf)
func (*StatusIcon) SetFromStock ¶
func (v *StatusIcon) SetFromStock(stock_id string)
func (*StatusIcon) SetHasTooltip ¶
func (v *StatusIcon) SetHasTooltip(setting bool)
func (*StatusIcon) SetName ¶
func (v *StatusIcon) SetName(name string)
func (*StatusIcon) SetTitle ¶
func (v *StatusIcon) SetTitle(title string)
func (*StatusIcon) SetTooltipMarkup ¶
func (v *StatusIcon) SetTooltipMarkup(markup string)
func (*StatusIcon) SetTooltipText ¶
func (v *StatusIcon) SetTooltipText(text string)
func (*StatusIcon) SetVisible ¶
func (v *StatusIcon) SetVisible(setting bool)
type Statusbar ¶
type Statusbar struct {
HBox
}
----------------------------------------------------------------------- GtkStatusbar -----------------------------------------------------------------------
func NewStatusbar ¶
func NewStatusbar() *Statusbar
func (*Statusbar) GetContextId ¶
func (*Statusbar) GetHasResizeGrip ¶
func (*Statusbar) SetHasResizeGrip ¶
type StockItem ¶
type StockItem struct {
GStockItem *C.GtkStockItem
}
type Style ¶
func (*Style) SetBackground ¶
type Table ¶
type Table struct {
Container
}
func (*Table) Attach ¶
func (v *Table) Attach(child IWidget, left_attach uint, right_attach uint, top_attach uint, bottom_attach uint, xoptions AttachOptions, yoptions AttachOptions, xpadding uint, ypadding uint)
func (*Table) AttachDefaults ¶
func (*Table) GetColSpacing ¶
func (*Table) GetDefaultColSpacing ¶
func (*Table) GetDefaultRowSpacing ¶
func (*Table) GetHomogeneous ¶
func (*Table) GetRowSpacing ¶
func (*Table) SetColSpacing ¶
func (*Table) SetColSpacings ¶
func (*Table) SetHomogeneous ¶
func (*Table) SetRowSpacing ¶
func (*Table) SetRowSpacings ¶
type TargetEntry ¶
type TearoffMenuItem ¶
type TearoffMenuItem struct {
MenuItem
}
----------------------------------------------------------------------- GtkTearoffMenuItem -----------------------------------------------------------------------
func NewTearoffMenuItem ¶
func NewTearoffMenuItem() *TearoffMenuItem
type TextAttributes ¶
type TextAttributes struct {
GTextAttributes *C.GtkTextAttributes
}
----------------------------------------------------------------------- GtkTextAttributes -----------------------------------------------------------------------
func NewTextAttributes ¶
func NewTextAttributes() *TextAttributes
func (*TextAttributes) Copy ¶
func (v *TextAttributes) Copy() *TextAttributes
func (*TextAttributes) CopyValues ¶
func (v *TextAttributes) CopyValues(ta *TextAttributes)
func (*TextAttributes) Ref ¶
func (v *TextAttributes) Ref() *TextAttributes
func (*TextAttributes) Unref ¶
func (v *TextAttributes) Unref()
type TextBuffer ¶
type TextBuffer struct { GTextBuffer *C.GtkTextBuffer *glib.GObject }
func NewTextBuffer ¶
func NewTextBuffer(tagtable *TextTagTable) *TextBuffer
func NewTextBufferFromPointer ¶
func NewTextBufferFromPointer(v unsafe.Pointer) *TextBuffer
func (*TextBuffer) AddMark ¶
func (v *TextBuffer) AddMark(mark *TextMark, where *TextIter)
func (*TextBuffer) ApplyTag ¶
func (v *TextBuffer) ApplyTag(tag *TextTag, start *TextIter, end *TextIter)
func (*TextBuffer) ApplyTagByName ¶
func (v *TextBuffer) ApplyTagByName(name string, start *TextIter, end *TextIter)
func (*TextBuffer) Backspace ¶
func (v *TextBuffer) Backspace(iter *TextIter, interactive bool, default_editable bool) bool
func (*TextBuffer) CreateMark ¶
func (v *TextBuffer) CreateMark(mark_name string, where *TextIter, left_gravity bool) *TextMark
func (*TextBuffer) CreateTag ¶
func (v *TextBuffer) CreateTag(tag_name string, props map[string]interface{}) *TextTag
func (*TextBuffer) Delete ¶
func (v *TextBuffer) Delete(start *TextIter, end *TextIter)
func (*TextBuffer) DeleteInteractive ¶
func (v *TextBuffer) DeleteInteractive(start *TextIter, end *TextIter, default_editable bool) bool
func (*TextBuffer) DeleteMark ¶
func (v *TextBuffer) DeleteMark(mark *TextMark)
func (*TextBuffer) DeleteMarkByName ¶
func (v *TextBuffer) DeleteMarkByName(name string)
func (*TextBuffer) DeleteSelection ¶
func (v *TextBuffer) DeleteSelection(interactive bool, default_editable bool)
func (*TextBuffer) GetBounds ¶
func (v *TextBuffer) GetBounds(start *TextIter, end *TextIter)
func (*TextBuffer) GetCharCount ¶
func (v *TextBuffer) GetCharCount() int
func (*TextBuffer) GetEndIter ¶
func (v *TextBuffer) GetEndIter(iter *TextIter)
func (*TextBuffer) GetHasSelection ¶
func (v *TextBuffer) GetHasSelection() bool
func (*TextBuffer) GetInsert ¶
func (v *TextBuffer) GetInsert() *TextMark
func (*TextBuffer) GetIterAtChildAnchor ¶
func (v *TextBuffer) GetIterAtChildAnchor(i *TextIter, a *TextChildAnchor)
func (*TextBuffer) GetIterAtLine ¶
func (v *TextBuffer) GetIterAtLine(iter *TextIter, line_number int)
func (*TextBuffer) GetIterAtLineIndex ¶
func (v *TextBuffer) GetIterAtLineIndex(iter *TextIter, line_number int, byte_index int)
func (*TextBuffer) GetIterAtLineOffset ¶
func (v *TextBuffer) GetIterAtLineOffset(iter *TextIter, line_number int, char_offset int)
func (*TextBuffer) GetIterAtMark ¶
func (v *TextBuffer) GetIterAtMark(iter *TextIter, mark *TextMark)
func (*TextBuffer) GetIterAtOffset ¶
func (v *TextBuffer) GetIterAtOffset(iter *TextIter, char_offset int)
func (*TextBuffer) GetLineCount ¶
func (v *TextBuffer) GetLineCount() int
func (*TextBuffer) GetMark ¶
func (v *TextBuffer) GetMark(name string) *TextMark
func (*TextBuffer) GetModified ¶
func (v *TextBuffer) GetModified() bool
func (*TextBuffer) GetNativeBuffer ¶
func (v *TextBuffer) GetNativeBuffer() unsafe.Pointer
func (*TextBuffer) GetSelectionBound ¶
func (v *TextBuffer) GetSelectionBound() *TextMark
func (*TextBuffer) GetSelectionBounds ¶
func (v *TextBuffer) GetSelectionBounds(be, en *TextIter) bool
func (*TextBuffer) GetSlice ¶
func (v *TextBuffer) GetSlice(start *TextIter, end *TextIter, include_hidden_chars bool) string
func (*TextBuffer) GetStartIter ¶
func (v *TextBuffer) GetStartIter(iter *TextIter)
func (*TextBuffer) GetTagTable ¶
func (v *TextBuffer) GetTagTable() *TextTagTable
func (*TextBuffer) GetText ¶
func (v *TextBuffer) GetText(start *TextIter, end *TextIter, include_hidden_chars bool) string
func (*TextBuffer) Insert ¶
func (v *TextBuffer) Insert(iter *TextIter, text string)
func (*TextBuffer) InsertAtCursor ¶
func (v *TextBuffer) InsertAtCursor(text string)
func (*TextBuffer) InsertInteractive ¶
func (v *TextBuffer) InsertInteractive(iter *TextIter, text string, default_editable bool) bool
func (*TextBuffer) InsertInteractiveAtCursor ¶
func (v *TextBuffer) InsertInteractiveAtCursor(text string, default_editable bool) bool
func (*TextBuffer) InsertPixbuf ¶
func (v *TextBuffer) InsertPixbuf(iter *TextIter, pixbuf *gdkpixbuf.Pixbuf)
func (*TextBuffer) InsertRange ¶
func (v *TextBuffer) InsertRange(iter *TextIter, start *TextIter, end *TextIter)
func (*TextBuffer) InsertRangeInteractive ¶
func (*TextBuffer) InsertWithTag ¶
func (v *TextBuffer) InsertWithTag(iter *TextIter, text string, tag *TextTag)
func (*TextBuffer) MoveMark ¶
func (v *TextBuffer) MoveMark(mark *TextMark, where *TextIter)
func (*TextBuffer) MoveMarkByName ¶
func (v *TextBuffer) MoveMarkByName(name string, where *TextIter)
func (*TextBuffer) PlaceCursor ¶
func (v *TextBuffer) PlaceCursor(where *TextIter)
func (*TextBuffer) RemoveAllTags ¶
func (v *TextBuffer) RemoveAllTags(start *TextIter, end *TextIter)
func (*TextBuffer) RemoveTag ¶
func (v *TextBuffer) RemoveTag(tag *TextTag, start *TextIter, end *TextIter)
func (*TextBuffer) RemoveTagByName ¶
func (v *TextBuffer) RemoveTagByName(name string, start *TextIter, end *TextIter)
func (*TextBuffer) SelectRange ¶
func (v *TextBuffer) SelectRange(ins *TextIter, bound *TextIter)
func (*TextBuffer) SetModified ¶
func (v *TextBuffer) SetModified(setting bool)
func (*TextBuffer) SetText ¶
func (v *TextBuffer) SetText(text string)
type TextChildAnchor ¶
type TextChildAnchor struct {
GTextChildAnchor *C.GtkTextChildAnchor
}
type TextIter ¶
type TextIter struct {
GTextIter C.GtkTextIter
}
----------------------------------------------------------------------- GtkTextIter -----------------------------------------------------------------------
func (*TextIter) BackwardChar ¶
func (*TextIter) BackwardChars ¶
func (*TextIter) BackwardSearch ¶
func (*TextIter) ForwardChar ¶
func (*TextIter) ForwardChars ¶
func (*TextIter) ForwardSearch ¶
func (*TextIter) GetBuffer ¶
func (v *TextIter) GetBuffer() *TextBuffer
func (*TextIter) GetLineIndex ¶
func (*TextIter) GetLineOffset ¶
func (*TextIter) GetVisibleLineIndex ¶
func (*TextIter) GetVisibleLineOffset ¶
func (*TextIter) GetVisibleSlice ¶
func (*TextIter) GetVisibleText ¶
type TextMark ¶
type TextMark struct {
GTextMark *C.GtkTextMark
}
----------------------------------------------------------------------- GtkTextMark -----------------------------------------------------------------------
type TextSearchFlags ¶
type TextSearchFlags int
const ( TEXT_SEARCH_VISIBLE_ONLY TextSearchFlags = 1 << iota TEXT_SEARCH_TEXT_ONLY TEXT_SEARCH_CASE_INSENSITIVE )
type TextTag ¶
type TextTag struct { GTextTag *C.GtkTextTag *glib.GObject }
----------------------------------------------------------------------- GtkTextTag -----------------------------------------------------------------------
func NewTextTag ¶
func NewTextTagFromPointer ¶
func (*TextTag) GetPriority ¶
func (*TextTag) SetPriority ¶
type TextTagTable ¶
type TextTagTable struct {
GTextTagTable *C.GtkTextTagTable
}
----------------------------------------------------------------------- GtkTextTagTable -----------------------------------------------------------------------
func NewTextTagTable ¶
func NewTextTagTable() *TextTagTable
func (*TextTagTable) Add ¶
func (v *TextTagTable) Add(tag *TextTag)
func (*TextTagTable) GetSize ¶
func (v *TextTagTable) GetSize() int
func (*TextTagTable) Lookup ¶
func (v *TextTagTable) Lookup(name string) *TextTag
func (*TextTagTable) Remove ¶
func (v *TextTagTable) Remove(tag *TextTag)
type TextView ¶
type TextView struct {
Container
}
gtk_text_child_anchor_new gtk_text_child_anchor_get_widgets gtk_text_child_anchor_get_deleted
func NewTextView ¶
func NewTextView() *TextView
func NewTextViewWithBuffer ¶
func NewTextViewWithBuffer(b TextBuffer) *TextView
func (*TextView) GetAcceptsTab ¶
func (*TextView) GetBuffer ¶
func (v *TextView) GetBuffer() *TextBuffer
func (*TextView) GetCursorVisible ¶
func (*TextView) GetEditable ¶
func (*TextView) GetIterAtLocation ¶
func (*TextView) GetIterAtPosition ¶
func (*TextView) GetLineYrange ¶
func (*TextView) GetOverwrite ¶
func (*TextView) GetWrapMode ¶
func (*TextView) ScrollToIter ¶
func (*TextView) ScrollToMark ¶
func (*TextView) SetAcceptsTab ¶
func (*TextView) SetBuffer ¶
func (v *TextView) SetBuffer(b ITextBuffer)
func (*TextView) SetCursorVisible ¶
func (*TextView) SetEditable ¶
func (*TextView) SetOverwrite ¶
func (*TextView) SetWrapMode ¶
type ToggleAction ¶
type ToggleAction struct {
Action
}
func NewToggleAction ¶
func NewToggleAction(name string, label string, tooltip string, stock_id string) *ToggleAction
func (*ToggleAction) GetActive ¶
func (v *ToggleAction) GetActive() bool
func (*ToggleAction) GetDrawAsRadio ¶
func (v *ToggleAction) GetDrawAsRadio() bool
func (*ToggleAction) SetActive ¶
func (v *ToggleAction) SetActive(is_active bool)
func (*ToggleAction) SetDrawAsRadio ¶
func (v *ToggleAction) SetDrawAsRadio(draw_as_radio bool)
func (*ToggleAction) Toggled ¶
func (v *ToggleAction) Toggled()
type ToggleButton ¶
type ToggleButton struct {
Button
}
----------------------------------------------------------------------- GtkToggleButton -----------------------------------------------------------------------
func NewToggleButton ¶
func NewToggleButton() *ToggleButton
func NewToggleButtonWithLabel ¶
func NewToggleButtonWithLabel(label string) *ToggleButton
func NewToggleButtonWithMnemonic ¶
func NewToggleButtonWithMnemonic(label string) *ToggleButton
func (*ToggleButton) GetActive ¶
func (v *ToggleButton) GetActive() bool
func (*ToggleButton) GetInconsistent ¶
func (v *ToggleButton) GetInconsistent() bool
func (*ToggleButton) GetMode ¶
func (v *ToggleButton) GetMode() bool
func (*ToggleButton) SetActive ¶
func (v *ToggleButton) SetActive(is_active bool)
func (*ToggleButton) SetInconsistent ¶
func (v *ToggleButton) SetInconsistent(setting bool)
func (*ToggleButton) SetMode ¶
func (v *ToggleButton) SetMode(draw_indicator bool)
type ToggleToolButton ¶
type ToggleToolButton struct {
ToolButton
}
func NewToggleToolButton ¶
func NewToggleToolButton() *ToggleToolButton
func NewToggleToolButtonFromStock ¶
func NewToggleToolButtonFromStock(stock_id string) *ToggleToolButton
func (*ToggleToolButton) GetActive ¶
func (v *ToggleToolButton) GetActive() bool
func (*ToggleToolButton) OnToggled ¶
func (v *ToggleToolButton) OnToggled(onclick interface{}, datas ...interface{}) int
func (*ToggleToolButton) SetActive ¶
func (v *ToggleToolButton) SetActive(is_active bool)
type ToolButton ¶
type ToolButton struct { ToolItem // contains filtered or unexported fields }
func NewToolButton ¶
func NewToolButton(icon IWidget, text string) *ToolButton
func NewToolButtonFromStock ¶
func NewToolButtonFromStock(stock_id string) *ToolButton
func (*ToolButton) GetIconName ¶
func (v *ToolButton) GetIconName() string
func (*ToolButton) GetIconWidget ¶
func (v *ToolButton) GetIconWidget() *Widget
func (*ToolButton) GetLabel ¶
func (v *ToolButton) GetLabel() string
func (*ToolButton) GetLabelWidget ¶
func (v *ToolButton) GetLabelWidget() *Widget
func (*ToolButton) GetStockId ¶
func (v *ToolButton) GetStockId() string
func (*ToolButton) GetUseUnderline ¶
func (v *ToolButton) GetUseUnderline() bool
func (*ToolButton) OnClicked ¶
func (v *ToolButton) OnClicked(onclick interface{}, datas ...interface{}) int
func (*ToolButton) SetIconName ¶
func (v *ToolButton) SetIconName(icon_name string)
func (*ToolButton) SetIconWidget ¶
func (v *ToolButton) SetIconWidget(icon_widget *Widget)
func (*ToolButton) SetLabel ¶
func (v *ToolButton) SetLabel(label string)
func (*ToolButton) SetLabelWidget ¶
func (v *ToolButton) SetLabelWidget(label_widget *Widget)
func (*ToolButton) SetStockId ¶
func (v *ToolButton) SetStockId(stock_id string)
func (*ToolButton) SetUseUnderline ¶
func (v *ToolButton) SetUseUnderline(use_underline bool)
type ToolItem ¶
type ToolItem struct { Bin Activatable // implement GtkActivatable interface }
func NewToolItem ¶
func NewToolItem() *ToolItem
func (*ToolItem) GetHomogeneous ¶
func (*ToolItem) GetIsImportant ¶
func (*ToolItem) GetReliefStyle ¶
func (v *ToolItem) GetReliefStyle() ReliefStyle
func (*ToolItem) GetTextAlignment ¶
func (*ToolItem) GetTextOrientation ¶
func (v *ToolItem) GetTextOrientation() Orientation
func (*ToolItem) GetToolbarStyle ¶
func (v *ToolItem) GetToolbarStyle() ToolbarStyle
func (*ToolItem) OnCreateMenuProxy ¶
func (*ToolItem) OnSetTooltip ¶
func (*ToolItem) OnToolbarReconfigured ¶
func (*ToolItem) RebuildMenu ¶
func (v *ToolItem) RebuildMenu()
gtk_tool_item_retrieve_proxy_menu_item gtk_tool_item_get_proxy_menu_item gtk_tool_item_set_proxy_menu_item
func (*ToolItem) SetArrowTooltipMarkup ¶
func (*ToolItem) SetArrowTooltipText ¶
gtk_tool_item_set_tooltip (deprecated since 2.12)
func (*ToolItem) SetHomogeneous ¶
func (*ToolItem) SetIsImportant ¶
Mark a tool item as important or non-important.
When a gtk.Toolbar’s style is gtk.TOOLBAR_BOTH_HORIZ, labels are only displayed for tool item buttons considered important. This is an effect known as “priority text”.
func (*ToolItem) SetTooltipMarkup ¶
type ToolItemGroup ¶
type ToolItemGroup struct { Container // contains filtered or unexported fields }
func NewToolItemGroup ¶
func NewToolItemGroup(label string) *ToolItemGroup
func (*ToolItemGroup) GetCollapsed ¶
func (v *ToolItemGroup) GetCollapsed() bool
func (*ToolItemGroup) GetHeaderRelief ¶
func (v *ToolItemGroup) GetHeaderRelief() ReliefStyle
gtk_tool_item_group_get_label_widget gtk_tool_item_group_get_nth_item
func (*ToolItemGroup) GetLabel ¶
func (v *ToolItemGroup) GetLabel() string
gtk_tool_item_group_get_drop_item gtk_tool_item_group_get_ellipsize gtk_tool_item_group_get_item_position gtk_tool_item_group_get_n_items
func (*ToolItemGroup) Insert ¶
func (v *ToolItemGroup) Insert(item IWidget, pos int)
func (*ToolItemGroup) SetCollapsed ¶
func (v *ToolItemGroup) SetCollapsed(collapsed bool)
func (*ToolItemGroup) SetHeaderRelief ¶
func (v *ToolItemGroup) SetHeaderRelief(style ReliefStyle)
gtk_tool_item_group_set_label_widget
func (*ToolItemGroup) SetLabel ¶
func (v *ToolItemGroup) SetLabel(label string)
gtk_tool_item_group_set_ellipsize gtk_tool_item_group_set_item_position
type ToolPalette ¶
type ToolPalette struct {
Container
}
func NewToolPalette ¶
func NewToolPalette() *ToolPalette
func (*ToolPalette) GetExclusive ¶
func (v *ToolPalette) GetExclusive(group *ToolItemGroup) bool
func (*ToolPalette) GetExpand ¶
func (v *ToolPalette) GetExpand(group *ToolItemGroup) bool
func (*ToolPalette) GetGroupPosition ¶
func (v *ToolPalette) GetGroupPosition(group *ToolItemGroup) int
func (*ToolPalette) GetIconSize ¶
func (v *ToolPalette) GetIconSize() IconSize
func (*ToolPalette) GetStyle ¶
func (v *ToolPalette) GetStyle() ToolbarStyle
func (*ToolPalette) SetExclusive ¶
func (v *ToolPalette) SetExclusive(group *ToolItemGroup, exclusive bool)
func (*ToolPalette) SetExpand ¶
func (v *ToolPalette) SetExpand(group *ToolItemGroup, expand bool)
func (*ToolPalette) SetGroupPosition ¶
func (v *ToolPalette) SetGroupPosition(group *ToolItemGroup, pos int)
func (*ToolPalette) SetIconSize ¶
func (v *ToolPalette) SetIconSize(size IconSize)
func (*ToolPalette) SetStyle ¶
func (v *ToolPalette) SetStyle(style ToolbarStyle)
func (*ToolPalette) UnsetIconSize ¶
func (v *ToolPalette) UnsetIconSize()
func (*ToolPalette) UnsetStyle ¶
func (v *ToolPalette) UnsetStyle()
type Toolbar ¶
type Toolbar struct { Container // contains filtered or unexported fields }
func NewToolbar ¶
func NewToolbar() *Toolbar
func (*Toolbar) GetDropIndex ¶
func (*Toolbar) GetIconSize ¶
func (*Toolbar) GetItemIndex ¶
func (*Toolbar) GetNthItem ¶
func (*Toolbar) GetOrientation ¶
func (v *Toolbar) GetOrientation() Orientation
func (*Toolbar) GetReliefStyle ¶
func (v *Toolbar) GetReliefStyle() ReliefStyle
func (*Toolbar) GetShowArrow ¶
func (*Toolbar) GetStyle ¶
func (v *Toolbar) GetStyle() ToolbarStyle
func (*Toolbar) GetTooltips ¶
func (*Toolbar) OnFocusHomeOrEnd ¶
func (*Toolbar) OnOrientationChanged ¶
func (*Toolbar) OnPopupContextMenu ¶
func (*Toolbar) OnStyleChanged ¶
func (*Toolbar) SetDropHighlightItem ¶
func (*Toolbar) SetIconSize ¶
gtk_toolbar_insert_stock
func (*Toolbar) SetOrientation ¶
func (v *Toolbar) SetOrientation(orientation Orientation)
func (*Toolbar) SetShowArrow ¶
func (*Toolbar) SetStyle ¶
func (v *Toolbar) SetStyle(style ToolbarStyle)
gtk_toolbar_append_item gtk_toolbar_prepend_item gtk_toolbar_insert_item gtk_toolbar_append_space gtk_toolbar_prepend_space gtk_toolbar_insert_space gtk_toolbar_append_element gtk_toolbar_prepend_element gtk_toolbar_insert_element gtk_toolbar_append_widget gtk_toolbar_prepend_widget gtk_toolbar_insert_widget
func (*Toolbar) SetTooltips ¶
func (*Toolbar) UnsetIconSize ¶
func (v *Toolbar) UnsetIconSize()
type ToolbarStyle ¶
type ToolbarStyle int
const ( TOOLBAR_ICONS ToolbarStyle = iota TOOLBAR_TEXT TOOLBAR_BOTH TOOLBAR_BOTH_HORIZ )
type Tooltip ¶
type Tooltip struct {
GTooltip *C.GtkTooltip
}
----------------------------------------------------------------------- GtkTooltip -----------------------------------------------------------------------
func TooltipFromNative ¶
func (*Tooltip) SetIconFromIconName ¶
func (*Tooltip) SetIconFromStock ¶
type TreeIter ¶
type TreeIter struct {
GTreeIter *C.GtkTreeIter
}
----------------------------------------------------------------------- GtkTreeIter -----------------------------------------------------------------------
type TreeModel ¶
type TreeModel struct {
GTreeModel *C.GtkTreeModel
}
func (*TreeModel) GetFlags ¶
func (v *TreeModel) GetFlags() TreeModelFlags
func (*TreeModel) GetIterFirst ¶
func (*TreeModel) GetIterFromString ¶
func (*TreeModel) GetNColumns ¶
func (*TreeModel) GetStringFromIter ¶
func (*TreeModel) IterChildren ¶
func (*TreeModel) IterHasChild ¶
func (*TreeModel) IterNChildren ¶
func (*TreeModel) IterNthChild ¶
type TreeModelFlags ¶
type TreeModelFlags int
----------------------------------------------------------------------- GtkTreeModel -----------------------------------------------------------------------
const ( TREE_MODEL_ITERS_PERSIST TreeModelFlags = 1 << iota TREE_MODEL_LIST_ONLY )
type TreePath ¶
type TreePath struct {
GTreePath *C.GtkTreePath
}
----------------------------------------------------------------------- GtkTreePath -----------------------------------------------------------------------
func NewTreePath ¶
func NewTreePath() *TreePath
func NewTreePathFromString ¶
func NewTreePathNewFirst ¶
func NewTreePathNewFirst() *TreePath
func TreePathFromNative ¶
func (*TreePath) AppendIndex ¶
func (*TreePath) GetIndices ¶
func (*TreePath) IsAncestor ¶
func (*TreePath) IsDescendant ¶
func (*TreePath) PrependIndex ¶
type TreeRowReference ¶
type TreeRowReference struct {
GTreeRowReference *C.GtkTreeRowReference
}
----------------------------------------------------------------------- GtkTreeRowReference -----------------------------------------------------------------------
func NewTreeRowReference ¶
func NewTreeRowReference(model ITreeModel, path *TreePath) *TreeRowReference
func (*TreeRowReference) Copy ¶
func (r *TreeRowReference) Copy() *TreeRowReference
func (*TreeRowReference) Free ¶
func (r *TreeRowReference) Free()
func (*TreeRowReference) GetModel ¶
func (r *TreeRowReference) GetModel() *TreeModel
func (*TreeRowReference) GetPath ¶
func (r *TreeRowReference) GetPath() *TreePath
func (*TreeRowReference) Valid ¶
func (r *TreeRowReference) Valid() bool
type TreeSelection ¶
type TreeSelection struct {
GTreeSelection *C.GtkTreeSelection
}
----------------------------------------------------------------------- GtkTreeSelection -----------------------------------------------------------------------
func (*TreeSelection) Connect ¶
func (v *TreeSelection) Connect(s string, f interface{}, datas ...interface{}) int
func (*TreeSelection) CountSelectedRows ¶
func (v *TreeSelection) CountSelectedRows() int
func (*TreeSelection) GetMode ¶
func (v *TreeSelection) GetMode() SelectionMode
func (*TreeSelection) GetSelected ¶
func (v *TreeSelection) GetSelected(iter *TreeIter) bool
func (*TreeSelection) GetSelectedRows ¶
func (v *TreeSelection) GetSelectedRows(model *TreeModel) *C.GList
func (*TreeSelection) IterIsSelected ¶
func (v *TreeSelection) IterIsSelected(iter *TreeIter) bool
func (*TreeSelection) PathIsSelected ¶
func (v *TreeSelection) PathIsSelected(path *TreePath) bool
func (*TreeSelection) SelectAll ¶
func (v *TreeSelection) SelectAll()
func (*TreeSelection) SelectIter ¶
func (v *TreeSelection) SelectIter(iter *TreeIter)
func (*TreeSelection) SelectPath ¶
func (v *TreeSelection) SelectPath(path *TreePath)
func (*TreeSelection) SelectRange ¶
func (v *TreeSelection) SelectRange(start_path *TreePath, end_path *TreePath)
func (*TreeSelection) SetMode ¶
func (v *TreeSelection) SetMode(m SelectionMode)
func (*TreeSelection) SetSelectFunction ¶
func (v *TreeSelection) SetSelectFunction(selecter *GtkTreeSelecter)
Caller is responsible for ensuring that *selecter does not get reaped by garbage collection during the time that gtk maintains a reference to it (e.g. pass the address of a package global variable).
func (*TreeSelection) UnselectAll ¶
func (v *TreeSelection) UnselectAll()
func (*TreeSelection) UnselectIter ¶
func (v *TreeSelection) UnselectIter(iter *TreeIter)
func (*TreeSelection) UnselectPath ¶
func (v *TreeSelection) UnselectPath(path *TreePath)
func (*TreeSelection) UnselectRange ¶
func (v *TreeSelection) UnselectRange(start_path *TreePath, end_path *TreePath)
type TreeSortable ¶
type TreeSortable struct { GTreeSortable *C.GtkTreeSortable // contains filtered or unexported fields }
func NewTreeSortable ¶
func NewTreeSortable(model ITreeModel) *TreeSortable
func (*TreeSortable) GetSortColumnId ¶
func (ts *TreeSortable) GetSortColumnId(id int, order SortType) bool
func (*TreeSortable) HasDefaultSortFunc ¶
func (ts *TreeSortable) HasDefaultSortFunc() bool
func (*TreeSortable) SetDefaultSortFunc ¶
func (ts *TreeSortable) SetDefaultSortFunc(fun SortFunc, userData interface{})
func (*TreeSortable) SetSortColumnId ¶
func (ts *TreeSortable) SetSortColumnId(id int, order SortType)
func (*TreeSortable) SetSortFunc ¶
func (ts *TreeSortable) SetSortFunc(col int, fun SortFunc, userData interface{})
type TreeStore ¶
type TreeStore struct { TreeModel GTreeStore *C.GtkTreeStore }
----------------------------------------------------------------------- GtkTreeStore -----------------------------------------------------------------------
func NewTreeStore ¶
func NewTreeStore(v ...interface{}) *TreeStore
func (*TreeStore) InsertAfter ¶
func (*TreeStore) InsertBefore ¶
func (*TreeStore) IterIsValid ¶
func (*TreeStore) MoveBefore ¶
func (*TreeStore) ToTreeModel ¶
type TreeView ¶
type TreeView struct {
Container
}
----------------------------------------------------------------------- GtkTreeView -----------------------------------------------------------------------
func NewTreeView ¶
func NewTreeView() *TreeView
func (*TreeView) AppendColumn ¶
func (v *TreeView) AppendColumn(c *TreeViewColumn) int
func (*TreeView) CollapseAll ¶
func (v *TreeView) CollapseAll()
func (*TreeView) CollapseRow ¶
func (*TreeView) GetColumn ¶
func (v *TreeView) GetColumn(n int) *TreeViewColumn
func (*TreeView) GetColumns ¶
func (v *TreeView) GetColumns() []*TreeViewColumn
func (*TreeView) GetCursor ¶
func (v *TreeView) GetCursor(path **TreePath, focus_column **TreeViewColumn)
func (*TreeView) GetSelection ¶
func (v *TreeView) GetSelection() *TreeSelection
func (*TreeView) RemoveColumn ¶
func (v *TreeView) RemoveColumn(c *TreeViewColumn) int
Remove column from TreeView and return number of existing columns
func (*TreeView) RowExpanded ¶
func (*TreeView) ScrollToCell ¶
func (v *TreeView) ScrollToCell(path *TreePath, col *TreeViewColumn, use bool, ra, ca float64)
func (*TreeView) SetCursor ¶
func (v *TreeView) SetCursor(path *TreePath, col *TreeViewColumn, se bool)
func (*TreeView) SetHeadersClickable ¶
void gtk_tree_view_columns_autosize (GtkTreeView *tree_view); gboolean gtk_tree_view_get_headers_clickable (GtkTreeView *tree_view); void gtk_tree_view_set_headers_clickable (GtkTreeView *tree_view, gboolean setting);
func (*TreeView) SetHeadersVisible ¶
func (*TreeView) SetModel ¶
func (v *TreeView) SetModel(model ITreeModel)
func (*TreeView) SetRubberBanding ¶
type TreeViewColumn ¶
type TreeViewColumn struct { GTreeViewColumn *C.GtkTreeViewColumn *glib.GObject }
func NewTreeViewColumn ¶
func NewTreeViewColumn() *TreeViewColumn
func NewTreeViewColumnWithAttribute ¶
func NewTreeViewColumnWithAttribute(title string, cell ICellRenderer) *TreeViewColumn
func NewTreeViewColumnWithAttributes ¶
func NewTreeViewColumnWithAttributes(title string, cell ICellRenderer, attributes ...interface{}) *TreeViewColumn
func NewTreeViewColumnWithAttributes(title string, cell ICellRenderer, attribute string, column int) *TreeViewColumn { ptitle := C.CString(title) defer cfree(ptitle) pattribute := C.CString(attribute) defer cfree(pattribute) return newTreeViewColumn( C._gtk_tree_view_column_new_with_attributes(gstring(ptitle), cell.ToCellRenderer(), gstring(pattribute), gint(column))) }
func (*TreeViewColumn) AddAttribute ¶
func (v *TreeViewColumn) AddAttribute(cell ICellRenderer, attribute string, column int)
func (*TreeViewColumn) Clear ¶
func (v *TreeViewColumn) Clear()
func (*TreeViewColumn) Clicked ¶
func (v *TreeViewColumn) Clicked()
func (*TreeViewColumn) GetClickable ¶
func (v *TreeViewColumn) GetClickable() bool
func (*TreeViewColumn) GetExpand ¶
func (v *TreeViewColumn) GetExpand() bool
func (*TreeViewColumn) GetFixedWidth ¶
func (v *TreeViewColumn) GetFixedWidth() int
func (*TreeViewColumn) GetMaxWidth ¶
func (v *TreeViewColumn) GetMaxWidth() int
func (*TreeViewColumn) GetMinWidth ¶
func (v *TreeViewColumn) GetMinWidth() int
func (*TreeViewColumn) GetReorderable ¶
func (v *TreeViewColumn) GetReorderable() bool
func (*TreeViewColumn) GetResizable ¶
func (v *TreeViewColumn) GetResizable() bool
func (*TreeViewColumn) GetSizing ¶
func (v *TreeViewColumn) GetSizing() TreeViewColumnSizing
func (*TreeViewColumn) GetSpacing ¶
func (v *TreeViewColumn) GetSpacing() int
func (*TreeViewColumn) GetTitle ¶
func (v *TreeViewColumn) GetTitle() string
func (*TreeViewColumn) GetVisible ¶
func (v *TreeViewColumn) GetVisible() bool
func (*TreeViewColumn) GetWidth ¶
func (v *TreeViewColumn) GetWidth() int
func (*TreeViewColumn) PackEnd ¶
func (v *TreeViewColumn) PackEnd(cell ICellRenderer, expand bool)
func (*TreeViewColumn) PackStart ¶
func (v *TreeViewColumn) PackStart(cell ICellRenderer, expand bool)
func (*TreeViewColumn) SetClickable ¶
func (v *TreeViewColumn) SetClickable(clickable bool)
func (*TreeViewColumn) SetExpand ¶
func (v *TreeViewColumn) SetExpand(expand bool)
func (*TreeViewColumn) SetFixedWidth ¶
func (v *TreeViewColumn) SetFixedWidth(w int)
func (*TreeViewColumn) SetMaxWidth ¶
func (v *TreeViewColumn) SetMaxWidth(w int)
func (*TreeViewColumn) SetMinWidth ¶
func (v *TreeViewColumn) SetMinWidth(w int)
func (*TreeViewColumn) SetReorderable ¶
func (v *TreeViewColumn) SetReorderable(reorderable bool)
func (*TreeViewColumn) SetResizable ¶
func (v *TreeViewColumn) SetResizable(resizable bool)
func (*TreeViewColumn) SetSizing ¶
func (v *TreeViewColumn) SetSizing(s TreeViewColumnSizing)
func (*TreeViewColumn) SetSortColumnId ¶
func (v *TreeViewColumn) SetSortColumnId(col int)
void gtk_tree_view_column_set_sort_column_id (GtkTreeViewColumn *tree_column, gint sort_column_id);
func (*TreeViewColumn) SetSpacing ¶
func (v *TreeViewColumn) SetSpacing(spacing int)
func (*TreeViewColumn) SetTitle ¶
func (v *TreeViewColumn) SetTitle(title string)
func (*TreeViewColumn) SetVisible ¶
func (v *TreeViewColumn) SetVisible(resizable bool)
type TreeViewColumnSizing ¶
type TreeViewColumnSizing int
----------------------------------------------------------------------- GtkTreeViewColumn -----------------------------------------------------------------------
const ( TREE_VIEW_COLUMN_GROW_ONLY TreeViewColumnSizing = iota TREE_VIEW_COLUMN_AUTOSIZE TREE_VIEW_COLUMN_FIXED )
type UIManager ¶
func NewUIManager ¶
func NewUIManager() *UIManager
func (*UIManager) AddUIFromString ¶
func (*UIManager) GetAccelGroup ¶
func (v *UIManager) GetAccelGroup() *AccelGroup
func (*UIManager) InsertActionGroup ¶
func (v *UIManager) InsertActionGroup(action_group *ActionGroup, pos int)
type VBox ¶
type VBox struct {
Box
}
----------------------------------------------------------------------- GtkVBox -----------------------------------------------------------------------
type VPaned ¶
type VPaned struct {
Paned
}
----------------------------------------------------------------------- GtkVPaned -----------------------------------------------------------------------
type VScrollbar ¶
type VScrollbar struct {
Scrollbar
}
----------------------------------------------------------------------- GtkVScrollbar -----------------------------------------------------------------------
func NewVScrollbar ¶
func NewVScrollbar(va *Adjustment) *VScrollbar
type VSeparator ¶
type VSeparator struct {
Separator
}
----------------------------------------------------------------------- GtkVSeparator -----------------------------------------------------------------------
func NewVSeparator ¶
func NewVSeparator() *VSeparator
type Viewport ¶
type Viewport struct {
Bin
}
----------------------------------------------------------------------- GtkViewport -----------------------------------------------------------------------
func NewViewport ¶
func NewViewport(ha, va *Adjustment) *Viewport
func (*Viewport) GetBinWindow ¶
func (*Viewport) GetHAdjustment ¶
func (v *Viewport) GetHAdjustment() *Adjustment
func (*Viewport) GetShadowType ¶
func (v *Viewport) GetShadowType() ShadowType
func (*Viewport) GetVAdjustment ¶
func (v *Viewport) GetVAdjustment() *Adjustment
func (*Viewport) GetViewWindow ¶
func (*Viewport) SetHAdjustment ¶
func (v *Viewport) SetHAdjustment(ha *Adjustment)
func (*Viewport) SetShadowType ¶
func (v *Viewport) SetShadowType(typ ShadowType)
func (*Viewport) SetVAdjustment ¶
func (v *Viewport) SetVAdjustment(va *Adjustment)
type VolumeButton ¶
type VolumeButton struct {
Bin
}
func NewVolumeButton ¶
func NewVolumeButton() *VolumeButton
type Widget ¶
func WidgetFromNative ¶
func WidgetFromObject ¶
TODO GtkWidget will have GObject as anonymous field.
func (*Widget) AddAccelerator ¶
func (v *Widget) AddAccelerator(signal string, group *AccelGroup, key uint, mods gdk.ModifierType, flags AccelFlags)
func (*Widget) CanActivateAccel ¶
func (*Widget) DragDestAddUriTargets ¶
func (v *Widget) DragDestAddUriTargets()
func (*Widget) DragDestSet ¶
func (v *Widget) DragDestSet(flags DestDefaults, targets []TargetEntry, actions gdk.DragAction)
func (*Widget) DragFinish ¶
func (*Widget) DragSourceSet ¶
func (v *Widget) DragSourceSet(start_button_mask gdk.ModifierType, targets []TargetEntry, actions gdk.DragAction)
func (*Widget) GetAllocation ¶
func (v *Widget) GetAllocation() *Allocation
func (*Widget) GetAppPaintable ¶
func (*Widget) GetCanDefault ¶
func (*Widget) GetCanFocus ¶
func (*Widget) GetChildVisible ¶
func (*Widget) GetColormap ¶
func (*Widget) GetDoubleBuffered ¶
func (*Widget) GetHasTooltip ¶
func (*Widget) GetHasWindow ¶
func (*Widget) GetNoShowAll ¶
func (*Widget) GetPangoContext ¶
gtk_widget_reset_rc_styles gtk_widget_push_colormap gtk_widget_pop_colormap gtk_widget_set_default_colormap gtk_widget_get_default_style gtk_widget_get_default_colormap gtk_widget_get_default_visual gtk_widget_set_direction gtk_widget_get_direction gtk_widget_set_default_direction gtk_widget_get_default_direction gtk_widget_shape_combine_mask gtk_widget_input_shape_combine_mask gtk_widget_path gtk_widget_class_path gtk_widget_get_composite_name gtk_widget_modify_style gtk_widget_get_modifier_style gtk_widget_modify_text gtk_widget_modify_base gtk_widget_modify_cursor gtk_widget_create_pango_context gtk_widget_get_pango_context
func (*Widget) GetParentWindow ¶
func (*Widget) GetReceivesDefault ¶
func (*Widget) GetSensitive ¶
func (*Widget) GetSettings ¶
func (*Widget) GetSizeRequest ¶
func (*Widget) GetTooltipMarkup ¶
func (*Widget) GetTooltipText ¶
func (*Widget) GetTooltipWindow ¶
func (*Widget) GetTopLevel ¶
func (*Widget) GetTopLevelAsWindow ¶
func (*Widget) GetVisible ¶
func (*Widget) GrabDefault ¶
func (v *Widget) GrabDefault()
func (*Widget) HandlerBlock ¶
func (*Widget) HandlerDisconnect ¶
func (*Widget) HandlerUnblock ¶
func (*Widget) HasDefault ¶
func (*Widget) HideOnDelete ¶
func (v *Widget) HideOnDelete()
func (*Widget) IsComposited ¶
func (*Widget) IsDrawable ¶
func (*Widget) IsSensitive ¶
func (*Widget) IsToplevel ¶
func (*Widget) MnemonicActivate ¶
func (*Widget) ModifyFontEasy ¶
func (*Widget) QueueClear ¶
func (v *Widget) QueueClear()
Deprecated since 2.2. Use QueueDraw() instead.
func (*Widget) QueueResize ¶
func (v *Widget) QueueResize()
func (*Widget) QueueResizeNoRedraw ¶
func (v *Widget) QueueResizeNoRedraw()
func (*Widget) RenderIcon ¶
func (*Widget) SetAllocation ¶
func (v *Widget) SetAllocation(allocation *Allocation)
func (*Widget) SetAppPaintable ¶
func (*Widget) SetCanDefault ¶
func (*Widget) SetCanFocus ¶
func (*Widget) SetChildVisible ¶
func (*Widget) SetDoubleBuffered ¶
func (*Widget) SetHasTooltip ¶
func (*Widget) SetHasWindow ¶
func (*Widget) SetNoShowAll ¶
func (*Widget) SetParentWindow ¶
func (*Widget) SetReceivesDefault ¶
func (*Widget) SetRedrawOnAllocate ¶
func (*Widget) SetSensitive ¶
func (*Widget) SetSizeRequest ¶
func (*Widget) SetTooltipMarkup ¶
func (*Widget) SetTooltipText ¶
func (*Widget) SetTooltipWindow ¶
func (*Widget) SetVisible ¶
func (*Widget) StopEmission ¶
type Window ¶
type Window struct {
Bin
}
func NewWindow ¶
func NewWindow(t WindowType) *Window
func (*Window) ActivateDefault ¶
func (*Window) ActivateFocus ¶
func (*Window) AddAccelGroup ¶
func (v *Window) AddAccelGroup(agroup *AccelGroup)
func (*Window) Fullscreen ¶
func (v *Window) Fullscreen()
func (*Window) GetAcceptFocus ¶
func (*Window) GetDefaultSize ¶
func (*Window) GetDestroyWithParent ¶
func (*Window) GetIconName ¶
func (*Window) GetOpacity ¶
func (*Window) GetPosition ¶
func (*Window) GetResizable ¶
func (*Window) GetSkipTaskbarHint ¶
func (*Window) GetTypeHint ¶
func (v *Window) GetTypeHint() gdk.WindowTypeHint
func (*Window) HasToplevelFocus ¶
func (*Window) ListToplevels ¶
func (*Window) RemoveAccelGroup ¶
func (v *Window) RemoveAccelGroup(agroup *AccelGroup)
func (*Window) SetAcceptFocus ¶
func (*Window) SetAutoStartupNotification ¶
func (*Window) SetDecorated ¶
func (*Window) SetDefault ¶
func (*Window) SetDefaultSize ¶
func (*Window) SetDeletable ¶
func (*Window) SetDestroyWithParent ¶
func (*Window) SetGravity ¶
func (*Window) SetIcon ¶
gtk_window_set_default_icon_list gtk_window_set_default_icon gtk_window_set_default_icon_from_file gtk_window_set_default_icon_name
func (*Window) SetIconFromFile ¶
func (*Window) SetIconName ¶
func (*Window) SetKeepAbove ¶
func (*Window) SetKeepBelow ¶
func (*Window) SetOpacity ¶
func (*Window) SetPosition ¶
func (v *Window) SetPosition(position WindowPosition)
func (*Window) SetResizable ¶
func (*Window) SetSkipTaskbarHint ¶
func (*Window) SetTransientFor ¶
func (*Window) SetTypeHint ¶
func (v *Window) SetTypeHint(hint gdk.WindowTypeHint)
func (*Window) SetWMClass ¶
func (*Window) Unfullscreen ¶
func (v *Window) Unfullscreen()
func (*Window) Unmaximize ¶
func (v *Window) Unmaximize()
type WindowPosition ¶
type WindowPosition int
const ( WIN_POS_NONE WindowPosition = iota WIN_POS_CENTER WIN_POS_MOUSE WIN_POS_CENTER_ALWAYS WIN_POS_CENTER_ON_PARENT )
type WindowType ¶
type WindowType int
----------------------------------------------------------------------- GtkWindow -----------------------------------------------------------------------
const ( WINDOW_TOPLEVEL WindowType = iota WINDOW_POPUP )