Versions in this module Expand all Collapse all v2 v2.6.4 Oct 25, 2024 v2.6.3 Oct 24, 2024 v2.6.2 Oct 23, 2024 v2.6.1 Oct 23, 2024 v2.6.0 Oct 23, 2024 v2.0.2 Oct 23, 2024 v2.0.1 Oct 23, 2024 Changes in this version + const DirNone — windows/amd64 + const DirX — windows/amd64 + const DirX2 — windows/amd64 + const DirY — windows/amd64 + const DirY2 — windows/amd64 + const FontBold — windows/amd64 + const FontItalic — windows/amd64 + const FontStrikeOut — windows/amd64 + const FontUnderline — windows/amd64 + var AppIconID = 3 — windows/amd64 + var DefaultBackgroundBrush = NewSystemColorBrush(w32.COLOR_BTNFACE) — windows/amd64 + var ImageBoxHiPen = NewPen(w32.PS_GEOMETRIC, 2, NewSolidColorBrush(RGB(220, 140, 140))) — windows/amd64 + var ImageBoxMarkBrush = NewSolidColorBrush(RGB(40, 40, 40)) — windows/amd64 + var ImageBoxMarkPen = NewPen(w32.PS_GEOMETRIC, 2, ImageBoxMarkBrush) — windows/amd64 + var ImageBoxPen = NewPen(w32.PS_GEOMETRIC, 2, NewSolidColorBrush(RGB(140, 140, 220))) — windows/amd64 + var NoShortcut = Shortcut — windows/amd64 + func AltDown() bool — windows/amd64 + func AppDataPath() (string, error) — windows/amd64 + func CommonAppDataPath() (string, error) — windows/amd64 + func ControlDown() bool — windows/amd64 + func CreateWindow(className string, parent Controller, exStyle, style uint) w32.HWND — windows/amd64 + func DriveNames() ([]string, error) — windows/amd64 + func EnsureAppDataPath(company, product string) (string, error) — windows/amd64 + func Errorf(parent Controller, format string, data ...interface{}) — windows/amd64 + func Exit() — windows/amd64 + func GetAppInstance() w32.HINSTANCE — windows/amd64 + func LocalAppDataPath() (string, error) — windows/amd64 + func MsgBox(parent Controller, title, caption string, flags uint) int — windows/amd64 + func MsgBoxOk(parent Controller, title, caption string) — windows/amd64 + func MsgBoxOkCancel(parent Controller, title, caption string) int — windows/amd64 + func MsgBoxYesNo(parent Controller, title, caption string) int — windows/amd64 + func PostMessages() — windows/amd64 + func PreTranslateMessage(msg *w32.MSG) bool — windows/amd64 + func Printf(parent Controller, format string, data ...interface{}) — windows/amd64 + func RegClassOnlyOnce(className string) — windows/amd64 + func RegMsgHandler(controller Controller) — windows/amd64 + func RegisterClass(className string, wndproc uintptr) — windows/amd64 + func RegisterWindowMessage(name string) uint32 — windows/amd64 + func RunMainLoop() int — windows/amd64 + func ScaleToDefaultDPI(pixels int, dpi uint) int — windows/amd64 + func ScaleWithDPI(pixels int, dpi uint) int — windows/amd64 + func SetAppIcon(appIconID int) — windows/amd64 + func SetExStyle(hwnd w32.HWND, b bool, style int) — windows/amd64 + func SetStyle(hwnd w32.HWND, b bool, style int) — windows/amd64 + func ShiftDown() bool — windows/amd64 + func ShowBrowseFolderDlg(parent Controller, title string) (folder string, accepted bool) — windows/amd64 + func ShowOpenFileDlg(parent Controller, title, filter string, filterIndex uint, initialDir string) (filePath string, accepted bool) — windows/amd64 + func ShowSaveFileDlg(parent Controller, title, filter string, filterIndex uint, initialDir string) (filePath string, accepted bool) — windows/amd64 + func UnRegMsgHandler(hwnd w32.HWND) — windows/amd64 + func Warningf(parent Controller, format string, data ...interface{}) int — windows/amd64 + type Bitmap struct — windows/amd64 + func NewBitmapFromFile(filepath string, background Color) (*Bitmap, error) + func NewBitmapFromResource(instance w32.HINSTANCE, resName *uint16, resType *uint16, background Color) (*Bitmap, error) + func (bm *Bitmap) Dispose() + func (bm *Bitmap) GetHBITMAP() w32.HBITMAP + func (bm *Bitmap) Height() int + func (bm *Bitmap) Size() (int, int) + func (bm *Bitmap) Width() int + type Brush struct — windows/amd64 + func NewHatchedColorBrush(color Color) *Brush + func NewNullBrush() *Brush + func NewSolidColorBrush(color Color) *Brush + func NewSystemColorBrush(colorIndex int) *Brush + func (br *Brush) Dispose() + func (br *Brush) GetHBRUSH() w32.HBRUSH + func (br *Brush) GetLOGBRUSH() *w32.LOGBRUSH + type Button struct — windows/amd64 + func (bt *Button) Checked() bool + func (bt *Button) OnClick() *EventManager + func (bt *Button) SetChecked(checked bool) + func (bt *Button) SetIcon(ico *Icon) + func (bt *Button) SetResIcon(iconID uint16) + func (bt *Button) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type Canvas struct — windows/amd64 + func NewCanvasFromHDC(hdc w32.HDC) *Canvas + func NewCanvasFromHwnd(hwnd w32.HWND) *Canvas + func (ca *Canvas) Dispose() + func (ca *Canvas) DrawBitmap(bmp *Bitmap, x, y int) + func (ca *Canvas) DrawEllipse(rect *Rect, pen *Pen) + func (ca *Canvas) DrawFillEllipse(rect *Rect, pen *Pen, brush *Brush) + func (ca *Canvas) DrawFillRect(rect *Rect, pen *Pen, brush *Brush) + func (ca *Canvas) DrawIcon(ico *Icon, x, y int) bool + func (ca *Canvas) DrawLine(x, y, x2, y2 int, pen *Pen) + func (ca *Canvas) DrawRect(rect *Rect, pen *Pen) + func (ca *Canvas) DrawStretchedBitmap(bmp *Bitmap, rect *Rect) + func (ca *Canvas) DrawText(text string, rect *Rect, format uint, font *Font, textColor Color) + func (ca *Canvas) FillRect(rect *Rect, brush *Brush) + type CheckBox struct — windows/amd64 + func NewCheckBox(parent Controller) *CheckBox + type Color uint32 — windows/amd64 + func RGB(r, g, b byte) Color + func (c Color) B() byte + func (c Color) G() byte + func (c Color) R() byte + type ComboBox struct — windows/amd64 + func NewComboBox(parent Controller) *ComboBox + func (cb *ComboBox) DeleteAllItems() bool + func (cb *ComboBox) DeleteItem(index int) bool + func (cb *ComboBox) InsertItem(index int, str string) bool + func (cb *ComboBox) OnSelectedChange() *EventManager + func (cb *ComboBox) SelectedItem() int + func (cb *ComboBox) SetSelectedItem(value int) bool + func (cb *ComboBox) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type ControlBase struct — windows/amd64 + func (cba *ControlBase) Bounds() *Rect + func (cba *ControlBase) ClientHeight() int + func (cba *ControlBase) ClientRect() *Rect + func (cba *ControlBase) ClientWidth() int + func (cba *ControlBase) Close() + func (cba *ControlBase) ContextMenu() *MenuItem + func (cba *ControlBase) EnableDragAcceptFiles(b bool) + func (cba *ControlBase) Enabled() bool + func (cba *ControlBase) Font() *Font + func (cba *ControlBase) GetWindowDPI() (w32.UINT, w32.UINT) + func (cba *ControlBase) Handle() w32.HWND + func (cba *ControlBase) Height() int + func (cba *ControlBase) Hide() + func (cba *ControlBase) InitControl(className string, parent Controller, exstyle, style uint) + func (cba *ControlBase) InitWindow(className string, parent Controller, exstyle, style uint) + func (cba *ControlBase) Invalidate(erase bool) + func (cba *ControlBase) Invoke(f func()) + func (cba *ControlBase) InvokeRequired() bool + func (cba *ControlBase) OnClose() *EventManager + func (cba *ControlBase) OnCreate() *EventManager + func (cba *ControlBase) OnDropFiles() *EventManager + func (cba *ControlBase) OnKeyUp() *EventManager + func (cba *ControlBase) OnKillFocus() *EventManager + func (cba *ControlBase) OnLBDbl() *EventManager + func (cba *ControlBase) OnLBDown() *EventManager + func (cba *ControlBase) OnLBUp() *EventManager + func (cba *ControlBase) OnMBDown() *EventManager + func (cba *ControlBase) OnMBUp() *EventManager + func (cba *ControlBase) OnMouseHover() *EventManager + func (cba *ControlBase) OnMouseLeave() *EventManager + func (cba *ControlBase) OnMouseMove() *EventManager + func (cba *ControlBase) OnPaint() *EventManager + func (cba *ControlBase) OnRBDbl() *EventManager + func (cba *ControlBase) OnRBDown() *EventManager + func (cba *ControlBase) OnRBUp() *EventManager + func (cba *ControlBase) OnSetFocus() *EventManager + func (cba *ControlBase) OnSize() *EventManager + func (cba *ControlBase) Parent() Controller + func (cba *ControlBase) Pos() (x, y int) + func (cba *ControlBase) PreTranslateMessage(msg *w32.MSG) bool + func (cba *ControlBase) SetAlwaysOnTop(b bool) + func (cba *ControlBase) SetAndClearStyleBits(set, clear uint32) error + func (cba *ControlBase) SetContextMenu(menu *MenuItem) + func (cba *ControlBase) SetEnabled(b bool) + func (cba *ControlBase) SetFocus() + func (cba *ControlBase) SetFont(font *Font) + func (cba *ControlBase) SetHandle(hwnd w32.HWND) + func (cba *ControlBase) SetIsForm(isform bool) + func (cba *ControlBase) SetMaxSize(width, height int) + func (cba *ControlBase) SetMinSize(width, height int) + func (cba *ControlBase) SetParent(parent Controller) + func (cba *ControlBase) SetPos(x, y int) + func (cba *ControlBase) SetSize(width, height int) + func (cba *ControlBase) SetText(caption string) + func (cba *ControlBase) SetTheme(appName string) error + func (cba *ControlBase) SetTranslucentBackground() + func (cba *ControlBase) Show() + func (cba *ControlBase) Size() (width, height int) + func (cba *ControlBase) Text() string + func (cba *ControlBase) ToggleVisible() bool + func (cba *ControlBase) Visible() bool + func (cba *ControlBase) Width() int + type Controller interface — windows/amd64 + Bounds func() *Rect + ClientRect func() *Rect + ContextMenu func() *MenuItem + EnableDragAcceptFiles func(b bool) + Enabled func() bool + Font func() *Font + Handle func() w32.HWND + Height func() int + Hide func() + Invalidate func(erase bool) + Invoke func(func()) + InvokeRequired func() bool + OnClose func() *EventManager + OnCreate func() *EventManager + OnDropFiles func() *EventManager + OnKeyUp func() *EventManager + OnKillFocus func() *EventManager + OnLBDbl func() *EventManager + OnLBDown func() *EventManager + OnLBUp func() *EventManager + OnMBDown func() *EventManager + OnMBUp func() *EventManager + OnMouseHover func() *EventManager + OnMouseLeave func() *EventManager + OnMouseMove func() *EventManager + OnPaint func() *EventManager + OnRBDbl func() *EventManager + OnRBDown func() *EventManager + OnRBUp func() *EventManager + OnSetFocus func() *EventManager + OnSize func() *EventManager + Parent func() Controller + Pos func() (x, y int) + PreTranslateMessage func(msg *w32.MSG) bool + SetContextMenu func(menu *MenuItem) + SetEnabled func(b bool) + SetFocus func() + SetFont func(font *Font) + SetPos func(x, y int) + SetSize func(w, h int) + SetText func(s string) + Show func() + Size func() (w, h int) + Text func() string + Visible func() bool + Width func() int + WndProc func(msg uint32, wparam, lparam uintptr) uintptr + func GetMsgHandler(hwnd w32.HWND) Controller + type CtlState struct — windows/amd64 + Height int + Width int + X int + Y int + type Dialog struct — windows/amd64 + func NewDialog(parent Controller) *Dialog + func (dlg *Dialog) Close() + func (dlg *Dialog) OnCancel() *EventManager + func (dlg *Dialog) OnLoad() *EventManager + func (dlg *Dialog) OnOk() *EventManager + func (dlg *Dialog) PreTranslateMessage(msg *w32.MSG) bool + func (dlg *Dialog) SetButtons(btnOk *PushButton, btnCancel *PushButton) + func (dlg *Dialog) SetModal(modal bool) + func (dlg *Dialog) Show() + func (dlg *Dialog) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type Direction int — windows/amd64 + const Bottom + const Fill + const Left + const Right + const Top + type DockAllow interface — windows/amd64 + ClientHeight func() int + ClientWidth func() int + Handle func() w32.HWND + SetLayout func(mng LayoutManager) + type Dockable interface — windows/amd64 + Handle func() w32.HWND + Height func() int + OnLBUp func() *EventManager + OnMouseMove func() *EventManager + Pos func() (x, y int) + SetPos func(x, y int) + SetSize func(width, height int) + Visible func() bool + Width func() int + type DropFilesEventData struct — windows/amd64 + Files []string + X int + Y int + type Edit struct — windows/amd64 + func NewEdit(parent Controller) *Edit + func (ed *Edit) OnChange() *EventManager + func (ed *Edit) SetPassword(isPassword bool) + func (ed *Edit) SetReadOnly(isReadOnly bool) + func (ed *Edit) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type ErrorPanel struct — windows/amd64 + func NewErrorPanel(parent Controller) *ErrorPanel + func (epa *ErrorPanel) Errorf(format string, v ...interface{}) + func (epa *ErrorPanel) Printf(format string, v ...interface{}) + func (epa *ErrorPanel) SetMargin(margin int) + func (epa *ErrorPanel) ShowAsError(show bool) + func (epa *ErrorPanel) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type Event struct — windows/amd64 + Data interface{} + Sender Controller + func NewEvent(sender Controller, data interface{}) *Event + type EventHandler func(arg *Event) — windows/amd64 + type EventManager struct — windows/amd64 + func (evm *EventManager) Bind(handler EventHandler) + func (evm *EventManager) Fire(arg *Event) + type Font struct — windows/amd64 + var DefaultFont *Font + var GeneralWndprocCallBack = syscall.NewCallback(generalWndProc) + func NewFont(family string, pointSize int, style byte) *Font + func (fnt *Font) Bold() bool + func (fnt *Font) Dispose() + func (fnt *Font) Family() string + func (fnt *Font) GetHFONT() w32.HFONT + func (fnt *Font) Italic() bool + func (fnt *Font) StrikeOut() bool + func (fnt *Font) Style() byte + func (fnt *Font) Underline() bool + type Form struct — windows/amd64 + func NewCustomForm(parent Controller, exStyle int, dwStyle uint) *Form + func NewForm(parent Controller) *Form + func (fm *Form) Center() + func (fm *Form) DisableIcon() + func (fm *Form) EnableDragMove(_ bool) + func (fm *Form) EnableMaxButton(b bool) + func (fm *Form) EnableMinButton(b bool) + func (fm *Form) EnableSizable(b bool) + func (fm *Form) EnableTopMost(b bool) + func (fm *Form) Fullscreen() + func (fm *Form) IsFullScreen() bool + func (fm *Form) Maximise() + func (fm *Form) Minimise() + func (fm *Form) NewMenu() *Menu + func (fm *Form) Restore() + func (fm *Form) SetIcon(iconType int, icon *Icon) + func (fm *Form) SetLayout(mng LayoutManager) + func (fm *Form) UnFullscreen() + func (fm *Form) UpdateLayout() + func (fm *Form) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type GroupBox struct — windows/amd64 + func NewGroupBox(parent Controller) *GroupBox + type HResizer struct — windows/amd64 + func NewHResizer(parent Controller) *HResizer + func (sp *HResizer) SetControl(control1, control2 Dockable, dir Direction, minSize int) + func (sp *HResizer) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type Icon struct — windows/amd64 + func ExtractIcon(fileName string, index int) (*Icon, error) + func NewIconFromFile(path string) (*Icon, error) + func NewIconFromResource(instance w32.HINSTANCE, resId uint16) (*Icon, error) + func (ic *Icon) Destroy() bool + func (ic *Icon) Handle() w32.HICON + type IconButton struct — windows/amd64 + func NewIconButton(parent Controller) *IconButton + type ImageBox struct — windows/amd64 + Name string + Type int + X int + X2 int + Y int + Y2 int + func (b *ImageBox) Rect() *Rect + type ImageList struct — windows/amd64 + func NewImageList(cx, cy int) *ImageList + func (im *ImageList) AddIcon(icon *Icon) int + func (im *ImageList) AddResIcon(iconID uint16) + func (im *ImageList) Destroy() bool + func (im *ImageList) Handle() w32.HIMAGELIST + func (im *ImageList) ImageCount() int + func (im *ImageList) Remove(i int) bool + func (im *ImageList) RemoveAll() bool + func (im *ImageList) SetImageCount(uNewCount uint) bool + type ImageView struct — windows/amd64 + func NewImageView(parent Controller) *ImageView + func (iv *ImageView) DrawImage(bmp *Bitmap) + func (iv *ImageView) DrawImageFile(filepath string) error + func (iv *ImageView) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type ImageViewBox struct — windows/amd64 + Boxes []*ImageBox + func NewImageViewBox(parent Controller) *ImageViewBox + func (iv *ImageViewBox) AddMode() bool + func (iv *ImageViewBox) DeleteSelected() + func (iv *ImageViewBox) DrawImage(bmp *Bitmap) + func (iv *ImageViewBox) DrawImageFile(filepath string) (err error) + func (iv *ImageViewBox) HasSelected() bool + func (iv *ImageViewBox) IsLoaded() bool + func (iv *ImageViewBox) IsModified() bool + func (iv *ImageViewBox) NameSelected() string + func (iv *ImageViewBox) OnAdd() *EventManager + func (iv *ImageViewBox) OnModify() *EventManager + func (iv *ImageViewBox) OnSelectedChange() *EventManager + func (iv *ImageViewBox) SetAddMode(add bool) + func (iv *ImageViewBox) SetModified(modified bool) + func (iv *ImageViewBox) SetNameSelected(name string) + func (iv *ImageViewBox) SetTypeSelected(typ int) + func (iv *ImageViewBox) TypeSelected() int + func (iv *ImageViewBox) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type Key uint16 — windows/amd64 + 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 KeyAttn + const KeyB + const KeyBack + const KeyBrowserBack + const KeyBrowserFavorites + const KeyBrowserForward + const KeyBrowserHome + const KeyBrowserRefresh + const KeyBrowserSearch + const KeyBrowserStop + const KeyC + const KeyCRSel + const KeyCancel + const KeyCapital + const KeyClear + const KeyControl + const KeyConvert + const KeyD + const KeyDecimal + const KeyDelete + const KeyDivide + const KeyDown + const KeyE + const KeyEXSel + const KeyEnd + const KeyErEOF + const KeyEscape + 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 KeyInsert + const KeyJ + const KeyJunja + const KeyK + const KeyKana + const KeyKanji + const KeyL + const KeyLAlt + const KeyLButton + const KeyLControl + const KeyLMenu + const KeyLShift + const KeyLWIN + const KeyLaunchApp1 + const KeyLaunchApp2 + const KeyLaunchMail + const KeyLaunchMediaSelect + const KeyLeft + const KeyM + const KeyMButton + const KeyMediaNextTrack + const KeyMediaPlayPause + const KeyMediaPrevTrack + const KeyMediaStop + const KeyMenu + const KeyModeChange + const KeyMultiply + const KeyN + const KeyNext + const KeyNoName + const KeyNonconvert + const KeyNumlock + const KeyNumpad0 + const KeyNumpad1 + const KeyNumpad2 + const KeyNumpad3 + const KeyNumpad4 + const KeyNumpad5 + const KeyNumpad6 + const KeyNumpad7 + const KeyNumpad8 + const KeyNumpad9 + const KeyO + const KeyOEM1 + const KeyOEM102 + const KeyOEM2 + const KeyOEM3 + const KeyOEM4 + const KeyOEM5 + const KeyOEM6 + const KeyOEM7 + const KeyOEM8 + const KeyOEMClear + const KeyOEMComma + const KeyOEMMinus + const KeyOEMPeriod + const KeyOEMPlus + const KeyP + const KeyPA1 + const KeyPacket + const KeyPause + const KeyPlay + const KeyPrint + const KeyPrior + const KeyProcessKey + const KeyQ + const KeyR + const KeyRAlt + const KeyRButton + const KeyRControl + const KeyRMenu + const KeyRShift + const KeyRWIN + const KeyReturn + const KeyRight + 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 KeyXButton1 + const KeyXButton2 + const KeyY + const KeyZ + const KeyZoom + func (k Key) String() string + type KeyUpEventData struct — windows/amd64 + Code int + VKey int + type Label struct — windows/amd64 + func NewLabel(parent Controller) *Label + func (lb *Label) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type LabelEditEventData struct — windows/amd64 + Item ListItem + Text string + type LayoutControl struct — windows/amd64 + type LayoutControls []*LayoutControl — windows/amd64 + func (lc LayoutControls) Len() int + func (lc LayoutControls) Less(i, j int) bool + func (lc LayoutControls) Swap(i, j int) + type LayoutManager interface — windows/amd64 + Update func() + type LayoutState struct — windows/amd64 + Controls []*CtlState + WindowState string + type ListItem interface — windows/amd64 + ImageIndex func() int + Text func() []string + type ListItemChecker interface — windows/amd64 + Checked func() bool + SetChecked func(checked bool) + type ListItemSetter interface — windows/amd64 + SetText func(s string) + type ListView struct — windows/amd64 + func NewListView(parent Controller) *ListView + func (lv *ListView) AddColumn(caption string, width int) + func (lv *ListView) AddItem(item ListItem) + func (lv *ListView) CheckBoxes() bool + func (lv *ListView) DeleteAllItems() bool + func (lv *ListView) DeleteItem(item ListItem) error + func (lv *ListView) EnableDoubleBuffer(enable bool) + func (lv *ListView) EnableEditLabels(enable bool) + func (lv *ListView) EnableFullRowSelect(enable bool) + func (lv *ListView) EnableHotTrack(enable bool) + func (lv *ListView) EnableSingleSelect(enable bool) + func (lv *ListView) EnableSortAscending(enable bool) + func (lv *ListView) EnableSortHeader(enable bool) + func (lv *ListView) EnsureVisible(item ListItem) bool + func (lv *ListView) InsertItem(item ListItem, index int) + func (lv *ListView) ItemAt(x, y int) ListItem + func (lv *ListView) ItemCount() int + func (lv *ListView) Items() (list []ListItem) + func (lv *ListView) OnCheckChanged() *EventManager + func (lv *ListView) OnClick() *EventManager + func (lv *ListView) OnDoubleClick() *EventManager + func (lv *ListView) OnEndLabelEdit() *EventManager + func (lv *ListView) OnEndScroll() *EventManager + func (lv *ListView) OnItemChanged() *EventManager + func (lv *ListView) OnItemChanging() *EventManager + func (lv *ListView) OnKeyDown() *EventManager + func (lv *ListView) OnViewChange() *EventManager + func (lv *ListView) SelectedCount() uint + func (lv *ListView) SelectedIndex() int + func (lv *ListView) SelectedItem() ListItem + func (lv *ListView) SelectedItems() []ListItem + func (lv *ListView) SetCheckBoxes(value bool) + func (lv *ListView) SetImageList(imageList *ImageList) + func (lv *ListView) SetItemCount(count int) bool + func (lv *ListView) SetSelectedIndex(i int) + func (lv *ListView) SetSelectedItem(item ListItem) bool + func (lv *ListView) StretchLastColumn() error + func (lv *ListView) UpdateItem(item ListItem) bool + func (lv *ListView) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type Menu struct — windows/amd64 + func (m *Menu) AddSubMenu(text string) *MenuItem + func (m *Menu) Dispose() + func (m *Menu) IsDisposed() bool + func (m *Menu) Show() + type MenuItem struct — windows/amd64 + func NewContextMenu() *MenuItem + func (mi *MenuItem) AddItem(text string, shortcut Shortcut) *MenuItem + func (mi *MenuItem) AddItemCheckable(text string, shortcut Shortcut) *MenuItem + func (mi *MenuItem) AddItemRadio(text string, shortcut Shortcut) *MenuItem + func (mi *MenuItem) AddItemWithBitmap(text string, shortcut Shortcut, image *Bitmap) *MenuItem + func (mi *MenuItem) AddSeparator() + func (mi *MenuItem) AddSubMenu(text string) *MenuItem + func (mi *MenuItem) Checkable() bool + func (mi *MenuItem) Checked() bool + func (mi *MenuItem) Enabled() bool + func (mi *MenuItem) Image() *Bitmap + func (mi *MenuItem) IsSeparator() bool + func (mi *MenuItem) OnClick() *EventManager + func (mi *MenuItem) SetCheckable(b bool) + func (mi *MenuItem) SetChecked(b bool) + func (mi *MenuItem) SetEnabled(b bool) + func (mi *MenuItem) SetImage(b *Bitmap) + func (mi *MenuItem) SetSeparator() + func (mi *MenuItem) SetText(s string) + func (mi *MenuItem) SetToolTip(s string) + func (mi *MenuItem) Text() string + func (mi *MenuItem) ToolTip() string + type Modifiers byte — windows/amd64 + const ModAlt + const ModControl + const ModShift + func ModifiersDown() Modifiers + func (m Modifiers) String() string + type MouseControl struct — windows/amd64 + func (cc *MouseControl) Init(parent Controller, className string, exStyle, style uint) + func (cc *MouseControl) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type MouseEventData struct — windows/amd64 + Button int + Wheel int + X int + Y int + type MultiEdit struct — windows/amd64 + func NewMultiEdit(parent Controller) *MultiEdit + func (med *MultiEdit) AddLine(text string) + func (med *MultiEdit) OnChange() *EventManager + func (med *MultiEdit) SetReadOnly(isReadOnly bool) + func (med *MultiEdit) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type MultiPanel struct — windows/amd64 + func NewMultiPanel(parent Controller) *MultiPanel + func (mpa *MultiPanel) AddPanel(panel *Panel) + func (mpa *MultiPanel) Count() int + func (mpa *MultiPanel) Current() int + func (mpa *MultiPanel) DeletePanel(index int) + func (mpa *MultiPanel) ReplacePanel(index int, panel *Panel) + func (mpa *MultiPanel) SetCurrent(index int) + func (mpa *MultiPanel) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type PaintEventData struct — windows/amd64 + Canvas *Canvas + type Panel struct — windows/amd64 + func NewPanel(parent Controller) *Panel + func (pa *Panel) SetLayout(mng LayoutManager) + func (pa *Panel) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type Pen struct — windows/amd64 + func NewNullPen() *Pen + func NewPen(style uint, width uint, brush *Brush) *Pen + func (pen *Pen) Brush() *Brush + func (pen *Pen) Dispose() + func (pen *Pen) GetHPEN() w32.HPEN + func (pen *Pen) Style() uint + type ProgressBar struct — windows/amd64 + func NewProgressBar(parent Controller) *ProgressBar + func (pr *ProgressBar) Range() (min, max uint) + func (pr *ProgressBar) SetRange(min, max int) + func (pr *ProgressBar) SetValue(v int) + func (pr *ProgressBar) Value() int + func (pr *ProgressBar) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type PushButton struct — windows/amd64 + func NewPushButton(parent Controller) *PushButton + func (pb *PushButton) SetDefault() + type RadioButton struct — windows/amd64 + func NewRadioButton(parent Controller) *RadioButton + type RadioGroup struct — windows/amd64 + type RawMsg struct — windows/amd64 + Hwnd w32.HWND + LParam uintptr + Msg uint32 + WParam uintptr + type Rect struct — windows/amd64 + func NewEmptyRect() *Rect + func NewRect(left, top, right, bottom int) *Rect + func ScreenToClientRect(hwnd w32.HWND, rect *w32.RECT) *Rect + func (re *Rect) Data() (left, top, right, bottom int32) + func (re *Rect) GetW32Rect() *w32.RECT + func (re *Rect) Height() int + func (re *Rect) Inflate(x, y int) + func (re *Rect) Intersect(src *Rect) + func (re *Rect) IsEmpty() bool + func (re *Rect) IsEqual(rect *Rect) bool + func (re *Rect) IsPointIn(x, y int) bool + func (re *Rect) Offset(x, y int) + func (re *Rect) Set(left, top, right, bottom int) + func (re *Rect) Substract(src *Rect) + func (re *Rect) Union(src *Rect) + func (re *Rect) Width() int + type ScrollView struct — windows/amd64 + func NewScrollView(parent Controller) *ScrollView + func (sv *ScrollView) SetChild(child Dockable) + func (sv *ScrollView) UpdateScrollBars() + func (sv *ScrollView) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type Shortcut struct — windows/amd64 + Key Key + Modifiers Modifiers + func (s Shortcut) String() string + type SimpleDock struct — windows/amd64 + func NewSimpleDock(parent DockAllow) *SimpleDock + func (sd *SimpleDock) Dock(child Dockable, dir Direction) + func (sd *SimpleDock) LoadState(r io.Reader) error + func (sd *SimpleDock) LoadStateFile(file string) error + func (sd *SimpleDock) SaveState(w io.Writer) error + func (sd *SimpleDock) SaveStateFile(file string) error + func (sd *SimpleDock) Update() + type SizeEventData struct — windows/amd64 + Type uint + X int + Y int + type Slider struct — windows/amd64 + func NewSlider(parent Controller) *Slider + func (tb *Slider) OnScroll() *EventManager + func (tb *Slider) Range() (min, max int) + func (tb *Slider) SetPage(pagesize int) + func (tb *Slider) SetRange(min, max int) + func (tb *Slider) SetValue(v int) + func (tb *Slider) Value() int + func (tb *Slider) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type StringListItem struct — windows/amd64 + Check bool + Data string + ID int + func (s StringListItem) Checked() bool + func (s StringListItem) ImageIndex() int + func (s StringListItem) SetChecked(checked bool) + func (s StringListItem) Text() []string + type StringTreeItem struct — windows/amd64 + Data string + Image int + func (s StringTreeItem) ImageIndex() int + func (s StringTreeItem) Text() string + type TabView struct — windows/amd64 + func NewTabView(parent Controller) *TabView + func (tv *TabView) AddPanel(text string) *Panel + func (tv *TabView) Current() int + func (tv *TabView) DeletePanel(index int) + func (tv *TabView) Panels() *MultiPanel + func (tv *TabView) SetCurrent(index int) + func (tv *TabView) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type ToolButton struct — windows/amd64 + func (bt *ToolButton) Checkable() bool + func (bt *ToolButton) Checked() bool + func (bt *ToolButton) Enabled() bool + func (bt *ToolButton) Image() int + func (bt *ToolButton) IsSeparator() bool + func (bt *ToolButton) OnClick() *EventManager + func (bt *ToolButton) SetCheckable(b bool) + func (bt *ToolButton) SetChecked(b bool) + func (bt *ToolButton) SetEnabled(b bool) + func (bt *ToolButton) SetImage(i int) + func (bt *ToolButton) SetSeparator() + func (bt *ToolButton) SetText(s string) + func (bt *ToolButton) Text() string + type ToolTip struct — windows/amd64 + func NewToolTip(parent Controller) *ToolTip + func (tp *ToolTip) SetTip(tool Controller, tip string) bool + func (tp *ToolTip) WndProc(msg uint, wparam, lparam uintptr) uintptr + type Toolbar struct — windows/amd64 + func NewHToolbar(parent Controller) *Toolbar + func NewToolbar(parent Controller) *Toolbar + func (tb *Toolbar) AddButton(text string, image int) *ToolButton + func (tb *Toolbar) AddSeparator() + func (tb *Toolbar) SetImageList(imageList *ImageList) + func (tb *Toolbar) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type TreeItem interface — windows/amd64 + ImageIndex func() int + Text func() string + type TreeView struct — windows/amd64 + func NewTreeView(parent Controller) *TreeView + func (tv *TreeView) Collapse(item TreeItem) bool + func (tv *TreeView) DeleteAllItems() bool + func (tv *TreeView) DeleteItem(item TreeItem) bool + func (tv *TreeView) EnableDoubleBuffer(enable bool) + func (tv *TreeView) EnsureVisible(item TreeItem) bool + func (tv *TreeView) Expand(item TreeItem) bool + func (tv *TreeView) InsertItem(item, parent, insertAfter TreeItem) error + func (tv *TreeView) ItemAt(x, y int) TreeItem + func (tv *TreeView) Items() (list []TreeItem) + func (tv *TreeView) OnCollapse() *EventManager + func (tv *TreeView) OnExpand() *EventManager + func (tv *TreeView) OnSelectedChange() *EventManager + func (tv *TreeView) OnViewChange() *EventManager + func (tv *TreeView) SelectedItem() TreeItem + func (tv *TreeView) SetImageList(imageList *ImageList) + func (tv *TreeView) SetSelectedItem(item TreeItem) bool + func (tv *TreeView) UpdateItem(item TreeItem) bool + func (tv *TreeView) WndProc(msg uint32, wparam, lparam uintptr) uintptr + type VResizer struct — windows/amd64 + func NewVResizer(parent Controller) *VResizer + func (sp *VResizer) SetControl(control1, control2 Dockable, dir Direction, minSize int) + func (sp *VResizer) WndProc(msg uint32, wparam, lparam uintptr) uintptr