MCPcopy Create free account

hub / github.com/BurntSushi/wingo / functions

Functions1,138 in github.com/BurntSushi/wingo

↓ 2 callersFunctionNewInput
(X *xgbutil.XUtil, theme *InputTheme, config InputConfig)
prompt/input.go:41
↓ 2 callersFunctionNewMessage
(X *xgbutil.XUtil, theme *MessageTheme, config MessageConfig)
prompt/message.go:42
↓ 2 callersFunctionNewSelect
(X *xgbutil.XUtil, theme *SelectTheme, config SelectConfig)
prompt/select.go:55
↓ 2 callersMethodNumConnected
NumConnected pings the Xinerama extension for a fresh tally of the number of heads currently active.
heads/heads.go:262
↓ 2 callersMethodOn
()
frame/interface.go:35
↓ 2 callersMethodPlace
()
layout/maximized.go:28
↓ 2 callersMethodPrimaryTypeString
()
xclient/manage.go:312
↓ 2 callersMethodPropsClear
()
layout/tree.go:53
↓ 2 callersMethodPropsRollback
()
layout/tree.go:52
↓ 2 callersMethodPropsSave
()
layout/tree.go:51
↓ 2 callersMethodResize
(validate bool, width, height int)
frame/interface.go:18
↓ 2 callersMethodResizing
()
frame/interface.go:24
↓ 2 callersFunctionRoot
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 callersMethodRun
()
commands/commands.go:228
↓ 2 callersMethodSaveState
Don't save when moving or resizing. Also don't save when client's workspace isn't visible.
xclient/state.go:41
↓ 2 callersMethodSendFocusNotify
Returns true if the client participates in the WM_TAKE_FOCUS protocol as specified by the ICCCM.
focus/client.go:28
↓ 2 callersMethodSetChildProportion
(n node, newProp proportion)
layout/tree.go:46
↓ 2 callersMethodSetGeom
(geom xrect.Rect)
layout/layout.go:17
↓ 2 callersMethodSetParent
(n node)
layout/tree.go:37
↓ 2 callersMethodSetString
SetString will clear the input box and set it to the string provided.
text/input.go:132
↓ 2 callersFunctionShowCycleClient
(keyStr string, activeWrk, visible, iconified bool)
wm/prompt.go:93
↓ 2 callersMethodShowing
()
prompt/input.go:98
↓ 2 callersMethodStackAboveToggle
()
xclient/toggles.go:41
↓ 2 callersMethodStackBelowToggle
()
xclient/toggles.go:72
↓ 2 callersMethodSteps
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 callersMethodStickyToggle
()
xclient/toggles.go:103
↓ 2 callersMethodString
()
workspace/workspace.go:84
↓ 2 callersMethodSwitchNext
()
layout/layout.go:44
↓ 2 callersMethodSwitchPrev
()
layout/layout.go:45
↓ 2 callersMethodSwitchWorkspaces
(wrk1, wrk2 *Workspace)
workspace/workspaces.go:25
↓ 2 callersMethodThinBorder
XXX: Optimize.
render/render.go:116
↓ 2 callersMethodUnfloat
()
xclient/toggles.go:31
↓ 2 callersMethodUnmaximize
()
xclient/toggles.go:211
↓ 2 callersMethodUnplace
()
layout/layout.go:19
↓ 2 callersMethodUpdateImage
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 callersFunctionabs
(i int)
xclient/misc.go:34
↓ 2 callersFunctionadd
(c Client)
focus/focus.go:84
↓ 2 callersMethodapply
apply takes a command string and replaces special strings with values in Args that have non-zero length.
hook/hook.go:260
↓ 2 callersMethodattnStart
()
xclient/toggles.go:293
↓ 2 callersFunctioncheckCommands
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 callersFunctioncliIndex
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 callersFunctionclientIndex
(needle Client, haystack []Client)
stack/client.go:17
↓ 2 callersMethoddestroy
destroy will destroy all resources associated with any frames created for this client.
xclient/frame.go:275
↓ 2 callersFunctionewmhClientListStacking
()
stack/stack.go:103
↓ 2 callersFunctionewmhDesktopGeometry
()
wm/ewmh.go:53
↓ 2 callersFunctionfatal
(err error)
prompt/examples/select/main.go:50
↓ 2 callersFunctionfatal
(err error)
text/examples/input/main.go:40
↓ 2 callersFunctionfilterClient
(client Client, activeWrk, visible, iconified bool)
wm/prompt.go:52
↓ 2 callersMethodfindLayout
(name string)
workspace/workspace.go:408
↓ 2 callersMethodfindLeaf
(c Client)
layout/tree.go:107
↓ 2 callersFunctionfixScannerBugs
(s string)
commands/commands.go:1070
↓ 2 callersMethodhighlight
highlight highlights the current choice and unhighlights the rest.
prompt/cycle.go:366
↓ 2 callersMethodhighlight
()
prompt/select.go:382
↓ 2 callersFunctionignoreFocus
(modeByte, detailByte byte)
xclient/event.go:180
↓ 2 callersFunctionintFromRgb
(r, g, b int)
render/color.go:138
↓ 2 callersFunctionisClientSet
(id xproto.Window)
focus/focus.go:199
↓ 2 callersFunctionisDown
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 callersMethodleafNext
(lf *leaf)
layout/verthorz.go:229
↓ 2 callersMethodleafPrev
(lf *leaf)
layout/verthorz.go:261
↓ 2 callersMethodmFindClient
(c Client)
layout/auto_storage.go:63
↓ 2 callersFunctionmanagerAtom
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 callersFunctionmax
(a, b int)
xclient/misc.go:48
↓ 2 callersMethodmaybeApplyStruts
()
xclient/property.go:104
↓ 2 callersFunctionnewTree
()
layout/tree.go:77
↓ 2 callersFunctionparseDim
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 callersFunctionraise
(client Client)
stack/stack.go:56
↓ 2 callersMethodrefreshIcon
()
xclient/property.go:72
↓ 2 callersMethodrefreshName
()
xclient/property.go:77
↓ 2 callersFunctionremove
(client Client)
stack/stack.go:97
↓ 2 callersMethodsFindClient
(c Client)
layout/auto_storage.go:72
↓ 2 callersMethodsetChild
(n node)
layout/tree.go:96
↓ 2 callersMethodshouldDecor
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 callersMethodstackAbove
()
xclient/toggles.go:49
↓ 2 callersMethodstackBelow
()
xclient/toggles.go:80
↓ 2 callersFunctionstringTabComp
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 callersMethodtransient
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 callersMethodtransientType
transientType determines whether there is a transient type in the client.
xclient/group.go:57
↓ 2 callersMethodunmanage
()
xclient/unmanage.go:18
↓ 2 callersMethodunmaximize
()
xclient/toggles.go:248
↓ 2 callersMethodunstackAbove
()
xclient/toggles.go:61
↓ 2 callersMethodunstackBelow
()
xclient/toggles.go:92
↓ 2 callersMethodunstick
()
xclient/toggles.go:111
↓ 2 callersMethodvalidateSize
validateSize is does the math for ValidateWidth and ValidateHeight.
xclient/frame.go:163
↓ 2 callersFunctionworkspaceIndex
(needle *workspace.Workspace)
wm/ewmh.go:63
↓ 2 callersMethodx
()
frame/piece.go:78
↓ 1 callersMethodActivate
(greedy bool)
workspace/workspace.go:110
↓ 1 callersMethodActivateWorkspace
(wrk *Workspace)
workspace/workspaces.go:24
↓ 1 callersMethodActive
()
frame/borders.go:94
↓ 1 callersMethodActive
()
frame/slim.go:42
↓ 1 callersMethodActive
()
frame/full.go:150
↓ 1 callersMethodAdd
(c Client)
workspace/workspace.go:122
↓ 1 callersMethodAdd
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 callersMethodAddChoice
(choice SelectChoice)
prompt/select.go:156
↓ 1 callersFunctionAddClient
(c Client)
wm/state.go:108
↓ 1 callersMethodAddLetter
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 callersMethodAddWorkspace
(wk *workspace.Workspace)
heads/workspace.go:52
↓ 1 callersMethodAutoCycle
()
workspace/workspace.go:370
↓ 1 callersFunctionClientMouseSetup
(c Client)
wm/bindings_mouse.go:195
↓ 1 callersFunctionColors
(enable bool)
logger/logger.go:87
↓ 1 callersMethodCycleHighlighted
CycleHighlighted is a hook that is called when this choice is highlighted in the cycle prompt.
prompt/cycle_item.go:40
← previousnext →301–400 of 1,138, ranked by callers