MCPcopy Create free account

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

Functions952 in github.com/diamondburned/cchat-gtk

↓ 4 callersMethodSetBreadcrumber
(b traverse.Breadcrumber)
internal/ui/service/header.go:109
↓ 4 callersMethodSetCompleter
SetCompleter sets the current completer. If completer is nil, then the completer is disabled.
internal/ui/primitives/completion/completer.go:88
↓ 4 callersMethodSetExpand
SetExpand sets whether or not to expand the margin and show the labels.
internal/ui/service/session/server/children.go:115
↓ 4 callersMethodSetFocusHAdjustment
UI methods.
internal/ui/messages/container/container.go:63
↓ 4 callersMethodSetFocusVAdjustment
(*gtk.Adjustment)
internal/ui/messages/container/container.go:64
↓ 4 callersMethodSetReferenceHighlighter
SetReferenceHighlighter sets the reference highlighter into the message.
internal/ui/messages/message/message.go:34
↓ 4 callersMethodSetShowLabel
SetShowLabel sets whether or not to show the button's (and its children's, if any)'s icons.
internal/ui/service/session/server/server.go:350
↓ 4 callersFunctionUnmarshalFromFile
UnmarshalFromFile unmarshals the given filename to the given interface. The filename will be prepended with the config directory. IsNotExist errors ar
internal/ui/config/file.go:96
↓ 4 callersFunctionWrapFullMessage
(gc *message.State)
internal/ui/messages/container/cozy/message_full.go:61
↓ 4 callersMethodensurePlaceholderDestroyed
()
internal/ui/messages/sadface/sadface.go:82
↓ 4 callersMethodunbind
()
internal/ui/messages/msgctrl.go:31
↓ 4 callersFunctionwrapKeyValue
(key, value string)
internal/ui/rich/parser/markup/markup.go:429
↓ 3 callersMethodAddMessageAt
AddMessage adds the given message.
internal/ui/messages/container/cozy/cozy.go:80
↓ 3 callersMethodAnchorNU
AnchorNU makes a new <a> tag without underlines and colors.
internal/ui/rich/parser/attrmap/attrmap.go:43
↓ 3 callersFunctionAppearanceAdd
(name string, value EntryValue)
internal/ui/config/config.go:55
↓ 3 callersMethodBindNamer
BindNamer binds a destructor signal to the name container to cancel a context.
internal/ui/rich/rich.go:102
↓ 3 callersMethodBorrowLabel
(markup string)
internal/ui/messages/input/input.go:35
↓ 3 callersMethodClearBox
ClearBox clears the state's widget container.
internal/ui/messages/message/message.go:130
↓ 3 callersFunctionExecLater
ExecLater executes the function asynchronously with a low priority.
internal/gts/gts.go:211
↓ 3 callersFunctionFindItemFunc
FindItemFunc iterates over the list of items and returns the first item with the matching name.
internal/ui/primitives/menu/menu.go:77
↓ 3 callersMethodFindMessage
FindMessage finds a message that satisfies the given callback. It iterates the message buffer from latest to earliest.
internal/ui/messages/container/container.go:56
↓ 3 callersFunctionForeachChildBackwards
ForeachChildBackwards iterates the list backwards. If the callback returns true, then the loop is broken.
internal/ui/primitives/primitives.go:84
↓ 3 callersMethodGetSizeRequest
()
internal/gts/httputil/image.go:27
↓ 3 callersMethodGrabFocus
()
internal/ui/messages/container/container.go:19
↓ 3 callersMethodGrabFocus
()
internal/ui/primitives/primitives.go:149
↓ 3 callersFunctionInfo
(err error)
internal/log/log.go:58
↓ 3 callersFunctionInsertPosition
InsertPosition returns the message that is before the given time (or nil) and the new index of the message with the given timestamp. If -1 is returned
internal/ui/messages/container/container.go:105
↓ 3 callersMethodLoadAll
LoadAll forces all children rows to be unhollowed (initialized). It does NOT check if the children container itself is hollow.
internal/ui/service/session/server/children.go:263
↓ 3 callersMethodMessagesLen
MessagesLen returns the current number of messages.
internal/ui/messages/container/container.go:46
↓ 3 callersMethodMessagesLen
()
internal/ui/messages/container/list.go:154
↓ 3 callersFunctionNewCompleter
(input *gtk.TextView)
internal/ui/primitives/completion/completer.go:49
↓ 3 callersFunctionNewCustomAuthor
NewCustomAuthor creates a new Author from the given parameters.
internal/ui/messages/message/author.go:26
↓ 3 callersFunctionNewEmptyModalDialog
()
internal/gts/gts.go:65
↓ 3 callersFunctionNewLabel
NewLabel creates a self-updating label.
internal/ui/rich/label.go:50
↓ 3 callersFunctionNewLabel
var ( _ Labeler = (*Label)(nil) _ rich.SuperLabeler = (*Label)(nil) )
internal/ui/rich/labeluri/labeluri.go:52
↓ 3 callersFunctionNewMenu
(prefix string)
internal/ui/primitives/actions/menu.go:26
↓ 3 callersFunctionNewPopoverMentioner
(rel gtk.IWidget, input string, segment text.Segment)
internal/ui/rich/labeluri/labeluri.go:117
↓ 3 callersFunctionNewState
NewState creates a new message state with the given MessageCreate.
internal/ui/messages/message/message.go:57
↓ 3 callersFunctionNewVScroll
(maxHeight int)
internal/ui/primitives/scrollinput/scrollinput.go:5
↓ 3 callersMethodNthMessage
NthMessage returns the nth message in the buffer or nil if there's nothing.
internal/ui/messages/container/container.go:49
↓ 3 callersMethodOnMessageDone
OnMessageDone is called after OnMessageBusy, when the message buffer is done with loading.
internal/ui/messages/view.go:57
↓ 3 callersMethodPopupAtPointer
(ev *gdk.Event)
internal/ui/primitives/menu/menu.go:46
↓ 3 callersFunctionPromptOpen
PromptOpen shows a dialog asking if the URL should be opened.
internal/ui/rich/labeluri/labeluri.go:319
↓ 3 callersMethodRemove
(gtk.IWidget)
internal/ui/primitives/buttonoverlay/buttonoverlay.go:20
↓ 3 callersFunctionRenderCmplx
RenderCmplx renders content into a complete output.
internal/ui/rich/parser/markup/markup.go:116
↓ 3 callersMethodRevert
Revert unwraps and reverts all widget changes to the internal state then returns that state.
internal/ui/messages/message/message.go:28
↓ 3 callersMethodSaveAllSessions
()
internal/ui/service/service.go:236
↓ 3 callersMethodSessionID
SessionID returns the session ID, or an empty string if there's no session.
internal/ui/messages/state.go:43
↓ 3 callersMethodSet
(service string, v interface{})
internal/keyring/driver/driver.go:11
↓ 3 callersMethodSetClicked
SetClicked sets the callback to run when clicked. It overrides the previous callback.
internal/ui/service/session/server/button/button.go:151
↓ 3 callersMethodSetError
(err error)
internal/ui/service/config/widgets.go:121
↓ 3 callersMethodSetFromAnimation
(*gdk.PixbufAnimation)
internal/gts/httputil/image.go:26
↓ 3 callersMethodSetHAlign
(gtk.Align)
internal/ui/primitives/buttonoverlay/buttonoverlay.go:9
↓ 3 callersMethodSetImage
SetImage sets the avatar from the given label image.
internal/ui/messages/container/cozy/avatar.go:31
↓ 3 callersMethodSetImage
(img Imager)
internal/ui/primitives/roundimage/button.go:56
↓ 3 callersMethodSetSensitive
SetSensitive sets the sensitivity of the content.
internal/ui/messages/message/sending.go:71
↓ 3 callersMethodSetUnreadHandler
SetUpdateHandler sets the parent's update handler. This update handler must refer to the parent's breadcrumb.
internal/ui/service/session/server/traverse/traverse.go:122
↓ 3 callersMethodState
()
internal/ui/service/session/server/traverse/traverse.go:156
↓ 3 callersMethodSwapMessage
Swap changes the message with the ID to the given message. This provides a low level API for edits that need a new Attach method. TODO: combine compa
internal/ui/messages/container/list.go:162
↓ 3 callersMethodTime
()
internal/ui/messages/input/sendable.go:127
↓ 3 callersMethodUnselectAll
()
internal/ui/service/session/list.go:138
↓ 3 callersMethodUpdate
(member cchat.ListMember)
internal/ui/messages/memberlist/memberlist.go:450
↓ 3 callersFunctionWrapCollapsedMessage
WrapCollapsedMessage wraps the given message state to be a collapsed message.
internal/ui/messages/container/cozy/message_collapsed.go:16
↓ 3 callersMethodbind
(fn func())
internal/ui/messages/msgctrl.go:22
↓ 3 callersMethodbindMessage
(msgc *messageRow)
internal/ui/messages/container/list.go:362
↓ 3 callersMethodcancelCtx
()
internal/ui/primitives/roundimage/avatar.go:94
↓ 3 callersMethodclearBox
clearBox clears everything inside the content container.
internal/ui/messages/message/sending.go:155
↓ 3 callersFunctiondestroyMsg
(row *messageRow)
internal/ui/messages/container/list.go:481
↓ 3 callersMethodensureImage
()
internal/ui/service/session/server/button/button.go:163
↓ 3 callersFunctionidKey
(id cchat.ID)
internal/ui/messages/container/list.go:23
↓ 3 callersFunctionisCollapsible
isCollapsible returns true if the given lastMsg has matching conditions with the given msg.
internal/ui/messages/container/cozy/cozy.go:51
↓ 3 callersFunctionloadPixbuf
(data []byte, sz, scale int)
icons/icons.go:41
↓ 3 callersFunctionnewBindableButton
(iconName string)
internal/ui/messages/msgctrl.go:15
↓ 3 callersFunctionnewKey
newKey creates a new message key.
internal/ui/messages/container/list.go:26
↓ 3 callersMethodonChange
()
internal/ui/primitives/completion/completer.go:129
↓ 3 callersMethodopen
(service string, write bool)
internal/keyring/driver/json/json.go:24
↓ 3 callersMethodupdateBreadcrumb
updateBreadcrumb updates the breadcrumb label from the local state.
internal/ui/messages/header.go:139
↓ 2 callersMethodAdd
(w gtk.IWidget)
internal/ui/primitives/singlestack/singlestack.go:17
↓ 2 callersFunctionAddAppAction
(name string, call func())
internal/gts/gts.go:80
↓ 2 callersMethodAddSessionRow
AddSessionRow adds the given row as a session into the list.
internal/ui/service/session/list.go:95
↓ 2 callersFunctionAddWindow
(w Windower)
internal/gts/gts.go:42
↓ 2 callersFunctionAfterFunc
AfterFunc mimics time.AfterFunc's API but runs the callback inside the Gtk main loop.
internal/gts/gts.go:251
↓ 2 callersFunctionBindDraggable
BindDraggable binds the draggable widget and make it drag-and-droppable. The parent MUST have its own state of children and MUST NOT rely on its conta
internal/ui/primitives/drag/drag.go:91
↓ 2 callersMethodBreadcrumb
Breadcrumb returns the breadcrumb name.
internal/ui/service/session/server/traverse/traverse.go:24
↓ 2 callersMethodCleanMessages
CleanMessages cleans up the oldest messages if the user is scrolled to the bottom. True is returned if there were changes.
internal/ui/messages/container/container.go:194
↓ 2 callersMethodClear
()
internal/ui/primitives/completion/completer.go:112
↓ 2 callersMethodClearMessenger
()
internal/ui/service/session/servers.go:22
↓ 2 callersMethodDragDestSet
(gtk.DestDefaults, []gtk.TargetEntry, gdk.DragAction)
internal/ui/primitives/drag/drag.go:47
↓ 2 callersFunctionEachChildren
(w Container, fn func(i int, v interface{}) bool)
internal/ui/primitives/primitives.go:105
↓ 2 callersFunctionError
Error returns a short error string.
internal/humanize/humanize.go:67
↓ 2 callersFunctionExecAsyncCtx
ExecAsyncCtx executes the function asynchronously in the Gtk main thread only if the context has not expired. This API has absolutely no race conditio
internal/gts/gts.go:224
↓ 2 callersMethodFiles
These methods are reserved for internal use.
internal/ui/messages/message/sending.go:35
↓ 2 callersFunctionFind
Find searches the given container for the draggable widget with the given name.
internal/ui/primitives/drag/drag.go:21
↓ 2 callersFunctionFirstMessage
FirstMessage returns the first message in the buffer. Nil is returned if there's nothing.
internal/ui/messages/container/container.go:93
↓ 2 callersMethodGetChild
()
internal/ui/primitives/primitives.go:159
↓ 2 callersMethodGetRevealChild
GetRevealChild returns whether or not the server list is expanded, or always false if there is no server list.
internal/ui/service/session/server/server.go:480
↓ 2 callersMethodHasImage
HasImage returns true if the label has an image.
internal/ui/rich/rich.go:210
↓ 2 callersFunctionHiddenMenuItem
(label string, fn interface{})
internal/ui/primitives/primitives.go:202
↓ 2 callersMethodInit
Init brings the row out of the hollow state. It loads the children (if any), but this process does not make more widgets.
internal/ui/service/session/server/server.go:118
↓ 2 callersFunctionLeafletOnFold
LeafletOnFold binds a callback to a leaflet that would be called when the leaflet's folded state changes.
internal/ui/primitives/primitives.go:348
← previousnext →101–200 of 952, ranked by callers