MCPcopy Create free account

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

Functions952 in github.com/diamondburned/cchat-gtk

↓ 214 callersMethodShow
()
internal/ui/service/session/serverpane/serverpane.go:38
↓ 102 callersMethodAdd
Container
internal/ui/primitives/buttonoverlay/buttonoverlay.go:19
↓ 84 callersMethodConnect
(string, interface{})
internal/gts/throttler/throttler.go:19
↓ 52 callersMethodID
()
internal/ui/primitives/drag/drag.go:37
↓ 38 callersMethodSetSensitive
(bool)
internal/ui/primitives/drag/drag.go:39
↓ 37 callersFunctionPrepareClassCSS
(class, css string)
internal/ui/primitives/primitives.go:317
↓ 33 callersFunctionAddClass
(styleCtx StyleContexter, classes ...string)
internal/ui/primitives/primitives.go:120
↓ 30 callersFunctionError
(err error)
internal/log/log.go:39
↓ 30 callersFunctionExecAsync
ExecAsync executes function asynchronously in the Gtk main thread. TODO: deprecate Async.
internal/gts/gts.go:217
↓ 29 callersMethodSetHAlign
(gtk.Align)
internal/ui/primitives/primitives.go:289
↓ 28 callersMethodSetSizeRequest
(w, h int)
internal/ui/primitives/roundimage/roundimage.go:33
↓ 27 callersMethodDestroy
()
internal/ui/primitives/primitives.go:39
↓ 22 callersMethodReset
Reset resets the message container to its original state.
internal/ui/messages/container/container.go:34
↓ 22 callersMethodSetRevealChild
(reveal bool)
internal/ui/messages/input/username/username.go:91
↓ 21 callersMethodUnwrap
Unwrap returns the internal message state.
internal/ui/messages/message/message.go:25
↓ 18 callersMethodSetVisibleChild
(w gtk.IWidget)
internal/ui/primitives/singlestack/singlestack.go:34
↓ 18 callersMethodSetXAlign
(float64)
internal/ui/primitives/primitives.go:290
↓ 18 callersMethodString
String returns the inside label in plain text.
internal/ui/rich/rich.go:160
↓ 15 callersFunctionAttachCSS
(ctx StyleContexter, prov *gtk.CssProvider)
internal/ui/primitives/primitives.go:337
↓ 15 callersMethodSetMarginStart
SetMarginStart sets the inner margin of the attachments carousel.
internal/ui/messages/input/attachment/attachment.go:119
↓ 15 callersMethodSetRevealChild
SetRevealChild reveals the list of servers. It does nothing if there are no servers, meaning if Row does not represent a ServerList.
internal/ui/service/session/server/server.go:442
↓ 15 callersMethodStop
Stop stops the name container. Calling Stop twice when no new namers are set will do nothing.
internal/ui/rich/rich.go:61
↓ 14 callersFunctionPrepareCSS
(css string)
internal/ui/primitives/primitives.go:329
↓ 13 callersMethodClose
assume scale 1
internal/gts/gts.go:99
↓ 13 callersMethodRemove
(gtk.IWidget)
internal/ui/primitives/primitives.go:21
↓ 13 callersMethodSetTooltipText
(text string)
internal/ui/rich/image.go:11
↓ 11 callersFunctionAsync
Async runs fn asynchronously, then runs the function it returns in the Gtk main thread. TODO: deprecate Async.
internal/gts/gts.go:159
↓ 11 callersMethodLabel
()
internal/ui/rich/rich.go:39
↓ 11 callersMethodSetMarginEnd
(int)
internal/ui/primitives/buttonoverlay/buttonoverlay.go:7
↓ 11 callersMethodSetText
(string)
internal/ui/service/auth/entries.go:219
↓ 10 callersMethodAddAction
(label string, call func())
internal/ui/primitives/actions/menu.go:80
↓ 10 callersMethodGet
(service string, v interface{})
internal/keyring/driver/driver.go:10
↓ 10 callersMethodIsHollow
()
internal/ui/service/session/server/server.go:249
↓ 10 callersMethodOnUpdate
(func())
internal/ui/rich/rich.go:41
↓ 10 callersMethodQueueNamer
QueueNamer tries using the namer in the background and queue the setter onto the next GLib loop iteration.
internal/ui/rich/rich.go:81
↓ 10 callersMethodSetClass
For debugging use only. func (m *State) PackStart(child gtk.IWidget, expand bool, fill bool, padding uint) { paths := make([]string, 0, 5) for i :=
internal/ui/messages/message/message.go:152
↓ 10 callersMethodSetLabel
SetLabel sets the label in the current thread, meaning it's not thread-safe.
internal/ui/rich/label.go:68
↓ 10 callersMethodSetRelief
Button
internal/ui/primitives/buttonoverlay/buttonoverlay.go:22
↓ 9 callersFunctionAssertUnhollow
refer to style.css
internal/ui/service/session/server/server.go:23
↓ 9 callersMethodBounds
()
internal/ui/rich/parser/markup/markup_test.go:51
↓ 9 callersMethodGetStyleContext
()
internal/ui/primitives/primitives.go:117
↓ 9 callersMethodInsert
(gtk.IToolItem, int)
internal/ui/primitives/menu/menu.go:87
↓ 9 callersMethodIsEmpty
IsEmpty returns whether or not the member view container is empty.
internal/ui/messages/memberlist/memberlist.go:75
↓ 9 callersMethodSetActive
(bool)
internal/ui/service/savepath/savepath.go:28
↓ 8 callersMethodGetChildren
()
internal/ui/primitives/primitives.go:22
↓ 8 callersMethodGetText
()
internal/ui/service/auth/entries.go:218
↓ 8 callersMethodIsHollow
()
internal/ui/service/session/server/children.go:66
↓ 8 callersMethodOpen
(ind int, attr string)
internal/ui/rich/parser/attrmap/attrmap.go:94
↓ 8 callersMethodSetRenderer
SetRenderer sets a custom renderer. If the given renderer is nil, then the default markup renderer is used instead. The label is automatically updated
internal/ui/rich/label.go:96
↓ 8 callersMethodmessage
(msgID cchat.ID, nonce string)
internal/ui/messages/container/list.go:330
↓ 7 callersMethodAppend
(gtk.IMenuItem)
internal/ui/primitives/menu/menu.go:58
↓ 7 callersMethodGetActive
()
internal/ui/service/session/server/server.go:432
↓ 7 callersMethodImage
()
internal/ui/rich/rich.go:40
↓ 7 callersFunctionRemoveChildren
RemoveChildren removes all children from the given container. Most of the time, DestroyChildren should be preferred if no children will be reused.
internal/ui/primitives/primitives.go:29
↓ 7 callersFunctionRenderCmplxWithConfig
(content text.Rich, cfg RenderConfig)
internal/ui/rich/parser/markup/markup.go:170
↓ 7 callersMethodSetFromPixbuf
(*gdk.Pixbuf)
internal/gts/httputil/image.go:25
↓ 7 callersMethodSetPlaceholderIcon
(iconName string, iconSzPx int)
internal/ui/service/session/server/button/button.go:242
↓ 6 callersFunctionActionName
ActionName converts the label name into the action name.
internal/ui/primitives/actions/stateful.go:66
↓ 6 callersMethodContent
()
internal/ui/messages/input/sendable.go:128
↓ 6 callersFunctionEventIsRightClick
(ev *gdk.Event)
internal/gts/gts.go:269
↓ 6 callersMethodGetScaleFactor
()
internal/gts/httputil/image.go:32
↓ 6 callersFunctionNewImage
NewImage creates a new round image. If radius is 0, then it will be half the dimensions. If the radius is less than 0, then nothing is rounded.
internal/ui/primitives/roundimage/roundimage.go:69
↓ 6 callersMethodPopup
Popup pops up the menu popover. It does not pop up anything if there are no menu items.
internal/ui/primitives/actions/menu.go:57
↓ 6 callersFunctionRemoveClass
(styleCtx StyleContexter, classes ...string)
internal/ui/primitives/primitives.go:127
↓ 6 callersMethodSetFromSurface
(*cairo.Surface)
internal/gts/httputil/image.go:33
↓ 6 callersFunctionSetImageIcon
(img ImageIconSetter, icon string, sizepx int)
internal/ui/primitives/primitives.go:185
↓ 6 callersMethodSetSize
SetSIze sets the iamge's physical size. It is a convenient function for SetSizeRequest.
internal/ui/primitives/roundimage/roundimage.go:119
↓ 6 callersMethodSetUseMarkup
(bool)
internal/ui/primitives/primitives.go:288
↓ 6 callersFunctionSimpleItem
(name string, fn func())
internal/ui/primitives/menu/menu.go:112
↓ 6 callersMethodSpan
(start, end int, attrs ...string)
internal/ui/rich/parser/attrmap/attrmap.go:50
↓ 6 callersMethodStart
()
internal/ui/primitives/spinner/spinner.go:37
↓ 6 callersMethodclearText
clearText resets the input field
internal/ui/messages/input/input.go:404
↓ 6 callersMethodexpand
()
internal/ui/messages/container/list.go:59
↓ 6 callersFunctionparseKeyFromNamer
(n primitives.Namer)
internal/ui/messages/container/list.go:38
↓ 5 callersFunctionAsyncImage
AsyncImage loads an image. This method uses the cache. It prefers loading SetFromSurface over SetFromPixbuf, but will fallback if needed be.
internal/gts/httputil/image.go:53
↓ 5 callersFunctionBindRoundImage
BindRoundImage binds a round image to a rich label state store.
internal/ui/rich/image.go:15
↓ 5 callersMethodClose
(ind int, attr string)
internal/ui/rich/parser/attrmap/attrmap.go:104
↓ 5 callersFunctionNewStillImage
NewStillImage creates a new static that binds to the parent's handler so that the image only animates when parent is hovered over.
internal/ui/primitives/roundimage/static.go:25
↓ 5 callersFunctionRender
(content text.Rich)
internal/ui/rich/parser/markup/markup.go:111
↓ 5 callersMethodSetFromIconName
(string, gtk.IconSize)
internal/ui/primitives/primitives.go:181
↓ 5 callersMethodSetLoading
()
internal/ui/messages/message/sending.go:23
↓ 5 callersMethodSetName
(string)
internal/ui/primitives/primitives.go:96
↓ 5 callersMethodSize
Size returns the minimum side's length. This method is used when Image is supposed to be a square/circle.
internal/ui/primitives/roundimage/roundimage.go:109
↓ 5 callersFunctionunwrapRow
unwrapRow is a helper that unwraps a messageRow if it's not nil. If it's nil, then a nil interface is returned.
internal/ui/messages/container/container.go:166
↓ 4 callersMethodActivate
()
internal/ui/messages/memberlist/eventqueue.go:10
↓ 4 callersFunctionDirPath
DirPath returns the config directory.
internal/ui/config/file.go:45
↓ 4 callersMethodDisable
Disable disables the MessageControl and hides it.
internal/ui/messages/msgctrl.go:100
↓ 4 callersMethodEditable
Editable returns whether or not the input field can be edited.
internal/ui/messages/input/input.go:359
↓ 4 callersMethodGetAllocatedWidth
()
internal/ui/messages/input/input.go:259
↓ 4 callersFunctionGetName
(namer Namer)
internal/ui/primitives/primitives.go:100
↓ 4 callersMethodGetName
()
internal/ui/primitives/primitives.go:97
↓ 4 callersMethodGetVAdjustment
GetVAdjustment overrides gtk.ScrolledWindow's.
internal/ui/primitives/autoscroll/autoscroll.go:32
↓ 4 callersMethodHandlerDisconnect
(glib.SignalHandle)
internal/ui/primitives/primitives.go:223
↓ 4 callersMethodInit
Init ensures that the children container is not hollow. It does nothing after the first call. It does not actually populate the list with widgets. Thi
internal/ui/service/session/server/children.go:75
↓ 4 callersMethodInsertActionGroup
(prefix string, action glib.IActionGroup)
internal/ui/primitives/actions/menu.go:15
↓ 4 callersMethodName
Name returns the session row's name container.
internal/ui/service/session/session.go:228
↓ 4 callersFunctionNewStaticLabel
NewStaticLabel creates a static, non-updating label.
internal/ui/rich/label.go:37
↓ 4 callersMethodOutput
Output returns the rendered output.
internal/ui/rich/label.go:63
↓ 4 callersMethodPopdown
()
internal/ui/primitives/completion/completer.go:104
↓ 4 callersMethodRestoreSession
RestoreSession is called with the session ID to ask the controller to restore it from keyring information.
internal/ui/service/session/session.go:46
next →1–100 of 952, ranked by callers