Versions in this module Expand all Collapse all v2 v2.4.2 Jul 2, 2021 Changes in this version type TextEdit — windows/amd64 + func (e *TextEdit) ReadOnly() bool + func (e *TextEdit) SetReadOnly(readOnly bool) v2.4.1 Jul 2, 2021 Changes in this version + const Key0 + const Key1 + const Key2 + const Key3 + const Key4 + const Key5 + const Key6 + const Key7 + const Key8 + const Key9 + const KeyA + const KeyAccept + const KeyAdd + const KeyAlt + const KeyApps + const KeyAttention + const KeyB + const KeyBack + const KeyBrowserBack + const KeyBrowserFavorites + const KeyBrowserForward + const KeyBrowserHome + const KeyBrowserRefresh + const KeyBrowserSearch + const KeyBrowserStop + const KeyC + const KeyCancel + const KeyCapital + const KeyClear + const KeyControl + const KeyConvert + const KeyCrSel + const KeyD + const KeyDecimal + const KeyDelete + const KeyDivide + const KeyDown + const KeyE + const KeyEnd + const KeyErEOF + const KeyEscape + const KeyExSel + const KeyExecute + const KeyF + const KeyF1 + const KeyF10 + const KeyF11 + const KeyF12 + const KeyF13 + const KeyF14 + const KeyF15 + const KeyF16 + const KeyF17 + const KeyF18 + const KeyF19 + const KeyF2 + const KeyF20 + const KeyF21 + const KeyF22 + const KeyF23 + const KeyF24 + const KeyF3 + const KeyF4 + const KeyF5 + const KeyF6 + const KeyF7 + const KeyF8 + const KeyF9 + const KeyFinal + const KeyG + const KeyH + const KeyHangul + const KeyHanja + const KeyHelp + const KeyHome + const KeyI + const KeyIMEOff + const KeyIMEOn + const KeyIco00 + const KeyIcoClear + const KeyIcoHelp + const KeyInsert + const KeyJ + const KeyJunja + const KeyK + const KeyKana + const KeyKanji + const KeyL + const KeyLaunchApp1 + const KeyLaunchApp2 + const KeyLaunchMail + const KeyLaunchMediaSelect + const KeyLeft + const KeyLeftAlt + const KeyLeftControl + const KeyLeftMouseButton + const KeyLeftShift + const KeyLeftWindows + const KeyM + const KeyMediaNextTrack + const KeyMediaPlayPause + const KeyMediaPrevTrack + const KeyMediaStop + const KeyMiddleMouseButton + const KeyModeChange + const KeyMultiply + const KeyN + const KeyNext + const KeyNoName + const KeyNonConvert + const KeyNum0 + const KeyNum1 + const KeyNum2 + const KeyNum3 + const KeyNum4 + const KeyNum5 + const KeyNum6 + const KeyNum7 + const KeyNum8 + const KeyNum9 + const KeyNumLock + const KeyO + const KeyOEM1 + const KeyOEM102 + const KeyOEM2 + const KeyOEM3 + const KeyOEM4 + const KeyOEM5 + const KeyOEM6 + const KeyOEM7 + const KeyOEM8 + const KeyOEMAttention + const KeyOEMAuto + const KeyOEMAx + const KeyOEMBacktab + const KeyOEMClear + const KeyOEMComma + const KeyOEMCopy + const KeyOEMCuSel + const KeyOEMEnlw + const KeyOEMFinish + const KeyOEMFjJisho + const KeyOEMFjLoya + const KeyOEMFjMasshou + const KeyOEMFjRoya + const KeyOEMFjTouroku + const KeyOEMJump + const KeyOEMMinus + const KeyOEMNecEqual + const KeyOEMPA1 + const KeyOEMPA2 + const KeyOEMPA3 + const KeyOEMPeriod + const KeyOEMPlus + const KeyOEMReset + const KeyOEMWSControl + const KeyP + const KeyPa1 + const KeyPacket + const KeyPause + const KeyPlay + const KeyPrint + const KeyPrior + const KeyProcesskey + const KeyQ + const KeyR + const KeyReturn + const KeyRight + const KeyRightAlt + const KeyRightControl + const KeyRightMouseButton + const KeyRightShift + const KeyRightWindows + const KeyS + const KeyScroll + const KeySelect + const KeySeparator + const KeyShift + const KeySleep + const KeySnapshot + const KeySpace + const KeySubtract + const KeyT + const KeyTab + const KeyU + const KeyUp + const KeyV + const KeyVolumeDown + const KeyVolumeMute + const KeyVolumeUp + const KeyW + const KeyX + const KeyXMouseButton1 + const KeyXMouseButton2 + const KeyY + const KeyZ + const KeyZoom + var Color3DDarkShadow = sysColor(w32.COLOR_3DDKSHADOW) + var Color3DFace = sysColor(w32.COLOR_3DFACE) + var Color3DHighlight = sysColor(w32.COLOR_3DHIGHLIGHT) + var Color3DLight = sysColor(w32.COLOR_3DLIGHT) + var Color3DShadow = sysColor(w32.COLOR_3DSHADOW) + var ColorActiveBorder = sysColor(w32.COLOR_ACTIVEBORDER) + var ColorActiveCaption = sysColor(w32.COLOR_ACTIVECAPTION) + var ColorAppWorkspace = sysColor(w32.COLOR_APPWORKSPACE) + var ColorBackground = sysColor(w32.COLOR_BACKGROUND) + var ColorButtonFace = sysColor(w32.COLOR_BTNFACE) + var ColorButtonHighlight = sysColor(w32.COLOR_BTNHIGHLIGHT) + var ColorButtonShadow = sysColor(w32.COLOR_BTNSHADOW) + var ColorButtonText = sysColor(w32.COLOR_BTNTEXT) + var ColorCaptionText = sysColor(w32.COLOR_CAPTIONTEXT) + var ColorDesktop = sysColor(w32.COLOR_DESKTOP) + var ColorGradientActiveCaption = sysColor(w32.COLOR_GRADIENTACTIVECAPTION) + var ColorGradientInactiveCaption = sysColor(w32.COLOR_GRADIENTINACTIVECAPTION) + var ColorGrayText = sysColor(w32.COLOR_GRAYTEXT) + var ColorHighlight = sysColor(w32.COLOR_HIGHLIGHT) + var ColorHighlightText = sysColor(w32.COLOR_HIGHLIGHTTEXT) + var ColorHotlight = sysColor(w32.COLOR_HOTLIGHT) + var ColorInactiveBorder = sysColor(w32.COLOR_INACTIVEBORDER) + var ColorInactiveCaption = sysColor(w32.COLOR_INACTIVECAPTION) + var ColorInactiveCaptionText = sysColor(w32.COLOR_INACTIVECAPTIONTEXT) + var ColorInfoBackground = sysColor(w32.COLOR_INFOBK) + var ColorInfoText = sysColor(w32.COLOR_INFOTEXT) + var ColorMenu = sysColor(w32.COLOR_MENU) + var ColorMenuBar = sysColor(w32.COLOR_MENUBAR) + var ColorMenuHighlight = sysColor(w32.COLOR_MENUHILIGHT) + var ColorMenuText = sysColor(w32.COLOR_MENUTEXT) + var ColorScrollBar = sysColor(w32.COLOR_SCROLLBAR) + var ColorWindow = sysColor(w32.COLOR_WINDOW) + var ColorWindowFrame = sysColor(w32.COLOR_WINDOWFRAME) + var ColorWindowText = sysColor(w32.COLOR_WINDOWTEXT) + var CursorAppStarting = loadCursor(w32.IDC_APPSTARTING) + var CursorArrow = loadCursor(w32.IDC_ARROW) + var CursorCross = loadCursor(w32.IDC_CROSS) + var CursorHand = loadCursor(w32.IDC_HAND) + var CursorHelp = loadCursor(w32.IDC_HELP) + var CursorIBeam = loadCursor(w32.IDC_IBEAM) + var CursorNo = loadCursor(w32.IDC_NO) + var CursorSizeAll = loadCursor(w32.IDC_SIZEALL) + var CursorSizeNESW = loadCursor(w32.IDC_SIZENESW) + var CursorSizeNS = loadCursor(w32.IDC_SIZENS) + var CursorSizeNWSE = loadCursor(w32.IDC_SIZENWSE) + var CursorSizeWE = loadCursor(w32.IDC_SIZEWE) + var CursorUpArrow = loadCursor(w32.IDC_UPARROW) + var CursorWait = loadCursor(w32.IDC_WAIT) + var IconApplication = loadIcon(w32.IDI_APPLICATION) + var IconError = loadIcon(w32.IDI_ERROR) + var IconInformation = loadIcon(w32.IDI_INFORMATION) + var IconQuestion = loadIcon(w32.IDI_QUESTION) + var IconShield = loadIcon(w32.IDI_SHIELD) + var IconWarning = loadIcon(w32.IDI_WARNING) + var IconWinLogo = loadIcon(w32.IDI_WINLOGO) + var NoExactFontMatch = errors.New(...) — windows/amd64 + func Enabled(c EnabledControl) bool — windows/amd64 + func MessageBox(caption, text string) — windows/amd64 + func MessageBoxCustom(caption, text string, flags uint) int — windows/amd64 + func MessageBoxError(caption, text string) — windows/amd64 + func MessageBoxInfo(caption, text string) — windows/amd64 + func MessageBoxOKCancel(caption, text string) bool — windows/amd64 + func MessageBoxQuestion(caption, text string) — windows/amd64 + func MessageBoxWarning(caption, text string) — windows/amd64 + func MessageBoxYesNo(caption, text string) bool — windows/amd64 + func Visible(c VisibleControl) bool — windows/amd64 + type Anchor int — windows/amd64 + const AnchorCenter + const AnchorMax + const AnchorMaxAndCenter + const AnchorMin + const AnchorMinAndCenter + const AnchorMinAndMax + func (a Anchor) String() string + type Button struct — windows/amd64 + func NewButton() *Button + func (b *Button) OnClick() func() + func (b *Button) OnTabFocus() func() + func (b *Button) SetOnClick(f func()) + func (b *Button) SetOnTabFocus(f func()) + func (c *Button) Focus() + func (c *Button) Font() *Font + func (c *Button) HasFocus() bool + func (c *Button) SetFont(font *Font) + func (c *Button) SetText(text string) + func (c *Button) Text() string + type Canvas struct — windows/amd64 + func (c *Canvas) Arc(x, y, width, height int, fromClockAngle, dAngle float64, color Color) + func (c *Canvas) ClearDrawRegions() + func (c *Canvas) DrawEllipse(x, y, width, height int, color Color) + func (c *Canvas) DrawImage(img *Image, src Rectangle, destX, destY int) + func (c *Canvas) DrawPie(x, y, width, height int, fromClockAngle, dAngle float64, color Color) + func (c *Canvas) DrawRect(x, y, width, height int, color Color) + func (c *Canvas) FillEllipse(x, y, width, height int, color Color) + func (c *Canvas) FillPie(x, y, width, height int, fromClockAngle, dAngle float64, color Color) + func (c *Canvas) FillRect(x, y, width, height int, color Color) + func (c *Canvas) Handle() uintptr + func (c *Canvas) Height() int + func (c *Canvas) Line(x1, y1, x2, y2 int, color Color) + func (c *Canvas) Polygon(p []Point, color Color) + func (c *Canvas) Polyline(p []Point, color Color) + func (c *Canvas) PopDrawRegion() + func (c *Canvas) PushDrawRegion(x, y, width, height int) + func (c *Canvas) SetFont(font *Font) + func (c *Canvas) Size() (width, height int) + func (c *Canvas) TextExtent(s string) (width, height int) + func (c *Canvas) TextOut(x, y int, s string, color Color) + func (c *Canvas) TextRect(x, y, w, h int, s string, color Color) + func (c *Canvas) TextRectExtent(s string, givenWidth int) (width, height int) + func (c *Canvas) TextRectFormat(x, y, w, h int, s string, format Format, color Color) + func (c *Canvas) Width() int + type CheckBox struct — windows/amd64 + func NewCheckBox() *CheckBox + func (c *CheckBox) Checked() bool + func (c *CheckBox) Focus() + func (c *CheckBox) Font() *Font + func (c *CheckBox) HasFocus() bool + func (c *CheckBox) OnTabFocus() func() + func (c *CheckBox) SetChecked(checked bool) + func (c *CheckBox) SetFont(font *Font) + func (c *CheckBox) SetOnChange(f func(checked bool)) + func (c *CheckBox) SetOnTabFocus(f func()) + func (c *CheckBox) SetText(text string) + func (c *CheckBox) Text() string + type Color uint32 + func RGB(r, g, b uint8) Color + func (c Color) B() uint8 + func (c Color) G() uint8 + func (c Color) R() uint8 + type ComboBox struct — windows/amd64 + func NewComboBox() *ComboBox + func (c *ComboBox) Focus() + func (c *ComboBox) Font() *Font + func (c *ComboBox) HasFocus() bool + func (c *ComboBox) OnTabFocus() func() + func (c *ComboBox) SetFont(font *Font) + func (c *ComboBox) SetOnTabFocus(f func()) + func (c *ComboBox) SetText(text string) + func (c *ComboBox) Text() string + func (e *ComboBox) AddItem(s string) + func (e *ComboBox) Clear() + func (e *ComboBox) Items() []string + func (e *ComboBox) SelectedIndex() int + func (e *ComboBox) SetItems(items []string) + func (e *ComboBox) SetOnChange(f func(newIndex int)) + func (e *ComboBox) SetSelectedIndex(i int) + type Container interface — windows/amd64 + Add func(Control) + Bounds func() (x, y, width, height int) + Children func() []Control + Enabled func() bool + Font func() *Font + InnerBounds func() (x, y, width, height int) + Parent func() Container + Remove func(Control) + SetBounds func(x, y, width, height int) + Visible func() bool + type Control interface — windows/amd64 + Anchors func() (horizontal, vertical Anchor) + Bounds func() (x, y, width, height int) + Enabled func() bool + Handle func() uintptr + Parent func() Container + SetBounds func(x, y, width, height int) + SetHorizontalAnchor func(a Anchor) + SetVerticalAnchor func(a Anchor) + Visible func() bool + type Cursor struct + func NewCursorFromImage(img image.Image, x, y int) (*Cursor, error) + type EditLine struct — windows/amd64 + func NewEditLine() *EditLine + func (c *EditLine) CursorPosition() (start, end int) + func (c *EditLine) SelectAll() + func (c *EditLine) SetCursorPosition(pos int) + func (c *EditLine) SetSelection(start, end int) + func (e *EditLine) CharacterLimit() int + func (e *EditLine) IsPassword() bool + func (e *EditLine) OnTabFocus() func() + func (e *EditLine) OnTextChange() func() + func (e *EditLine) ReadOnly() bool + func (e *EditLine) SetCharacterLimit(count int) + func (e *EditLine) SetIsPassword(isPassword bool) + func (e *EditLine) SetOnTabFocus(f func()) + func (e *EditLine) SetOnTextChange(f func()) + func (e *EditLine) SetReadOnly(readOnly bool) + type EnabledControl interface — windows/amd64 + Enabled func() bool + Parent func() Container + type FileOpenDialog struct — windows/amd64 + func NewFileOpenDialog() *FileOpenDialog + func (dlg *FileOpenDialog) AddFilter(text, ext1 string, exts ...string) + func (dlg *FileOpenDialog) ExecuteMultiSelection(parent *Window) (bool, []string) + func (dlg *FileOpenDialog) ExecuteSingleSelection(parent *Window) (bool, string) + func (dlg *FileOpenDialog) SetFilterIndex(i int) + func (dlg *FileOpenDialog) SetInitialPath(path string) + func (dlg *FileOpenDialog) SetTitle(title string) + type FileSaveDialog struct — windows/amd64 + func NewFileSaveDialog() *FileSaveDialog + func (dlg *FileSaveDialog) AddFilter(text, ext1 string, exts ...string) + func (dlg *FileSaveDialog) Execute(parent *Window) (bool, string) + func (dlg *FileSaveDialog) SetAppendExt(ext bool) + func (dlg *FileSaveDialog) SetFilterIndex(i int) + func (dlg *FileSaveDialog) SetInitialPath(path string) + func (dlg *FileSaveDialog) SetTitle(title string) + type FloatUpDown struct — windows/amd64 + func NewFloatUpDown() *FloatUpDown + func (c *FloatUpDown) CursorPosition() (start, end int) + func (c *FloatUpDown) SelectAll() + func (c *FloatUpDown) SetCursorPosition(pos int) + func (c *FloatUpDown) SetSelection(start, end int) + func (n *FloatUpDown) Max() float64 + func (n *FloatUpDown) Min() float64 + func (n *FloatUpDown) MinMax() (min, max float64) + func (n *FloatUpDown) OnTabFocus() func() + func (n *FloatUpDown) OnValueChange() func(value float64) + func (n *FloatUpDown) Precision() int + func (n *FloatUpDown) SetBounds(x, y, width, height int) + func (n *FloatUpDown) SetHeight(height int) + func (n *FloatUpDown) SetMax(max float64) + func (n *FloatUpDown) SetMin(min float64) + func (n *FloatUpDown) SetMinMax(min, max float64) + func (n *FloatUpDown) SetOnTabFocus(f func()) + func (n *FloatUpDown) SetOnValueChange(f func(value float64)) + func (n *FloatUpDown) SetPos(x, y int) + func (n *FloatUpDown) SetPrecision(p int) + func (n *FloatUpDown) SetSize(width, height int) + func (n *FloatUpDown) SetValue(f float64) + func (n *FloatUpDown) SetWidth(width int) + func (n *FloatUpDown) SetX(x int) + func (n *FloatUpDown) SetY(y int) + func (n *FloatUpDown) Value() float64 + type FolderSelectDialog struct — windows/amd64 + func NewFolderSelectDialog() *FolderSelectDialog + func (dlg *FolderSelectDialog) Execute(parent *Window) (bool, string) + func (dlg *FolderSelectDialog) SetTitle(title string) + type Font struct — windows/amd64 + Desc FontDesc + func NewFont(desc FontDesc) (*Font, error) + type FontDesc struct — windows/amd64 + Bold bool + Height int + Italic bool + Name string + StrikedOut bool + Underlined bool + type Format int — windows/amd64 + const FormatBottomCenter + const FormatBottomLeft + const FormatBottomRight + const FormatCenter + const FormatCenterLeft + const FormatCenterRight + const FormatTopCenter + const FormatTopLeft + const FormatTopRight + type Icon struct + func NewIconFromExeResource(resourceID int) (*Icon, error) + func NewIconFromFile(path string) (*Icon, error) + func NewIconFromImage(img image.Image) (*Icon, error) + func NewIconFromReader(r io.Reader) (*Icon, error) + type Image struct — windows/amd64 + func NewImage(img image.Image) *Image + func NewImageFromHBITMAP(bitmap uintptr, width, height int) *Image + func (img *Image) Bounds() Rectangle + func (img *Image) Height() int + func (img *Image) Size() (w, h int) + func (img *Image) Width() int + type IntUpDown struct — windows/amd64 + func NewIntUpDown() *IntUpDown + func (c *IntUpDown) CursorPosition() (start, end int) + func (c *IntUpDown) SelectAll() + func (c *IntUpDown) SetCursorPosition(pos int) + func (c *IntUpDown) SetSelection(start, end int) + func (n *IntUpDown) Max() int + func (n *IntUpDown) Min() int + func (n *IntUpDown) MinMax() (min, max int) + func (n *IntUpDown) OnTabFocus() func() + func (n *IntUpDown) OnValueChange() func(value int) + func (n *IntUpDown) SetBounds(x, y, width, height int) + func (n *IntUpDown) SetHeight(height int) + func (n *IntUpDown) SetMax(max int) + func (n *IntUpDown) SetMin(min int) + func (n *IntUpDown) SetMinMax(min, max int) + func (n *IntUpDown) SetOnTabFocus(f func()) + func (n *IntUpDown) SetOnValueChange(f func(value int)) + func (n *IntUpDown) SetPos(x, y int) + func (n *IntUpDown) SetSize(width, height int) + func (n *IntUpDown) SetValue(v int) + func (n *IntUpDown) SetVisible(v bool) + func (n *IntUpDown) SetWidth(width int) + func (n *IntUpDown) SetX(x int) + func (n *IntUpDown) SetY(y int) + func (n *IntUpDown) Value() int + type Key int + type Label struct — windows/amd64 + func NewLabel() *Label + func (c *Label) Focus() + func (c *Label) Font() *Font + func (c *Label) HasFocus() bool + func (c *Label) SetFont(font *Font) + func (c *Label) SetText(text string) + func (c *Label) Text() string + func (l *Label) Alignment() TextAlignment + func (l *Label) SetAlignment(a TextAlignment) + type Menu struct — windows/amd64 + func NewMainMenu() *Menu + func NewMenu(name string) *Menu + func (m *Menu) Add(item MenuItem) *Menu + type MenuItem interface — windows/amd64 + func NewMenuSeparator() MenuItem + type MenuString struct — windows/amd64 + func NewMenuString(text string) *MenuString + func (m *MenuString) Checked() bool + func (m *MenuString) OnClick() func() + func (m *MenuString) SetChecked(c bool) + func (m *MenuString) SetOnClick(f func()) *MenuString + func (m *MenuString) SetText(s string) + func (m *MenuString) Text() string + type MouseButton int — windows/amd64 + const MouseButtonLeft + const MouseButtonMiddle + const MouseButtonRight + func (b MouseButton) String() string + type PaintBox struct — windows/amd64 + func NewPaintBox() *PaintBox + func (c *PaintBox) Anchors() (horizontal, vertical Anchor) + func (c *PaintBox) Bounds() (x, y, width, height int) + func (c *PaintBox) Enabled() bool + func (c *PaintBox) Handle() uintptr + func (c *PaintBox) Height() int + func (c *PaintBox) HorizontalAnchor() Anchor + func (c *PaintBox) OnResize() func() + func (c *PaintBox) Parent() Container + func (c *PaintBox) Position() (x, y int) + func (c *PaintBox) SetAnchors(horizontal, vertical Anchor) + func (c *PaintBox) SetBounds(x, y, width, height int) + func (c *PaintBox) SetEnabled(e bool) + func (c *PaintBox) SetHeight(height int) + func (c *PaintBox) SetHorizontalAnchor(a Anchor) + func (c *PaintBox) SetOnResize(f func()) + func (c *PaintBox) SetPosition(x, y int) + func (c *PaintBox) SetSize(width, height int) + func (c *PaintBox) SetVerticalAnchor(a Anchor) + func (c *PaintBox) SetVisible(v bool) + func (c *PaintBox) SetWidth(width int) + func (c *PaintBox) SetX(x int) + func (c *PaintBox) SetY(y int) + func (c *PaintBox) Size() (width, height int) + func (c *PaintBox) VerticalAnchor() Anchor + func (c *PaintBox) Visible() bool + func (c *PaintBox) Width() int + func (c *PaintBox) X() int + func (c *PaintBox) Y() int + func (p *PaintBox) OnMouseMove() func(x, y int) + func (p *PaintBox) OnPaint() func(*Canvas) + func (p *PaintBox) Paint() + func (p *PaintBox) SetOnMouseMove(f func(x, y int)) + func (p *PaintBox) SetOnPaint(f func(*Canvas)) + type Panel struct — windows/amd64 + func NewPanel() *Panel + func (c *Panel) Anchors() (horizontal, vertical Anchor) + func (c *Panel) Bounds() (x, y, width, height int) + func (c *Panel) Enabled() bool + func (c *Panel) Handle() uintptr + func (c *Panel) Height() int + func (c *Panel) HorizontalAnchor() Anchor + func (c *Panel) OnResize() func() + func (c *Panel) Parent() Container + func (c *Panel) Position() (x, y int) + func (c *Panel) SetAnchors(horizontal, vertical Anchor) + func (c *Panel) SetEnabled(e bool) + func (c *Panel) SetHorizontalAnchor(a Anchor) + func (c *Panel) SetOnResize(f func()) + func (c *Panel) SetVerticalAnchor(a Anchor) + func (c *Panel) SetVisible(v bool) + func (c *Panel) Size() (width, height int) + func (c *Panel) VerticalAnchor() Anchor + func (c *Panel) Visible() bool + func (c *Panel) Width() int + func (c *Panel) X() int + func (c *Panel) Y() int + func (p *Panel) Add(c Control) + func (p *Panel) BorderStyle() PanelBorderStyle + func (p *Panel) Children() []Control + func (p *Panel) Font() *Font + func (p *Panel) InnerBounds() (x, y, width, height int) + func (p *Panel) InnerHeight() int + func (p *Panel) InnerPosition() (x, y int) + func (p *Panel) InnerSize() (width, height int) + func (p *Panel) InnerWidth() int + func (p *Panel) InnerX() int + func (p *Panel) InnerY() int + func (p *Panel) Remove(c Control) + func (p *Panel) SetBorderStyle(s PanelBorderStyle) + func (p *Panel) SetBounds(x, y, width, height int) + func (p *Panel) SetFont(f *Font) + func (p *Panel) SetHeight(height int) + func (p *Panel) SetInnerBounds(x, y, width, height int) + func (p *Panel) SetInnerHeight(height int) + func (p *Panel) SetInnerPosition(x, y int) + func (p *Panel) SetInnerSize(width, height int) + func (p *Panel) SetInnerWidth(width int) + func (p *Panel) SetInnerX(x int) + func (p *Panel) SetInnerY(y int) + func (p *Panel) SetPosition(x, y int) + func (p *Panel) SetSize(width, height int) + func (p *Panel) SetWidth(width int) + func (p *Panel) SetX(x int) + func (p *Panel) SetY(y int) + type PanelBorderStyle int — windows/amd64 + const PanelBorderNone + const PanelBorderRaised + const PanelBorderSingleLine + const PanelBorderSunken + const PanelBorderSunkenThick + func (s PanelBorderStyle) String() string + type Point struct — windows/amd64 + X int32 + Y int32 + type ProgressBar struct — windows/amd64 + func NewProgressBar() *ProgressBar + func (c *ProgressBar) Anchors() (horizontal, vertical Anchor) + func (c *ProgressBar) Bounds() (x, y, width, height int) + func (c *ProgressBar) Enabled() bool + func (c *ProgressBar) Handle() uintptr + func (c *ProgressBar) Height() int + func (c *ProgressBar) HorizontalAnchor() Anchor + func (c *ProgressBar) OnResize() func() + func (c *ProgressBar) Parent() Container + func (c *ProgressBar) Position() (x, y int) + func (c *ProgressBar) SetAnchors(horizontal, vertical Anchor) + func (c *ProgressBar) SetBounds(x, y, width, height int) + func (c *ProgressBar) SetEnabled(e bool) + func (c *ProgressBar) SetHeight(height int) + func (c *ProgressBar) SetHorizontalAnchor(a Anchor) + func (c *ProgressBar) SetOnResize(f func()) + func (c *ProgressBar) SetPosition(x, y int) + func (c *ProgressBar) SetSize(width, height int) + func (c *ProgressBar) SetVerticalAnchor(a Anchor) + func (c *ProgressBar) SetVisible(v bool) + func (c *ProgressBar) SetWidth(width int) + func (c *ProgressBar) SetX(x int) + func (c *ProgressBar) SetY(y int) + func (c *ProgressBar) Size() (width, height int) + func (c *ProgressBar) VerticalAnchor() Anchor + func (c *ProgressBar) Visible() bool + func (c *ProgressBar) Width() int + func (c *ProgressBar) X() int + func (c *ProgressBar) Y() int + func (p *ProgressBar) MovesForever() bool + func (p *ProgressBar) SetMovesForever(move bool) + func (p *ProgressBar) SetValue(v float64) + func (p *ProgressBar) SetVertical(v bool) + func (p *ProgressBar) Value() float64 + func (p *ProgressBar) Vertical() bool + type RadioButton struct — windows/amd64 + func NewRadioButton() *RadioButton + func (c *RadioButton) Focus() + func (c *RadioButton) Font() *Font + func (c *RadioButton) HasFocus() bool + func (c *RadioButton) SetFont(font *Font) + func (c *RadioButton) SetText(text string) + func (c *RadioButton) Text() string + func (r *RadioButton) Checked() bool + func (r *RadioButton) OnCheck() func(checked bool) + func (r *RadioButton) OnTabFocus() func() + func (r *RadioButton) SetChecked(checked bool) + func (r *RadioButton) SetOnCheck(f func(checked bool)) + func (r *RadioButton) SetOnTabFocus(f func()) + type Rectangle struct — windows/amd64 + Height int + Width int + X int + Y int + func Rect(x, y, width, height int) Rectangle + type Slider struct — windows/amd64 + func NewSlider() *Slider + func (c *Slider) Anchors() (horizontal, vertical Anchor) + func (c *Slider) Bounds() (x, y, width, height int) + func (c *Slider) Enabled() bool + func (c *Slider) Handle() uintptr + func (c *Slider) Height() int + func (c *Slider) HorizontalAnchor() Anchor + func (c *Slider) OnResize() func() + func (c *Slider) Parent() Container + func (c *Slider) Position() (x, y int) + func (c *Slider) SetAnchors(horizontal, vertical Anchor) + func (c *Slider) SetBounds(x, y, width, height int) + func (c *Slider) SetEnabled(e bool) + func (c *Slider) SetHeight(height int) + func (c *Slider) SetHorizontalAnchor(a Anchor) + func (c *Slider) SetOnResize(f func()) + func (c *Slider) SetPosition(x, y int) + func (c *Slider) SetSize(width, height int) + func (c *Slider) SetVerticalAnchor(a Anchor) + func (c *Slider) SetVisible(v bool) + func (c *Slider) SetWidth(width int) + func (c *Slider) SetX(x int) + func (c *Slider) SetY(y int) + func (c *Slider) Size() (width, height int) + func (c *Slider) VerticalAnchor() Anchor + func (c *Slider) Visible() bool + func (c *Slider) Width() int + func (c *Slider) X() int + func (c *Slider) Y() int + func (s *Slider) ArrowIncrement() int + func (s *Slider) CursorPosition() int + func (s *Slider) Max() int + func (s *Slider) Min() int + func (s *Slider) MinMax() (min, max int) + func (s *Slider) MouseIncrement() int + func (s *Slider) OnChange() func(cursor int) + func (s *Slider) OnTabFocus() func() + func (s *Slider) Orientation() SliderOrientation + func (s *Slider) SetArrowIncrement(inc int) + func (s *Slider) SetCursorPosition(cursor int) + func (s *Slider) SetMax(max int) + func (s *Slider) SetMin(min int) + func (s *Slider) SetMinMax(min, max int) + func (s *Slider) SetMouseIncrement(inc int) + func (s *Slider) SetOnChange(f func(cursor int)) + func (s *Slider) SetOnTabFocus(f func()) + func (s *Slider) SetOrientation(o SliderOrientation) + func (s *Slider) SetTickFrequency(n int) + func (s *Slider) SetTickPosition(p TickPosition) + func (s *Slider) SetTicksVisible(show bool) + func (s *Slider) TickFrequency() int + func (s *Slider) TickPosition() TickPosition + func (s *Slider) TicksVisible() bool + type SliderOrientation int — windows/amd64 + const HorizontalSlider + const VerticalSlider + func (o SliderOrientation) String() string + type StringTable struct — windows/amd64 + func NewStringTable(header1 string, headers ...string) *StringTable + func (c *StringTable) Clear() + func (c *StringTable) ColCount() int + func (c *StringTable) DeleteRow(row int) + func (c *StringTable) Focus() + func (c *StringTable) Font() *Font + func (c *StringTable) HasFocus() bool + func (c *StringTable) OnSelectionChange() func() + func (c *StringTable) RowCount() int + func (c *StringTable) SelectedRow() int + func (c *StringTable) SetCell(col, row int, s string) + func (c *StringTable) SetFont(font *Font) + func (c *StringTable) SetOnSelectionChange(f func()) + func (c *StringTable) SetText(text string) + func (c *StringTable) Text() string + func (s *StringTable) OnTabFocus() func() + func (s *StringTable) SetOnTabFocus(f func()) + type TextAlignment int — windows/amd64 + const AlignCenter + const AlignLeft + const AlignRight + func (a TextAlignment) String() string + type TextEdit struct — windows/amd64 + func NewTextEdit() *TextEdit + func (c *TextEdit) CursorPosition() (start, end int) + func (c *TextEdit) SelectAll() + func (c *TextEdit) SetCursorPosition(pos int) + func (c *TextEdit) SetSelection(start, end int) + func (e *TextEdit) CharacterLimit() int + func (e *TextEdit) OnTabFocus() func() + func (e *TextEdit) OnTextChange() func() + func (e *TextEdit) SetCharacterLimit(count int) + func (e *TextEdit) SetOnTabFocus(f func()) + func (e *TextEdit) SetOnTextChange(f func()) + func (e *TextEdit) SetWordWrap(wrap bool) + func (e *TextEdit) SetWritesTabs(tabs bool) + func (e *TextEdit) WordWrap() bool + func (e *TextEdit) WritesTabs() bool + type TickPosition int — windows/amd64 + const TicksBottomOrRight + const TicksOnBothSides + const TicksTopOrLeft + func (p TickPosition) String() string + type VisibleControl interface — windows/amd64 + Parent func() Container + Visible func() bool + type Window struct — windows/amd64 + func NewWindow() *Window + func (w *Window) Add(c Control) + func (w *Window) Alpha() uint8 + func (w *Window) Bounds() (x, y, width, height int) + func (w *Window) Children() []Control + func (w *Window) Close() + func (w *Window) Cursor() *Cursor + func (w *Window) Destroy() + func (w *Window) DisableAltF4() + func (w *Window) EnableAltF4() + func (w *Window) Enabled() bool + func (w *Window) Font() *Font + func (w *Window) GetBackground() Color + func (w *Window) Handle() uintptr + func (w *Window) HasBorder() bool + func (w *Window) HasCloseButton() bool + func (w *Window) HasMaxButton() bool + func (w *Window) HasMinButton() bool + func (w *Window) Height() int + func (w *Window) HideConsoleOnStart() + func (w *Window) Icon() *Icon + func (w *Window) InnerBounds() (x, y, width, height int) + func (w *Window) InnerHeight() int + func (w *Window) InnerPosition() (x, y int) + func (w *Window) InnerSize() (width, height int) + func (w *Window) InnerWidth() int + func (w *Window) InnerX() int + func (w *Window) InnerY() int + func (w *Window) Menu() *Menu + func (w *Window) Monitor() uintptr + func (w *Window) OnCanClose() func() bool + func (w *Window) OnChar() func(r rune) + func (w *Window) OnClose() func() + func (w *Window) OnKeyDown() func(key int) + func (w *Window) OnKeyUp() func(key int) + func (w *Window) OnMouseDown() func(button MouseButton, x, y int) + func (w *Window) OnMouseMove() func(x, y int) + func (w *Window) OnMouseUp() func(button MouseButton, x, y int) + func (w *Window) OnMouseWheel() func(x, y int, delta float64) + func (w *Window) OnResize() func() + func (w *Window) OnShow() func() + func (w *Window) Parent() Container + func (w *Window) Position() (x, y int) + func (w *Window) Remove(c Control) + func (w *Window) Repaint() + func (w *Window) Resizable() bool + func (w *Window) Scroll(dx, dy int) + func (w *Window) SetAlpha(a uint8) + func (w *Window) SetBackground(c Color) + func (w *Window) SetBounds(x, y, width, height int) + func (w *Window) SetCursor(c *Cursor) + func (w *Window) SetFont(f *Font) + func (w *Window) SetHasBorder(border bool) + func (w *Window) SetHasCloseButton(hasClose bool) + func (w *Window) SetHasMaxButton(hasMax bool) + func (w *Window) SetHasMinButton(hasMin bool) + func (w *Window) SetHeight(height int) + func (w *Window) SetIcon(icon *Icon) + func (w *Window) SetInnerBounds(x, y, width, height int) + func (w *Window) SetInnerHeight(height int) + func (w *Window) SetInnerPosition(x, y int) + func (w *Window) SetInnerSize(width, height int) + func (w *Window) SetInnerWidth(width int) + func (w *Window) SetInnerX(x int) + func (w *Window) SetInnerY(y int) + func (w *Window) SetMenu(m *Menu) + func (w *Window) SetOnCanClose(f func() bool) + func (w *Window) SetOnChar(f func(r rune)) + func (w *Window) SetOnClose(f func()) + func (w *Window) SetOnKeyDown(f func(key int)) + func (w *Window) SetOnKeyUp(f func(key int)) + func (w *Window) SetOnMouseDown(f func(button MouseButton, x, y int)) + func (w *Window) SetOnMouseMove(f func(x, y int)) + func (w *Window) SetOnMouseUp(f func(button MouseButton, x, y int)) + func (w *Window) SetOnMouseWheel(f func(x, y int, delta float64)) + func (w *Window) SetOnResize(f func()) + func (w *Window) SetOnShow(f func()) + func (w *Window) SetPosition(x, y int) + func (w *Window) SetResizable(canResize bool) + func (w *Window) SetShortcut(f func(), keys ...Key) + func (w *Window) SetSize(width, height int) + func (w *Window) SetState(s WindowState) + func (w *Window) SetTitle(title string) + func (w *Window) SetWidth(width int) + func (w *Window) SetX(x int) + func (w *Window) SetY(y int) + func (w *Window) Show() error + func (w *Window) ShowConsoleOnStart() + func (w *Window) ShowModal() error + func (w *Window) Size() (width, height int) + func (w *Window) State() WindowState + func (w *Window) Title() string + func (w *Window) Visible() bool + func (w *Window) Width() int + func (w *Window) X() int + func (w *Window) Y() int + type WindowState int — windows/amd64 + const WindowMaximized + const WindowMinimized + const WindowNormal + func (s WindowState) String() string Other modules containing this package github.com/axamon/wui