Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diamondburned/cchat-gtk
/ functions
Functions
952 in github.com/diamondburned/cchat-gtk
⨍
Functions
952
◇
Types & classes
190
Method
ParentBreadcrumb
()
internal/ui/service/session/server/children.go:312
Method
Prefix
()
internal/ui/primitives/actions/menu.go:34
Function
PrependMenuItems
(menu interface{ Prepend(gtk.IMenuItem) }, items []gtk.IMenuItem)
internal/ui/primitives/primitives.go:190
Method
Read
(b []byte)
internal/ui/messages/input/attachment/reusable_reader.go:26
Method
Read
(b []byte)
internal/ui/messages/input/attachment/progress.go:105
Method
Remove
Remove removes either w1 or w2. If neither matches, then nothing is done.
internal/ui/service/session/serverpane/serverpane.go:55
Method
RemoveAction
(label string)
internal/ui/primitives/actions/menu.go:85
Method
RemoveMember
(id string)
internal/ui/messages/memberlist/memberlist.go:285
Method
RemoveSession
(row *session.Row)
internal/ui/service/service.go:217
Method
RemoveSession
RemoveSession removes itself from the session list.
internal/ui/service/session/session.go:358
Method
RemoveTyper
RemoveTyper is thread-safe.
internal/ui/messages/typing/state.go:130
Function
RenderSkipImages
RenderSkipImages is a label renderer that skips images.
internal/ui/rich/label.go:15
Method
ReplyingTo
()
internal/ui/messages/input/sendable.go:134
Method
Reset
Reset clears off all children servers. It's a no-op if there are none.
internal/ui/service/session/server/server.go:304
Method
Reset
()
internal/ui/messages/header.go:102
Method
Reset
()
internal/ui/messages/state.go:28
Method
Reset
Reset resets the message view.
internal/ui/messages/view.go:233
Method
Reset
Reset brings the view to an empty box.
internal/ui/messages/sadface/sadface.go:57
Method
Reset
Reset resets the list store.
internal/ui/messages/container/list.go:132
Method
Reset
()
internal/ui/messages/typing/typing.go:113
Method
Reset
()
internal/ui/messages/input/input.go:171
Method
Reset
Reset prepares the field before SetSender() is called.
internal/ui/messages/input/input.go:276
Method
Reset
Reset removes all old sections.
internal/ui/messages/memberlist/memberlist.go:80
Method
Reset
()
internal/ui/primitives/completion/completer.go:93
Method
Reset
()
internal/ui/primitives/actions/menu.go:75
Method
Reset
()
internal/ui/primitives/actions/stateful.go:26
Method
Reset
()
internal/ui/primitives/menu/menu.go:42
Method
Reset
()
internal/ui/rich/labeluri/labeluri.go:61
Method
RestoreSession
(row *session.Row, id string)
internal/ui/service/service.go:247
Method
RestoreSession
(res cchat.SessionRestorer, k keyring.Session)
internal/ui/service/session/session.go:308
Method
Revert
()
internal/ui/messages/container/compact/message.go:101
Method
Revert
()
internal/ui/messages/container/cozy/message_collapsed.go:29
Method
Revert
()
internal/ui/messages/container/cozy/message_full.go:121
Method
SelectColumnatedLister
SelectColumnatedLister is called by children servers to open up a server list on the right.
internal/ui/service/session/servers.go:235
Method
SelectMessage
SelectMessage is called when a message is selected.
internal/ui/messages/view.go:513
Method
SendMessage
(msg message.PresendMessage)
internal/ui/messages/view.go:422
Method
SendingMessage
()
internal/ui/messages/message/sending.go:68
Method
Service
()
internal/ui/service/service.go:204
Method
SessionSelected
(svc *service.Service, ses *session.Row)
internal/ui/ui.go:139
Method
SessionSelected
(srow *session.Row)
internal/ui/service/service.go:165
Method
SessionSelected
SessionSelected is called when
internal/ui/service/view.go:13
Method
SessionSelected
SessionSelected calls the right-side server view to change. TODO: think of how to change. Maybe use a stack? Maybe use a box that we remove and re-ad
internal/ui/service/view.go:76
Method
SessionSelected
(*Row)
internal/ui/service/session/list.go:10
Method
Set
(service string, v interface{})
internal/keyring/driver/driver.go:33
Method
Set
(service string, v interface{})
internal/keyring/driver/keyring/keyring.go:29
Method
Set
Set writes the service's data into a JSON secret file.
internal/keyring/driver/json/json.go:73
Method
SetClass
(ctx StyleContexter, class string)
internal/ui/primitives/primitives.go:136
Method
SetClickedIfTrue
(clickedIfTrue func())
internal/ui/service/session/server/button/button.go:155
Method
SetDone
SetDone sets the status of the state.
internal/ui/messages/message/sending.go:76
Method
SetError
(err error)
internal/ui/service/config/widgets.go:151
Method
SetError
SetError sets the view to display the error. Error must not be nil.
internal/ui/messages/sadface/sadface.go:140
Method
SetFailed
(err error, retry func())
internal/ui/service/session/server/button/button.go:220
Method
SetFocusHAdjustment
(adj *gtk.Adjustment)
internal/ui/messages/container/container.go:207
Method
SetFocusVAdjustment
(adj *gtk.Adjustment)
internal/ui/messages/container/container.go:210
Method
SetFromAnimation
SetFromAnimation sets the first frame of the animation.
internal/ui/primitives/roundimage/avatar.go:119
Method
SetFromAnimation
(anim *gdk.PixbufAnimation)
internal/ui/primitives/roundimage/static.go:64
Method
SetFromPixbuf
SetFromPixbuf sets the pixbuf.
internal/ui/primitives/roundimage/avatar.go:111
Method
SetFromPixbuf
(pb *gdk.Pixbuf)
internal/ui/primitives/roundimage/static.go:54
Method
SetFromPixbuf
(pb *gdk.Pixbuf)
internal/gts/httputil/image.go:46
Method
SetFromSurface
(sf *cairo.Surface)
internal/ui/primitives/roundimage/static.go:59
Method
SetImageURL
SetImageURL sets the avatar's source URL and reloads it asynchronously.
internal/ui/primitives/roundimage/avatar.go:105
Method
SetImageURL
SetImageURL sets the image's URL.
internal/ui/primitives/roundimage/static.go:50
Method
SetItems
(items []Item)
internal/ui/primitives/menu/menu.go:30
Method
SetLabel
SetLabel is called by cchat to update the state. The internal subscribed callbacks will be called in the main thread.
internal/ui/rich/rich.go:189
Method
SetLoading
SetLoading is called by the parent struct.
internal/ui/service/session/server/server.go:395
Method
SetLoading
SetLoading sets the button's state to loading.
internal/ui/service/session/server/button/button.go:211
Method
SetLoading
()
internal/ui/messages/sadface/sadface.go:69
Method
SetLoading
SetLoading greys the message to indicate that it's loading.
internal/ui/messages/message/sending.go:98
Method
SetMember
(member cchat.ListMember)
internal/ui/messages/memberlist/memberlist.go:272
Method
SetMessenger
(session cchat.Session, messenger cchat.Messenger)
internal/ui/messages/input/input.go:96
Method
SetRadius
SetRadius is a no-op.
internal/ui/primitives/roundimage/avatar.go:102
Method
SetRadius
(float64)
internal/ui/primitives/roundimage/roundimage.go:23
Method
SetRadius
SetRadius sets the radius to be drawn with. If 0 is given, then a full circle is drawn, which only works best for images guaranteed to be square. Othe
internal/ui/primitives/roundimage/roundimage.go:206
Method
SetReferenceHighlighter
SetReferenceHighlighter sets the reference highlighter into the message.
internal/ui/messages/container/compact/message.go:96
Method
SetReferenceHighlighter
SetReferenceHighlighter sets the reference highlighter into the message.
internal/ui/messages/message/message.go:165
Method
SetReferenceHighlighter
(refer ReferenceHighlighter)
internal/ui/rich/labeluri/labeluri.go:107
Method
SetSections
(sections []cchat.MemberSection)
internal/ui/messages/memberlist/memberlist.go:108
Method
SetSelected
SetSelected is used for highlighting the current message server.
internal/ui/service/session/server/server.go:426
Method
SetSelected
SetSelected sets the button's intermediate state and appearance to look like it's clicked without triggering the callback.
internal/ui/service/session/server/button/button.go:113
Method
SetSelf
SetSelf sets the current author to presend. If ID is empty or Namer is nil, then the fallback author is used instead. The given author will be stopped
internal/ui/messages/container/list.go:146
Method
SetSentError
SetSentError sets the error into the message to notify the user.
internal/ui/messages/message/sending.go:123
Method
SetServers
SetServers is reserved for cchat.ServersContainer.
internal/ui/service/session/servers.go:161
Method
SetServers
SetServers is reserved for cchat.ServersContainer.
internal/ui/service/session/server/children.go:177
Method
SetShowBackButton
(show bool)
internal/ui/messages/header.go:117
Method
SetSizeRequest
(w, h int)
internal/ui/service/header.go:34
Method
SetSizeRequest
(w, h int)
internal/ui/service/list.go:60
Method
SetSizeRequest
SetSizeRequest sets the avatar size. The actual size is min(w, h).
internal/ui/primitives/roundimage/avatar.go:59
Method
SetSizeRequest
(w, h int)
internal/ui/primitives/spinner/spinner.go:33
Method
SetState
SetState updates the node ID's state in this parent unreadable state container.
internal/ui/service/session/server/traverse/traverse.go:131
Method
SetState
(id string, unread, mentioned bool)
internal/ui/service/session/server/traverse/traverse.go:164
Method
SetText
(text string)
internal/ui/service/auth/entries.go:269
Method
SetUnread
SetUnread is thread-safe.
internal/ui/service/session/server/server.go:225
Method
SetUnreadUnsafe
(unread, mentioned bool)
internal/ui/service/session/server/button/button.go:230
Method
ShowCommander
ShowCommander shows the commander dialog, or it does nothing if session does not implement commander.
internal/ui/service/session/session.go:433
Function
ShowModal
(body gtk.IWidget, title, button string, clicked func(m *Modal))
internal/ui/dialog/dialog.go:24
Function
SpawnPreferenceDialog
()
internal/ui/config/preferences/preferences.go:82
Method
Stop
()
internal/ui/primitives/spinner/spinner.go:41
Method
Stop
()
internal/ui/rich/rich.go:74
Function
Take
Take takes over the given button and replaces its content with the wrapped overlay, which has the old content as well as the smaller button on top.
internal/ui/primitives/buttonoverlay/buttonoverlay.go:45
Function
TestRenderMarkup
(t *testing.T)
internal/ui/rich/parser/markup/markup_test.go:10
← previous
next →
801–900 of 952, ranked by callers