Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BurntSushi/wingo
/ functions
Functions
1,138 in github.com/BurntSushi/wingo
⨍
Functions
1,138
◇
Types & classes
228
↓ 140 callers
Method
Printf
(format string, v ...interface{})
logger/logger.go:103
↓ 93 callers
Function
syncRun
syncRun should wrap the execution of most Gribble commands to ensure synchronous execution with respect to the main X event loop.
commands/commands.go:176
↓ 79 callers
Method
Map
()
frame/interface.go:11
↓ 65 callers
Method
Id
()
xclient/client.go:143
↓ 58 callers
Method
MROpt
(validate bool, flags, x, y, width, height int)
frame/interface.go:20
↓ 58 callers
Method
Unmap
()
frame/interface.go:12
↓ 50 callers
Method
Destroy
()
layout/layout.go:23
↓ 48 callers
Method
Println
(v ...interface{})
logger/logger.go:115
↓ 46 callers
Function
withClient
(cArg gribble.Any, f func(c *xclient.Client))
commands/misc.go:122
↓ 44 callers
Method
Id
()
wm/client.go:13
↓ 40 callers
Method
Geom
()
frame/interface.go:14
↓ 38 callers
Function
NewColor
(clr int)
render/color.go:15
↓ 30 callers
Method
Size
()
layout/tree.go:47
↓ 29 callers
Method
Active
()
frame/interface.go:36
↓ 28 callers
Method
Inactive
()
frame/interface.go:37
↓ 27 callers
Method
MoveResize
(x, y, width, height int)
layout/tree.go:33
↓ 27 callers
Function
Workspace
()
wm/state.go:153
↓ 26 callers
Method
Destroy
()
frame/interface.go:13
↓ 26 callers
Method
Fatalf
(format string, v ...interface{})
logger/logger.go:140
↓ 26 callers
Function
withWorkspace
(wArg gribble.Any, f func(wrk *workspace.Workspace))
commands/misc.go:167
↓ 23 callers
Function
newPiece
(w *xwindow.Window, active, inactive *xgraphics.Image)
frame/piece.go:15
↓ 21 callers
Function
setNoGradient
(k wini.Key, clr *render.Color)
wm/config_theme_setters.go:91
↓ 19 callers
Method
Create
(act, inact *xgraphics.Image)
frame/piece.go:29
↓ 19 callers
Method
IsVisible
()
workspace/interface.go:17
↓ 19 callers
Method
Name
()
frame/client.go:16
↓ 19 callers
Method
w
()
frame/piece.go:92
↓ 18 callers
Method
Child
(i int)
layout/tree.go:48
↓ 18 callers
Method
LayoutAutoTiler
()
workspace/workspace.go:339
↓ 18 callers
Function
NewImageColor
(clr color.Color)
render/color.go:19
↓ 18 callers
Method
Parent
()
layout/tree.go:36
↓ 17 callers
Function
NewBorder
(X *xgbutil.XUtil, borderType int, borderColor, bgColor Color, width, height, gradientType, gradientDir int)
render/render.go:54
↓ 17 callers
Function
Notify
(ev Event)
event/ipc.go:40
↓ 16 callers
Method
Proportion
()
layout/tree.go:34
↓ 15 callers
Method
IsMaximized
()
wm/client.go:21
↓ 15 callers
Method
Resize
(c Client, width, height int)
layout/layout.go:28
↓ 15 callers
Method
newPieceWindow
(ident string, cursor xproto.Cursor)
frame/full_pieces.go:16
↓ 14 callers
Method
Focus
()
workspace/client.go:20
↓ 14 callers
Function
FocusFallback
()
wm/state.go:134
↓ 14 callers
Function
SetWorkspace
(wrk *workspace.Workspace, greedy bool)
wm/state.go:157
↓ 14 callers
Function
gribble
(cmd)
scripts/growto.py:32
↓ 13 callers
Method
Err
(formatted string, vals ...interface{})
wini/wini.go:285
↓ 13 callers
Method
removeState
(name string)
xclient/client_message.go:197
↓ 12 callers
Function
DataFile
(name string)
misc/xdg.go:39
↓ 12 callers
Method
Hide
Hide will hide the cycle prompt and reset any relevant state information. The keyboard grab will also be released if one was made.
prompt/cycle.go:284
↓ 12 callers
Method
Left
()
frame/interface.go:31
↓ 12 callers
Method
Top
()
frame/interface.go:29
↓ 12 callers
Method
Workspace
()
xclient/workspace.go:25
↓ 12 callers
Method
Workspace
()
wm/client.go:19
↓ 12 callers
Function
newItem
(text string, group int)
prompt/examples/select/main.go:30
↓ 11 callers
Method
AddNode
(n node, last bool)
layout/tree.go:44
↓ 11 callers
Method
PrimaryType
()
xclient/manage.go:308
↓ 11 callers
Method
Raise
()
xclient/client.go:178
↓ 11 callers
Function
Reset
(f Frame)
frame/interface.go:42
↓ 11 callers
Method
String
()
frame/client.go:26
↓ 11 callers
Method
VisibleIndex
(wk *workspace.Workspace)
heads/workspace.go:158
↓ 11 callers
Method
addState
(name string)
xclient/client_message.go:190
↓ 11 callers
Function
boolToInt
boolToInt converts a boolean value to an integer. (True = 1 and False = 0.)
commands/misc.go:74
↓ 11 callers
Function
strIndex
strIndex returns the index of the first occurrence of needle in haystack. Returns -1 if needle is not in haystack.
xclient/misc.go:5
↓ 10 callers
Method
Add
(c Client)
layout/layout.go:20
↓ 10 callers
Method
Move
(c Client, x, y int)
layout/layout.go:27
↓ 10 callers
Method
Raise
()
workspace/client.go:21
↓ 10 callers
Method
SaveState
(name string)
workspace/client.go:31
↓ 10 callers
Method
Show
Show will map and show the slice of items provided. 'workarea' is the rectangle to position the prompt window in. (i.e., typically the rectangle of t
prompt/cycle.go:187
↓ 10 callers
Method
Strings
()
wini/wini.go:223
↓ 10 callers
Function
setInt
(k wini.Key, place *int)
wm/config_theme_setters.go:53
↓ 9 callers
Method
Frame
()
wm/client.go:14
↓ 9 callers
Method
GradientFunc
XXX: Optimize.
render/render.go:146
↓ 9 callers
Method
HeadGeom
()
frame/client.go:27
↓ 9 callers
Method
IconifyToggle
()
xclient/workspace.go:42
↓ 9 callers
Method
IsVisible
()
workspace/workspace.go:106
↓ 9 callers
Method
Keys
(section string)
wini/wini.go:208
↓ 9 callers
Method
Layout
()
xclient/layout.go:34
↓ 9 callers
Method
borderImages
What follows is a simplified version of 'frame_borders_pieces.go'. The major simplifying difference is that we don't support gradients on the borders
frame/full_pieces.go:132
↓ 9 callers
Function
stringBool
stringBool takes a string and returns true if the string corresponds to a "true" value. i.e., "Yes", "Y", "y", "YES", "yEs", etc.
commands/misc.go:68
↓ 8 callers
Method
Client
()
frame/interface.go:8
↓ 8 callers
Method
Close
()
xclient/client.go:107
↓ 8 callers
Method
Fatalln
(v ...interface{})
logger/logger.go:153
↓ 8 callers
Method
Frame
Frame returns the current frame in use by the client.
xclient/frame.go:48
↓ 8 callers
Method
Get
(i int)
heads/client.go:8
↓ 8 callers
Method
ImageColor
()
render/color.go:54
↓ 8 callers
Method
Initialize
(clients Clients)
heads/heads.go:35
↓ 8 callers
Method
LayoutFloater
()
workspace/workspace.go:335
↓ 8 callers
Method
Place
()
layout/layout.go:18
↓ 8 callers
Method
RemoveNode
(n node)
layout/tree.go:45
↓ 8 callers
Method
SetProportion
(p proportion)
layout/tree.go:35
↓ 8 callers
Method
Uint32
()
render/color.go:50
↓ 8 callers
Method
WithVisibleWorkspace
WithVisibleWorkspace takes a head number and a closure and executes the closure safely with the workspace corresponding to head number i. This approa
heads/workspace.go:95
↓ 8 callers
Method
empty
()
frame/piece.go:25
↓ 8 callers
Method
h
()
frame/piece.go:99
↓ 8 callers
Function
newEmptyPiece
()
frame/piece.go:21
↓ 8 callers
Method
newPieceWindow
(ident string, cursor xproto.Cursor)
frame/borders_pieces.go:14
↓ 7 callers
Method
Bottom
()
frame/interface.go:30
↓ 7 callers
Method
Geom
()
workspace/client.go:22
↓ 7 callers
Method
Iconified
()
xclient/bools.go:30
↓ 7 callers
Method
Layout
()
workspace/client.go:16
↓ 7 callers
Method
LoadState
(name string)
workspace/client.go:33
↓ 7 callers
Method
NewStaticGroup
NewStaticGroup returns a value implementing the SelectGroup interface with the label provided. This is useful for generating group labels that never c
prompt/select.go:148
↓ 7 callers
Method
Next
()
layout/layout.go:42
↓ 7 callers
Method
Place
()
workspace/workspace.go:242
↓ 7 callers
Method
Remove
(c Client)
layout/layout.go:21
next →
1–100 of 1,138, ranked by callers