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
↓ 2 callers
Function
NewInput
(X *xgbutil.XUtil, theme *InputTheme, config InputConfig)
prompt/input.go:41
↓ 2 callers
Function
NewMessage
(X *xgbutil.XUtil, theme *MessageTheme, config MessageConfig)
prompt/message.go:42
↓ 2 callers
Function
NewSelect
(X *xgbutil.XUtil, theme *SelectTheme, config SelectConfig)
prompt/select.go:55
↓ 2 callers
Method
NumConnected
NumConnected pings the Xinerama extension for a fresh tally of the number of heads currently active.
heads/heads.go:262
↓ 2 callers
Method
On
()
frame/interface.go:35
↓ 2 callers
Method
Place
()
layout/maximized.go:28
↓ 2 callers
Method
PrimaryTypeString
()
xclient/manage.go:312
↓ 2 callers
Method
PropsClear
()
layout/tree.go:53
↓ 2 callers
Method
PropsRollback
()
layout/tree.go:52
↓ 2 callers
Method
PropsSave
()
layout/tree.go:51
↓ 2 callers
Method
Resize
(validate bool, width, height int)
frame/interface.go:18
↓ 2 callers
Method
Resizing
()
frame/interface.go:24
↓ 2 callers
Function
Root
Root emulates focus of the root window. N.B. Technically, a special off-screen window maintained by Wingo gets focus, but you won't be able to tell t
focus/focus.go:161
↓ 2 callers
Method
Run
()
commands/commands.go:228
↓ 2 callers
Method
SaveState
Don't save when moving or resizing. Also don't save when client's workspace isn't visible.
xclient/state.go:41
↓ 2 callers
Method
SendFocusNotify
Returns true if the client participates in the WM_TAKE_FOCUS protocol as specified by the ICCCM.
focus/client.go:28
↓ 2 callers
Method
SetChildProportion
(n node, newProp proportion)
layout/tree.go:46
↓ 2 callers
Method
SetGeom
(geom xrect.Rect)
layout/layout.go:17
↓ 2 callers
Method
SetParent
(n node)
layout/tree.go:37
↓ 2 callers
Method
SetString
SetString will clear the input box and set it to the string provided.
text/input.go:132
↓ 2 callers
Function
ShowCycleClient
(keyStr string, activeWrk, visible, iconified bool)
wm/prompt.go:93
↓ 2 callers
Method
Showing
()
prompt/input.go:98
↓ 2 callers
Method
StackAboveToggle
()
xclient/toggles.go:41
↓ 2 callers
Method
StackBelowToggle
()
xclient/toggles.go:72
↓ 2 callers
Method
Steps
steps returns a slice of colors corresponding to the gradient of colors from start to end. The size is determined by the 'size' parameter. The first a
render/color.go:82
↓ 2 callers
Method
StickyToggle
()
xclient/toggles.go:103
↓ 2 callers
Method
String
()
workspace/workspace.go:84
↓ 2 callers
Method
SwitchNext
()
layout/layout.go:44
↓ 2 callers
Method
SwitchPrev
()
layout/layout.go:45
↓ 2 callers
Method
SwitchWorkspaces
(wrk1, wrk2 *Workspace)
workspace/workspaces.go:25
↓ 2 callers
Method
ThinBorder
XXX: Optimize.
render/render.go:116
↓ 2 callers
Method
Unfloat
()
xclient/toggles.go:31
↓ 2 callers
Method
Unmaximize
()
xclient/toggles.go:211
↓ 2 callers
Method
Unplace
()
layout/layout.go:19
↓ 2 callers
Method
UpdateImage
UpdateImage will repaint the active and inactive images by calling CycleChoice.CycleImage. This is not called when the cycle prompt is shown; rather t
prompt/cycle_item.go:155
↓ 2 callers
Function
abs
(i int)
xclient/misc.go:34
↓ 2 callers
Function
add
(c Client)
focus/focus.go:84
↓ 2 callers
Method
apply
apply takes a command string and replaces special strings with values in Args that have non-zero length.
hook/hook.go:260
↓ 2 callers
Method
attnStart
()
xclient/toggles.go:293
↓ 2 callers
Function
checkCommands
checkCommands runs through a list of strings and tries to parse each as a Gribble command in 'gribbleEnv'. If an error occurs in any of them, the erra
hook/hook.go:237
↓ 2 callers
Function
cliIndex
cliIndex returns the index of the first occurrence of needle in haystack. Returns -1 if needle is not in haystack.
wm/state.go:284
↓ 2 callers
Function
clientIndex
(needle Client, haystack []Client)
stack/client.go:17
↓ 2 callers
Method
destroy
destroy will destroy all resources associated with any frames created for this client.
xclient/frame.go:275
↓ 2 callers
Function
ewmhClientListStacking
()
stack/stack.go:103
↓ 2 callers
Function
ewmhDesktopGeometry
()
wm/ewmh.go:53
↓ 2 callers
Function
fatal
(err error)
prompt/examples/select/main.go:50
↓ 2 callers
Function
fatal
(err error)
text/examples/input/main.go:40
↓ 2 callers
Function
filterClient
(client Client, activeWrk, visible, iconified bool)
wm/prompt.go:52
↓ 2 callers
Method
findLayout
(name string)
workspace/workspace.go:408
↓ 2 callers
Method
findLeaf
(c Client)
layout/tree.go:107
↓ 2 callers
Function
fixScannerBugs
(s string)
commands/commands.go:1070
↓ 2 callers
Method
highlight
highlight highlights the current choice and unhighlights the rest.
prompt/cycle.go:366
↓ 2 callers
Method
highlight
()
prompt/select.go:382
↓ 2 callers
Function
ignoreFocus
(modeByte, detailByte byte)
xclient/event.go:180
↓ 2 callers
Function
intFromRgb
(r, g, b int)
render/color.go:138
↓ 2 callers
Function
isClientSet
(id xproto.Window)
focus/focus.go:199
↓ 2 callers
Function
isDown
isDown takes a key/mouse combination, and looks for the keyword "up". If "up" exists, isDown returns false. Otherwise, true. It also returns the key/m
wm/config.go:238
↓ 2 callers
Method
leafNext
(lf *leaf)
layout/verthorz.go:229
↓ 2 callers
Method
leafPrev
(lf *leaf)
layout/verthorz.go:261
↓ 2 callers
Method
mFindClient
(c Client)
layout/auto_storage.go:63
↓ 2 callers
Function
managerAtom
managerAtom returns an xproto.Atom of the manager selection atom. Usually it's "WM_S0", where "0" is the screen number.
ownership.go:171
↓ 2 callers
Function
max
(a, b int)
xclient/misc.go:48
↓ 2 callers
Method
maybeApplyStruts
()
xclient/property.go:104
↓ 2 callers
Function
newTree
()
layout/tree.go:77
↓ 2 callers
Function
parseDim
parseDim takes a string and parses a width or height dimension from it. The magic here is that while a string could just be a simple integer, it could
commands/misc.go:47
↓ 2 callers
Function
raise
(client Client)
stack/stack.go:56
↓ 2 callers
Method
refreshIcon
()
xclient/property.go:72
↓ 2 callers
Method
refreshName
()
xclient/property.go:77
↓ 2 callers
Function
remove
(client Client)
stack/stack.go:97
↓ 2 callers
Method
sFindClient
(c Client)
layout/auto_storage.go:72
↓ 2 callers
Method
setChild
(n node)
layout/tree.go:96
↓ 2 callers
Method
shouldDecor
shouldDecor returns false if the client has requested no frames or has a type that implies it shouldn't be decorated.
xclient/bools.go:63
↓ 2 callers
Method
stackAbove
()
xclient/toggles.go:49
↓ 2 callers
Method
stackBelow
()
xclient/toggles.go:80
↓ 2 callers
Function
stringTabComp
stringTabComp takes a string and converts it to a tab completion constant defined in the prompt package. Valid values are "Prefix", "Any" and "Multipl
commands/misc.go:96
↓ 2 callers
Method
transient
transient determines whether 'test' is a transient window of 'c'. This is tricky because the logic to find the transients of a window is convoluted. W
xclient/group.go:35
↓ 2 callers
Method
transientType
transientType determines whether there is a transient type in the client.
xclient/group.go:57
↓ 2 callers
Method
unmanage
()
xclient/unmanage.go:18
↓ 2 callers
Method
unmaximize
()
xclient/toggles.go:248
↓ 2 callers
Method
unstackAbove
()
xclient/toggles.go:61
↓ 2 callers
Method
unstackBelow
()
xclient/toggles.go:92
↓ 2 callers
Method
unstick
()
xclient/toggles.go:111
↓ 2 callers
Method
validateSize
validateSize is does the math for ValidateWidth and ValidateHeight.
xclient/frame.go:163
↓ 2 callers
Function
workspaceIndex
(needle *workspace.Workspace)
wm/ewmh.go:63
↓ 2 callers
Method
x
()
frame/piece.go:78
↓ 1 callers
Method
Activate
(greedy bool)
workspace/workspace.go:110
↓ 1 callers
Method
ActivateWorkspace
(wrk *Workspace)
workspace/workspaces.go:24
↓ 1 callers
Method
Active
()
frame/borders.go:94
↓ 1 callers
Method
Active
()
frame/slim.go:42
↓ 1 callers
Method
Active
()
frame/full.go:150
↓ 1 callers
Method
Add
(c Client)
workspace/workspace.go:122
↓ 1 callers
Method
Add
Add will convert a (modifiers, keycode) tuple taken directly from a Key{Press,Release}Event to a single character string. Note that sometimes this con
text/input.go:107
↓ 1 callers
Method
AddChoice
(choice SelectChoice)
prompt/select.go:156
↓ 1 callers
Function
AddClient
(c Client)
wm/state.go:108
↓ 1 callers
Method
AddLetter
AddLetter will add a single character to the input and re-render the input box. Note that the Add method is quite convenient and should be used when r
text/input.go:121
↓ 1 callers
Method
AddWorkspace
(wk *workspace.Workspace)
heads/workspace.go:52
↓ 1 callers
Method
AutoCycle
()
workspace/workspace.go:370
↓ 1 callers
Function
ClientMouseSetup
(c Client)
wm/bindings_mouse.go:195
↓ 1 callers
Function
Colors
(enable bool)
logger/logger.go:87
↓ 1 callers
Method
CycleHighlighted
CycleHighlighted is a hook that is called when this choice is highlighted in the cycle prompt.
prompt/cycle_item.go:40
← previous
next →
301–400 of 1,138, ranked by callers