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 Polyclick ¶ added in v0.0.13
Polyclick can detect and report a variety of gesture interactions within a single pointer input area.
func (*Polyclick) Layout ¶ added in v0.0.13
func (p *Polyclick) Layout(gtx layout.Context) layout.Dimensions
func (*Polyclick) LongPressed ¶ added in v0.0.13
type Reply ¶
type Reply struct { Hash *fields.QualifiedHash Content string Polyclick }
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 { TextField materials.TextField 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.