MCPcopy Create free account

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

Functions952 in github.com/diamondburned/cchat-gtk

↓ 1 callersFunctionNewContainer
(ctrl container.Controller)
internal/ui/messages/container/compact/compact.go:36
↓ 1 callersFunctionNewContainer
(ctrl container.Controller)
internal/ui/messages/container/cozy/cozy.go:41
↓ 1 callersFunctionNewContainer
()
internal/ui/messages/input/username/username.go:45
↓ 1 callersFunctionNewCustomButton
NewCustomButton creates a new rounded button with the given Imager. If the given Imager implements the Connector interface (aka *StillImage), then the
internal/ui/primitives/roundimage/button.go:45
↓ 1 callersFunctionNewDialog
NewDialog makes a new authentication dialog. Auth() is called when the user is authenticated successfully inside the Gtk main thread.
internal/ui/service/auth/auth.go:35
↓ 1 callersFunctionNewDialog
()
internal/ui/config/preferences/preferences.go:19
↓ 1 callersFunctionNewDots
()
internal/ui/messages/typing/dots.go:33
↓ 1 callersFunctionNewEntryInput
()
internal/ui/service/auth/entries.go:228
↓ 1 callersFunctionNewField
(text *gtk.TextView, ctrl Controller, labeler LabelBorrower)
internal/ui/messages/input/input.go:188
↓ 1 callersFunctionNewFile
NewFile creates a new attachment file with a progress state.
internal/ui/messages/input/attachment/attachment.go:35
↓ 1 callersFunctionNewH
(text *gtk.TextView)
internal/ui/primitives/scrollinput/scrollinput.go:24
↓ 1 callersFunctionNewHeader
()
internal/ui/service/header.go:65
↓ 1 callersFunctionNewHeader
()
internal/ui/messages/header.go:44
↓ 1 callersFunctionNewList
(vctl ViewController)
internal/ui/service/list.go:43
↓ 1 callersFunctionNewList
(svcctrl ServiceController)
internal/ui/service/session/list.go:33
↓ 1 callersFunctionNewListStore
(ctrl Controller)
internal/ui/messages/container/list.go:92
↓ 1 callersFunctionNewLoading
(parent traverse.Breadcrumber, id, name string, ctrl Controller)
internal/ui/service/session/session.go:137
↓ 1 callersFunctionNewMember
(member cchat.ListMember)
internal/ui/messages/memberlist/memberlist.go:357
↓ 1 callersFunctionNewMenuButton
()
internal/ui/primitives/actions/menubutton.go:15
↓ 1 callersFunctionNewMessage
NewMessage creates a new message.
internal/ui/messages/container/cozy/cozy.go:16
↓ 1 callersFunctionNewMessageControl
()
internal/ui/messages/msgctrl.go:58
↓ 1 callersFunctionNewMessageUploader
NewMessageUploader creates a new MessageUploader. It returns nil if there are no files.
internal/ui/messages/input/attachment/progress.go:20
↓ 1 callersFunctionNewModalDialog
NewModalDialog returns a new modal dialog that's transient for the main window.
internal/gts/gts.go:52
↓ 1 callersFunctionNewMultilineInput
()
internal/ui/service/auth/entries.go:251
↓ 1 callersFunctionNewPaned
NewPaned creates a new empty pane.
internal/ui/service/session/serverpane/serverpane.go:19
↓ 1 callersFunctionNewPopover
(relto gtk.IWidget)
internal/ui/primitives/completion/utils.go:21
↓ 1 callersFunctionNewPreferenceDialog
()
internal/ui/config/preferences/preferences.go:69
↓ 1 callersFunctionNewPresendMessage
NewPresendMessage creates a new presend message.
internal/ui/messages/container/cozy/cozy.go:27
↓ 1 callersMethodNewPresendMessage
NewPresendMessage creates and adds a presend message state into the list.
internal/ui/messages/container/container.go:40
↓ 1 callersFunctionNewPresendState
NewPresendState creates a new presend state. The caller must call one of the state setters, usually SetLoading.
internal/ui/messages/message/sending.go:52
↓ 1 callersFunctionNewProgress
NewProgress creates a new upload progress state.
internal/ui/messages/input/attachment/progress.go:89
↓ 1 callersFunctionNewProgressBar
(file File)
internal/ui/messages/input/attachment/progress.go:46
↓ 1 callersFunctionNewProvider
()
internal/keyring/driver/keyring/keyring.go:16
↓ 1 callersFunctionNewProvider
(dir string)
internal/keyring/driver/json/json.go:20
↓ 1 callersFunctionNewRequest
(auther cchat.Authenticator, done func())
internal/ui/service/auth/entries.go:81
↓ 1 callersFunctionNewRequestStack
()
internal/ui/service/auth/entries.go:22
↓ 1 callersFunctionNewReusableReader
NewReusableReader creates a new reader that is reusable after a read failure or a close. The given open() callback MUST be reproducible.
internal/ui/messages/input/attachment/reusable_reader.go:22
↓ 1 callersFunctionNewSection
(sect cchat.MemberSection, evq EventQueuer)
internal/ui/messages/memberlist/memberlist.go:210
↓ 1 callersFunctionNewService
NewService creates a new service.
internal/keyring/keyring.go:67
↓ 1 callersFunctionNewService
(svc cchat.Service, svclctrl ListController)
internal/ui/service/service.go:88
↓ 1 callersFunctionNewSession
(buf *Buffer)
internal/ui/service/session/server/commander/commander.go:57
↓ 1 callersFunctionNewSizeGroups
()
internal/ui/messages/container/compact/compact.go:22
↓ 1 callersFunctionNewSpinner
()
internal/ui/messages/sadface/sadface.go:101
↓ 1 callersFunctionNewStack
()
internal/ui/primitives/singlestack/singlestack.go:12
↓ 1 callersFunctionNewStageList
(authers []cchat.Authenticator, fn func(cchat.Authenticator))
internal/ui/service/auth/stagelist.go:14
↓ 1 callersFunctionNewState
(changed func(s *State, empty bool))
internal/ui/messages/typing/state.go:34
↓ 1 callersFunctionNewStateful
()
internal/ui/primitives/actions/stateful.go:18
↓ 1 callersFunctionNewStore
(providers ...Provider)
internal/keyring/driver/driver.go:18
↓ 1 callersFunctionNewTimestamp
()
internal/ui/messages/message/timestamp.go:18
↓ 1 callersFunctionNewToggleButton
NewToggleButton creates a new toggle button.
internal/ui/service/session/server/button/button.go:66
↓ 1 callersFunctionNewUsername
()
internal/ui/messages/message/username.go:16
↓ 1 callersFunctionNewV
(text *gtk.TextView, maxHeight int)
internal/ui/primitives/scrollinput/scrollinput.go:14
↓ 1 callersFunctionNewView
(ctrller Controller)
internal/ui/service/view.go:39
↓ 1 callersFunctionNewView
(c Controller)
internal/ui/messages/view.go:100
↓ 1 callersFunctionNewView
(ctrl Controller, labeler LabelBorrower)
internal/ui/messages/input/input.go:71
↓ 1 callersFunctionNewVisible
()
internal/ui/primitives/spinner/spinner.go:26
↓ 1 callersFunctionNthChild
(w Container, n int)
internal/ui/primitives/primitives.go:55
↓ 1 callersMethodOnBackPressed
(fn func())
internal/ui/messages/header.go:107
↓ 1 callersFunctionOnRightClick
(connector Connector, fn func())
internal/ui/primitives/primitives.go:228
↓ 1 callersMethodOnSessionDisconnect
(*Service, *session.Row)
internal/ui/service/service.go:37
↓ 1 callersMethodOnSessionDisconnect
OnSessionDisconnect is called before a session is disconnected. This function is used for cleanups.
internal/ui/service/session/session.go:35
↓ 1 callersMethodOnSessionRemove
OnSessionRemove resets things before the session is removed.
internal/ui/ui.go:126
↓ 1 callersMethodOnSessionRemove
(*Service, *session.Row)
internal/ui/service/service.go:36
↓ 1 callersMethodOnSessionRemove
OnSessionRemove is called to remove a session. This should also clear out the message view in the parent package.
internal/ui/service/view.go:22
↓ 1 callersMethodOnSessionRemove
(*Service, *session.Row)
internal/ui/service/list.go:17
↓ 1 callersMethodOnShowMembersToggle
(fn func(show bool))
internal/ui/messages/header.go:111
↓ 1 callersMethodParentBreadcrumb
Breadcrumb returns the parent's path before the children's breadcrumb. This method recursively joins the parent's crumb with the children's, then even
internal/ui/service/session/server/traverse/traverse.go:19
↓ 1 callersFunctionPopoverMentioner
(rel gtk.IWidget, input string, mention text.Segment)
internal/ui/rich/labeluri/labeluri.go:111
↓ 1 callersMethodPopup
Popup pops up the mention popover if any.
internal/ui/messages/memberlist/memberlist.go:459
↓ 1 callersMethodPopup
()
internal/ui/primitives/completion/completer.go:97
↓ 1 callersFunctionPrintln
(v ...interface{})
internal/log/log.go:81
↓ 1 callersFunctionPrintlnf
(f string, v ...interface{})
internal/log/log.go:85
↓ 1 callersMethodReconnectSession
ReconnectSession tries to reconnect with the keyring data. This is a slow method but it's also a very cold path.
internal/ui/service/session/session.go:377
↓ 1 callersFunctionRegisterConfig
RegisterConfig adds the config filename into the registry of value pointers to unmarshal configs to.
internal/ui/config/config.go:110
↓ 1 callersMethodRemoveAction
(label string)
internal/ui/primitives/actions/stateful.go:55
↓ 1 callersMethodRemoveAuthor
(userID cchat.ID)
internal/ui/messages/typing/typing.go:140
↓ 1 callersMethodRemoveMember
(sectionID string, id string)
internal/ui/messages/memberlist/memberlist.go:116
↓ 1 callersMethodRemoveMemberUnsafe
(sectionID string, id string)
internal/ui/messages/memberlist/memberlist.go:175
↓ 1 callersMethodRemoveSession
ID string, async RemoveSession is called to ask the controller to remove the session from the list of sessions.
internal/ui/service/session/session.go:49
↓ 1 callersMethodRemoveSessionRow
(sessionID string)
internal/ui/service/session/list.go:111
↓ 1 callersMethodRequest
()
internal/ui/service/auth/entries.go:64
↓ 1 callersMethodReset
()
internal/ui/service/session/servers.go:89
↓ 1 callersMethodReset
()
internal/ui/service/session/server/traverse/traverse.go:151
↓ 1 callersMethodReset
()
internal/ui/messages/input/username/username.go:107
↓ 1 callersMethodReset
Reset does NOT close files.
internal/ui/messages/input/attachment/attachment.go:142
↓ 1 callersFunctionRestore
Restore restores the expand state by calling SetActive. This is meant to be used on a ToggledButton.
internal/ui/service/savepath/savepath.go:33
↓ 1 callersFunctionRestore
Restore restores the config in the background.
internal/ui/service/config/config.go:27
↓ 1 callersFunctionRestore
Restore the global config. IsNotExist is not an error and will not be logged.
internal/ui/config/config.go:94
↓ 1 callersFunctionRestoreSession
RestoreSession restores a single session.
internal/keyring/keyring.go:49
↓ 1 callersFunctionSanitizeName
SanitizeName sanitizes the name so that it's safe to use as a filename.
internal/keyring/driver/json/json.go:93
↓ 1 callersFunctionSave
Save saves the list of paths. This function is not thread-safe. It is also non-blocking.
internal/ui/service/savepath/savepath.go:67
↓ 1 callersFunctionSave
Save the global config.
internal/ui/config/config.go:88
↓ 1 callersMethodSave
Save saves the sessions into the keyring.
internal/keyring/keyring.go:100
↓ 1 callersFunctionSaveToFile
SaveToFile saves the given bytes into the given filename. The filename will be prepended with the config directory.
internal/ui/config/file.go:54
↓ 1 callersMethodScrollToBottom
()
internal/ui/primitives/autoscroll/autoscroll.go:36
↓ 1 callersFunctionSection
(entries []config.Entry)
internal/ui/config/preferences/preferences.go:47
↓ 1 callersFunctionSections
()
internal/ui/config/config.go:70
↓ 1 callersFunctionSegments
(appendmap *attrmap.AppendMap, src string, start, end int, lang string)
internal/ui/rich/parser/hl/hl.go:43
↓ 1 callersMethodSelectFirst
()
internal/ui/service/auth/stagelist.go:46
↓ 1 callersMethodSelectMessage
SelectMessage is called when a message is selected.
internal/ui/messages/container/container.go:140
← previousnext →401–500 of 952, ranked by callers