go-gtk: github.com/mattn/go-gtk/gtk Index | Files

package gtk

import "github.com/mattn/go-gtk/gtk"

Go Bindings for Gtk+ 2. Support version 2.16 and later.

Index

Package Files

gtk.go

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)
)

func ABOUT_DIALOG Uses

func ABOUT_DIALOG(p *AboutDialog) *C.GtkAboutDialog

func ACCEL_LABEL Uses

func ACCEL_LABEL(p *AccelLabel) *C.GtkAccelLabel

func ACCESSIBLE Uses

func ACCESSIBLE(p *Accessible) *C.GtkAccessible

func ACTION Uses

func ACTION(p *Action) *C.GtkAction

func ACTION_GROUP Uses

func ACTION_GROUP(p *ActionGroup) *C.GtkActionGroup

func ACTIVATABLE Uses

func ACTIVATABLE(p *Activatable) *C.GtkActivatable

func ADJUSTMENT Uses

func ADJUSTMENT(p *Adjustment) *C.GtkAdjustment

func ALIGNMENT Uses

func ALIGNMENT(p *Alignment) *C.GtkAlignment

func ARROW Uses

func ARROW(p *Arrow) *C.GtkArrow

func ASSISTANT Uses

func ASSISTANT(p *Assistant) *C.GtkAssistant

func AS_GWIDGET Uses

func AS_GWIDGET(p unsafe.Pointer) *C.GtkWidget

func AcceleratorGetDefaultModMask Uses

func AcceleratorGetDefaultModMask() uint

func AcceleratorParse Uses

func AcceleratorParse(accelerator string) (uint, gdk.ModifierType)

Parse string representing an accelerator and return the key code and the modifier masks.

func BIN Uses

func BIN(p *Bin) *C.GtkBin

func BOX Uses

func BOX(p *Box) *C.GtkBox

func BUTTON Uses

func BUTTON(p *Button) *C.GtkButton

func CELL_RENDERER_TEXT Uses

func CELL_RENDERER_TEXT(p *CellRendererText) *C.GtkCellRendererText

func CELL_RENDERER_TOGGLE Uses

func CELL_RENDERER_TOGGLE(p *CellRendererToggle) *C.GtkCellRendererToggle

func CHECK_MENU_ITEM Uses

func CHECK_MENU_ITEM(p *CheckMenuItem) *C.GtkCheckMenuItem

func COLOR_BUTTON Uses

func COLOR_BUTTON(p *ColorButton) *C.GtkColorButton

func COMBO_BOX Uses

func COMBO_BOX(p *ComboBox) *C.GtkComboBox

func COMBO_BOX_ENTRY Uses

func COMBO_BOX_ENTRY(p *ComboBoxEntry) *C.GtkComboBoxEntry

func COMBO_BOX_TEXT Uses

func COMBO_BOX_TEXT(p *ComboBoxText) *C.GtkComboBoxText

func CONTAINER Uses

func CONTAINER(p *Container) *C.GtkContainer

func DIALOG Uses

func DIALOG(p *Dialog) *C.GtkDialog

func DRAWING_AREA Uses

func DRAWING_AREA(p *DrawingArea) *C.GtkDrawingArea

func ENTRY Uses

func ENTRY(p *Entry) *C.GtkEntry

func EXPANDER Uses

func EXPANDER(p *Expander) *C.GtkExpander

func EventsPending Uses

func EventsPending() bool

func FILE_CHOOSER Uses

func FILE_CHOOSER(p *Widget) *C.GtkFileChooser

func FIXED Uses

func FIXED(p *Fixed) *C.GtkFixed

func FONT_BUTTON Uses

func FONT_BUTTON(p *FontButton) *C.GtkFontButton

func FONT_SELECTION Uses

func FONT_SELECTION(p *FontSelection) *C.GtkFontSelection

func FONT_SELECTION_DIALOG Uses

func FONT_SELECTION_DIALOG(p *FontSelectionDialog) *C.GtkFontSelectionDialog

func FRAME Uses

func FRAME(p *Frame) *C.GtkFrame

func GetCurrentEventTime Uses

func GetCurrentEventTime() uint32

func ICON_VIEW Uses

func ICON_VIEW(p *IconView) *C.GtkIconView

func IMAGE Uses

func IMAGE(p *Image) *C.GtkImage

func IMAGE_MENU_ITEM Uses

func IMAGE_MENU_ITEM(p *ImageMenuItem) *C.GtkImageMenuItem

func INFO_BAR Uses

func INFO_BAR(p *InfoBar) *C.GtkInfoBar

func ITEM Uses

func ITEM(p *Item) *C.GtkItem

func Init Uses

func Init(args *[]string)

func LABEL Uses

func LABEL(p *Label) *C.GtkLabel

func LAYOUT Uses

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_BAR_SHELL(p *MenuBar) *C.GtkMenuShell
func MENU_ITEM(p *MenuItem) *C.GtkMenuItem
func MENU_SHELL(p *Menu) *C.GtkMenuShell
func MENU_TOOL_BUTTON(p *MenuToolButton) *C.GtkMenuToolButton

func MESSAGE_DIALOG Uses

func MESSAGE_DIALOG(p *MessageDialog) *C.GtkMessageDialog

func MISC Uses

func MISC(m *Misc) *C.GtkMisc

func Main Uses

func Main()

func MainIteration Uses

func MainIteration() bool

func MainIterationDo Uses

func MainIterationDo(blocking bool) bool

func MainQuit Uses

func MainQuit()

func NOTEBOOK Uses

func NOTEBOOK(p *Notebook) *C.GtkNotebook

func PANED Uses

func PANED(p *Paned) *C.GtkPaned

func PROGRESS_BAR Uses

func PROGRESS_BAR(p *ProgressBar) *C.GtkProgressBar

func RADIO_ACTION Uses

func RADIO_ACTION(p *RadioAction) *C.GtkRadioAction

func RADIO_BUTTON Uses

func RADIO_BUTTON(p *RadioButton) *C.GtkRadioButton

func RADIO_MENU_ITEM Uses

func RADIO_MENU_ITEM(p *RadioMenuItem) *C.GtkRadioMenuItem

func RANGE Uses

func RANGE(p *Range) *C.GtkRange

func RCParse Uses

func RCParse(file string)

func RCParseString Uses

func RCParseString(style string)

func RCReparseAll Uses

func RCReparseAll() bool

func RCResetStyles Uses

func RCResetStyles(settings *Settings)

func RECENT_ACTION Uses

func RECENT_ACTION(p *RecentAction) *C.GtkRecentAction

func SCALE Uses

func SCALE(p *Scale) *C.GtkScale

func SCALEBUTTON Uses

func SCALEBUTTON(p *ScaleButton) *C.GtkScaleButton

func SCROLLED_WINDOW Uses

func SCROLLED_WINDOW(p *ScrolledWindow) *C.GtkScrolledWindow

func SEPARATOR_TOOL_ITEM Uses

func SEPARATOR_TOOL_ITEM(p *SeparatorToolItem) *C.GtkSeparatorToolItem

func SPINNER Uses

func SPINNER(s *Spinner) *C.GtkSpinner

func SPIN_BUTTON Uses

func SPIN_BUTTON(p *SpinButton) *C.GtkSpinButton

func STATUSBAR Uses

func STATUSBAR(p *Statusbar) *C.GtkStatusbar

func STYLE Uses

func STYLE(p *Style) *C.GtkStyle

func SetLocale Uses

func SetLocale()

Deprecated since 2.24. Use setlocale() directly. (see http://developer.gnome.org/gtk/stable/gtk-General.html#gtk-set-locale)

func StatusIconPositionMenu Uses

func StatusIconPositionMenu(menu *Menu, px, py *int, push_in *bool, data interface{})

func StockListIDs Uses

func StockListIDs() *glib.SList

func StockLookup Uses

func StockLookup(stock_id string, item *StockItem) bool

func TABLE Uses

func TABLE(p *Table) *C.GtkTable

func TEXT_BUFFER Uses

func TEXT_BUFFER(p unsafe.Pointer) *C.GtkTextBuffer

func TEXT_TAG Uses

func TEXT_TAG(p unsafe.Pointer) *C.GtkTextTag

func TEXT_VIEW Uses

func TEXT_VIEW(p *TextView) *C.GtkTextView

func TOGGLE_ACTION Uses

func TOGGLE_ACTION(p *ToggleAction) *C.GtkToggleAction

func TOGGLE_BUTTON Uses

func TOGGLE_BUTTON(p *ToggleButton) *C.GtkToggleButton

func TOGGLE_TOOL_BUTTON Uses

func TOGGLE_TOOL_BUTTON(p *ToggleToolButton) *C.GtkToggleToolButton

func TOOLBAR Uses

func TOOLBAR(p *Toolbar) *C.GtkToolbar

func TOOL_BUTTON Uses

func TOOL_BUTTON(p *ToolButton) *C.GtkToolButton

func TOOL_ITEM Uses

func TOOL_ITEM(p *ToolItem) *C.GtkToolItem

func TOOL_ITEM_GROUP Uses

func TOOL_ITEM_GROUP(p *ToolItemGroup) *C.GtkToolItemGroup

func TOOL_PALETTE Uses

func TOOL_PALETTE(p *ToolPalette) *C.GtkToolPalette

func TREE_VIEW Uses

func TREE_VIEW(p *TreeView) *C.GtkTreeView

func ToNative Uses

func ToNative(w IWidget) *C.GtkWidget

func UI_MANAGER Uses

func UI_MANAGER(p *UIManager) *C.GtkUIManager

func VIEWPORT Uses

func VIEWPORT(p *Viewport) *C.GtkViewport

func WIDGET Uses

func WIDGET(p *Widget) *C.GtkWidget

func WINDOW Uses

func WINDOW(p *Window) *C.GtkWindow

type AboutDialog Uses

type AboutDialog struct {
    Dialog
}

----------------------------------------------------------------------- GtkAboutDialog -----------------------------------------------------------------------

func NewAboutDialog Uses

func NewAboutDialog() *AboutDialog

func (*AboutDialog) GetArtists Uses

func (v *AboutDialog) GetArtists() []string

func (*AboutDialog) GetAuthors Uses

func (v *AboutDialog) GetAuthors() []string

func (*AboutDialog) GetComments Uses

func (v *AboutDialog) GetComments() string

func (*AboutDialog) GetCopyright Uses

func (v *AboutDialog) GetCopyright() string

func (*AboutDialog) GetDocumenters Uses

func (v *AboutDialog) GetDocumenters() []string

func (*AboutDialog) GetLicense Uses

func (v *AboutDialog) GetLicense() string
func (v *AboutDialog) GetLogo() *gdkpixbuf.Pixbuf

func (*AboutDialog) GetLogoIconName Uses

func (v *AboutDialog) GetLogoIconName() string

func (*AboutDialog) GetProgramName Uses

func (v *AboutDialog) GetProgramName() string

func (*AboutDialog) GetTranslatorCredits Uses

func (v *AboutDialog) GetTranslatorCredits() string

func (*AboutDialog) GetVersion Uses

func (v *AboutDialog) GetVersion() string

func (*AboutDialog) GetWebsite Uses

func (v *AboutDialog) GetWebsite() string

func (*AboutDialog) GetWebsiteLabel Uses

func (v *AboutDialog) GetWebsiteLabel() string

func (*AboutDialog) GetWrapLicense Uses

func (v *AboutDialog) GetWrapLicense() bool

func (*AboutDialog) SetArtists Uses

func (v *AboutDialog) SetArtists(artists []string)

func (*AboutDialog) SetAuthors Uses

func (v *AboutDialog) SetAuthors(authors []string)

func (*AboutDialog) SetComments Uses

func (v *AboutDialog) SetComments(comments string)

func (*AboutDialog) SetCopyright Uses

func (v *AboutDialog) SetCopyright(copyright string)

func (*AboutDialog) SetDocumenters Uses

func (v *AboutDialog) SetDocumenters(documenters []string)

func (*AboutDialog) SetLicense Uses

func (v *AboutDialog) SetLicense(license string)
func (v *AboutDialog) SetLogo(logo *gdkpixbuf.Pixbuf)

func (*AboutDialog) SetLogoIconName Uses

func (v *AboutDialog) SetLogoIconName(icon_name string)

func (*AboutDialog) SetProgramName Uses

func (v *AboutDialog) SetProgramName(name string)

func (*AboutDialog) SetTranslatorCredits Uses

func (v *AboutDialog) SetTranslatorCredits(translator_credits string)

func (*AboutDialog) SetVersion Uses

func (v *AboutDialog) SetVersion(version string)

func (*AboutDialog) SetWebsite Uses

func (v *AboutDialog) SetWebsite(website string)

func (*AboutDialog) SetWebsiteLabel Uses

func (v *AboutDialog) SetWebsiteLabel(website_label string)

func (*AboutDialog) SetWrapLicense Uses

func (v *AboutDialog) SetWrapLicense(wrap_license bool)

type AccelFlags Uses

type AccelFlags int
const (
    ACCEL_VISIBLE AccelFlags = 1 << iota
    ACCEL_LOCKED
    ACCEL_MASK = 0x07
)

type AccelGroup Uses

type AccelGroup struct {
    GAccelGroup *C.GtkAccelGroup
}

----------------------------------------------------------------------- GtkAccelGroup -----------------------------------------------------------------------

func NewAccelGroup Uses

func NewAccelGroup() *AccelGroup

type AccelLabel Uses

type AccelLabel struct {
    Widget
}

----------------------------------------------------------------------- GtkAccelLabel ----------------------------------------------------------------------- type IAccelLabel interface {

IWidget
GetAccelWidget() GtkWidget
SetAccelWidget(GtkWidget)

}

func NewAccelLabel Uses

func NewAccelLabel(label string) *AccelLabel

func (*AccelLabel) GetAccelWidget Uses

func (v *AccelLabel) GetAccelWidget() Widget

func (*AccelLabel) GetAccelWidth Uses

func (v *AccelLabel) GetAccelWidth() uint

func (*AccelLabel) Refetch Uses

func (v *AccelLabel) Refetch() bool

func (*AccelLabel) SetAccelWidget Uses

func (v *AccelLabel) SetAccelWidget(w IWidget)

type Accessible Uses

type Accessible struct {
    glib.GObject
}

----------------------------------------------------------------------- GtkAccessible -----------------------------------------------------------------------

func (*Accessible) ConnectWidgetDestroyed Uses

func (v *Accessible) ConnectWidgetDestroyed()

func (*Accessible) GetWidget Uses

func (v *Accessible) GetWidget() *Widget

func (*Accessible) SetWidget Uses

func (v *Accessible) SetWidget(w IWidget)

type Action Uses

type Action struct {
    glib.GObject
}

func NewAction Uses

func NewAction(name string, label string, tooltip string, stock_id string) *Action

func (*Action) Activate Uses

func (v *Action) Activate()

func (*Action) BlockActivate Uses

func (v *Action) BlockActivate()

func (*Action) BlockActivateFrom Uses

func (v *Action) BlockActivateFrom(proxy *Widget)

func (*Action) ConnectAccelerator Uses

func (v *Action) ConnectAccelerator()

func (*Action) ConnectProxy Uses

func (v *Action) ConnectProxy(proxy *Widget)

func (*Action) CreateIcon Uses

func (v *Action) CreateIcon(icon_size IconSize) *Widget

func (*Action) CreateMenu Uses

func (v *Action) CreateMenu() *Widget

func (*Action) CreateMenuItem Uses

func (v *Action) CreateMenuItem() *Widget

func (*Action) CreateToolItem Uses

func (v *Action) CreateToolItem() *Widget

func (*Action) DisconnectAccelerator Uses

func (v *Action) DisconnectAccelerator()

func (*Action) DisconnectProxy Uses

func (v *Action) DisconnectProxy(proxy *Widget)

func (*Action) GetAccelPath Uses

func (v *Action) GetAccelPath() string

func (*Action) GetAlwaysShowImage Uses

func (v *Action) GetAlwaysShowImage() bool

func (*Action) GetIconName Uses

func (v *Action) GetIconName() string

func (*Action) GetIsImportant Uses

func (v *Action) GetIsImportant() bool

func (*Action) GetLabel Uses

func (v *Action) GetLabel() string

func (*Action) GetName Uses

func (v *Action) GetName() string

func (*Action) GetProxies Uses

func (v *Action) GetProxies() *glib.SList

func (*Action) GetSensitive Uses

func (v *Action) GetSensitive() bool

func (*Action) GetShortLabel Uses

func (v *Action) GetShortLabel() string

func (*Action) GetStockId Uses

func (v *Action) GetStockId() string

func (*Action) GetTooltip Uses

func (v *Action) GetTooltip() string

func (*Action) GetVisible Uses

func (v *Action) GetVisible() bool

func (*Action) GetVisibleHorizontal Uses

func (v *Action) GetVisibleHorizontal() bool

func (*Action) GetVisibleVertical Uses

func (v *Action) GetVisibleVertical() bool

func (*Action) IsSensitive Uses

func (v *Action) IsSensitive() bool

func (*Action) IsVisible Uses

func (v *Action) IsVisible() bool

func (*Action) SetAccelGroup Uses

func (v *Action) SetAccelGroup(accel_group *AccelGroup)

func (*Action) SetAccelPath Uses

func (v *Action) SetAccelPath(accel_path string)

func (*Action) SetAlwaysShowImage Uses

func (v *Action) SetAlwaysShowImage(always_show bool)

func (*Action) SetIconName Uses

func (v *Action) SetIconName(icon_name string)

func (*Action) SetIsImportant Uses

func (v *Action) SetIsImportant(is_important bool)

func (*Action) SetLable Uses

func (v *Action) SetLable(label string)

func (*Action) SetSensitive Uses

func (v *Action) SetSensitive(sensitive bool)

func (*Action) SetShortLabel Uses

func (v *Action) SetShortLabel(short_label string)

func (*Action) SetStockId Uses

func (v *Action) SetStockId(stock_id string)

func (*Action) SetTooltip Uses

func (v *Action) SetTooltip(tooltip string)

func (*Action) SetVisible Uses

func (v *Action) SetVisible(visible bool)

func (*Action) SetVisibleHorizontal Uses

func (v *Action) SetVisibleHorizontal(visible_horizontal bool)

func (*Action) SetVisibleVertical Uses

func (v *Action) SetVisibleVertical(visible_vertical bool)

func (*Action) UnblockActivate Uses

func (v *Action) UnblockActivate()

func (*Action) UnblockActivateFrom Uses

func (v *Action) UnblockActivateFrom(proxy *Widget)

type ActionGroup Uses

type ActionGroup struct {
    glib.GObject
}

func NewActionGroup Uses

func NewActionGroup(name string) *ActionGroup

func (*ActionGroup) AddAction Uses

func (v *ActionGroup) AddAction(action interface{})

func (*ActionGroup) AddActionWithAccel Uses

func (v *ActionGroup) AddActionWithAccel(action *Action, accelerator string)

func (*ActionGroup) GetAction Uses

func (v *ActionGroup) GetAction(action_name string) *Action

func (*ActionGroup) GetName Uses

func (v *ActionGroup) GetName() string

func (*ActionGroup) GetSensitive Uses

func (v *ActionGroup) GetSensitive() bool

func (*ActionGroup) GetVisible Uses

func (v *ActionGroup) GetVisible() bool

func (*ActionGroup) ListActions Uses

func (v *ActionGroup) ListActions() *glib.List

func (*ActionGroup) RemoveAction Uses

func (v *ActionGroup) RemoveAction(action *Action)

func (*ActionGroup) SetSensitive Uses

func (v *ActionGroup) SetSensitive(sensitive bool)

func (*ActionGroup) SetVisible Uses

func (v *ActionGroup) SetVisible(visible bool)

type Activatable Uses

type Activatable struct {
    GWidget *C.GtkWidget
}

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 Uses

func (v *Activatable) GetRelatedAction() *Action

func (*Activatable) GetUseActionAppearance Uses

func (v *Activatable) GetUseActionAppearance() bool

func (*Activatable) SetRelatedAction Uses

func (v *Activatable) SetRelatedAction(action *Action)

func (*Activatable) SetUseActionAppearance Uses

func (v *Activatable) SetUseActionAppearance(use_appearance bool)

type Adjustment Uses

type Adjustment struct {
    GAdjustment *C.GtkAdjustment
}

----------------------------------------------------------------------- GtkAdjustment -----------------------------------------------------------------------

func NewAdjustment Uses

func NewAdjustment(value, lower, upper, step_increment, page_increment, page_size float64) *Adjustment

func (*Adjustment) Configure Uses

func (v *Adjustment) Configure(value, lower, upper, step_increment, page_increment, page_size float64)

func (*Adjustment) Connect Uses

func (v *Adjustment) Connect(s string, f interface{}, datas ...interface{}) int

func (*Adjustment) GetLower Uses

func (v *Adjustment) GetLower() float64

func (*Adjustment) GetPageIncrement Uses

func (v *Adjustment) GetPageIncrement() float64

func (*Adjustment) GetPageSize Uses

func (v *Adjustment) GetPageSize() float64

func (*Adjustment) GetStepIncrement Uses

func (v *Adjustment) GetStepIncrement() float64

func (*Adjustment) GetUpper Uses

func (v *Adjustment) GetUpper() float64

func (*Adjustment) GetValue Uses

func (v *Adjustment) GetValue() float64

func (*Adjustment) SetLower Uses

func (v *Adjustment) SetLower(lower float64)

func (*Adjustment) SetPageIncrement Uses

func (v *Adjustment) SetPageIncrement(page_increment float64)

func (*Adjustment) SetPageSize Uses

func (v *Adjustment) SetPageSize(page_size float64)

func (*Adjustment) SetStepIncrement Uses

func (v *Adjustment) SetStepIncrement(step_increment float64)

func (*Adjustment) SetUpper Uses

func (v *Adjustment) SetUpper(upper float64)

func (*Adjustment) SetValue Uses

func (v *Adjustment) SetValue(value float64)

type Alignment Uses

type Alignment struct {
    Bin
}

----------------------------------------------------------------------- GtkAlignment -----------------------------------------------------------------------

func NewAlignment Uses

func NewAlignment(xalign float64, yalign float64, xscale float64, yscale float64) *Alignment

func (*Alignment) GetPadding Uses

func (v *Alignment) GetPadding() (padding_top uint, padding_bottom uint, padding_left uint, padding_right uint)

func (*Alignment) Set Uses

func (v *Alignment) Set(xalign float64, yalign float64, xscale float64, yscale float64)

func (*Alignment) SetPadding Uses

func (v *Alignment) SetPadding(padding_top uint, padding_bottom uint, padding_left uint, padding_right uint)

type Allocation Uses

type Allocation gdk.Rectangle

----------------------------------------------------------------------- GtkWidget -----------------------------------------------------------------------

type Arrow Uses

type Arrow struct {
    Widget
}

func NewArrow Uses

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 Uses

func (a *Arrow) Set(at ArrowType, st ShadowType)

Change the arrows direction and shadow.

type ArrowType Uses

type ArrowType int
const (
    ARROW_UP ArrowType = iota
    ARROW_DOWN
    ARROW_LEFT
    ARROW_RIGHT
    ARROW_NONE
)

type Assistant Uses

type Assistant struct {
    Widget
}

func NewAssistant Uses

func NewAssistant() *Assistant

func (*Assistant) AddActionWidget Uses

func (v *Assistant) AddActionWidget(child IWidget)

func (*Assistant) AppendPage Uses

func (v *Assistant) AppendPage(page IWidget) int

func (*Assistant) GetCurrentPage Uses

func (v *Assistant) GetCurrentPage() int

func (*Assistant) GetNPages Uses

func (v *Assistant) GetNPages() int

func (*Assistant) GetNthPage Uses

func (v *Assistant) GetNthPage(page_num int) *Widget

func (*Assistant) GetPageComplete Uses

func (v *Assistant) GetPageComplete(page IWidget) bool

func (*Assistant) GetPageHeaderImage Uses

func (v *Assistant) GetPageHeaderImage(page IWidget) *gdkpixbuf.Pixbuf

func (*Assistant) GetPageSideImage Uses

func (v *Assistant) GetPageSideImage(page IWidget) *gdkpixbuf.Pixbuf

func (*Assistant) GetPageTitle Uses

func (v *Assistant) GetPageTitle(page IWidget) string

func (*Assistant) GetPageType Uses

func (v *Assistant) GetPageType(page IWidget) AssistantPageType

func (*Assistant) InsertPage Uses

func (v *Assistant) InsertPage(page IWidget, position int) int

func (*Assistant) PrependPage Uses

func (v *Assistant) PrependPage(page IWidget) int

func (*Assistant) RemoveActionWidget Uses

func (v *Assistant) RemoveActionWidget(child IWidget)

func (*Assistant) SetCurrentPage Uses

func (v *Assistant) SetCurrentPage(page_num int)

func (*Assistant) SetPageComplete Uses

func (v *Assistant) SetPageComplete(page IWidget, complete bool)

func (*Assistant) SetPageHeaderImage Uses

func (v *Assistant) SetPageHeaderImage(page IWidget, pixbuf *gdkpixbuf.Pixbuf)

func (*Assistant) SetPageSideImage Uses

func (v *Assistant) SetPageSideImage(page IWidget, pixbuf *gdkpixbuf.Pixbuf)

func (*Assistant) SetPageTitle Uses

func (v *Assistant) SetPageTitle(page IWidget, title string)

func (*Assistant) SetPageType Uses

func (v *Assistant) SetPageType(page IWidget, t AssistantPageType)

func (*Assistant) UpdateButtonsState Uses

func (v *Assistant) UpdateButtonsState()

type AssistantPageType Uses

type AssistantPageType int

----------------------------------------------------------------------- GtkAssistant -----------------------------------------------------------------------

const (
    ASSISTANT_PAGE_CONTENT AssistantPageType = iota
    ASSISTANT_PAGE_INTRO
    ASSISTANT_PAGE_CONFIRM
    ASSISTANT_PAGE_SUMMARY
    ASSISTANT_PAGE_PROGRESS
)

type AttachOptions Uses

type AttachOptions int

----------------------------------------------------------------------- GtkTable -----------------------------------------------------------------------

const (
    EXPAND AttachOptions = 1 << iota
    SHRINK
    FILL
)

type Bin Uses

type Bin struct {
    Container
}

----------------------------------------------------------------------- GtkBin -----------------------------------------------------------------------

func (*Bin) GetChild Uses

func (v *Bin) GetChild() *Widget

type Box Uses

type Box struct {
    Container
}

func (*Box) GetHomogeneous Uses

func (v *Box) GetHomogeneous() bool

func (*Box) GetSpacing Uses

func (v *Box) GetSpacing() int

func (*Box) PackEnd Uses

func (v *Box) PackEnd(child IWidget, expand bool, fill bool, padding uint)

func (*Box) PackEndDefaults Uses

func (v *Box) PackEndDefaults(child IWidget)

Deprecated since 2.14. Use PackEnd() instead.

func (*Box) PackStart Uses

func (v *Box) PackStart(child IWidget, expand bool, fill bool, padding uint)

func (*Box) PackStartDefaults Uses

func (v *Box) PackStartDefaults(child IWidget)

Deprecated since 2.14. Use PackStart() instead.

func (*Box) QueryChildPacking Uses

func (v *Box) QueryChildPacking(child IWidget, expand *bool, fill *bool, padding *uint, pack_type *PackType)

func (*Box) ReorderChild Uses

func (v *Box) ReorderChild(child IWidget, position int)

func (*Box) SetChildPacking Uses

func (v *Box) SetChildPacking(child IWidget, expand, fill bool, padding uint, pack_type PackType)

func (*Box) SetHomogeneous Uses

func (v *Box) SetHomogeneous(homogeneous bool)

func (*Box) SetSpacing Uses

func (v *Box) SetSpacing(spacing int)

type Builder Uses

type Builder struct {
    GBuilder *C.GtkBuilder
}

----------------------------------------------------------------------- GtkBuilder -----------------------------------------------------------------------

func NewBuilder Uses

func NewBuilder() *Builder

func (*Builder) AddFromFile Uses

func (v *Builder) AddFromFile(filename string) (ret uint, error *glib.Error)

func (*Builder) AddFromString Uses

func (v *Builder) AddFromString(buffer string) (ret uint, error *glib.Error)

func (*Builder) ConnectSignals Uses

func (v *Builder) ConnectSignals(user_data interface{})

func (*Builder) ConnectSignalsFull Uses

func (v *Builder) ConnectSignalsFull(f BuilderConnectFunc, user_data interface{})

func (*Builder) GetObject Uses

func (v *Builder) GetObject(name string) *glib.GObject

func (*Builder) GetObjects Uses

func (v *Builder) GetObjects() *glib.SList

func (*Builder) GetTranslationDomain Uses

func (v *Builder) GetTranslationDomain() string

func (*Builder) GetTypeFromName Uses

func (v *Builder) GetTypeFromName(type_name string) int

func (*Builder) SetTranslationDomain Uses

func (v *Builder) SetTranslationDomain(domain string)

type BuilderConnectFunc Uses

type BuilderConnectFunc func(builder *Builder, obj *glib.GObject, sig, handler string, conn *glib.GObject, flags glib.ConnectFlags, user_data interface{})

type BuilderConnectInfo Uses

type BuilderConnectInfo struct {
    // contains filtered or unexported fields
}

type Button Uses

type Button struct {
    Bin
    Activatable // implement GtkActivatable interface
}

func NewButton Uses

func NewButton() *Button

func NewButtonFromStock Uses

func NewButtonFromStock(stock_id string) *Button

func NewButtonWithLabel Uses

func NewButtonWithLabel(label string) *Button

func NewButtonWithMnemonic Uses

func NewButtonWithMnemonic(label string) *Button

func (*Button) Clicked Uses

func (v *Button) Clicked(onclick interface{}, datas ...interface{}) int

func (*Button) Enter Uses

func (v *Button) Enter()

func (*Button) GetAlignment Uses

func (v *Button) GetAlignment() (xalign, yalign float64)

func (*Button) GetEventWindow Uses

func (v *Button) GetEventWindow() *gdk.Window

func (*Button) GetFocusOnClick Uses

func (v *Button) GetFocusOnClick() bool

func (*Button) GetImage Uses

func (v *Button) GetImage() *Image

func (*Button) GetImagePosition Uses

func (v *Button) GetImagePosition() PositionType

func (*Button) GetLabel Uses

func (v *Button) GetLabel() string

func (*Button) GetRelief Uses

func (v *Button) GetRelief() ReliefStyle

func (*Button) GetUseStock Uses

func (v *Button) GetUseStock() bool

func (*Button) GetUseUnderline Uses

func (v *Button) GetUseUnderline() bool

func (*Button) Leave Uses

func (v *Button) Leave()

func (*Button) Pressed Uses

func (v *Button) Pressed()

func (*Button) Released Uses

func (v *Button) Released()

func (*Button) SetAlignment Uses

func (v *Button) SetAlignment(xalign, yalign float64)

func (*Button) SetFocusOnClick Uses

func (v *Button) SetFocusOnClick(setting bool)

func (*Button) SetImage Uses

func (v *Button) SetImage(image IWidget)

func (*Button) SetImagePosition Uses

func (v *Button) SetImagePosition(pos PositionType)

func (*Button) SetLabel Uses

func (v *Button) SetLabel(label string)

func (*Button) SetRelief Uses

func (v *Button) SetRelief(relief ReliefStyle)

func (*Button) SetUseStock Uses

func (v *Button) SetUseStock(use bool)

func (*Button) SetUseUnderline Uses

func (v *Button) SetUseUnderline(setting bool)

type ButtonsType Uses

type ButtonsType int
const (
    BUTTONS_NONE ButtonsType = iota
    BUTTONS_OK
    BUTTONS_CLOSE
    BUTTONS_CANCEL
    BUTTONS_YES_NO
    BUTTONS_OK_CANCEL
)

type CellRenderer Uses

type CellRenderer struct {
    GCellRenderer *C.GtkCellRenderer
    ICellRenderer
}

func (*CellRenderer) Connect Uses

func (v *CellRenderer) Connect(s string, f interface{}, datas ...interface{}) int

func (*CellRenderer) ToCellRenderer Uses

func (v *CellRenderer) ToCellRenderer() *C.GtkCellRenderer

type CellRendererAccel Uses

type CellRendererAccel struct {
    CellRenderer
}

----------------------------------------------------------------------- GtkCellRendererAccel -----------------------------------------------------------------------

func NewCellRendererAccel Uses

func NewCellRendererAccel() *CellRendererAccel

type CellRendererCombo Uses

type CellRendererCombo struct {
    CellRenderer
}

----------------------------------------------------------------------- GtkCellRendererCombo -----------------------------------------------------------------------

func NewCellRendererCombo Uses

func NewCellRendererCombo() *CellRendererCombo

type CellRendererPixbuf Uses

type CellRendererPixbuf struct {
    CellRenderer
}

----------------------------------------------------------------------- GtkCellRendererPixbuf -----------------------------------------------------------------------

func NewCellRendererPixbuf Uses

func NewCellRendererPixbuf() *CellRendererPixbuf

type CellRendererProgress Uses

type CellRendererProgress struct {
    CellRenderer
}

----------------------------------------------------------------------- GtkCellRendererProgress -----------------------------------------------------------------------

func NewCellRendererProgress Uses

func NewCellRendererProgress() *CellRendererProgress

type CellRendererSpin Uses

type CellRendererSpin struct {
    CellRenderer
}

----------------------------------------------------------------------- GtkCellRendererSpin -----------------------------------------------------------------------

func NewCellRendererSpin Uses

func NewCellRendererSpin() *CellRendererSpin

type CellRendererSpinner Uses

type CellRendererSpinner struct {
    CellRenderer
}

----------------------------------------------------------------------- GtkCellRendererSpinner -----------------------------------------------------------------------

func NewCellRendererSpinner Uses

func NewCellRendererSpinner() *CellRendererSpinner

type CellRendererText Uses

type CellRendererText struct {
    CellRenderer
}

----------------------------------------------------------------------- GtkCellRendererText -----------------------------------------------------------------------

func NewCellRendererText Uses

func NewCellRendererText() *CellRendererText

func (*CellRendererText) SetFixedHeightFromFont Uses

func (v *CellRendererText) SetFixedHeightFromFont(number_of_rows int)

type CellRendererToggle Uses

type CellRendererToggle struct {
    CellRenderer
}

----------------------------------------------------------------------- GtkCellRendererToggle -----------------------------------------------------------------------

func NewCellRendererToggle Uses

func NewCellRendererToggle() *CellRendererToggle

func (*CellRendererToggle) GetActivatable Uses

func (v *CellRendererToggle) GetActivatable() bool

func (*CellRendererToggle) GetActive Uses

func (v *CellRendererToggle) GetActive() bool

func (*CellRendererToggle) GetRadio Uses

func (v *CellRendererToggle) GetRadio() bool

func (*CellRendererToggle) SetActivatable Uses

func (v *CellRendererToggle) SetActivatable(activatable bool)

func (*CellRendererToggle) SetActive Uses

func (v *CellRendererToggle) SetActive(active bool)

func (*CellRendererToggle) SetRadio Uses

func (v *CellRendererToggle) SetRadio(radio bool)

type CheckButton Uses

type CheckButton struct {
    ToggleButton
}

----------------------------------------------------------------------- GtkCheckButton -----------------------------------------------------------------------

func NewCheckButton Uses

func NewCheckButton() *CheckButton

func NewCheckButtonWithLabel Uses

func NewCheckButtonWithLabel(label string) *CheckButton

func NewCheckButtonWithMnemonic Uses

func NewCheckButtonWithMnemonic(label string) *CheckButton

type CheckMenuItem Uses

type CheckMenuItem struct {
    MenuItem
}

----------------------------------------------------------------------- GtkCheckMenuItem -----------------------------------------------------------------------

func NewCheckMenuItem Uses

func NewCheckMenuItem() *CheckMenuItem

func NewCheckMenuItemWithLabel Uses

func NewCheckMenuItemWithLabel(label string) *CheckMenuItem

func NewCheckMenuItemWithMnemonic Uses

func NewCheckMenuItemWithMnemonic(label string) *CheckMenuItem

func (*CheckMenuItem) GetActive Uses

func (v *CheckMenuItem) GetActive() bool

func (*CheckMenuItem) GetDrawAsRadio Uses

func (v *CheckMenuItem) GetDrawAsRadio() bool

func (*CheckMenuItem) GetInconsistent Uses

func (v *CheckMenuItem) GetInconsistent() bool

func (*CheckMenuItem) SetActive Uses

func (v *CheckMenuItem) SetActive(setting bool)

func (*CheckMenuItem) SetDrawAsRadio Uses

func (v *CheckMenuItem) SetDrawAsRadio(setting bool)

func (*CheckMenuItem) SetInconsistent Uses

func (v *CheckMenuItem) SetInconsistent(setting bool)

func (*CheckMenuItem) Toggled Uses

func (v *CheckMenuItem) Toggled()

type Clipboard Uses

type Clipboard struct {
    GClipboard *C.GtkClipboard
}

----------------------------------------------------------------------- GtkClipboard -----------------------------------------------------------------------

func NewClipboardGetForDisplay Uses

func NewClipboardGetForDisplay(display *gdk.Display, selection gdk.Atom) *Clipboard

func (*Clipboard) Clear Uses

func (v *Clipboard) Clear()

func (*Clipboard) Connect Uses

func (v *Clipboard) Connect(s string, f interface{}, datas ...interface{}) int

func (*Clipboard) SetImage Uses

func (v *Clipboard) SetImage(pixbuf *gdkpixbuf.Pixbuf)

func (*Clipboard) SetText Uses

func (v *Clipboard) SetText(text string)

func (*Clipboard) Store Uses

func (v *Clipboard) Store()

func (*Clipboard) WaitForContents Uses

func (v *Clipboard) WaitForContents(target gdk.Atom) *SelectionData

func (*Clipboard) WaitForImage Uses

func (v *Clipboard) WaitForImage() *gdkpixbuf.Pixbuf

func (*Clipboard) WaitForText Uses

func (v *Clipboard) WaitForText() string

type ColorButton Uses

type ColorButton struct {
    Button
}

func NewColorButton Uses

func NewColorButton() *ColorButton

func NewColorButtonWithColor Uses

func NewColorButtonWithColor(color *gdk.Color) *ColorButton

func (*ColorButton) GetAlpha Uses

func (v *ColorButton) GetAlpha() uint16

func (*ColorButton) GetColor Uses

func (v *ColorButton) GetColor() *gdk.Color

func (*ColorButton) GetTitle Uses

func (v *ColorButton) GetTitle() string

func (*ColorButton) GetUseAlpha Uses

func (v *ColorButton) GetUseAlpha() bool

func (*ColorButton) SetAlpha Uses

func (v *ColorButton) SetAlpha(alpha uint16)

func (*ColorButton) SetColor Uses

func (v *ColorButton) SetColor(color *gdk.Color)

func (*ColorButton) SetTitle Uses

func (v *ColorButton) SetTitle(title string)

func (*ColorButton) SetUseAlpha Uses

func (v *ColorButton) SetUseAlpha(use_alpha bool)

type ComboBox Uses

type ComboBox struct {
    Bin
}

----------------------------------------------------------------------- GtkComboBox -----------------------------------------------------------------------

func NewComboBox Uses

func NewComboBox() *ComboBox

func NewComboBoxNewText Uses

func NewComboBoxNewText() *ComboBox

Deprecated since 2.24. Use GtkComboBoxText.

func NewComboBoxWithEntry Uses

func NewComboBoxWithEntry() *ComboBox

func NewComboBoxWithModel Uses

func NewComboBoxWithModel(model *TreeModel) *ComboBox

func NewComboBoxWithModelAndEntry Uses

func NewComboBoxWithModelAndEntry(model *TreeModel) *ComboBox

func (*ComboBox) AppendText Uses

func (v *ComboBox) AppendText(text string)

Deprecated since 2.24. Use GtkComboBoxText.

func (*ComboBox) GetActive Uses

func (v *ComboBox) GetActive() int

func (*ComboBox) GetActiveIter Uses

func (v *ComboBox) GetActiveIter(iter *TreeIter) bool

func (*ComboBox) GetActiveText Uses

func (v *ComboBox) GetActiveText() string

Deprecated since 2.24. Use GtkComboBoxText or, if combo box contains an entry, get text directly from GtkEntry.

func (*ComboBox) GetAddTearoffs Uses

func (v *ComboBox) GetAddTearoffs() bool

func (*ComboBox) GetColumnSpanColumn Uses

func (v *ComboBox) GetColumnSpanColumn() int

func (*ComboBox) GetFocusOnClick Uses

func (v *ComboBox) GetFocusOnClick() bool

func (*ComboBox) GetModel Uses

func (v *ComboBox) GetModel() *TreeModel

func (*ComboBox) GetRowSpanColumn Uses

func (v *ComboBox) GetRowSpanColumn() int

func (*ComboBox) GetTitle Uses

func (v *ComboBox) GetTitle() string

func (*ComboBox) GetWrapWidth Uses

func (v *ComboBox) GetWrapWidth() int

func (*ComboBox) InsertText Uses

func (v *ComboBox) InsertText(text string, position int)

Deprecated since 2.24. Use GtkComboBoxText.

func (*ComboBox) Popdown Uses

func (v *ComboBox) Popdown()

func (*ComboBox) Popup Uses

func (v *ComboBox) Popup()

func (*ComboBox) PrependText Uses

func (v *ComboBox) PrependText(text string)

Deprecated since 2.24. Use GtkComboBoxText.

func (*ComboBox) RemoveText Uses

func (v *ComboBox) RemoveText(position int)

Deprecated since 2.24. Use GtkComboBoxText.

func (*ComboBox) SetActive Uses

func (v *ComboBox) SetActive(width int)

func (*ComboBox) SetActiveIter Uses

func (v *ComboBox) SetActiveIter(iter *TreeIter)

func (*ComboBox) SetAddTearoffs Uses

func (v *ComboBox) SetAddTearoffs(add_tearoffs bool)

func (*ComboBox) SetColumnSpanColumn Uses

func (v *ComboBox) SetColumnSpanColumn(column_span int)

func (*ComboBox) SetFocusOnClick Uses

func (v *ComboBox) SetFocusOnClick(focus_on_click bool)

func (*ComboBox) SetModel Uses

func (v *ComboBox) SetModel(model *TreeModel)

func (*ComboBox) SetRowSpanColumn Uses

func (v *ComboBox) SetRowSpanColumn(row_span int)

func (*ComboBox) SetTitle Uses

func (v *ComboBox) SetTitle(title string)

func (*ComboBox) SetWrapWidth Uses

func (v *ComboBox) SetWrapWidth(width int)

type ComboBoxEntry Uses

type ComboBoxEntry struct {
    ComboBox
}

----------------------------------------------------------------------- GtkComboBoxEntry -----------------------------------------------------------------------

func NewComboBoxEntry Uses

func NewComboBoxEntry() *ComboBoxEntry

func NewComboBoxEntryNewText Uses

func NewComboBoxEntryNewText() *ComboBoxEntry

func (*ComboBoxEntry) GetTextColumn Uses

func (v *ComboBoxEntry) GetTextColumn() int

func (*ComboBoxEntry) SetTextColumn Uses

func (v *ComboBoxEntry) SetTextColumn(text_column int)

type ComboBoxText Uses

type ComboBoxText struct {
    ComboBox
}

----------------------------------------------------------------------- GtkComboBoxText -----------------------------------------------------------------------

func NewComboBoxText Uses

func NewComboBoxText() *ComboBoxText

func NewComboBoxTextWithEntry Uses

func NewComboBoxTextWithEntry() *ComboBoxText

func (*ComboBoxText) AppendText Uses

func (v *ComboBoxText) AppendText(text string)

func (*ComboBoxText) GetActiveText Uses

func (v *ComboBoxText) GetActiveText() string

func (*ComboBoxText) InsertText Uses

func (v *ComboBoxText) InsertText(position int, text string)

func (*ComboBoxText) PrependText Uses

func (v *ComboBoxText) PrependText(text string)

func (*ComboBoxText) Remove Uses

func (v *ComboBoxText) Remove(position int)

type Container Uses

type Container struct {
    Widget
}

func (*Container) Add Uses

func (v *Container) Add(w IWidget)

func (*Container) CheckResize Uses

func (v *Container) CheckResize()

func (*Container) ChildSet Uses

func (v *Container) ChildSet(w IWidget, propName string, value interface{})

func (*Container) GetBorderWidth Uses

func (v *Container) GetBorderWidth() uint

func (*Container) GetChildren Uses

func (v *Container) GetChildren() *glib.List

func (*Container) GetFocusChild Uses

func (v *Container) GetFocusChild() *Widget

func (*Container) GetFocusHAdjustment Uses

func (v *Container) GetFocusHAdjustment() *Adjustment

func (*Container) GetFocusVAdjustment Uses

func (v *Container) GetFocusVAdjustment() *Adjustment

func (*Container) GetResizeMode Uses

func (v *Container) GetResizeMode() ResizeMode

gtk_container_add_with_properties

func (*Container) Remove Uses

func (v *Container) Remove(w IWidget)

func (*Container) SetBorderWidth Uses

func (v *Container) SetBorderWidth(border_width uint)

func (*Container) SetFocusChild Uses

func (v *Container) SetFocusChild(child *Widget)

func (*Container) SetFocusHAdjustment Uses

func (v *Container) SetFocusHAdjustment(adjustment *Adjustment)

func (*Container) SetFocusVAdjustment Uses

func (v *Container) SetFocusVAdjustment(adjustment *Adjustment)

func (*Container) SetReallocateRedraws Uses

func (v *Container) SetReallocateRedraws(redraws bool)

func (*Container) SetResizeMode Uses

func (v *Container) SetResizeMode(resize_mode ResizeMode)

type CornerType Uses

type CornerType int
const (
    CORNER_TOP_LEFT CornerType = iota
    CORNER_BOTTOM_LEFT
    CORNER_TOP_RIGHT
    CORNER_BOTTOM_RIGHT
)

type DestDefaults Uses

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 Uses

type Dialog struct {
    Window
    // contains filtered or unexported fields
}

func NewDialog Uses

func NewDialog() *Dialog

func (*Dialog) AddButton Uses

func (v *Dialog) AddButton(button_text string, response_id ResponseType) *Button

func (*Dialog) GetResponseForWidget Uses

func (v *Dialog) GetResponseForWidget(w *Widget) ResponseType

func (*Dialog) GetVBox Uses

func (v *Dialog) GetVBox() *VBox

func (*Dialog) GetWidgetForResponse Uses

func (v *Dialog) GetWidgetForResponse(id int) *Widget

func (*Dialog) Response Uses

func (v *Dialog) Response(response interface{}, datas ...interface{})

func (*Dialog) Run Uses

func (v *Dialog) Run() ResponseType

func (*Dialog) SetDefaultResponse Uses

func (v *Dialog) SetDefaultResponse(id ResponseType)

func (*Dialog) SetHasSeparator Uses

func (v *Dialog) SetHasSeparator(f bool)

Deprecated since 2.22.

type DialogFlags Uses

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 Uses

type DrawingArea struct {
    Widget
}

----------------------------------------------------------------------- GtkDrawingArea -----------------------------------------------------------------------

func NewDrawingArea Uses

func NewDrawingArea() *DrawingArea

func (*DrawingArea) GetSizeRequest Uses

func (v *DrawingArea) GetSizeRequest(width, height int)

Deprecated. Use GtkWidget.SetSizeRequest() instead.

type Editable Uses

type Editable struct {
    GEditable *C.GtkEditable
}

----------------------------------------------------------------------- GtkEditable -----------------------------------------------------------------------

func (*Editable) CopyClipboard Uses

func (v *Editable) CopyClipboard()

func (*Editable) CutClipboard Uses

func (v *Editable) CutClipboard()

func (*Editable) DeleteSelection Uses

func (v *Editable) DeleteSelection()

func (*Editable) DeleteText Uses

func (v *Editable) DeleteText(startPos int, endPos int)

func (*Editable) GetChars Uses

func (v *Editable) GetChars(startPos int, endPos int) string

func (*Editable) GetEditable Uses

func (v *Editable) GetEditable() bool

func (*Editable) GetPosition Uses

func (v *Editable) GetPosition() int

func (*Editable) GetSelectionBounds Uses

func (v *Editable) GetSelectionBounds() (isSelected bool,
    startPos int, endPos int)

func (*Editable) InsertText Uses

func (v *Editable) InsertText(newText string, position int) int

func (*Editable) PasteClipboard Uses

func (v *Editable) PasteClipboard()

func (*Editable) SelectRegion Uses

func (v *Editable) SelectRegion(startPos int, endPos int)

func (*Editable) SetEditable Uses

func (v *Editable) SetEditable(isEditable bool)

func (*Editable) SetPosition Uses

func (v *Editable) SetPosition(position int)

type Entry Uses

type Entry struct {
    Widget
    Editable
}

func NewEntry Uses

func NewEntry() *Entry

func NewEntryWithBuffer Uses

func NewEntryWithBuffer(buffer *EntryBuffer) *Entry

func (*Entry) GetActivatesDefault Uses

func (v *Entry) GetActivatesDefault() bool

func (*Entry) GetAlignment Uses

func (v *Entry) GetAlignment() float64

func (*Entry) GetBuffer Uses

func (v *Entry) GetBuffer() *EntryBuffer

func (*Entry) GetCompletion Uses

func (v *Entry) GetCompletion() *EntryCompletion

func (*Entry) GetHasFrame Uses

func (v *Entry) GetHasFrame() bool

func (*Entry) GetInvisibleChar Uses

func (v *Entry) GetInvisibleChar() rune

func (*Entry) GetMaxLength Uses

func (v *Entry) GetMaxLength() int

func (*Entry) GetOverwriteMode Uses

func (v *Entry) GetOverwriteMode() bool

func (*Entry) GetText Uses

func (v *Entry) GetText() string

func (*Entry) GetTextLength Uses

func (v *Entry) GetTextLength() int

func (*Entry) GetVisibility Uses

func (v *Entry) GetVisibility() bool

func (*Entry) GetWidthChars Uses

func (v *Entry) GetWidthChars() int

func (*Entry) SetActivatesDefault Uses

func (v *Entry) SetActivatesDefault(setting bool)

func (*Entry) SetAlignment Uses

func (v *Entry) SetAlignment(xalign float64)

func (*Entry) SetBuffer Uses

func (v *Entry) SetBuffer(buffer *EntryBuffer)

func (*Entry) SetCompletion Uses

func (v *Entry) SetCompletion(completion *EntryCompletion)

func (*Entry) SetHasFrame Uses

func (v *Entry) SetHasFrame(setting bool)

func (*Entry) SetInvisibleChar Uses

func (v *Entry) SetInvisibleChar(ch rune)

func (*Entry) SetMaxLength Uses

func (v *Entry) SetMaxLength(i int)

func (*Entry) SetOverwriteMode Uses

func (v *Entry) SetOverwriteMode(mode bool)

func (*Entry) SetText Uses

func (v *Entry) SetText(text string)

func (*Entry) SetVisibility Uses

func (v *Entry) SetVisibility(setting bool)

func (*Entry) SetWidthChars Uses

func (v *Entry) SetWidthChars(i int)

func (*Entry) UnsetInvisibleChar Uses

func (v *Entry) UnsetInvisibleChar()

type EntryBuffer Uses

type EntryBuffer struct {
    GEntryBuffer *C.GtkEntryBuffer
}

----------------------------------------------------------------------- GtkEntryBuffer -----------------------------------------------------------------------

func NewEntryBuffer Uses

func NewEntryBuffer(initialText string) *EntryBuffer

func (*EntryBuffer) DeleteText Uses

func (v *EntryBuffer) DeleteText(position uint, nChars int) uint

func (*EntryBuffer) GetLength Uses

func (v *EntryBuffer) GetLength() uint

func (*EntryBuffer) GetMaxLength Uses

func (v *EntryBuffer) GetMaxLength() int

func (*EntryBuffer) GetText Uses

func (v *EntryBuffer) GetText() string

func (*EntryBuffer) InsertText Uses

func (v *EntryBuffer) InsertText(position uint, text string) uint

func (*EntryBuffer) SetMaxLength Uses

func (v *EntryBuffer) SetMaxLength(maxLength int)

func (*EntryBuffer) SetText Uses

func (v *EntryBuffer) SetText(text string)

type EntryCompletion Uses

type EntryCompletion struct {
    GEntryCompletion *C.GtkEntryCompletion
    *glib.GObject
}

func NewEntryCompletion Uses

func NewEntryCompletion() *EntryCompletion

func (*EntryCompletion) Complete Uses

func (v *EntryCompletion) Complete()

func (*EntryCompletion) DeleteAction Uses

func (v *EntryCompletion) DeleteAction(index int)

func (*EntryCompletion) GetCompletionPrefix Uses

func (v *EntryCompletion) GetCompletionPrefix() string

func (*EntryCompletion) GetEntry Uses

func (v *EntryCompletion) GetEntry() *Widget

func (*EntryCompletion) GetInlineCompletion Uses

func (v *EntryCompletion) GetInlineCompletion() bool

func (*EntryCompletion) GetInlineSelection Uses

func (v *EntryCompletion) GetInlineSelection() bool

func (*EntryCompletion) GetMinimumKeyLength Uses

func (v *EntryCompletion) GetMinimumKeyLength() int

func (*EntryCompletion) GetModel Uses

func (v *EntryCompletion) GetModel() *TreeModel

func (*EntryCompletion) GetPopupCompletion Uses

func (v *EntryCompletion) GetPopupCompletion() bool

func (*EntryCompletion) GetPopupSetWidth Uses

func (v *EntryCompletion) GetPopupSetWidth() bool

func (*EntryCompletion) GetPopupSingleMatch Uses

func (v *EntryCompletion) GetPopupSingleMatch() bool

func (*EntryCompletion) GetTextColumn Uses

func (v *EntryCompletion) GetTextColumn() int

func (*EntryCompletion) InsertActionMarkup Uses

func (v *EntryCompletion) InsertActionMarkup(index int, markup string)

func (*EntryCompletion) InsertActionText Uses

func (v *EntryCompletion) InsertActionText(index int, text string)

func (*EntryCompletion) InsertPrefix Uses

func (v *EntryCompletion) InsertPrefix()

func (*EntryCompletion) SetInlineCompletion Uses

func (v *EntryCompletion) SetInlineCompletion(inlineCompletion bool)

func (*EntryCompletion) SetInlineSelection Uses

func (v *EntryCompletion) SetInlineSelection(inlineSelection bool)

func (*EntryCompletion) SetMinimumKeyLength Uses

func (v *EntryCompletion) SetMinimumKeyLength(length int)

func (*EntryCompletion) SetModel Uses

func (v *EntryCompletion) SetModel(model *TreeModel)

func (*EntryCompletion) SetPopupCompletion Uses

func (v *EntryCompletion) SetPopupCompletion(popupCompletion bool)

func (*EntryCompletion) SetPopupSetWidth Uses

func (v *EntryCompletion) SetPopupSetWidth(popupSetWidth bool)

func (*EntryCompletion) SetPopupSingleMatch Uses

func (v *EntryCompletion) SetPopupSingleMatch(popupSingleMatch bool)

func (*EntryCompletion) SetTextColumn Uses

func (v *EntryCompletion) SetTextColumn(column int)

type EntryCompletionMatchFunc Uses

type EntryCompletionMatchFunc func(completion *EntryCompletion, key string, iter *TreeIter, data interface{})

type EventBox Uses

type EventBox struct {
    Bin
}

----------------------------------------------------------------------- GtkEventBox -----------------------------------------------------------------------

func NewEventBox Uses

func NewEventBox() *EventBox

type Expander Uses

type Expander struct {
    Bin
}

----------------------------------------------------------------------- GtkExpander -----------------------------------------------------------------------

func NewExpander Uses

func NewExpander(label string) *Expander

func NewExpanderWithMnemonic Uses

func NewExpanderWithMnemonic(label string) *Expander

func (*Expander) GetExpanded Uses

func (v *Expander) GetExpanded() bool

func (*Expander) GetLabel Uses

func (v *Expander) GetLabel() string

func (*Expander) GetLabelWidget Uses

func (v *Expander) GetLabelWidget() ILabel

func (*Expander) GetSpacing Uses

func (v *Expander) GetSpacing() int

func (*Expander) GetUseMarkup Uses

func (v *Expander) GetUseMarkup() bool

func (*Expander) GetUseUnderline Uses

func (v *Expander) GetUseUnderline() bool

func (*Expander) SetExpanded Uses

func (v *Expander) SetExpanded(expanded bool)

func (*Expander) SetLabel Uses

func (v *Expander) SetLabel(label string)

func (*Expander) SetLabelWidget Uses

func (v *Expander) SetLabelWidget(label_widget ILabel)

func (*Expander) SetSpacing Uses

func (v *Expander) SetSpacing(spacing int)

func (*Expander) SetUseMarkup Uses

func (v *Expander) SetUseMarkup(setting bool)

func (*Expander) SetUseUnderline Uses

func (v *Expander) SetUseUnderline(setting bool)

type FileChooser Uses

type FileChooser struct {
    GFileChooser *C.GtkFileChooser
}

func (*FileChooser) AddFilter Uses

func (v *FileChooser) AddFilter(f *FileFilter)

func (*FileChooser) GetAction Uses

func (v *FileChooser) GetAction() FileChooserAction

func (*FileChooser) GetCurrentFolder Uses

func (v *FileChooser) GetCurrentFolder() string

func (*FileChooser) GetFilename Uses

func (v *FileChooser) GetFilename() string

func (*FileChooser) GetFilter Uses

func (v *FileChooser) GetFilter() *FileFilter

func (*FileChooser) GetLocalOnly Uses

func (v *FileChooser) GetLocalOnly() bool

func (*FileChooser) ListFilters Uses

func (v *FileChooser) ListFilters() []*FileFilter

func (*FileChooser) RemoveFilter Uses

func (v *FileChooser) RemoveFilter(f *FileFilter)

func (*FileChooser) SetAction Uses

func (v *FileChooser) SetAction(action FileChooserAction)

func (*FileChooser) SetCurrentFolder Uses

func (v *FileChooser) SetCurrentFolder(f string) bool

func (*FileChooser) SetFilename Uses

func (v *FileChooser) SetFilename(filename string)

func (*FileChooser) SetFilter Uses

func (v *FileChooser) SetFilter(f *FileFilter)

func (*FileChooser) SetLocalOnly Uses

func (v *FileChooser) SetLocalOnly(b bool)

type FileChooserAction Uses

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 Uses

type FileChooserButton struct {
    HBox
    FileChooser
}

----------------------------------------------------------------------- GtkFileChooserButton -----------------------------------------------------------------------

func NewFileChooserButton Uses

func NewFileChooserButton(title string, action FileChooserAction) *FileChooserButton

gtk_file_chooser_button_new

func NewFileChooserButtonWithDialog Uses

func NewFileChooserButtonWithDialog(dialog *FileChooserDialog) *FileChooserButton

gtk_file_chooser_button_new_with_dialog

type FileChooserDialog Uses

type FileChooserDialog struct {
    Dialog
    FileChooser
}

----------------------------------------------------------------------- GtkFileChooserDialog -----------------------------------------------------------------------

func NewFileChooserDialog Uses

func NewFileChooserDialog(title string, parent *Window, file_chooser_action FileChooserAction,
    button_text string, button_action ResponseType, buttons ...interface{}) *FileChooserDialog

type FileChooserWidget Uses

type FileChooserWidget struct {
    VBox
    FileChooser
}

----------------------------------------------------------------------- GtkFileChooserWidget -----------------------------------------------------------------------

func NewFileChooserWidget Uses

func NewFileChooserWidget(file_chooser_action FileChooserAction) *FileChooserWidget

type FileFilter Uses

type FileFilter struct {
    GFileFilter *C.GtkFileFilter
}

----------------------------------------------------------------------- GtkFileFilter -----------------------------------------------------------------------

func NewFileFilter Uses

func NewFileFilter() *FileFilter

func (*FileFilter) AddMimeType Uses

func (v *FileFilter) AddMimeType(mimetype string)

func (*FileFilter) AddPattern Uses

func (v *FileFilter) AddPattern(pattern string)

func (*FileFilter) GetName Uses

func (v *FileFilter) GetName() string

func (*FileFilter) SetName Uses

func (v *FileFilter) SetName(name string)

type Fixed Uses

type Fixed struct {
    Container
}

----------------------------------------------------------------------- GtkFixed -----------------------------------------------------------------------

func NewFixed Uses

func NewFixed() *Fixed

func (*Fixed) Move Uses

func (v *Fixed) Move(w IWidget, x, y int)

func (*Fixed) Put Uses

func (v *Fixed) Put(w IWidget, x, y int)

type FontButton Uses

type FontButton struct {
    Button
}

----------------------------------------------------------------------- GtkFontButton -----------------------------------------------------------------------

func NewFontButton Uses

func NewFontButton() *FontButton

func NewFontButtonWithFont Uses

func NewFontButtonWithFont(fontname string) *FontButton

func (*FontButton) GetFontName Uses

func (v *FontButton) GetFontName() string

func (*FontButton) GetShowSize Uses

func (v *FontButton) GetShowSize() bool

func (*FontButton) GetShowStyle Uses

func (v *FontButton) GetShowStyle() bool

func (*FontButton) GetTitle Uses

func (v *FontButton) GetTitle() string

func (*FontButton) GetUseFont Uses

func (v *FontButton) GetUseFont() bool

func (*FontButton) GetUseSize Uses

func (v *FontButton) GetUseSize() bool

func (*FontButton) SetFontName Uses

func (v *FontButton) SetFontName(fontname string)

func (*FontButton) SetShowSize Uses

func (v *FontButton) SetShowSize(show_size bool)

func (*FontButton) SetShowStyle Uses

func (v *FontButton) SetShowStyle(show bool)

func (*FontButton) SetTitle Uses

func (v *FontButton) SetTitle(title string)

func (*FontButton) SetUseFont Uses

func (v *FontButton) SetUseFont(use bool)

func (*FontButton) SetUseSize Uses

func (v *FontButton) SetUseSize(use_size bool)

type FontSelection Uses

type FontSelection struct {
    VBox
}

----------------------------------------------------------------------- GtkFontSelection -----------------------------------------------------------------------

func NewFontSelection Uses

func NewFontSelection() *FontSelection

func (*FontSelection) GetFont Uses

func (v *FontSelection) GetFont() *gdk.Font

func (*FontSelection) GetFontName Uses

func (v *FontSelection) GetFontName() string

func (*FontSelection) SetFontName Uses

func (v *FontSelection) SetFontName(name string)

type FontSelectionDialog Uses

type FontSelectionDialog struct {
    Dialog
}

----------------------------------------------------------------------- GtkFontSelectionDialog -----------------------------------------------------------------------

func NewFontSelectionDialog Uses

func NewFontSelectionDialog(title string) *FontSelectionDialog

func (*FontSelectionDialog) GetCancelButton Uses

func (v *FontSelectionDialog) GetCancelButton() *Widget

func (*FontSelectionDialog) GetFontName Uses

func (v *FontSelectionDialog) GetFontName() string

func (*FontSelectionDialog) GetFontSelection Uses

func (v *FontSelectionDialog) GetFontSelection() *FontSelection

func (*FontSelectionDialog) GetOkButton Uses

func (v *FontSelectionDialog) GetOkButton() *Widget

func (*FontSelectionDialog) GetPreviewText Uses

func (v *FontSelectionDialog) GetPreviewText() string

func (*FontSelectionDialog) SetFontName Uses

func (v *FontSelectionDialog) SetFontName(font string)

func (*FontSelectionDialog) SetPreviewText Uses

func (v *FontSelectionDialog) SetPreviewText(text string)

type Frame Uses

type Frame struct {
    Bin
}

func NewFrame Uses

func NewFrame(label string) *Frame

func (*Frame) GetLabel Uses

func (v *Frame) GetLabel() string

func (*Frame) GetLabelAlign Uses

func (v *Frame) GetLabelAlign() (xalign, yalign float64)

func (*Frame) GetLabelWidget Uses

func (v *Frame) GetLabelWidget() ILabel

func (*Frame) GetShadowType Uses

func (v *Frame) GetShadowType() ShadowType

func (*Frame) SetLabel Uses

func (v *Frame) SetLabel(label string)

func (*Frame) SetLabelAlign Uses

func (v *Frame) SetLabelAlign(xalign, yalign float64)

func (*Frame) SetLabelWidget Uses

func (v *Frame) SetLabelWidget(label_widget ILabel)

func (*Frame) SetShadowType Uses

func (v *Frame) SetShadowType(shadow_type ShadowType)

type GtkTreeSelecter Uses

type GtkTreeSelecter interface {
    Select(selection *TreeSelection, model *TreeModel, path *TreePath, selected bool) bool
}

type HBox Uses

type HBox struct {
    Box
}

----------------------------------------------------------------------- GtkHBox -----------------------------------------------------------------------

func NewHBox Uses

func NewHBox(homogeneous bool, spacing int) *HBox

type HPaned Uses

type HPaned struct {
    Paned
}

----------------------------------------------------------------------- GtkHPaned -----------------------------------------------------------------------

func NewHPaned Uses

func NewHPaned() *HPaned

type HScrollbar Uses

type HScrollbar struct {
    Scrollbar
}

----------------------------------------------------------------------- GtkHScrollbar -----------------------------------------------------------------------

func NewHScrollbar Uses

func NewHScrollbar(ha *Adjustment) *HScrollbar

type HSeparator Uses

type HSeparator struct {
    Separator
}

----------------------------------------------------------------------- GtkHSeparator -----------------------------------------------------------------------

func NewHSeparator Uses

func NewHSeparator() *HSeparator

type IAction Uses

type IAction interface {
    // contains filtered or unexported methods
}

type IBox Uses

type IBox interface {
    IContainer
    PackStart(child IWidget, expand bool, fill bool, padding uint)
    PackEnd(child IWidget, expand bool, fill bool, padding uint)
}

type ICellRenderer Uses

type ICellRenderer interface {
    ToCellRenderer() *C.GtkCellRenderer
}

----------------------------------------------------------------------- GtkCellRenderer -----------------------------------------------------------------------

type IContainer Uses

type IContainer interface {
    IWidget
    Add(w IWidget)
}

----------------------------------------------------------------------- GtkContainer -----------------------------------------------------------------------

type ILabel Uses

type ILabel interface {
    IWidget

    GetLabel() string
    SetLabel(label string)
    // contains filtered or unexported methods
}

type IPaned Uses

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 Uses

type ITextBuffer interface {
    GetNativeBuffer() unsafe.Pointer
}

----------------------------------------------------------------------- GtkTextBuffer -----------------------------------------------------------------------

type ITreeModel Uses

type ITreeModel interface {
    // contains filtered or unexported methods
}

type IWidget Uses

type IWidget interface {
    ToNative() *C.GtkWidget
    Hide()
    HideAll()
    Show()
    ShowAll()
    ShowNow()
    Destroy()
    Connect(s string, f interface{}, data ...interface{}) int
    GetTopLevel() *Widget
    GetTopLevelAsWindow() *Window
    HideOnDelete()
    QueueResize()
    GetName() string
}

type IconSize Uses

type IconSize int

----------------------------------------------------------------------- GtkImage -----------------------------------------------------------------------

const (
    ICON_SIZE_INVALID IconSize = iota
    ICON_SIZE_MENU
    ICON_SIZE_SMALL_TOOLBAR
    ICON_SIZE_LARGE_TOOLBAR
    ICON_SIZE_BUTTON
    ICON_SIZE_DND
    ICON_SIZE_DIALOG
)
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 IconView Uses

type IconView struct {
    Container
}

----------------------------------------------------------------------- GtkIconView -----------------------------------------------------------------------

func NewIconView Uses

func NewIconView() *IconView

func NewIconViewWithModel Uses

func NewIconViewWithModel(model ITreeModel) *IconView

func (*IconView) GetMarkupColumn Uses

func (v *IconView) GetMarkupColumn() int

func (*IconView) GetModel Uses

func (v *IconView) GetModel() *TreeModel

func (*IconView) GetPixbufColumn Uses

func (v *IconView) GetPixbufColumn() int

func (*IconView) GetTextColumn Uses

func (v *IconView) GetTextColumn() int

func (*IconView) ScrollToPath Uses

func (v *IconView) ScrollToPath(path *TreePath, use bool, ra float64, ca float64)

func (*IconView) SetMarkupColumn Uses

func (v *IconView) SetMarkupColumn(markup_column int)

func (*IconView) SetModel Uses

func (v *IconView) SetModel(model ITreeModel)

func (*IconView) SetPixbufColumn Uses

func (v *IconView) SetPixbufColumn(pixbuf_column int)

func (*IconView) SetTextColumn Uses

func (v *IconView) SetTextColumn(text_column int)

type Image Uses

type Image struct {
    Misc
}

type IImage interface {

IWidget

}

func NewImage Uses

func NewImage() *Image

func NewImageFromFile Uses

func NewImageFromFile(filename string) *Image

func NewImageFromIconName Uses

func NewImageFromIconName(stock_id string, size IconSize) *Image

func NewImageFromPixbuf Uses

func NewImageFromPixbuf(pixbuf *gdkpixbuf.Pixbuf) *Image

func NewImageFromStock Uses

func NewImageFromStock(stock_id string, size IconSize) *Image

func (*Image) Clear Uses

func (v *Image) Clear()

func (*Image) GetPixbuf Uses

func (v *Image) GetPixbuf() *gdkpixbuf.Pixbuf

func (*Image) SetFromFile Uses

func (v *Image) SetFromFile(filename string)

func (*Image) SetFromPixbuf Uses

func (v *Image) SetFromPixbuf(pixbuf *gdkpixbuf.Pixbuf)

func (*Image) SetFromStock Uses

func (v *Image) SetFromStock(stock_id string, size IconSize)

type ImageMenuItem Uses

type ImageMenuItem struct {
    MenuItem
}

func NewImageMenuItem Uses

func NewImageMenuItem() *ImageMenuItem

func NewImageMenuItemFromStock Uses

func NewImageMenuItemFromStock(stock_id string, accel_group *AccelGroup) *ImageMenuItem

func NewImageMenuItemWithLabel Uses

func NewImageMenuItemWithLabel(label string) *ImageMenuItem

func NewImageMenuItemWithMnemonic Uses

func NewImageMenuItemWithMnemonic(label string) *ImageMenuItem

func (*ImageMenuItem) GetImage Uses

func (v *ImageMenuItem) GetImage() *Widget

func (*ImageMenuItem) SetImage Uses

func (v *ImageMenuItem) SetImage(image *Widget)

type InfoBar Uses

type InfoBar struct {
    HBox
}

----------------------------------------------------------------------- GtkInfoBar -----------------------------------------------------------------------

func NewInfoBar Uses

func NewInfoBar() *InfoBar

func NewInfoBarWithButtons Uses

func NewInfoBarWithButtons(buttons ...interface{}) *InfoBar

func (*InfoBar) AddActionWidget Uses

func (v *InfoBar) AddActionWidget(child IWidget, responseId ResponseType)

func (*InfoBar) AddButton Uses

func (v *InfoBar) AddButton(buttonText string, responseId ResponseType) *Widget

func (*InfoBar) AddButtons Uses

func (v *InfoBar) AddButtons(buttons ...interface{})

func (*InfoBar) GetActionArea Uses

func (v *InfoBar) GetActionArea() *Widget

func (*InfoBar) GetContentArea Uses

func (v *InfoBar) GetContentArea() *Widget

func (*InfoBar) GetMessageType Uses

func (v *InfoBar) GetMessageType() MessageType

func (*InfoBar) Response Uses

func (v *InfoBar) Response(responseId ResponseType)

func (*InfoBar) SetDefaultResponse Uses

func (v *InfoBar) SetDefaultResponse(responseId ResponseType)

func (*InfoBar) SetMessageType Uses

func (v *InfoBar) SetMessageType(messageType MessageType)

func (*InfoBar) SetResponseSensitive Uses

func (v *InfoBar) SetResponseSensitive(responseId ResponseType, setting bool)

type Item Uses

type Item struct {
    Bin
}

----------------------------------------------------------------------- GtkItem -----------------------------------------------------------------------

func (*Item) Deselect Uses

func (v *Item) Deselect()

Deprecated since 2.22. Use GtkMenuItem.Deselect() instead.

func (*Item) Select Uses

func (v *Item) Select()

Deprecated since 2.22. Use GtkMenuItem.Select() instead.

func (*Item) Toggle Uses

func (v *Item) Toggle()

Deprecated since 2.22.

type Justification Uses

type Justification int

----------------------------------------------------------------------- GtkLabel -----------------------------------------------------------------------

const (
    JUSTIFY_LEFT Justification = iota
    JUSTIFY_RIGHT
    JUSTIFY_CENTER
    JUSTIFY_FILL
)

type Label Uses

type Label struct {
    Misc
}

func LabelWithMnemonic Uses

func LabelWithMnemonic(label string) *Label

func NewLabel Uses

func NewLabel(label string) *Label

func (*Label) GetAngle Uses

func (v *Label) GetAngle() float64

func (*Label) GetCurrentUri Uses

func (v *Label) GetCurrentUri() string

func (*Label) GetEllipsize Uses

func (v *Label) GetEllipsize() pango.EllipsizeMode

func (*Label) GetJustify Uses

func (v *Label) GetJustify() Justification

gtk_label_get_attributes

func (*Label) GetLabel Uses

func (v *Label) GetLabel() string

func (*Label) GetLineWrap Uses

func (v *Label) GetLineWrap() bool

func (*Label) GetLineWrapMode Uses

func (v *Label) GetLineWrapMode() pango.WrapMode

func (*Label) GetMaxWidthChars Uses

func (v *Label) GetMaxWidthChars() int

func (*Label) GetMnemonicWidget Uses

func (v *Label) GetMnemonicWidget() *Widget

func (*Label) GetSelectable Uses

func (v *Label) GetSelectable() bool

func (*Label) GetSelectionBounds Uses

func (v *Label) GetSelectionBounds(start *int, end *int)

gtk_label_get_mnemonic_widget

func (*Label) GetSingleLineMode Uses

func (v *Label) GetSingleLineMode() bool

func (*Label) GetText Uses

func (v *Label) GetText() string
func (v *Label) GetTrackVisitedLinks() bool

func (*Label) GetUseMarkup Uses

func (v *Label) GetUseMarkup() bool

func (*Label) GetUseUnderline Uses

func (v *Label) GetUseUnderline() bool

func (*Label) GetWidthChars Uses

func (v *Label) GetWidthChars() int

func (*Label) SelectRegion Uses

func (v *Label) SelectRegion(start_offset int, end_offset int)

func (*Label) SetAngle Uses

func (v *Label) SetAngle(angle float64)

func (*Label) SetEllipsize Uses

func (v *Label) SetEllipsize(ellipsize pango.EllipsizeMode)

func (*Label) SetJustify Uses

func (v *Label) SetJustify(jtype Justification)

func (*Label) SetLabel Uses

func (v *Label) SetLabel(label string)

func (*Label) SetLineWrap Uses

func (v *Label) SetLineWrap(setting bool)

func (*Label) SetMarkup Uses

func (v *Label) SetMarkup(markup string)

func (*Label) SetMaxWidthChars Uses

func (v *Label) SetMaxWidthChars(n_chars int)

func (*Label) SetMnemonicWidget Uses

func (v *Label) SetMnemonicWidget(widget IWidget)

func (*Label) SetPattern Uses

func (v *Label) SetPattern(pattern string)

func (*Label) SetSelectable Uses

func (v *Label) SetSelectable(setting bool)

func (*Label) SetSingleLineMode Uses

func (v *Label) SetSingleLineMode(single_line bool)

func (*Label) SetText Uses

func (v *Label) SetText(label string)

func (*Label) SetTextWithMnemonic Uses

func (v *Label) SetTextWithMnemonic(str string)
func (v *Label) SetTrackVisitedLinks(track_links bool)

func (*Label) SetUseLineWrapMode Uses

func (v *Label) SetUseLineWrapMode(wrap_mode pango.WrapMode)

func (*Label) SetUseMarkup Uses

func (v *Label) SetUseMarkup(setting bool)

func (*Label) SetUseUnderline Uses

func (v *Label) SetUseUnderline(setting bool)

func (*Label) SetWidthChars Uses

func (v *Label) SetWidthChars(n_chars int)

type Layout Uses

type Layout struct {
    Container
}

func NewLayout Uses

func NewLayout(hadjustment *Adjustment, vadjustment *Adjustment) *Layout

func (*Layout) Freeze Uses

func (v *Layout) Freeze()

func (*Layout) GetBinWindow Uses

func (v *Layout) GetBinWindow() *Window

func (*Layout) GetHAdjustment Uses

func (v *Layout) GetHAdjustment() *Adjustment

func (*Layout) GetSize Uses

func (v *Layout) GetSize(width *int, height *int)

func (*Layout) GetVAdjustment Uses

func (v *Layout) GetVAdjustment() *Adjustment

func (*Layout) Move Uses

func (v *Layout) Move(child IWidget, x int, y int)

func (*Layout) Put Uses

func (v *Layout) Put(child IWidget, x int, y int)

func (*Layout) SetHAdjustment Uses

func (v *Layout) SetHAdjustment(hadjustment *Adjustment)

func (*Layout) SetSize Uses

func (v *Layout) SetSize(width int, height int)

func (*Layout) SetVAdjustment Uses

func (v *Layout) SetVAdjustment(vadjustment *Adjustment)

func (*Layout) Thaw Uses

func (v *Layout) Thaw()

type LinkButton Uses

type LinkButton struct {
    Button
}

----------------------------------------------------------------------- GtkLinkButton -----------------------------------------------------------------------

func NewLinkButton Uses

func NewLinkButton(uri string) *LinkButton

func NewLinkButtonWithLabel Uses

func NewLinkButtonWithLabel(uri string, label string) *LinkButton

func (*LinkButton) GetUri Uses

func (v *LinkButton) GetUri() string

func (*LinkButton) GetVisited Uses

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 Uses

func (v *LinkButton) SetUri(uri string)

func (*LinkButton) SetVisited Uses

func (v *LinkButton) SetVisited(visited bool)

type ListStore Uses

type ListStore struct {
    TreeModel
    GListStore *C.GtkListStore
}

func NewListStore Uses

func NewListStore(v ...interface{}) *ListStore

func NewListStoreFromNative Uses

func NewListStoreFromNative(l unsafe.Pointer) *ListStore

func (*ListStore) Append Uses

func (v *ListStore) Append(iter *TreeIter)

func (*ListStore) Clear Uses

func (v *ListStore) Clear()

func (*ListStore) Insert Uses

func (v *ListStore) Insert(iter *TreeIter, position int)

func (*ListStore) InsertAfter Uses

func (v *ListStore) InsertAfter(iter *TreeIter, sibling *TreeIter)

func (*ListStore) InsertBefore Uses

func (v *ListStore) InsertBefore(iter *TreeIter, sibling *TreeIter)

func (*ListStore) IterIsValid Uses

func (v *ListStore) IterIsValid(iter *TreeIter) bool

func (*ListStore) MoveAfter Uses

func (v *ListStore) MoveAfter(iter *TreeIter, position *TreeIter)

func (*ListStore) MoveBefore Uses

func (v *ListStore) MoveBefore(iter *TreeIter, position *TreeIter)

func (*ListStore) Prepend Uses

func (v *ListStore) Prepend(iter *TreeIter)

func (*ListStore) Remove Uses

func (v *ListStore) Remove(iter *TreeIter) bool

func (*ListStore) Reorder Uses

func (v *ListStore) Reorder(i *int)

func (*ListStore) Set Uses

func (v *ListStore) Set(iter *TreeIter, a ...interface{})

func (*ListStore) SetValue Uses

func (v *ListStore) SetValue(iter *TreeIter, column int, a interface{})

func (*ListStore) Swap Uses

func (v *ListStore) Swap(a *TreeIter, b *TreeIter)
type Menu struct {
    Container
}

----------------------------------------------------------------------- GtkMenu -----------------------------------------------------------------------

func NewMenu Uses

func NewMenu() *Menu
func (v *Menu) Append(child IWidget)

TODO remove when GtkMenuShell is done

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) Insert(child IWidget, position int)

TODO remove when GtkMenuShell is done

func (v *Menu) Popdown()
func (v *Menu) Popup(parent_menu_shell, parent_menu_item IWidget, f MenuPositionFunc, data interface{}, button uint, active_item uint32)
func (v *Menu) Prepend(child IWidget)

TODO remove when GtkMenuShell is done

func (v *Menu) Reposition()
func (v *Menu) SetReserveToggleSize(b bool)
func (v *Menu) SetTearoffState(b bool)
type MenuBar struct {
    Widget
}

func NewMenuBar Uses

func NewMenuBar() *MenuBar
func (v *MenuBar) Append(child IWidget)

TODO da rimuovere, creare GtkMenuShell e usarlo come anonymous field per GtkMenu

func (v *MenuBar) GetChildPackDirection() PackDirection
func (v *MenuBar) GetPackDirection() PackDirection
func (v *MenuBar) Insert(child IWidget, position int)

TODO da rimuovere, creare GtkMenuShell e usarlo come anonymous field per GtkMenu

func (v *MenuBar) Prepend(child IWidget)

TODO da rimuovere, creare GtkMenuShell e usarlo come anonymous field per GtkMenu

func (v *MenuBar) SetChildPackDirection(pack_dir PackDirection)
func (v *MenuBar) SetPackDirection(pack_dir PackDirection)
type MenuItem struct {
    Item
    Activatable // implement GtkActivatable interface
}

----------------------------------------------------------------------- GtkMenuItem -----------------------------------------------------------------------

func NewMenuItem Uses

func NewMenuItem() *MenuItem

func NewMenuItemWithLabel Uses

func NewMenuItemWithLabel(label string) *MenuItem

func NewMenuItemWithMnemonic Uses

func NewMenuItemWithMnemonic(label string) *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()

Deprecated since 2.12. Use SetSubmenu() instead.

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 func(menu *Menu, px, py *int, push_in *bool, data interface{})
type MenuPositionFuncInfo struct {
    // contains filtered or unexported fields
}
type MenuToolButton struct {
    ToolButton
    // contains filtered or unexported fields
}

func NewMenuToolButton Uses

func NewMenuToolButton(icon IWidget, text string) *MenuToolButton

func NewMenuToolButtonFromStock Uses

func NewMenuToolButtonFromStock(stock_id string) *MenuToolButton
func (v *MenuToolButton) GetMenu() *Menu
func (v *MenuToolButton) SetArrowTooltipMarkup(markup string)
func (v *MenuToolButton) SetArrowTooltipText(text string)

gtk_menu_tool_button_set_arrow_tooltip (deprecated since 2.12)

func (v *MenuToolButton) SetMenu(menu *Menu)

type MessageDialog Uses

type MessageDialog struct {
    Dialog
}

func NewMessageDialog Uses

func NewMessageDialog(parent *Window, flag DialogFlags, t MessageType, buttons ButtonsType, format string, args ...interface{}) *MessageDialog

TODO should be variadic function

func NewMessageDialogWithMarkup Uses

func NewMessageDialogWithMarkup(parent *Window, flag DialogFlags, t MessageType, buttons ButtonsType, format string, args ...interface{}) *MessageDialog

func (*MessageDialog) GetImage Uses

func (v *MessageDialog) GetImage() *Image

func (*MessageDialog) SetImage Uses

func (v *MessageDialog) SetImage(image IWidget)

func (*MessageDialog) SetMarkup Uses

func (v *MessageDialog) SetMarkup(markup string)

type MessageType Uses

type MessageType int

----------------------------------------------------------------------- GtkMessageDialog -----------------------------------------------------------------------

const (
    MESSAGE_INFO MessageType = iota
    MESSAGE_WARNING
    MESSAGE_QUESTION
    MESSAGE_ERROR
    MESSAGE_OTHER
)

type Misc Uses

type Misc struct {
    Widget
}

func (*Misc) GetAlignment Uses

func (m *Misc) GetAlignment(xalign, yalign *float64)

func (*Misc) GetPadding Uses

func (m *Misc) GetPadding(xpad, ypad *int)

func (*Misc) SetAlignment Uses

func (m *Misc) SetAlignment(xalign, yalign float64)

func (*Misc) SetPadding Uses

func (m *Misc) SetPadding(xpad, ypad int)

type Notebook Uses

type Notebook struct {
    Container
}

----------------------------------------------------------------------- GtkNotebook -----------------------------------------------------------------------

func NewNotebook Uses

func NewNotebook() *Notebook

func (*Notebook) AppendPage Uses

func (v *Notebook) AppendPage(child IWidget, tab_label IWidget) int

func (*Notebook) AppendPageMenu Uses

func (v *Notebook) AppendPageMenu(child IWidget, tab_label IWidget, menu_label IWidget) int

func (*Notebook) GetCurrentPage Uses

func (v *Notebook) GetCurrentPage() int

func (*Notebook) GetGroup Uses

func (v *Notebook) GetGroup() unsafe.Pointer

Deprecated since 2.24, use GetGroupName() instead

func (*Notebook) GetGroupId Uses

func (v *Notebook) GetGroupId() int

Deprecated since 2.12, use GetGroupName() instead

func (*Notebook) GetGroupName Uses

func (v *Notebook) GetGroupName() string

func (*Notebook) GetMenuLabel Uses

func (v *Notebook) GetMenuLabel(child IWidget) *Widget

func (*Notebook) GetMenuLabelText Uses

func (v *Notebook) GetMenuLabelText(child IWidget) string

func (*Notebook) GetNPages Uses

func (v *Notebook) GetNPages() int

func (*Notebook) GetNthPage Uses

func (v *Notebook) GetNthPage(page_num int) *Widget

func (*Notebook) GetScrollable Uses

func (v *Notebook) GetScrollable() bool

func (*Notebook) GetShowBorder Uses

func (v *Notebook) GetShowBorder() bool

func (*Notebook) GetShowTabs Uses

func (v *Notebook) GetShowTabs() bool

func (*Notebook) GetTabDetachable Uses

func (v *Notebook) GetTabDetachable(child IWidget) bool

func (*Notebook) GetTabLabel Uses

func (v *Notebook) GetTabLabel(child IWidget) *Widget

func (*Notebook) GetTabLabelText Uses

func (v *Notebook) GetTabLabelText(child IWidget) string

func (*Notebook) GetTabPos Uses

func (v *Notebook) GetTabPos() uint

func (*Notebook) GetTabReorderable Uses

func (v *Notebook) GetTabReorderable(child IWidget) bool

func (*Notebook) InsertPage Uses

func (v *Notebook) InsertPage(child IWidget, tab_label IWidget, position int) int

func (*Notebook) InsertPageMenu Uses

func (v *Notebook) InsertPageMenu(child IWidget, tab_label IWidget, menu_label IWidget, position int) int

func (*Notebook) NextPage Uses

func (v *Notebook) NextPage()

func (*Notebook) PageNum Uses

func (v *Notebook) PageNum(child IWidget) int

func (*Notebook) PopupDisable Uses

func (v *Notebook) PopupDisable()

func (*Notebook) PopupEnable Uses

func (v *Notebook) PopupEnable()

func (*Notebook) PrependPage Uses

func (v *Notebook) PrependPage(child IWidget, tab_label IWidget) int

func (*Notebook) PrependPageMenu Uses

func (v *Notebook) PrependPageMenu(child IWidget, tab_label IWidget, menu_label IWidget) int

func (*Notebook) PrevPage Uses

func (v *Notebook) PrevPage()

func (*Notebook) QueryTabLabelPacking Uses

func (v *Notebook) QueryTabLabelPacking(child IWidget, expand *bool, fill *bool, pack_type *uint)

Deprecated since 2.20. Modify the "tab-expand" and "tab-fill" child properties instead.

func (*Notebook) RemovePage Uses

func (v *Notebook) RemovePage(child IWidget, page_num int)

func (*Notebook) ReorderChild Uses

func (v *Notebook) ReorderChild(child IWidget, position int)

func (*Notebook) SetCurrentPage Uses

func (v *Notebook) SetCurrentPage(pageNum int)

func (*Notebook) SetGroup Uses

func (v *Notebook) SetGroup(group unsafe.Pointer)

Deprecated since 2.24, use SetGroupName() instead

func (*Notebook) SetGroupId Uses

func (v *Notebook) SetGroupId(group_id int)

Deprecated since 2.12, use SetGroupName() instead

func (*Notebook) SetGroupName Uses

func (v *Notebook) SetGroupName(group string)

func (*Notebook) SetHomogeneousTabs Uses

func (v *Notebook) SetHomogeneousTabs(homogeneous bool)

Deprecated.

func (*Notebook) SetMenuLabel Uses

func (v *Notebook) SetMenuLabel(child IWidget, menu_label IWidget)

func (*Notebook) SetMenuLabelText Uses

func (v *Notebook) SetMenuLabelText(child IWidget, name string)

func (*Notebook) SetReorderable Uses

func (v *Notebook) SetReorderable(child IWidget, reorderable bool)

func (*Notebook) SetScrollable Uses

func (v *Notebook) SetScrollable(scrollable bool)

func (*Notebook) SetShowBorder Uses

func (v *Notebook) SetShowBorder(show_border bool)

func (*Notebook) SetShowTabs Uses

func (v *Notebook) SetShowTabs(show_tabs bool)

func (*Notebook) SetTabBorder Uses

func (v *Notebook) SetTabBorder(border_width uint)

Deprecated.

func (*Notebook) SetTabDetachable Uses

func (v *Notebook) SetTabDetachable(child IWidget, detachable bool)

func (*Notebook) SetTabHBorder Uses

func (v *Notebook) SetTabHBorder(tab_hborder uint)

Deprecated.

func (*Notebook) SetTabLabel Uses

func (v *Notebook) SetTabLabel(child IWidget, tab_label IWidget)

func (*Notebook) SetTabLabelPacking Uses

func (v *Notebook) SetTabLabelPacking(child IWidget, expand bool, fill bool, pack_type uint)

Deprecated since 2.20. Modify the "tab-expand" and "tab-fill" child properties instead.

func (*Notebook) SetTabLabelText Uses

func (v *Notebook) SetTabLabelText(child IWidget, name string)

func (*Notebook) SetTabPos Uses

func (v *Notebook) SetTabPos(pos PositionType)

func (*Notebook) SetTabVBorder Uses

func (v *Notebook) SetTabVBorder(tab_vborder uint)

Deprecated.

type Object Uses

type Object struct {
    glib.GObject
}

----------------------------------------------------------------------- GtkObject -----------------------------------------------------------------------

func (*Object) Ref Uses

func (v *Object) Ref()

func (*Object) Unref Uses

func (v *Object) Unref()

type Orientation Uses

type Orientation int
const (
    ORIENTATION_HORIZONTAL Orientation = iota
    ORIENTATION_VERTICAL
)

type PackDirection Uses

type PackDirection int

----------------------------------------------------------------------- GtkMenuBar -----------------------------------------------------------------------

const (
    PACK_DIRECTION_LTR PackDirection = iota
    PACK_DIRECTION_RTL
    PACK_DIRECTION_TTB
    PACK_DIRECTION_BTT
)

type PackType Uses

type PackType int

----------------------------------------------------------------------- GtkBox -----------------------------------------------------------------------

const (
    PACK_START PackType = iota
    PACK_END
)

type Paned Uses

type Paned struct {
    Container
}

func (*Paned) Add1 Uses

func (v *Paned) Add1(child IWidget)

func (*Paned) Add2 Uses

func (v *Paned) Add2(child IWidget)

func (*Paned) GetChild1 Uses

func (v *Paned) GetChild1() *Widget

func (*Paned) GetChild2 Uses

func (v *Paned) GetChild2() *Widget

func (*Paned) GetPosition Uses

func (v *Paned) GetPosition() int

func (*Paned) Pack1 Uses

func (v *Paned) Pack1(child IWidget, resize bool, shrink bool)

func (*Paned) Pack2 Uses

func (v *Paned) Pack2(child IWidget, resize bool, shrink bool)

func (*Paned) SetPosition Uses

func (v *Paned) SetPosition(position int)

type PolicyType Uses

type PolicyType int

----------------------------------------------------------------------- GtkScrolledWindow -----------------------------------------------------------------------

const (
    POLICY_ALWAYS PolicyType = iota
    POLICY_AUTOMATIC
    POLICY_NEVER
)

type PositionType Uses

type PositionType int

----------------------------------------------------------------------- GtkScale -----------------------------------------------------------------------

const (
    POS_LEFT PositionType = iota
    POS_RIGHT
    POS_TOP
    POS_BOTTOM
)

type PrintContext Uses

type PrintContext struct {
    GPrintContext *C.GtkPrintContext
}

----------------------------------------------------------------------- GtkPrintContext -----------------------------------------------------------------------

func PrintContextFromNative Uses

func PrintContextFromNative(l unsafe.Pointer) *PrintContext

func (*PrintContext) GetCairoContext Uses

func (v *PrintContext) GetCairoContext() *C.cairo_t

func (*PrintContext) SetCairoContext Uses

func (v *PrintContext) SetCairoContext(cairo *C.cairo_t, dpi_x float64, dpi_y float64)

type PrintOperation Uses

type PrintOperation struct {
    GPrintOperation *C.GtkPrintOperation
}

func NewPrintOperation Uses

func NewPrintOperation() *PrintOperation

func (*PrintOperation) Cancel Uses

func (v *PrintOperation) Cancel()

func (*PrintOperation) Connect Uses

func (v *PrintOperation) Connect(s string, f interface{}, datas ...interface{}) int

func (*PrintOperation) IsFinished Uses

func (v *PrintOperation) IsFinished() bool

func (*PrintOperation) Run Uses

func (v *PrintOperation) Run(action PrintOperationAction, parent *Window) (result PrintOperationResult, err error)

type PrintOperationAction Uses

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 Uses

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 Uses

type ProgressBar struct {
    Widget
}

func NewProgressBar Uses

func NewProgressBar() *ProgressBar

func (*ProgressBar) GetEllipsize Uses

func (v *ProgressBar) GetEllipsize() pango.EllipsizeMode

func (*ProgressBar) GetFraction Uses

func (v *ProgressBar) GetFraction() float64

func (*ProgressBar) GetOrientation Uses

func (v *ProgressBar) GetOrientation() ProgressBarOrientation

func (*ProgressBar) GetPulseStep Uses

func (v *ProgressBar) GetPulseStep() float64

func (*ProgressBar) GetText Uses

func (v *ProgressBar) GetText() string

func (*ProgressBar) Pulse Uses

func (v *ProgressBar) Pulse()

func (*ProgressBar) SetEllipsize Uses

func (v *ProgressBar) SetEllipsize(ellipsize pango.EllipsizeMode)

func (*ProgressBar) SetFraction Uses

func (v *ProgressBar) SetFraction(fraction float64)

func (*ProgressBar) SetOrientation Uses

func (v *ProgressBar) SetOrientation(i ProgressBarOrientation)

func (*ProgressBar) SetPulseStep Uses

func (v *ProgressBar) SetPulseStep(fraction float64)

func (*ProgressBar) SetText Uses

func (v *ProgressBar) SetText(show_text string)

type ProgressBarOrientation Uses

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 Uses

type RadioAction struct {
    ToggleAction
}

func NewRadioAction Uses

func NewRadioAction(name string, label string, tooltip string,
    stock_id string, value int) *RadioAction

func (*RadioAction) GetCurrentValue Uses

func (v *RadioAction) GetCurrentValue() int

func (*RadioAction) GetGroup Uses

func (v *RadioAction) GetGroup() *glib.SList

func (*RadioAction) SetCurrentValue Uses

func (v *RadioAction) SetCurrentValue(current_value int)

func (*RadioAction) SetGroup Uses

func (v *RadioAction) SetGroup(group *glib.SList)

type RadioButton Uses

type RadioButton struct {
    CheckButton
}

----------------------------------------------------------------------- GtkRadioButton -----------------------------------------------------------------------

func NewRadioButton Uses

func NewRadioButton(group *glib.SList) *RadioButton

func NewRadioButtonFromWidget Uses

func NewRadioButtonFromWidget(w *RadioButton) *RadioButton

func NewRadioButtonWithLabel Uses

func NewRadioButtonWithLabel(group *glib.SList, label string) *RadioButton

func NewRadioButtonWithLabelFromWidget Uses

func NewRadioButtonWithLabelFromWidget(w *RadioButton, label string) *RadioButton

func NewRadioButtonWithMnemonic Uses

func NewRadioButtonWithMnemonic(group *glib.SList, label string) *RadioButton

func NewRadioButtonWithMnemonicFromWidget Uses

func NewRadioButtonWithMnemonicFromWidget(w *RadioButton, label string) *RadioButton

func (*RadioButton) GetGroup Uses

func (v *RadioButton) GetGroup() *glib.SList

func (*RadioButton) SetGroup Uses

func (v *RadioButton) SetGroup(group *glib.SList)

type RadioMenuItem Uses

type RadioMenuItem struct {
    CheckMenuItem
}

----------------------------------------------------------------------- GtkRadioMenuItem -----------------------------------------------------------------------

func NewRadioMenuItem Uses

func NewRadioMenuItem(group *glib.SList) *RadioMenuItem

func NewRadioMenuItemWithLabel Uses

func NewRadioMenuItemWithLabel(group *glib.SList, label string) *RadioMenuItem

func (*RadioMenuItem) GetGroup Uses

func (v *RadioMenuItem) GetGroup() *glib.SList

func (*RadioMenuItem) SetGroup Uses

func (v *RadioMenuItem) SetGroup(group *glib.SList)

type RadioToolButton Uses

type RadioToolButton struct {
    ToggleToolButton
}

func NewRadioToolButton Uses

func NewRadioToolButton(group *glib.SList) *RadioToolButton

func NewRadioToolButtonFromStock Uses

func NewRadioToolButtonFromStock(group *glib.SList, stock_id string) *RadioToolButton

type Range Uses

type Range struct {
    Widget
}

----------------------------------------------------------------------- GtkRange -----------------------------------------------------------------------

func (*Range) GetAdjustment Uses

func (v *Range) GetAdjustment() *Adjustment

func (*Range) GetFillLevel Uses

func (v *Range) GetFillLevel() float64

func (*Range) GetFlippable Uses

func (v *Range) GetFlippable() bool

func (*Range) GetInverted Uses

func (v *Range) GetInverted() bool

func (*Range) GetRestrictToFillLevel Uses

func (v *Range) GetRestrictToFillLevel() bool

func (*Range) GetShowFillLevel Uses

func (v *Range) GetShowFillLevel() bool

func (*Range) GetValue Uses

func (v *Range) GetValue() float64

func (*Range) SetAdjustment Uses

func (v *Range) SetAdjustment(a *Adjustment)

func (*Range) SetFillLevel Uses

func (v *Range) SetFillLevel(value float64)

func (*Range) SetFlippable Uses

func (v *Range) SetFlippable(b bool)

func (*Range) SetIncrements Uses

func (v *Range) SetIncrements(step, page float64)

func (*Range) SetInverted Uses

func (v *Range) SetInverted(b bool)

func (*Range) SetRange Uses

func (v *Range) SetRange(min, max float64)

func (*Range) SetRestrictToFillLevel Uses

func (v *Range) SetRestrictToFillLevel(b bool)

func (*Range) SetShowFillLevel Uses

func (v *Range) SetShowFillLevel(b bool)

func (*Range) SetValue Uses

func (v *Range) SetValue(value float64)

type RecentAction Uses

type RecentAction struct {
    Action
}

func NewRecentAction Uses

func NewRecentAction(name string, label string, tooltip string,
    stock_id string) *RecentAction

func (*RecentAction) GetShowNumbers Uses

func (v *RecentAction) GetShowNumbers() bool

func (*RecentAction) SetShowNumbers Uses

func (v *RecentAction) SetShowNumbers(show_numbers bool)

type ReliefStyle Uses

type ReliefStyle int
const (
    RELIEF_NORMAL ReliefStyle = iota
    RELIEF_HALF
    RELIEF_NONE
)

type ResizeMode Uses

type ResizeMode int

type ResponseType Uses

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 Uses

type Scale struct {
    Range
}

func NewHScale Uses

func NewHScale(adjustment *Adjustment) *Scale

----------------------------------------------------------------------- GtkHScale -----------------------------------------------------------------------

func NewHScaleWithRange Uses

func NewHScaleWithRange(min, max, step float64) *Scale

func NewVScale Uses

func NewVScale(a *Adjustment) *Scale

----------------------------------------------------------------------- GtkVScale -----------------------------------------------------------------------

func NewVScaleWithRange Uses

func NewVScaleWithRange(min, max, step float64) *Scale

func (*Scale) AddMark Uses

func (v *Scale) AddMark(value float64, position PositionType, markup string)

func (*Scale) ClearMarks Uses

func (v *Scale) ClearMarks()

func (*Scale) GetDigits Uses

func (v *Scale) GetDigits() int

func (*Scale) GetDrawValue Uses

func (v *Scale) GetDrawValue() bool

func (*Scale) GetLayoutOffsets Uses

func (v *Scale) GetLayoutOffsets(x *int, y *int)

func (*Scale) GetValuePos Uses

func (v *Scale) GetValuePos() PositionType

func (*Scale) SetDigits Uses

func (v *Scale) SetDigits(digits int)

func (*Scale) SetDrawValue Uses

func (v *Scale) SetDrawValue(draw_value bool)

func (*Scale) SetValuePos Uses

func (v *Scale) SetValuePos(pos PositionType)

type ScaleButton Uses

type ScaleButton struct {
    Bin
}

func NewScaleButton Uses

func NewScaleButton(size IconSize, min, max, step float64, icons **C.gchar) *ScaleButton

TODO: wrapper around icons** C.gchar

func (*ScaleButton) GetAdjustment Uses

func (v *ScaleButton) GetAdjustment() *Adjustment

func (*ScaleButton) GetMinusButton Uses

func (v *ScaleButton) GetMinusButton() *Widget

func (*ScaleButton) GetPlusButton Uses

func (v *ScaleButton) GetPlusButton() *Widget

func (*ScaleButton) GetPopup Uses

func (v *ScaleButton) GetPopup() *Widget

func (*ScaleButton) GetValue Uses

func (v *ScaleButton) GetValue() float64

func (*ScaleButton) SetAdjustment Uses

func (v *ScaleButton) SetAdjustment(a *Adjustment)

func (*ScaleButton) SetIcons Uses

func (v *ScaleButton) SetIcons(icons **C.gchar)

func (*ScaleButton) SetValue Uses

func (v *ScaleButton) SetValue(value float64)

type Scrollbar Uses

type Scrollbar struct {
    Range
}

----------------------------------------------------------------------- GtkScrollbar -----------------------------------------------------------------------

type ScrolledWindow Uses

type ScrolledWindow struct {
    Bin
}

func NewScrolledWindow Uses

func NewScrolledWindow(hadjustment *Adjustment, vadjustment *Adjustment) *ScrolledWindow

func (*ScrolledWindow) AddWithViewPort Uses

func (v *ScrolledWindow) AddWithViewPort(w IWidget)

func (*ScrolledWindow) GetHAdjustment Uses

func (v *ScrolledWindow) GetHAdjustment() *Adjustment

func (*ScrolledWindow) GetPlacement Uses

func (v *ScrolledWindow) GetPlacement() CornerType

func (*ScrolledWindow) GetPolicy Uses

func (v *ScrolledWindow) GetPolicy(hscrollbar_policy *PolicyType, vscrollbar_policy *PolicyType)

func (*ScrolledWindow) GetShadowType Uses

func (v *ScrolledWindow) GetShadowType() ShadowType

func (*ScrolledWindow) GetVAdjustment Uses

func (v *ScrolledWindow) GetVAdjustment() *Adjustment

func (*ScrolledWindow) SetHAdjustment Uses

func (v *ScrolledWindow) SetHAdjustment(hadjustment *Adjustment)

func (*ScrolledWindow) SetPlacement Uses

func (v *ScrolledWindow) SetPlacement(window_placement CornerType)

func (*ScrolledWindow) SetPolicy Uses

func (v *ScrolledWindow) SetPolicy(hscrollbar_policy PolicyType, vscrollbar_policy PolicyType)

func (*ScrolledWindow) SetShadowType Uses

func (v *ScrolledWindow) SetShadowType(typ ShadowType)

func (*ScrolledWindow) SetVAdjustment Uses

func (v *ScrolledWindow) SetVAdjustment(vadjustment *Adjustment)

func (*ScrolledWindow) UnsetPlacement Uses

func (v *ScrolledWindow) UnsetPlacement()

type SelectionData Uses

type SelectionData struct {
    GSelectionData unsafe.Pointer
}

func NewSelectionDataFromNative Uses

func NewSelectionDataFromNative(l unsafe.Pointer) *SelectionData

func (*SelectionData) GetData Uses

func (v *SelectionData) GetData() unsafe.Pointer

func (*SelectionData) GetLength Uses

func (v *SelectionData) GetLength() int

func (*SelectionData) GetText Uses

func (v *SelectionData) GetText() string

type SelectionMode Uses

type SelectionMode int
const (
    SELECTION_NONE SelectionMode = iota
    SELECTION_SINGLE
    SELECTION_BROWSE
    SELECTION_MULTIPLE
    SELECTION_EXTENDED = SELECTION_MULTIPLE
)

type Separator Uses

type Separator struct {
    Widget
}

----------------------------------------------------------------------- GtkSeparator -----------------------------------------------------------------------

type SeparatorMenuItem Uses

type SeparatorMenuItem struct {
    MenuItem
}

----------------------------------------------------------------------- GtkSeparatorMenuItem -----------------------------------------------------------------------

func NewSeparatorMenuItem Uses

func NewSeparatorMenuItem() *SeparatorMenuItem

type SeparatorToolItem Uses

type SeparatorToolItem struct {
    ToolItem
}

----------------------------------------------------------------------- GtkSeparatorToolItem -----------------------------------------------------------------------

func NewSeparatorToolItem Uses

func NewSeparatorToolItem() *SeparatorToolItem

func (*SeparatorToolItem) GetDraw Uses

func (v *SeparatorToolItem) GetDraw() bool

func (*SeparatorToolItem) SetDraw Uses

func (v *SeparatorToolItem) SetDraw(draw bool)

type Settings Uses

type Settings struct {
    GSettings *C.GtkSettings
}

----------------------------------------------------------------------- GtkSettings -----------------------------------------------------------------------

func GetSettingsForScreen Uses

func GetSettingsForScreen(screen gdk.Screen) *Settings

gtk_settings_get_for_screen

func SettingsGetDefault Uses

func SettingsGetDefault() *Settings

func (*Settings) SetDoubleProperty Uses

func (s *Settings) SetDoubleProperty(name string, v_double float64, origin string)

func (*Settings) SetLongProperty Uses

func (s *Settings) SetLongProperty(name string, v_long int32, origin string)

func (*Settings) SetStringProperty Uses

func (s *Settings) SetStringProperty(name string, v_string string, origin string)

func (*Settings) ToGObject Uses

func (s *Settings) ToGObject() *glib.GObject

type ShadowType Uses

type ShadowType int

----------------------------------------------------------------------- GtkFrame -----------------------------------------------------------------------

const (
    SHADOW_NONE ShadowType = iota
    SHADOW_IN
    SHADOW_OUT
    SHADOW_ETCHED_IN
    SHADOW_ETCHED_OUT
)

type SizeGroup Uses

type SizeGroup struct {
    GSizeGroup *C.GtkSizeGroup
}

func NewSizeGroup Uses

func NewSizeGroup(mode SizeGroupMode) *SizeGroup

func (*SizeGroup) AddWidget Uses

func (v *SizeGroup) AddWidget(w IWidget)

func (*SizeGroup) GetIgnoreHidden Uses

func (v *SizeGroup) GetIgnoreHidden() bool

func (*SizeGroup) GetMode Uses

func (v *SizeGroup) GetMode() SizeGroupMode

func (*SizeGroup) GetWidgets Uses

func (v *SizeGroup) GetWidgets() *glib.SList

func (*SizeGroup) RemoveWidget Uses

func (v *SizeGroup) RemoveWidget(w IWidget)

func (*SizeGroup) SetIgnoreHidden Uses

func (v *SizeGroup) SetIgnoreHidden(ignore_hidden bool)

func (*SizeGroup) SetMode Uses

func (v *SizeGroup) SetMode(mode SizeGroupMode)

type SizeGroupMode Uses

type SizeGroupMode int

----------------------------------------------------------------------- GtkSizeGroup -----------------------------------------------------------------------

const (
    SIZE_GROUP_NONE SizeGroupMode = iota
    SIZE_GROUP_HORIZONTAL
    SIZE_GROUP_VERTICAL
    SIZE_GROUP_BOTH
)

type SortFunc Uses

type SortFunc func(m *TreeModel, a *TreeIter, b *TreeIter) int

type SortType Uses

type SortType int

----------------------------------------------------------------------- GtkTreeSortable -----------------------------------------------------------------------

const (
    SORT_ASCENDING SortType = iota
    SORT_DESCENDING
)

type SpinButton Uses

type SpinButton struct {
    Entry
}

func NewSpinButton Uses

func NewSpinButton(a *Adjustment, climb float64, digits uint) *SpinButton

func NewSpinButtonWithRange Uses

func NewSpinButtonWithRange(min, max, step float64) *SpinButton

func (*SpinButton) Configure Uses

func (v *SpinButton) Configure(a *Adjustment, climb_rate float64, digits uint)

func (*SpinButton) GetAdjustment Uses

func (v *SpinButton) GetAdjustment() *Adjustment

func (*SpinButton) GetDigits Uses

func (v *SpinButton) GetDigits() uint

func (*SpinButton) GetIncrements Uses

func (v *SpinButton) GetIncrements() (float64, float64)

func (*SpinButton) GetNumeric Uses

func (v *SpinButton) GetNumeric() bool

func (*SpinButton) GetRange Uses

func (v *SpinButton) GetRange() (float64, float64)

func (*SpinButton) GetSnapToTicks Uses

func (v *SpinButton) GetSnapToTicks() bool

func (*SpinButton) GetUpdatePolicy Uses

func (v *SpinButton) GetUpdatePolicy() SpinButtonUpdatePolicy

func (*SpinButton) GetValue Uses

func (v *SpinButton) GetValue() float64

func (*SpinButton) GetValueAsFloat Uses

func (v *SpinButton) GetValueAsFloat() float64

func (*SpinButton) GetValueAsInt Uses

func (v *SpinButton) GetValueAsInt() int

func (*SpinButton) GetWrap Uses

func (v *SpinButton) GetWrap() bool

func (*SpinButton) OnChangeValue Uses

func (v *SpinButton) OnChangeValue(onclick interface{}, datas ...interface{}) int

func (*SpinButton) OnInput Uses

func (v *SpinButton) OnInput(onclick interface{}, datas ...interface{}) int

func (*SpinButton) OnOutput Uses

func (v *SpinButton) OnOutput(onclick interface{}, datas ...interface{}) int

func (*SpinButton) OnValueChanged Uses

func (v *SpinButton) OnValueChanged(onclick interface{}, datas ...interface{}) int

func (*SpinButton) OnWrapped Uses

func (v *SpinButton) OnWrapped(onclick interface{}, datas ...interface{}) int

func (*SpinButton) SetAdjustment Uses

func (v *SpinButton) SetAdjustment(a *Adjustment)

func (*SpinButton) SetDigits Uses

func (v *SpinButton) SetDigits(digits uint)

func (*SpinButton) SetIncrements Uses

func (v *SpinButton) SetIncrements(step, page float64)

func (*SpinButton) SetNumeric Uses

func (v *SpinButton) SetNumeric(numeric bool)

func (*SpinButton) SetRange Uses

func (v *SpinButton) SetRange(min, max float64)

func (*SpinButton) SetSnapToTicks Uses

func (v *SpinButton) SetSnapToTicks(snap_to_ticks bool)

func (*SpinButton) SetUpdatePolicy Uses

func (v *SpinButton) SetUpdatePolicy(policy SpinButtonUpdatePolicy)

func (*SpinButton) SetValue Uses

func (v *SpinButton) SetValue(val float64)

func (*SpinButton) SetWrap Uses

func (v *SpinButton) SetWrap(wrap bool)

func (*SpinButton) Spin Uses

func (v *SpinButton) Spin(direction SpinType, increment float64)

func (*SpinButton) Update Uses

func (v *SpinButton) Update()

type SpinButtonUpdatePolicy Uses

type SpinButtonUpdatePolicy int

----------------------------------------------------------------------- GtkSpinButton -----------------------------------------------------------------------

const (
    UPDATE_ALWAYS SpinButtonUpdatePolicy = iota
    UPDATE_IF_VALID
)

type SpinType Uses

type SpinType int
const (
    SPIN_STEP_FORWARD SpinType = iota
    SPIN_STEP_BACKWARD
    SPIN_PAGE_FORWARD
    SPIN_PAGE_BACKWARD
    SPIN_HOME
    SPIN_END
    SPIN_USER_DEFINED
)

type Spinner Uses

type Spinner struct {
    DrawingArea
}

func NewSpinner Uses

func NewSpinner() *Spinner

func (*Spinner) Start Uses

func (s *Spinner) Start()

func (*Spinner) Stop Uses

func (s *Spinner) Stop()

type StateType Uses

type StateType int
const (
    STATE_NORMAL StateType = iota
    STATE_ACTIVE
    STATE_PRELIGHT
    STATE_SELECTED
    STATE_INSENSITIVE
)

type StatusIcon Uses

type StatusIcon struct {
    GStatusIcon *C.GtkStatusIcon
}

----------------------------------------------------------------------- GtkStatusIcon -----------------------------------------------------------------------

func NewStatusIcon Uses

func NewStatusIcon() *StatusIcon

func NewStatusIconFromFile Uses

func NewStatusIconFromFile(filename string) *StatusIcon

func NewStatusIconFromIconName Uses

func NewStatusIconFromIconName(icon_name string) *StatusIcon

func NewStatusIconFromPixbuf Uses

func NewStatusIconFromPixbuf(pixbuf *gdkpixbuf.Pixbuf) *StatusIcon

func NewStatusIconFromStock Uses

func NewStatusIconFromStock(stock_id string) *StatusIcon

func (*StatusIcon) Connect Uses

func (v *StatusIcon) Connect(s string, f interface{}, datas ...interface{}) int

func (*StatusIcon) GetHasTooltip Uses

func (v *StatusIcon) GetHasTooltip() bool

func (*StatusIcon) GetIconName Uses

func (v *StatusIcon) GetIconName() string

func (*StatusIcon) GetPixbuf Uses

func (v *StatusIcon) GetPixbuf() *gdkpixbuf.Pixbuf

func (*StatusIcon) GetStock Uses

func (v *StatusIcon) GetStock() string

func (*StatusIcon) GetTitle Uses

func (v *StatusIcon) GetTitle() string

func (*StatusIcon) GetTooltipMarkup Uses

func (v *StatusIcon) GetTooltipMarkup() string

func (*StatusIcon) GetTooltipText Uses

func (v *StatusIcon) GetTooltipText() string

func (*StatusIcon) GetVisible Uses

func (v *StatusIcon) GetVisible() bool

func (*StatusIcon) SetFromFile Uses

func (v *StatusIcon) SetFromFile(filename string)

func (*StatusIcon) SetFromIconName Uses

func (v *StatusIcon) SetFromIconName(icon_name string)

func (*StatusIcon) SetFromPixbuf Uses

func (v *StatusIcon) SetFromPixbuf(pixbuf *gdkpixbuf.Pixbuf)

func (*StatusIcon) SetFromStock Uses

func (v *StatusIcon) SetFromStock(stock_id string)

func (*StatusIcon) SetHasTooltip Uses

func (v *StatusIcon) SetHasTooltip(setting bool)

func (*StatusIcon) SetName Uses

func (v *StatusIcon) SetName(name string)

func (*StatusIcon) SetTitle Uses

func (v *StatusIcon) SetTitle(title string)

func (*StatusIcon) SetTooltipMarkup Uses

func (v *StatusIcon) SetTooltipMarkup(markup string)

func (*StatusIcon) SetTooltipText Uses

func (v *StatusIcon) SetTooltipText(text string)

func (*StatusIcon) SetVisible Uses

func (v *StatusIcon) SetVisible(setting bool)

type Statusbar Uses

type Statusbar struct {
    HBox
}

----------------------------------------------------------------------- GtkStatusbar -----------------------------------------------------------------------

func NewStatusbar Uses

func NewStatusbar() *Statusbar

func (*Statusbar) GetContextId Uses

func (v *Statusbar) GetContextId(content_description string) uint

func (*Statusbar) GetHasResizeGrip Uses

func (v *Statusbar) GetHasResizeGrip() bool

func (*Statusbar) Pop Uses

func (v *Statusbar) Pop(context_id uint)

func (*Statusbar) Push Uses

func (v *Statusbar) Push(context_id uint, text string)

func (*Statusbar) Remove Uses

func (v *Statusbar) Remove(context_id uint, message_id uint)

func (*Statusbar) SetHasResizeGrip Uses

func (v *Statusbar) SetHasResizeGrip(add_tearoffs bool)

type StockItem Uses

type StockItem struct {
    GStockItem *C.GtkStockItem
}

func (*StockItem) Add Uses

func (v *StockItem) Add(nitems uint)

func (*StockItem) AddStatic Uses

func (v *StockItem) AddStatic(nitems uint)

type Style Uses

type Style struct {
    GStyle *C.GtkStyle
}

func NewStyle Uses

func NewStyle() *Style

func (*Style) Attach Uses

func (v *Style) Attach(window *Window) *Style

func (*Style) Copy Uses

func (v *Style) Copy() *Style

func (*Style) Detach Uses

func (v *Style) Detach()

func (*Style) LookupColor Uses

func (v *Style) LookupColor(colorName string) (*gdk.Color, bool)

func (*Style) SetBackground Uses

func (v *Style) SetBackground(window *Window, state StateType)

type Table Uses

type Table struct {
    Container
}

func NewTable Uses

func NewTable(rows uint, columns uint, homogeneous bool) *Table

func (*Table) Attach Uses

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 Uses

func (v *Table) AttachDefaults(child IWidget, left_attach uint, right_attach uint, top_attach uint, bottom_attach uint)

func (*Table) GetColSpacing Uses

func (v *Table) GetColSpacing(column uint) uint

func (*Table) GetDefaultColSpacing Uses

func (v *Table) GetDefaultColSpacing() uint

func (*Table) GetDefaultRowSpacing Uses

func (v *Table) GetDefaultRowSpacing() uint

func (*Table) GetHomogeneous Uses

func (v *Table) GetHomogeneous() bool

func (*Table) GetRowSpacing Uses

func (v *Table) GetRowSpacing(row uint) uint

func (*Table) Resize Uses

func (v *Table) Resize(rows uint, columns uint)

func (*Table) SetColSpacing Uses

func (v *Table) SetColSpacing(column uint, spacing uint)

func (*Table) SetColSpacings Uses

func (v *Table) SetColSpacings(spacing uint)

func (*Table) SetHomogeneous Uses

func (v *Table) SetHomogeneous(homogeneous bool)

func (*Table) SetRowSpacing Uses

func (v *Table) SetRowSpacing(row uint, spacing uint)

func (*Table) SetRowSpacings Uses

func (v *Table) SetRowSpacings(spacing uint)

type TargetEntry Uses

type TargetEntry struct {
    Target string
    Flags  uint
    Info   uint
}

type TearoffMenuItem Uses

type TearoffMenuItem struct {
    MenuItem
}

----------------------------------------------------------------------- GtkTearoffMenuItem -----------------------------------------------------------------------

func NewTearoffMenuItem Uses

func NewTearoffMenuItem() *TearoffMenuItem

type TextAttributes Uses

type TextAttributes struct {
    GTextAttributes *C.GtkTextAttributes
}

----------------------------------------------------------------------- GtkTextAttributes -----------------------------------------------------------------------

func NewTextAttributes Uses