MCPcopy Create free account

hub / github.com/BurntSushi/wingo / functions

Functions1,138 in github.com/BurntSushi/wingo

↓ 7 callersMethodRight
()
frame/interface.go:32
↓ 7 callersFunctionsetBool
(k wini.Key, place *bool)
wm/config_theme_setters.go:34
↓ 7 callersFunctionsetImage
(k wini.Key, place **xgraphics.Image)
wm/config_theme_setters.go:162
↓ 7 callersMethodvals
()
wini/wini.go:276
↓ 6 callersFunctionConfigFile
(name string)
misc/xdg.go:31
↓ 6 callersFunctionDrawText
BUG(burntsushi): I don't think freetype-go has a way to compute text extents before rendering text to an image. To work-around this, DrawText will ove
text/render.go:31
↓ 6 callersMethodFatal
(v ...interface{})
logger/logger.go:127
↓ 6 callersMethodFindMostOverlap
(needle xrect.Rect)
heads/workspace.go:108
↓ 6 callersMethodIconified
()
wm/client.go:16
↓ 6 callersMethodIconifiedSet
(iconified bool)
workspace/client.go:26
↓ 6 callersMethodIsMaximized
()
xclient/bools.go:22
↓ 6 callersFunctionMod
This exists because '%' isn't really modulus; it's *remainder*. e.g., (-1) % 2 = -1 but (-1) mod 2 = 1.
misc/misc.go:26
↓ 6 callersFunctionPopupError
(format string, vals ...interface{})
wm/prompt.go:68
↓ 6 callersMethodRun
()
commands/match.go:236
↓ 6 callersFunctionbuiltInButton
(X *xgbutil.XUtil, builtInData []byte)
frame/full.go:440
↓ 6 callersFunctionbuiltInButton
(builtInData []byte)
wm/theme.go:447
↓ 6 callersFunctionewmhVisibleDesktops
()
wm/ewmh.go:32
↓ 6 callersFunctionfatal
(err error)
prompt/examples/cycle/main.go:90
↓ 6 callersMethodhide
hide simply unmaps the parent window for this item.
prompt/cycle_item.go:116
↓ 6 callersFunctionimageColorFromInt
(clr int)
render/color.go:133
↓ 6 callersMethodleafCurrent
()
layout/verthorz.go:217
↓ 6 callersFunctionparsePos
parsePos takes a string and parses an x or y position from it. The magic here is that while a string could just be a simple integer, it could also be
commands/misc.go:24
↓ 6 callersMethodset
set will switch the current frame of the client to the frame provided. It is preferrable to use 'Frame[FrameType]' instead.
xclient/frame.go:260
↓ 5 callersMethodApplyStruts
(clients Clients)
heads/heads.go:166
↓ 5 callersMethodCheckFloatingStatus
CheckFloatingStatus queries the Floating method of a client, and if it's different than what the workspace believes it should be, the proper state tra
workspace/workspace.go:320
↓ 5 callersFunctionClients
Returns all the clients currently tracked by this package. Note that this returns a copy of snapshot of the clients, so it is safe to access concurre
focus/focus.go:42
↓ 5 callersMethodEwmhWorkarea
EwmhWorkarea sets the _NET_WORKAREA property. Generally, this property doesn't make much sense since multiple workspaces can be viewable at one time,
heads/heads.go:213
↓ 5 callersFunctionFindManagedClient
(id xproto.Window)
wm/state.go:125
↓ 5 callersMethodIsMapped
()
wm/client.go:15
↓ 5 callersMethodLen
()
heads/client.go:9
↓ 5 callersMethodMaximize
()
frame/interface.go:38
↓ 5 callersMethodMoveResize
(validate bool, x, y, width, height int)
frame/interface.go:19
↓ 5 callersMethodParent
()
frame/interface.go:9
↓ 5 callersMethodPlace
()
layout/verthorz.go:75
↓ 5 callersMethodPrev
()
layout/layout.go:43
↓ 5 callersMethodRender
Render will redraw the background image, and write whatever text is in (*Input).Text to the image. No clean-up by the caller is necessary. Render pro
text/input.go:80
↓ 5 callersMethodReset
Reset will clear the entire input box and re-render.
text/input.go:151
↓ 5 callersMethodShouldForceFloating
()
workspace/client.go:19
↓ 5 callersMethodShow
()
workspace/workspace.go:215
↓ 5 callersMethodSkipPagerSet
(yes bool)
xclient/toggles.go:283
↓ 5 callersMethodSkipTaskbarSet
(yes bool)
xclient/toggles.go:273
↓ 5 callersMethodState
()
frame/client.go:12
↓ 5 callersMethodString
()
xclient/client.go:139
↓ 5 callersMethodUnmaximize
()
frame/interface.go:39
↓ 5 callersMethodUpdateText
UpdateText repaints the text to an image associated with a particular CycleChoice. The text is retrieved by calling CycleChoice.CycleText.
prompt/cycle_item.go:176
↓ 5 callersMethodWin
()
focus/client.go:13
↓ 5 callersMethodattnStop
()
xclient/toggles.go:319
↓ 5 callersFunctionintToBool
intToBool converts an integer value to a boolean. An integer other than 0 or 1 causes a panic.
commands/misc.go:83
↓ 5 callersFunctionnewLogger
(logType int, plain *log.Logger, colored *log.Logger)
logger/logger.go:69
↓ 5 callersFunctionsetString
(k wini.Key, place *string)
wm/config_theme_setters.go:18
↓ 5 callersMethodupdateState
(action, prop string)
xclient/client_message.go:90
↓ 5 callersFunctionwiniError
(lnum int, formatted string, vals ...interface{})
wini/wini.go:280
↓ 4 callersMethodAddChoice
AddItem should be thought of as a *CycleItem constructor. Its main role is to adapt a CycleChoice value to a value that is suitable for the cycle prom
prompt/cycle.go:347
↓ 4 callersMethodAddGroup
(group SelectGroup)
prompt/select.go:152
↓ 4 callersFunctionAddWorkspace
(name string)
wm/state.go:202
↓ 4 callersMethodCheckNewWorkspace
()
xclient/layout.go:13
↓ 4 callersMethodChildIndex
(n node)
layout/tree.go:49
↓ 4 callersMethodClass
()
xclient/client.go:174
↓ 4 callersMethodFind
(name string)
workspace/workspaces.go:80
↓ 4 callersMethodFocus
()
xclient/focus.go:14
↓ 4 callersMethodFrameNada
FrameNada switches this client's frame to the 'Nada' frame.
xclient/frame.go:43
↓ 4 callersMethodGlobalIndex
(wkNeedle *workspace.Workspace)
heads/workspace.go:167
↓ 4 callersMethodHide
()
prompt/select.go:364
↓ 4 callersMethodIsActive
Whether the client believes it has input focus or not.
focus/client.go:35
↓ 4 callersMethodIsGradient
IsGradient returns whether the theme color is a gradient or not. Basically, a themeColor can either be a regular color (like an int) or a gradient whe
render/color.go:71
↓ 4 callersMethodIsMapped
()
xclient/bools.go:18
↓ 4 callersMethodLayoutStateSet
(state int)
workspace/workspace.go:451
↓ 4 callersMethodMap
()
workspace/client.go:17
↓ 4 callersMethodRGB8
()
render/color.go:62
↓ 4 callersMethodShowGroup
(items []*SelectItem)
prompt/select_group.go:79
↓ 4 callersMethodTopWin
()
stack/client.go:12
↓ 4 callersMethodUnmap
()
workspace/client.go:18
↓ 4 callersMethodaddToTilers
(c Client)
workspace/workspace.go:355
↓ 4 callersMethodadjustMasters
()
layout/verthorz.go:293
↓ 4 callersMethodadjustSplits
This is responsible for adding or removing the master or slave splits.
layout/verthorz.go:317
↓ 4 callersMethodcornerImages
(borderTypes, diagonal int)
frame/borders_pieces.go:52
↓ 4 callersFunctionewmhDesktopNames
()
wm/ewmh.go:43
↓ 4 callersFunctiongetLastString
(k wini.Key)
wm/config_theme_setters.go:24
↓ 4 callersMethodhasType
(atom string)
xclient/bools.go:34
↓ 4 callersFunctionmove
(f Frame, x, y int)
frame/interface.go:88
↓ 4 callersFunctionmoveresize
(f Frame, validate bool, x, y, w, h int)
frame/interface.go:81
↓ 4 callersFunctionmropt
(f Frame, validate bool, flags, x, y, w, h int)
frame/interface.go:74
↓ 4 callersFunctionnewFrame
(X *xgbutil.XUtil, p *Parent, c Client)
frame/frame.go:35
↓ 4 callersMethodpieceImages
(borderTypes, gradientType, gradientDir, width, height int)
frame/borders_pieces.go:40
↓ 4 callersMethodportion
portion takes a proportion of size.
layout/tree.go:20
↓ 4 callersFunctionquery
(X *xgbutil.XUtil)
heads/heads.go:266
↓ 4 callersMethodrefreshExtents
refreshExtents sets the _NET_FRAME_EXTENTS property whenever the frame of a client changes. (Or on maximization.)
xclient/frame.go:17
↓ 4 callersMethodremoveFromTilers
(c Client)
workspace/workspace.go:364
↓ 4 callersFunctionresize
(f Frame, validate bool, w, h int)
frame/interface.go:92
↓ 4 callersFunctionrgbFromInt
(clr int)
render/color.go:142
↓ 4 callersMethodsendConfigureNotify
()
xclient/event.go:131
↓ 4 callersFunctionsetGradient
(k wini.Key, clr *render.Color)
wm/config_theme_setters.go:114
↓ 4 callersMethodstick
()
xclient/toggles.go:119
↓ 4 callersMethody
()
frame/piece.go:85
↓ 3 callersMethodAdd
(c Client)
workspace/interface.go:18
↓ 3 callersMethodChoose
Choose "selects" the currently highlighted choice.
prompt/cycle.go:352
↓ 3 callersFunctionClientToFrame
(f Frame, gravity, x, y, w, h int)
frame/interface.go:47
↓ 3 callersMethodCopyState
(src, dest string)
workspace/client.go:32
↓ 3 callersMethodEnsureUnmax
()
frame/client.go:24
↓ 3 callersFunctionFYI
(format string, vals ...interface{})
wm/prompt.go:80
← previousnext →101–200 of 1,138, ranked by callers