Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lxn/walk
/ functions
Functions
2,948 in github.com/lxn/walk
⨍
Functions
2,948
◇
Types & classes
535
↓ 294 callers
Function
newError
(message string)
error.go:84
↓ 261 callers
Method
SendMessage
SendMessage sends a message to the window and returns the result.
window.go:218
↓ 153 callers
Method
Publish
()
event.go:52
↓ 141 callers
Method
Event
()
event.go:48
↓ 128 callers
Method
Attach
(handler EventHandler)
event.go:20
↓ 89 callers
Function
lastError
(win32FuncName string)
error.go:92
↓ 77 callers
Method
Dispose
()
pen.go:44
↓ 77 callers
Method
Handle
Handle returns the window handle of the Window.
window.go:138
↓ 65 callers
Method
MustRegisterProperty
(name string, property Property)
window.go:736
↓ 63 callers
Method
DPI
DPI returns the current DPI value of the Window.
window.go:117
↓ 61 callers
Method
Parent
Parent returns the Container of the Widget.
widget.go:70
↓ 54 callers
Method
Add
(item Disposable)
walk.go:62
↓ 51 callers
Method
RequestLayout
RequestLayout either schedules or immediately starts performing layout.
window.go:208
↓ 50 callers
Method
WndProc
WndProc is the window procedure of the window. When implementing your own WndProc to add or modify behavior, call the WndProc of the embedded window
window.go:373
↓ 47 callers
Method
SetSuspended
SetSuspended sets if the Window is suspended for layout and repainting purposes. You should call SetSuspended(true), before doing a batch of modifica
window.go:307
↓ 44 callers
Function
NewProperty
(get func() interface{}, set func(v interface{}) error, changed *Event)
property.go:40
↓ 41 callers
Method
InitWidget
(d Widget, w walk.Window, customInit func() error)
declarative/builder.go:126
↓ 41 callers
Function
maxi
(a, b int)
util.go:46
↓ 40 callers
Function
IntFrom96DPI
IntFrom96DPI converts from 1/96" units to native pixels.
util.go:517
↓ 38 callers
Function
windowFromHandle
(hwnd win.HWND)
window.go:2123
↓ 37 callers
Function
SizeFrom96DPI
SizeFrom96DPI converts from 1/96" units to native pixels.
util.go:586
↓ 36 callers
Method
GraphicsEffects
GraphicsEffects returns a list of WidgetGraphicsEffects that are applied to the Widget.
widget.go:59
↓ 34 callers
Method
Invalidate
Invalidate schedules a full repaint of the Window.
window.go:147
↓ 33 callers
Function
AppendToWalkInit
(fn func())
window.go:521
↓ 33 callers
Method
BoundsPixels
BoundsPixels returns the outer bounding box rectangle of the Window, including decorations. For a Form, like *MainWindow or *Dialog, the rectangle is
window.go:61
↓ 33 callers
Method
Len
()
widgetlist.go:125
↓ 32 callers
Method
AsWindowBase
AsWindowBase returns a *WindowBase, a pointer to an instance of the struct that implements most operations common to all windows.
window.go:36
↓ 32 callers
Method
Detach
(handle int)
event.go:35
↓ 28 callers
Function
Bind
(expression string, validators ...Validator)
declarative/interfaces.go:30
↓ 27 callers
Function
InitWidget
InitWidget initializes a Widget.
widget.go:105
↓ 27 callers
Method
applyFont
(font *Font)
window.go:1138
↓ 26 callers
Method
handleForDPI
(dpi int)
pen.go:43
↓ 25 callers
Method
Font
Font returns the *Font of the Window. By default this is a MS Shell Dlg 2, 8 point font.
window.go:132
↓ 25 callers
Function
errorFromHRESULT
(funcName string, hr win.HRESULT)
error.go:100
↓ 25 callers
Method
raiseChanged
()
action.go:464
↓ 24 callers
Method
AsWidgetBase
AsWidgetBase returns a *WidgetBase that implements Widget.
widget.go:51
↓ 24 callers
Method
Run
()
form.go:49
↓ 23 callers
Method
Create
()
declarative/interfaces.go:76
↓ 22 callers
Method
Changed
()
expression.go:18
↓ 22 callers
Method
Size
Size returns image size in 1/96" units.
image.go:26
↓ 21 callers
Method
Children
()
container.go:20
↓ 21 callers
Method
IntFrom96DPI
IntFrom96DPI converts from 1/96" units to native pixels.
window.go:1036
↓ 20 callers
Method
HasHeightForWidth
()
layout.go:549
↓ 20 callers
Method
SetBackground
SetBackground sets the background Brush of the Window.
window.go:221
↓ 19 callers
Method
SetText
(text string)
label.go:89
↓ 19 callers
Method
Visible
Visible returns if the Window is visible.
window.go:357
↓ 18 callers
Method
ApplyDPI
(dpi int)
window.go:1026
↓ 18 callers
Method
Index
()
models.go:413
↓ 18 callers
Method
String
()
keyboard.go:19
↓ 18 callers
Method
invalidateBorderInParent
()
widget.go:440
↓ 17 callers
Method
Geometry
()
layout.go:576
↓ 17 callers
Method
Layout
()
container.go:21
↓ 17 callers
Function
assertStringOr
(value interface{}, defaultValue string)
util.go:129
↓ 16 callers
Method
At
(index int)
widgetlist.go:36
↓ 16 callers
Method
ClientBoundsPixels
ClientBoundsPixels returns the inner bounding box rectangle of the Window, excluding decorations.
window.go:76
↓ 16 callers
Method
DPI
DPI returns the current DPI value of the WindowBase.
window.go:1021
↓ 16 callers
Method
SetVisible
SetVisible sets if the Window is visible.
window.go:310
↓ 16 callers
Method
Text
Text returns the text of the item.
models.go:613
↓ 16 callers
Function
scaleInt
(value int, scale float64)
util.go:526
↓ 15 callers
Method
DPI
()
canvas.go:169
↓ 15 callers
Function
MustRegisterWindowClass
MustRegisterWindowClass registers the specified window class. MustRegisterWindowClass must be called once for every window type that is not based on
window.go:466
↓ 15 callers
Method
SetBoundsPixels
SetBoundsPixels sets the outer bounding box rectangle of the Window, including decorations. For a Form, like *MainWindow or *Dialog, the rectangle is
window.go:237
↓ 15 callers
Method
applyEnabled
(enabled bool)
window.go:1104
↓ 14 callers
Method
Defer
(f func() error)
declarative/builder.go:90
↓ 14 callers
Method
Satisfied
()
condition.go:11
↓ 14 callers
Method
hasStyleBits
(bits uint32)
window.go:751
↓ 14 callers
Method
setText
(text string)
static.go:164
↓ 13 callers
Method
Actions
()
menu.go:80
↓ 13 callers
Method
AsFormBase
()
form.go:48
↓ 13 callers
Method
DrawBitmapPart
DrawBitmapPart draws bitmap at given location in native pixels.
canvas.go:334
↓ 13 callers
Method
MinSizeEffectiveForChild
MinSizeEffectiveForChild returns minimum effective size for a child in native pixels.
layout.go:590
↓ 13 callers
Method
SetFocus
SetFocus sets the keyboard input focus to the Window.
window.go:261
↓ 13 callers
Method
SetName
SetName sets the name of the Window. This is important if you want to make use of the built-in UI persistence. Some windows support automatic state p
window.go:289
↓ 13 callers
Method
Value
Value returns the value that should be displayed for the given index.
models.go:28
↓ 13 callers
Method
dialogBaseUnitsToPixels
dialogBaseUnitsToPixels returns size in dialog based units in native pixels.
window.go:1564
↓ 12 callers
Method
Clicked
()
button.go:190
↓ 12 callers
Function
MarginsFrom96DPI
MarginsFrom96DPI converts from 1/96" units to native pixels.
util.go:531
↓ 12 callers
Method
ReadOnly
()
property.go:21
↓ 12 callers
Method
SetParent
SetParent sets the parent of the Widget and adds the Widget to the Children list of the Container.
widget.go:81
↓ 12 callers
Function
ensureWindowLongBits
(hwnd win.HWND, index int32, bits uint32, set bool)
window.go:797
↓ 12 callers
Method
text
(hwnd win.HWND)
tooltip.go:209
↓ 12 callers
Function
walkDescendants
(window Window, f func(w Window) bool)
util.go:318
↓ 11 callers
Method
Handle
()
layout.go:575
↓ 11 callers
Method
HeightForWidth
HeightForWidth returns appropriate height if element has given width. width parameter and return value are in native pixels.
layout.go:553
↓ 11 callers
Method
Image
Image returns the image to display for an item. Supported types are *walk.Bitmap, *walk.Icon and string. A string will be interpreted as a file path
models.go:607
↓ 11 callers
Method
Print
()
stopwatch.go:110
↓ 11 callers
Function
RectangleFrom96DPI
RectangleFrom96DPI converts from 1/96" units to native pixels.
util.go:567
↓ 11 callers
Method
SetCurrentIndex
SetCurrentIndex sets the index of the current item. Call this with a value of -1 to have no current item.
tableview.go:1167
↓ 11 callers
Method
SetTextSelection
(start, end int)
container.go:513
↓ 11 callers
Method
init
(form Form)
form.go:105
↓ 11 callers
Function
rectangleFromRECT
(r win.RECT)
rectangle.go:23
↓ 11 callers
Method
setAndClearStyleBits
(set, clear uint32)
window.go:765
↓ 10 callers
Method
Accessibility
Accessibility returns the accessibility object used to set Dynamic Annotation properties of the window.
window.go:40
↓ 10 callers
Method
Bitmap
()
brush.go:290
↓ 10 callers
Method
Checked
Checked returns if the specified item is checked.
models.go:523
↓ 10 callers
Method
Close
()
form.go:581
↓ 10 callers
Method
ItemCount
ItemCount returns the number of items in the model.
models.go:25
↓ 10 callers
Method
Property
(name string)
window.go:747
↓ 10 callers
Method
Set
(value interface{})
property.go:23
↓ 10 callers
Function
ancestor
(w Widget)
widget.go:501
next →
1–100 of 2,948, ranked by callers