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
↓ 7 callers
Method
Right
()
frame/interface.go:32
↓ 7 callers
Function
setBool
(k wini.Key, place *bool)
wm/config_theme_setters.go:34
↓ 7 callers
Function
setImage
(k wini.Key, place **xgraphics.Image)
wm/config_theme_setters.go:162
↓ 7 callers
Method
vals
()
wini/wini.go:276
↓ 6 callers
Function
ConfigFile
(name string)
misc/xdg.go:31
↓ 6 callers
Function
DrawText
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 callers
Method
Fatal
(v ...interface{})
logger/logger.go:127
↓ 6 callers
Method
FindMostOverlap
(needle xrect.Rect)
heads/workspace.go:108
↓ 6 callers
Method
Iconified
()
wm/client.go:16
↓ 6 callers
Method
IconifiedSet
(iconified bool)
workspace/client.go:26
↓ 6 callers
Method
IsMaximized
()
xclient/bools.go:22
↓ 6 callers
Function
Mod
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 callers
Function
PopupError
(format string, vals ...interface{})
wm/prompt.go:68
↓ 6 callers
Method
Run
()
commands/match.go:236
↓ 6 callers
Function
builtInButton
(X *xgbutil.XUtil, builtInData []byte)
frame/full.go:440
↓ 6 callers
Function
builtInButton
(builtInData []byte)
wm/theme.go:447
↓ 6 callers
Function
ewmhVisibleDesktops
()
wm/ewmh.go:32
↓ 6 callers
Function
fatal
(err error)
prompt/examples/cycle/main.go:90
↓ 6 callers
Method
hide
hide simply unmaps the parent window for this item.
prompt/cycle_item.go:116
↓ 6 callers
Function
imageColorFromInt
(clr int)
render/color.go:133
↓ 6 callers
Method
leafCurrent
()
layout/verthorz.go:217
↓ 6 callers
Function
parsePos
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 callers
Method
set
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 callers
Method
ApplyStruts
(clients Clients)
heads/heads.go:166
↓ 5 callers
Method
CheckFloatingStatus
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 callers
Function
Clients
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 callers
Method
EwmhWorkarea
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 callers
Function
FindManagedClient
(id xproto.Window)
wm/state.go:125
↓ 5 callers
Method
IsMapped
()
wm/client.go:15
↓ 5 callers
Method
Len
()
heads/client.go:9
↓ 5 callers
Method
Maximize
()
frame/interface.go:38
↓ 5 callers
Method
MoveResize
(validate bool, x, y, width, height int)
frame/interface.go:19
↓ 5 callers
Method
Parent
()
frame/interface.go:9
↓ 5 callers
Method
Place
()
layout/verthorz.go:75
↓ 5 callers
Method
Prev
()
layout/layout.go:43
↓ 5 callers
Method
Render
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 callers
Method
Reset
Reset will clear the entire input box and re-render.
text/input.go:151
↓ 5 callers
Method
ShouldForceFloating
()
workspace/client.go:19
↓ 5 callers
Method
Show
()
workspace/workspace.go:215
↓ 5 callers
Method
SkipPagerSet
(yes bool)
xclient/toggles.go:283
↓ 5 callers
Method
SkipTaskbarSet
(yes bool)
xclient/toggles.go:273
↓ 5 callers
Method
State
()
frame/client.go:12
↓ 5 callers
Method
String
()
xclient/client.go:139
↓ 5 callers
Method
Unmaximize
()
frame/interface.go:39
↓ 5 callers
Method
UpdateText
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 callers
Method
Win
()
focus/client.go:13
↓ 5 callers
Method
attnStop
()
xclient/toggles.go:319
↓ 5 callers
Function
intToBool
intToBool converts an integer value to a boolean. An integer other than 0 or 1 causes a panic.
commands/misc.go:83
↓ 5 callers
Function
newLogger
(logType int, plain *log.Logger, colored *log.Logger)
logger/logger.go:69
↓ 5 callers
Function
setString
(k wini.Key, place *string)
wm/config_theme_setters.go:18
↓ 5 callers
Method
updateState
(action, prop string)
xclient/client_message.go:90
↓ 5 callers
Function
winiError
(lnum int, formatted string, vals ...interface{})
wini/wini.go:280
↓ 4 callers
Method
AddChoice
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 callers
Method
AddGroup
(group SelectGroup)
prompt/select.go:152
↓ 4 callers
Function
AddWorkspace
(name string)
wm/state.go:202
↓ 4 callers
Method
CheckNewWorkspace
()
xclient/layout.go:13
↓ 4 callers
Method
ChildIndex
(n node)
layout/tree.go:49
↓ 4 callers
Method
Class
()
xclient/client.go:174
↓ 4 callers
Method
Find
(name string)
workspace/workspaces.go:80
↓ 4 callers
Method
Focus
()
xclient/focus.go:14
↓ 4 callers
Method
FrameNada
FrameNada switches this client's frame to the 'Nada' frame.
xclient/frame.go:43
↓ 4 callers
Method
GlobalIndex
(wkNeedle *workspace.Workspace)
heads/workspace.go:167
↓ 4 callers
Method
Hide
()
prompt/select.go:364
↓ 4 callers
Method
IsActive
Whether the client believes it has input focus or not.
focus/client.go:35
↓ 4 callers
Method
IsGradient
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 callers
Method
IsMapped
()
xclient/bools.go:18
↓ 4 callers
Method
LayoutStateSet
(state int)
workspace/workspace.go:451
↓ 4 callers
Method
Map
()
workspace/client.go:17
↓ 4 callers
Method
RGB8
()
render/color.go:62
↓ 4 callers
Method
ShowGroup
(items []*SelectItem)
prompt/select_group.go:79
↓ 4 callers
Method
TopWin
()
stack/client.go:12
↓ 4 callers
Method
Unmap
()
workspace/client.go:18
↓ 4 callers
Method
addToTilers
(c Client)
workspace/workspace.go:355
↓ 4 callers
Method
adjustMasters
()
layout/verthorz.go:293
↓ 4 callers
Method
adjustSplits
This is responsible for adding or removing the master or slave splits.
layout/verthorz.go:317
↓ 4 callers
Method
cornerImages
(borderTypes, diagonal int)
frame/borders_pieces.go:52
↓ 4 callers
Function
ewmhDesktopNames
()
wm/ewmh.go:43
↓ 4 callers
Function
getLastString
(k wini.Key)
wm/config_theme_setters.go:24
↓ 4 callers
Method
hasType
(atom string)
xclient/bools.go:34
↓ 4 callers
Function
move
(f Frame, x, y int)
frame/interface.go:88
↓ 4 callers
Function
moveresize
(f Frame, validate bool, x, y, w, h int)
frame/interface.go:81
↓ 4 callers
Function
mropt
(f Frame, validate bool, flags, x, y, w, h int)
frame/interface.go:74
↓ 4 callers
Function
newFrame
(X *xgbutil.XUtil, p *Parent, c Client)
frame/frame.go:35
↓ 4 callers
Method
pieceImages
(borderTypes, gradientType, gradientDir, width, height int)
frame/borders_pieces.go:40
↓ 4 callers
Method
portion
portion takes a proportion of size.
layout/tree.go:20
↓ 4 callers
Function
query
(X *xgbutil.XUtil)
heads/heads.go:266
↓ 4 callers
Method
refreshExtents
refreshExtents sets the _NET_FRAME_EXTENTS property whenever the frame of a client changes. (Or on maximization.)
xclient/frame.go:17
↓ 4 callers
Method
removeFromTilers
(c Client)
workspace/workspace.go:364
↓ 4 callers
Function
resize
(f Frame, validate bool, w, h int)
frame/interface.go:92
↓ 4 callers
Function
rgbFromInt
(clr int)
render/color.go:142
↓ 4 callers
Method
sendConfigureNotify
()
xclient/event.go:131
↓ 4 callers
Function
setGradient
(k wini.Key, clr *render.Color)
wm/config_theme_setters.go:114
↓ 4 callers
Method
stick
()
xclient/toggles.go:119
↓ 4 callers
Method
y
()
frame/piece.go:85
↓ 3 callers
Method
Add
(c Client)
workspace/interface.go:18
↓ 3 callers
Method
Choose
Choose "selects" the currently highlighted choice.
prompt/cycle.go:352
↓ 3 callers
Function
ClientToFrame
(f Frame, gravity, x, y, w, h int)
frame/interface.go:47
↓ 3 callers
Method
CopyState
(src, dest string)
workspace/client.go:32
↓ 3 callers
Method
EnsureUnmax
()
frame/client.go:24
↓ 3 callers
Function
FYI
(format string, vals ...interface{})
wm/prompt.go:80
← previous
next →
101–200 of 1,138, ranked by callers