Versions in this module Expand all Collapse all v0 v0.1.0 Nov 2, 2021 Changes in this version + func NewAnyAttachment(name, url string, size uint64) gtk.Widgetter + func NewAttachment(msg *discord.Message) []gtk.Widgetter + func NewEmbed(s *ningen.State, msg *discord.Message) []gtk.Widgetter v0.0.4 May 16, 2020 Changes in this version + const EmbedMainCSS + func NewAnyAttachmentUnsafe(name, url string, size uint64) gtkutils.ExtendedWidget + func NewAttachmentUnsafe(msg *discord.Message) []gtk.IWidget + func NewEmbedUnsafe(s *ningen.State, msg *discord.Message) []gtk.IWidget + func NewSaver(filename string, onSave func(string)) func() + func SpawnPreviewDialog(proxy, imageURL string) + func SpawnUploader(callback func(absolutePath []string)) + func WithPreviewer(fc *gtk.FileChooserDialog) + type MessageUploader struct + func NewMessageUploader(paths []string) (*MessageUploader, error) + func (m *MessageUploader) Close() + func (m *MessageUploader) MakeSendData(message *discord.Message) api.SendMessageData + type PreviewDialog struct + Content *gtk.Box + Image *gtk.Image + ImageView *gtk.ScrolledWindow + OpenOriginal *gtk.Button + Proxy string + URL string + func (pd *PreviewDialog) Fetch(w, h int) + type ProgressUploader struct + Name string + func NewProgressUploader(Name string, r io.ReadCloser, s int64) *ProgressUploader + func (p *ProgressUploader) Close() error + func (p *ProgressUploader) Read(b []byte) (int, error) + type Uploader struct