Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComposerMode ¶ added in v0.0.4
type ComposerMode uint
const ( CreatingConversation ComposerMode = iota CreatingReply )
type Reply ¶
type Reply struct { widget.Clickable Hash *fields.QualifiedHash Content string }
Reply holds ui state for each reply.
func (*Reply) WithContent ¶ added in v0.0.12
type TextForm ¶ added in v0.0.9
type TextForm struct { widget.Editor SubmitButton widget.Clickable PasteButton widget.Clickable // contains filtered or unexported fields }
TextForm holds the theme-independent state of a simple form that allows a user to provide a single text value and supports pasting. It can be submitted with either the submit button or pressing enter on the keyboard.
func (*TextForm) Layout ¶ added in v0.0.9
func (c *TextForm) Layout(gtx layout.Context) layout.Dimensions
func (*TextForm) PasteRequested ¶ added in v0.0.9
Click to show internal directories.
Click to hide internal directories.