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
↓ 214 callers
Method
Show
()
internal/ui/service/session/serverpane/serverpane.go:38
↓ 102 callers
Method
Add
Container
internal/ui/primitives/buttonoverlay/buttonoverlay.go:19
↓ 84 callers
Method
Connect
(string, interface{})
internal/gts/throttler/throttler.go:19
↓ 52 callers
Method
ID
()
internal/ui/primitives/drag/drag.go:37
↓ 38 callers
Method
SetSensitive
(bool)
internal/ui/primitives/drag/drag.go:39
↓ 37 callers
Function
PrepareClassCSS
(class, css string)
internal/ui/primitives/primitives.go:317
↓ 33 callers
Function
AddClass
(styleCtx StyleContexter, classes ...string)
internal/ui/primitives/primitives.go:120
↓ 30 callers
Function
Error
(err error)
internal/log/log.go:39
↓ 30 callers
Function
ExecAsync
ExecAsync executes function asynchronously in the Gtk main thread. TODO: deprecate Async.
internal/gts/gts.go:217
↓ 29 callers
Method
SetHAlign
(gtk.Align)
internal/ui/primitives/primitives.go:289
↓ 28 callers
Method
SetSizeRequest
(w, h int)
internal/ui/primitives/roundimage/roundimage.go:33
↓ 27 callers
Method
Destroy
()
internal/ui/primitives/primitives.go:39
↓ 22 callers
Method
Reset
Reset resets the message container to its original state.
internal/ui/messages/container/container.go:34
↓ 22 callers
Method
SetRevealChild
(reveal bool)
internal/ui/messages/input/username/username.go:91
↓ 21 callers
Method
Unwrap
Unwrap returns the internal message state.
internal/ui/messages/message/message.go:25
↓ 18 callers
Method
SetVisibleChild
(w gtk.IWidget)
internal/ui/primitives/singlestack/singlestack.go:34
↓ 18 callers
Method
SetXAlign
(float64)
internal/ui/primitives/primitives.go:290
↓ 18 callers
Method
String
String returns the inside label in plain text.
internal/ui/rich/rich.go:160
↓ 15 callers
Function
AttachCSS
(ctx StyleContexter, prov *gtk.CssProvider)
internal/ui/primitives/primitives.go:337
↓ 15 callers
Method
SetMarginStart
SetMarginStart sets the inner margin of the attachments carousel.
internal/ui/messages/input/attachment/attachment.go:119
↓ 15 callers
Method
SetRevealChild
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 callers
Method
Stop
Stop stops the name container. Calling Stop twice when no new namers are set will do nothing.
internal/ui/rich/rich.go:61
↓ 14 callers
Function
PrepareCSS
(css string)
internal/ui/primitives/primitives.go:329
↓ 13 callers
Method
Close
assume scale 1
internal/gts/gts.go:99
↓ 13 callers
Method
Remove
(gtk.IWidget)
internal/ui/primitives/primitives.go:21
↓ 13 callers
Method
SetTooltipText
(text string)
internal/ui/rich/image.go:11
↓ 11 callers
Function
Async
Async runs fn asynchronously, then runs the function it returns in the Gtk main thread. TODO: deprecate Async.
internal/gts/gts.go:159
↓ 11 callers
Method
Label
()
internal/ui/rich/rich.go:39
↓ 11 callers
Method
SetMarginEnd
(int)
internal/ui/primitives/buttonoverlay/buttonoverlay.go:7
↓ 11 callers
Method
SetText
(string)
internal/ui/service/auth/entries.go:219
↓ 10 callers
Method
AddAction
(label string, call func())
internal/ui/primitives/actions/menu.go:80
↓ 10 callers
Method
Get
(service string, v interface{})
internal/keyring/driver/driver.go:10
↓ 10 callers
Method
IsHollow
()
internal/ui/service/session/server/server.go:249
↓ 10 callers
Method
OnUpdate
(func())
internal/ui/rich/rich.go:41
↓ 10 callers
Method
QueueNamer
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 callers
Method
SetClass
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 callers
Method
SetLabel
SetLabel sets the label in the current thread, meaning it's not thread-safe.
internal/ui/rich/label.go:68
↓ 10 callers
Method
SetRelief
Button
internal/ui/primitives/buttonoverlay/buttonoverlay.go:22
↓ 9 callers
Function
AssertUnhollow
refer to style.css
internal/ui/service/session/server/server.go:23
↓ 9 callers
Method
Bounds
()
internal/ui/rich/parser/markup/markup_test.go:51
↓ 9 callers
Method
GetStyleContext
()
internal/ui/primitives/primitives.go:117
↓ 9 callers
Method
Insert
(gtk.IToolItem, int)
internal/ui/primitives/menu/menu.go:87
↓ 9 callers
Method
IsEmpty
IsEmpty returns whether or not the member view container is empty.
internal/ui/messages/memberlist/memberlist.go:75
↓ 9 callers
Method
SetActive
(bool)
internal/ui/service/savepath/savepath.go:28
↓ 8 callers
Method
GetChildren
()
internal/ui/primitives/primitives.go:22
↓ 8 callers
Method
GetText
()
internal/ui/service/auth/entries.go:218
↓ 8 callers
Method
IsHollow
()
internal/ui/service/session/server/children.go:66
↓ 8 callers
Method
Open
(ind int, attr string)
internal/ui/rich/parser/attrmap/attrmap.go:94
↓ 8 callers
Method
SetRenderer
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 callers
Method
message
(msgID cchat.ID, nonce string)
internal/ui/messages/container/list.go:330
↓ 7 callers
Method
Append
(gtk.IMenuItem)
internal/ui/primitives/menu/menu.go:58
↓ 7 callers
Method
GetActive
()
internal/ui/service/session/server/server.go:432
↓ 7 callers
Method
Image
()
internal/ui/rich/rich.go:40
↓ 7 callers
Function
RemoveChildren
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 callers
Function
RenderCmplxWithConfig
(content text.Rich, cfg RenderConfig)
internal/ui/rich/parser/markup/markup.go:170
↓ 7 callers
Method
SetFromPixbuf
(*gdk.Pixbuf)
internal/gts/httputil/image.go:25
↓ 7 callers
Method
SetPlaceholderIcon
(iconName string, iconSzPx int)
internal/ui/service/session/server/button/button.go:242
↓ 6 callers
Function
ActionName
ActionName converts the label name into the action name.
internal/ui/primitives/actions/stateful.go:66
↓ 6 callers
Method
Content
()
internal/ui/messages/input/sendable.go:128
↓ 6 callers
Function
EventIsRightClick
(ev *gdk.Event)
internal/gts/gts.go:269
↓ 6 callers
Method
GetScaleFactor
()
internal/gts/httputil/image.go:32
↓ 6 callers
Function
NewImage
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 callers
Method
Popup
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 callers
Function
RemoveClass
(styleCtx StyleContexter, classes ...string)
internal/ui/primitives/primitives.go:127
↓ 6 callers
Method
SetFromSurface
(*cairo.Surface)
internal/gts/httputil/image.go:33
↓ 6 callers
Function
SetImageIcon
(img ImageIconSetter, icon string, sizepx int)
internal/ui/primitives/primitives.go:185
↓ 6 callers
Method
SetSize
SetSIze sets the iamge's physical size. It is a convenient function for SetSizeRequest.
internal/ui/primitives/roundimage/roundimage.go:119
↓ 6 callers
Method
SetUseMarkup
(bool)
internal/ui/primitives/primitives.go:288
↓ 6 callers
Function
SimpleItem
(name string, fn func())
internal/ui/primitives/menu/menu.go:112
↓ 6 callers
Method
Span
(start, end int, attrs ...string)
internal/ui/rich/parser/attrmap/attrmap.go:50
↓ 6 callers
Method
Start
()
internal/ui/primitives/spinner/spinner.go:37
↓ 6 callers
Method
clearText
clearText resets the input field
internal/ui/messages/input/input.go:404
↓ 6 callers
Method
expand
()
internal/ui/messages/container/list.go:59
↓ 6 callers
Function
parseKeyFromNamer
(n primitives.Namer)
internal/ui/messages/container/list.go:38
↓ 5 callers
Function
AsyncImage
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 callers
Function
BindRoundImage
BindRoundImage binds a round image to a rich label state store.
internal/ui/rich/image.go:15
↓ 5 callers
Method
Close
(ind int, attr string)
internal/ui/rich/parser/attrmap/attrmap.go:104
↓ 5 callers
Function
NewStillImage
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 callers
Function
Render
(content text.Rich)
internal/ui/rich/parser/markup/markup.go:111
↓ 5 callers
Method
SetFromIconName
(string, gtk.IconSize)
internal/ui/primitives/primitives.go:181
↓ 5 callers
Method
SetLoading
()
internal/ui/messages/message/sending.go:23
↓ 5 callers
Method
SetName
(string)
internal/ui/primitives/primitives.go:96
↓ 5 callers
Method
Size
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 callers
Function
unwrapRow
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 callers
Method
Activate
()
internal/ui/messages/memberlist/eventqueue.go:10
↓ 4 callers
Function
DirPath
DirPath returns the config directory.
internal/ui/config/file.go:45
↓ 4 callers
Method
Disable
Disable disables the MessageControl and hides it.
internal/ui/messages/msgctrl.go:100
↓ 4 callers
Method
Editable
Editable returns whether or not the input field can be edited.
internal/ui/messages/input/input.go:359
↓ 4 callers
Method
GetAllocatedWidth
()
internal/ui/messages/input/input.go:259
↓ 4 callers
Function
GetName
(namer Namer)
internal/ui/primitives/primitives.go:100
↓ 4 callers
Method
GetName
()
internal/ui/primitives/primitives.go:97
↓ 4 callers
Method
GetVAdjustment
GetVAdjustment overrides gtk.ScrolledWindow's.
internal/ui/primitives/autoscroll/autoscroll.go:32
↓ 4 callers
Method
HandlerDisconnect
(glib.SignalHandle)
internal/ui/primitives/primitives.go:223
↓ 4 callers
Method
Init
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 callers
Method
InsertActionGroup
(prefix string, action glib.IActionGroup)
internal/ui/primitives/actions/menu.go:15
↓ 4 callers
Method
Name
Name returns the session row's name container.
internal/ui/service/session/session.go:228
↓ 4 callers
Function
NewStaticLabel
NewStaticLabel creates a static, non-updating label.
internal/ui/rich/label.go:37
↓ 4 callers
Method
Output
Output returns the rendered output.
internal/ui/rich/label.go:63
↓ 4 callers
Method
Popdown
()
internal/ui/primitives/completion/completer.go:104
↓ 4 callers
Method
RestoreSession
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