MCPcopy Create free account

hub / github.com/diamondburned/cchat-gtk / functions

Functions952 in github.com/diamondburned/cchat-gtk

↓ 1 callersMethodhasActions
()
internal/ui/messages/state.go:38
↓ 1 callersFunctionhexPad
(c uint32)
internal/ui/rich/parser/markup/markup.go:353
↓ 1 callersFunctioniconFromName
(filename string)
internal/ui/messages/input/attachment/attachment.go:363
↓ 1 callersMethodinsertAt
(row *ServerRow, i int)
internal/ui/service/session/server/children.go:216
↓ 1 callersFunctionlargeText
(text string)
internal/ui/rich/labeluri/labeluri.go:189
↓ 1 callersMethodload
()
internal/ui/service/session/servers.go:137
↓ 1 callersFunctionloadFn
(ctx context.Context, img ImageContainer, isGIF bool)
internal/gts/httputil/image.go:160
↓ 1 callersFunctionloadImage
(fc *gtk.FileChooserNativeDialog, img *gtk.Image)
internal/gts/gts.go:319
↓ 1 callersFunctionloadProviders
(screen *gdk.Screen)
internal/gts/css.go:18
↓ 1 callersMethodmakeActionItem
makeActionItem creates a new menu callback that's called on menu item activation.
internal/ui/messages/view.go:501
↓ 1 callersFunctionmarkupAttr
(attr text.Attribute)
internal/ui/rich/parser/markup/markup.go:440
↓ 1 callersFunctionmimeFromHeaders
(headers http.Header)
internal/gts/httputil/image.go:148
↓ 1 callersFunctionmin
(i, j int)
internal/ui/messages/memberlist/eventqueue.go:73
↓ 1 callersFunctionminsize
minsize returns the scaled size so that the largest edge is maxsz.
internal/ui/messages/input/attachment/attachment.go:382
↓ 1 callersFunctionnewContainer
(conf map[string]string, apply func() error)
internal/ui/service/config/widgets.go:34
↓ 1 callersFunctionnewEntry
(authEntry cchat.AuthenticateEntry)
internal/ui/service/auth/entries.go:188
↓ 1 callersFunctionnewEntry
(k string, conf map[string]string, change func())
internal/ui/service/config/widgets.go:109
↓ 1 callersFunctionnewErrorHeader
()
internal/ui/service/config/widgets.go:135
↓ 1 callersMethodnthMessage
(n int)
internal/ui/messages/container/list.go:309
↓ 1 callersMethodpop
()
internal/ui/messages/memberlist/eventqueue.go:43
↓ 1 callersMethodpopover
(relative gtk.IWidget)
internal/ui/primitives/actions/menu.go:66
↓ 1 callersFunctionpopoverImg
popoverImg creates a new button with an image for it, which is used for the avatar in the user popover.
internal/ui/rich/labeluri/labeluri.go:197
↓ 1 callersMethodremove
(name string)
internal/ui/messages/input/attachment/attachment.go:228
↓ 1 callersFunctionrender
(typers []typer)
internal/ui/messages/typing/typing.go:158
↓ 1 callersMethodreset
()
internal/ui/messages/typing/state.go:40
↓ 1 callersMethodreset
()
internal/ui/rich/parser/hl/hl.go:87
↓ 1 callersMethodresetCtx
()
internal/ui/primitives/roundimage/roundimage.go:189
↓ 1 callersMethodrestoreAll
restoreAll restores all sessions.
internal/ui/service/service.go:265
↓ 1 callersMethodretryMessage
retryMessage sends the message.
internal/ui/messages/view.go:429
↓ 1 callersMethodsaveSelectedRow
saveSelectedRow saves the current selected row and returns a callback that restores the selection.
internal/ui/service/session/server/children.go:288
↓ 1 callersMethodsegments
(appendmap *attrmap.AppendMap, offset int, iter chroma.Iterator)
internal/ui/rich/parser/hl/hl.go:91
↓ 1 callersMethodset
(v int)
internal/ui/config/widgets.go:26
↓ 1 callersMethodsetDone
setDone changes the view to show the servers.
internal/ui/service/session/servers.go:181
↓ 1 callersMethodsetFailed
setFailed shows a sad face with the error. Use this when the session row has failed to load.
internal/ui/service/session/servers.go:205
↓ 1 callersMethodsetForegroundAnchor
setForegroundAnchor sets the AnchorColor of the render config to be that of the regular text foreground color.
internal/ui/rich/parser/markup/markup.go:143
↓ 1 callersMethodsetLoading
setLoading shows a loading spinner. Use this after the session row is connected.
internal/ui/service/session/servers.go:193
↓ 1 callersMethodsetcurrent
(fn func())
internal/ui/messages/state.go:84
↓ 1 callersMethodshouldReveal
shouldReveal returns whether or not the container should reveal.
internal/ui/messages/input/username/username.go:97
↓ 1 callersFunctionspawn
(c Configurator, conf map[string]string, apply func(final bool) error)
internal/ui/service/config/config.go:84
↓ 1 callersFunctionsplitRGBA
splitRGBA splits the given rgba integer into rgb and a.
internal/ui/rich/parser/markup/markup.go:318
↓ 1 callersFunctionstatusClassName
(status cchat.Status)
internal/ui/messages/memberlist/memberlist.go:426
↓ 1 callersMethodstyleAttr
(tt chroma.TokenType)
internal/ui/rich/parser/hl/hl.go:109
↓ 1 callersFunctionstyleEntryToTag
(e chroma.StyleEntry)
internal/ui/rich/parser/hl/hl.go:140
↓ 1 callersFunctionstyleToCSS
(style *chroma.Style)
internal/ui/rich/parser/hl/hl.go:123
↓ 1 callersMethodtextLen
()
internal/ui/messages/input/input.go:420
↓ 1 callersMethodupdate
update force-runs th callback.
internal/ui/messages/typing/state.go:84
↓ 1 callersMethodupdate
()
internal/ui/primitives/completion/completer.go:175
↓ 1 callersFunctionurlExt
(anyURL string)
internal/gts/httputil/image.go:139
↓ 1 callersMethodvalues
()
internal/ui/service/auth/entries.go:179
MethodActivate
Activate executes whatever needs to be done. If the row has failed, then this method will reconnect. If the row is already loaded, then SessionSelecte
internal/ui/service/session/session.go:266
MethodActivate
()
internal/ui/messages/memberlist/eventqueue.go:36
MethodAdd
Add adds a session into the sessions list.
internal/keyring/keyring.go:90
MethodAdd
(msg Message)
internal/ui/messages/container/compact/compact.go:29
MethodAdd
(fn func())
internal/ui/messages/memberlist/eventqueue.go:25
MethodAdd
(f func())
internal/ui/config/config.go:117
MethodAddAction
(label string, call func())
internal/ui/primitives/actions/stateful.go:38
MethodAddFiles
AddFiles is used for the file chooser's callback.
internal/ui/messages/input/attachment/attachment.go:160
MethodAddMessageAt
(msg MessageRow, ix int)
internal/ui/messages/container/list.go:379
MethodAddProcessor
AddProcessor adds image processors that will be processed on fetched images. Images generated internally, such as initials, won't use it.
internal/ui/primitives/roundimage/roundimage.go:98
MethodAddService
(svc cchat.Service)
internal/ui/service/view.go:68
MethodAddService
(svc cchat.Service)
internal/ui/service/list.go:77
MethodAddSimpleItem
(name string, fn func())
internal/ui/primitives/menu/menu.go:38
MethodAddTyper
AddTyper is thread-safe.
internal/ui/messages/typing/state.go:99
FunctionAppendMenuItems
(menu interface{ Append(gtk.IMenuItem) }, items []gtk.IMenuItem)
internal/ui/primitives/primitives.go:196
MethodAsAttacher
()
internal/ui/messages/input/sendable.go:132
MethodAsNoncer
()
internal/ui/messages/input/sendable.go:129
MethodAsReplier
()
internal/ui/messages/input/sendable.go:133
FunctionAsyncCancel
AsyncCancel is similar to AsyncCtx, but the context is created internally.
internal/gts/gts.go:174
FunctionAsyncCtx
AsyncCtx does what Async does, except the returned callback will not be executed if the given context has expired or the returned callback is called.
internal/gts/gts.go:195
FunctionAsyncUse
AsyncUse is a handler for structs that implement the Reuser primitive. The passed in function will be called asynchronously, but swap will be called i
internal/ui/rich/async.go:23
MethodAttachments
Attachments returns the list of files as a list of cchat attachments.
internal/ui/messages/input/sendable.go:102
MethodAuthenticateSession
(list *service.List, ssvc *service.Service)
internal/ui/ui.go:201
MethodAuthenticateSession
()
internal/ui/service/service.go:169
MethodAuthenticateSession
AuthenticateSession is called to spawn the authentication dialog.
internal/ui/service/view.go:19
MethodAuthenticateSession
(svc *Service)
internal/ui/service/list.go:65
MethodAuthor
Author returns the author from the message list with the given author ID.
internal/ui/messages/view.go:404
MethodAuthorEvent
AuthorEvent should be called on message create/update/delete.
internal/ui/messages/view.go:386
FunctionBinLeftAlignLabel
(bin Bin)
internal/ui/primitives/primitives.go:164
FunctionBindDynamicMenu
(connector Connector, constr func(menu *gtk.Menu))
internal/ui/primitives/primitives.go:244
FunctionBindMenu
(connector Connector, menu *gtk.Menu)
internal/ui/primitives/primitives.go:236
MethodBindMenu
BindMenu attaches the menu constructor into the message with the needed states and callbacks.
internal/ui/messages/view.go:467
FunctionBindPreviewer
BindPreviewer binds the file chooser dialog with a previewer.
internal/gts/gts.go:312
MethodBorrowLabel
BorrowLabel borrows the container label. The typing indicator will display the given markup string instead of the markup it is intended to display unt
internal/ui/messages/typing/typing.go:121
MethodBottomed
()
internal/ui/messages/view.go:230
MethodBreadcrumb
()
internal/ui/service/service.go:228
MethodBreadcrumb
()
internal/ui/service/session/session.go:251
MethodBreadcrumb
()
internal/ui/service/session/server/server.go:376
MethodClearMessenger
(ses *session.Row)
internal/ui/ui.go:153
MethodClearMessenger
ClearMessenger is called when a nil slice of servers is set.
internal/ui/service/service.go:26
MethodClearMessenger
ClearMessenger is called when a nil slice of servers is set.
internal/ui/service/view.go:15
MethodClearMessenger
(*session.Row)
internal/ui/service/list.go:13
MethodClearMessenger
ClearMessenger is called when a nil slice of servers is set.
internal/ui/service/session/session.go:40
MethodClearMessenger
()
internal/ui/service/session/session.go:259
MethodClose
Close is called when the application finishes gracefully.
internal/ui/ui.go:209
MethodConnect
(string, interface{})
internal/ui/primitives/primitives.go:221
MethodConnect
(c Connector)
internal/gts/throttler/throttler.go:36
MethodConstruct
()
internal/ui/config/widgets.go:33
MethodConstruct
()
internal/ui/config/widgets.go:76
MethodConstruct
()
internal/ui/config/widgets.go:116
MethodContent
Words returns the buffer content split into words.
internal/ui/primitives/completion/completer.go:117
← previousnext →601–700 of 952, ranked by callers