MCPcopy Create free account

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

Functions952 in github.com/diamondburned/cchat-gtk

↓ 1 callersMethodAddItems
(items ...Item)
internal/ui/primitives/menu/menu.go:34
↓ 1 callersMethodAddLoadingSession
(id, name string)
internal/ui/service/service.go:173
↓ 1 callersMethodAddMessageAt
AddMessageAt adds a new message into the list at the given index.
internal/ui/messages/container/container.go:43
↓ 1 callersMethodAddPixbuf
AddPixbuf is used for adding pixbufs from the clipboard.
internal/ui/messages/input/attachment/attachment.go:192
↓ 1 callersMethodAddService
Services methods.
internal/ui/ui.go:121
↓ 1 callersMethodAddSession
AddSession adds the given session. It returns nil if the session already exists with the given ID.
internal/ui/service/service.go:187
↓ 1 callersMethodAddSide
AddSide adds a side widget. If a second widget is already added, then it is removed from the pane.
internal/ui/service/session/serverpane/serverpane.go:44
↓ 1 callersFunctionAfterMsFunc
AfterMsFunc is similar to AfterFunc but takes in milliseconds instead.
internal/gts/gts.go:256
↓ 1 callersMethodAnchor
(start, end int, href string)
internal/ui/rich/parser/attrmap/attrmap.go:38
↓ 1 callersMethodAppMenuBindSize
(c sizeBinder)
internal/ui/service/header.go:132
↓ 1 callersMethodAround
Around returns the message before and after the given ID, or nil if none.
internal/ui/messages/container/list.go:201
↓ 1 callersMethodAsAttachment
AsAttachment turns File into a MessageAttachment. This method will always make a new MessageAttachment and will never return an old one. The reason b
internal/ui/messages/input/attachment/attachment.go:48
↓ 1 callersMethodAuthenticateSession
AuthenticateSession tells View to call to the parent's authenticator.
internal/ui/service/service.go:32
↓ 1 callersMethodAuthenticateSession
(*List, *Service)
internal/ui/service/list.go:16
↓ 1 callersMethodAuthenticateSession
()
internal/ui/service/session/list.go:11
↓ 1 callersMethodAuthor
(authorID cchat.ID)
internal/ui/messages/input/input.go:27
↓ 1 callersMethodAuthorEvent
AuthorEvent is called on message create/update. This is used to update the typer state.
internal/ui/messages/container/container.go:138
↓ 1 callersMethodBacklogger
Backlogger returns the backlogger instance if it's allowed to fetch more backlogs.
internal/ui/messages/state.go:62
↓ 1 callersFunctionBind
(app *gtk.Application)
internal/gts/throttler/throttler.go:22
↓ 1 callersMethodBind
Bind binds the given menu. The menu's prefix MUST be a constant for this instance of the MenuButton.
internal/ui/primitives/actions/menubutton.go:27
↓ 1 callersFunctionBindFileDest
(dg Draggable, file func(path []string))
internal/ui/primitives/drag/drag.go:52
↓ 1 callersFunctionBindImagePreview
BindImagePreview binds activate-link to the label callback so that images have a popover preview.
internal/ui/rich/labeluri/labeluri.go:238
↓ 1 callersMethodBindMenu
BindMenu expects the controller to add actioner into the message.
internal/ui/messages/container/container.go:133
↓ 1 callersFunctionBindRichLabel
(label *rich.Label)
internal/ui/rich/labeluri/labeluri.go:76
↓ 1 callersMethodBindRightClick
(w ActionGroupInserter)
internal/ui/primitives/actions/menu.go:46
↓ 1 callersMethodBottomed
Bottomed returns whether or not the message scroller is at the bottom.
internal/ui/messages/container/container.go:135
↓ 1 callersFunctionChangeStyle
(styleName string)
internal/ui/rich/parser/hl/hl.go:55
↓ 1 callersFunctionChildrenLen
ChildrenLen gets the total count of children for the given container.
internal/ui/primitives/primitives.go:48
↓ 1 callersMethodClearMessenger
()
internal/ui/service/session/server/children.go:16
↓ 1 callersMethodColor
()
internal/ui/rich/parser/markup/markup_test.go:55
↓ 1 callersFunctionCombo
(selected *int, options []string, change func(int))
internal/ui/config/widgets.go:22
↓ 1 callersMethodConnectAfter
(string, interface{})
internal/ui/primitives/primitives.go:222
↓ 1 callersMethodConnectHandlers
(connector primitives.Connector)
internal/ui/primitives/roundimage/static.go:34
↓ 1 callersMethodConnectHandlers
(connector primitives.Connector)
internal/ui/primitives/roundimage/roundimage.go:27
↓ 1 callersMethodConstruct
()
internal/ui/config/widgets.go:13
↓ 1 callersMethodContext
()
internal/ui/rich/async.go:12
↓ 1 callersFunctionConvertSession
ConvertSession attempts to get the session data from the given cchat session. It returns nil if it can't do it.
internal/keyring/keyring.go:29
↓ 1 callersFunctionCursorRect
(i *gtk.TextView)
internal/ui/primitives/completion/utils.go:88
↓ 1 callersMethodDeactivate
()
internal/ui/messages/memberlist/eventqueue.go:11
↓ 1 callersMethodDeleteEarliest
DeleteEarliest deletes the n earliest messages. It does nothing if n is or less than 0.
internal/ui/messages/container/list.go:442
↓ 1 callersFunctionDoAfter
DoAfter calls f after the given duration in the Gtk main loop.
internal/gts/gts.go:236
↓ 1 callersFunctionDoAfterMs
DoAfterMs calls f after the given ms in the Gtk main loop.
internal/gts/gts.go:241
↓ 1 callersMethodDragSourceSet
(gdk.ModifierType, []gtk.TargetEntry, gdk.DragAction)
internal/ui/primitives/drag/drag.go:46
↓ 1 callersMethodEnable
Enable enables the MessageControl with the given message.
internal/ui/messages/msgctrl.go:83
↓ 1 callersMethodFetchBacklog
()
internal/ui/messages/view.go:355
↓ 1 callersMethodFinalize
(strlen int)
internal/ui/rich/parser/attrmap/attrmap.go:123
↓ 1 callersMethodForceIcons
()
internal/ui/service/session/server/server.go:33
↓ 1 callersFunctionForeachChild
ForeachChildBackwards iterates the list. If the callback returns true, then the loop is broken.
internal/ui/primitives/primitives.go:71
↓ 1 callersFunctionFragmentImageSize
FragmentImageSize tries to parse the width and height encoded in the URL fragment, which is inserted by the markup renderer. A pair of zero values are
internal/ui/rich/parser/markup/markup.go:407
↓ 1 callersMethodGetAnimation
()
internal/ui/primitives/roundimage/roundimage.go:39
↓ 1 callersMethodGetChild
Bin
internal/ui/primitives/buttonoverlay/buttonoverlay.go:17
↓ 1 callersMethodGetImage
()
internal/ui/primitives/roundimage/roundimage.go:41
↓ 1 callersMethodGetImageURL
GetImageURL gets the image's URL. It returns an empty string if the image does not have a URL set.
internal/ui/primitives/roundimage/roundimage.go:152
↓ 1 callersMethodGetPixbuf
()
internal/ui/primitives/roundimage/roundimage.go:38
↓ 1 callersMethodGetRevealChild
GetRevealChild gets whether or not the service is revealing all sessions.
internal/ui/service/service.go:161
↓ 1 callersMethodGetShowLabel
GetShowLabel gets whether or not the label is being shown.
internal/ui/service/session/server/button/button.go:145
↓ 1 callersFunctionGetWordIters
(buf *gtk.TextBuffer, offset int64)
internal/ui/primitives/completion/utils.go:121
↓ 1 callersMethodHighlight
Highlight temporarily highlights the given message for a short while.
internal/ui/messages/container/container.go:59
↓ 1 callersMethodHighlight
(msg MessageRow)
internal/ui/messages/container/list.go:472
↓ 1 callersMethodHighlightReference
(ref markup.ReferenceSegment)
internal/ui/rich/labeluri/labeluri.go:66
↓ 1 callersMethodIcon
()
internal/gts/gts.go:98
↓ 1 callersFunctionInputEntry
(value *string, change func(string) error)
internal/ui/config/widgets.go:104
↓ 1 callersMethodInsertActionGroup
(w ActionGroupInserter)
internal/ui/primitives/actions/menu.go:42
↓ 1 callersMethodIsActiveServerMessage
IsActiveServerMessage returns true if the row is currently selected AND it is a message row.
internal/ui/service/session/server/server.go:214
↓ 1 callersFunctionIsClosing
IsClosing returns true if the window is destroyed.
internal/gts/gts.go:31
↓ 1 callersFunctionIsExpanded
IsExpanded returns true if the current breadcrumb node is expanded.
internal/ui/service/savepath/savepath.go:40
↓ 1 callersMethodIsLoading
IsLoading returns true if the servers container is loading.
internal/ui/service/session/servers.go:121
↓ 1 callersMethodJoinServer
JoinServer is not thread-safe, but it calls backend functions asynchronously.
internal/ui/messages/view.go:288
↓ 1 callersFunctionKeyDownHandler
(l *gtk.ListBox, focus func())
internal/ui/primitives/completion/utils.go:32
↓ 1 callersFunctionLatestMessageFrom
LatestMessageFrom returns the latest message from the given author ID.
internal/ui/messages/container/container.go:76
↓ 1 callersMethodLatestMessageFrom
(userID cchat.ID)
internal/ui/messages/input/input.go:25
↓ 1 callersMethodLen
Len returns the number of menu entries.
internal/ui/primitives/actions/stateful.go:34
↓ 1 callersFunctionLoadCSS
(name, css string)
internal/gts/css.go:29
↓ 1 callersFunctionLogo256
(sz, scale int)
icons/icons.go:25
↓ 1 callersFunctionLogo256Pixbuf
()
icons/icons.go:29
↓ 1 callersFunctionLogo256Variant2
(sz, scale int)
icons/icons.go:21
↓ 1 callersFunctionMain
(wfn func() MainApplication)
internal/gts/gts.go:102
↓ 1 callersMethodMemberListUpdated
(c *Container)
internal/ui/messages/memberlist/memberlist.go:24
↓ 1 callersFunctionMenuSeparator
(menu MenuAppender)
internal/ui/primitives/menu/menu.go:63
↓ 1 callersMethodMessage
Message finds the message state in the container. It is not thread-safe. This exists for backwards compatibility.
internal/ui/messages/container/list.go:326
↓ 1 callersMethodMessageAuthor
(msgID cchat.ID)
internal/ui/messages/input/input.go:26
↓ 1 callersMethodMessengerSelected
(*session.Row, *server.ServerRow)
internal/ui/service/list.go:14
↓ 1 callersMethodMessengerSelected
(*server.ServerRow)
internal/ui/service/session/servers.go:23
↓ 1 callersMethodMessengerSelected
(*ServerRow)
internal/ui/service/session/server/children.go:17
↓ 1 callersMethodMoveSession
MoveSession is called to ask the controller to move the session to somewhere else in the list of sessions.
internal/ui/service/session/session.go:52
↓ 1 callersFunctionNew
(parent traverse.Breadcrumber, ses cchat.Session, ctrl Controller)
internal/ui/service/session/session.go:131
↓ 1 callersFunctionNew
(parent gtk.IWidget, placeholder gtk.IWidget)
internal/ui/messages/sadface/sadface.go:23
↓ 1 callersFunctionNew
()
internal/ui/messages/typing/typing.go:57
↓ 1 callersFunctionNew
()
internal/ui/messages/input/attachment/attachment.go:71
↓ 1 callersFunctionNew
(ctrl Controller)
internal/ui/messages/memberlist/memberlist.go:48
↓ 1 callersFunctionNewActionButton
NewActionButton creates a new menu button that spawns a popover with the listed actions.
internal/ui/primitives/primitives.go:267
↓ 1 callersFunctionNewAddButton
()
internal/ui/service/session/session.go:212
↓ 1 callersFunctionNewAppMenu
()
internal/ui/service/header.go:19
↓ 1 callersFunctionNewAppendedMap
()
internal/ui/rich/parser/attrmap/attrmap.go:19
↓ 1 callersFunctionNewApplication
()
internal/ui/ui.go:63
↓ 1 callersFunctionNewAvatar
(parent primitives.Connector)
internal/ui/messages/container/cozy/avatar.go:16
↓ 1 callersFunctionNewButton
()
internal/ui/service/loading/loading.go:13
↓ 1 callersFunctionNewButton
()
internal/ui/primitives/roundimage/button.go:24
↓ 1 callersFunctionNewChildren
NewChildren creates a hollow children then immediately unhollows it.
internal/ui/service/session/server/children.go:60
↓ 1 callersFunctionNewContainer
()
internal/ui/messages/sadface/sadface.go:120
← previousnext →301–400 of 952, ranked by callers