Documentation ¶
Index ¶
- type Collection
- func (c *Collection) HidePrompt()
- func (c *Collection) Layout(gtx layout.Context, theme *chapartheme.Theme) layout.Dimensions
- func (c *Collection) SetDataChanged(dirty bool)
- func (c *Collection) SetOnDataChanged(f func(id string, data any))
- func (c *Collection) SetOnSave(f func(id string))
- func (c *Collection) SetOnTitleChanged(f func(string))
- func (c *Collection) ShowPrompt(title, content, modalType string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct { Title *widgets.EditableLabel // contains filtered or unexported fields }
func New ¶
func New(collection *domain.Collection) *Collection
func (*Collection) HidePrompt ¶
func (c *Collection) HidePrompt()
func (*Collection) Layout ¶
func (c *Collection) Layout(gtx layout.Context, theme *chapartheme.Theme) layout.Dimensions
func (*Collection) SetDataChanged ¶
func (c *Collection) SetDataChanged(dirty bool)
func (*Collection) SetOnDataChanged ¶
func (c *Collection) SetOnDataChanged(f func(id string, data any))
func (*Collection) SetOnSave ¶
func (c *Collection) SetOnSave(f func(id string))
func (*Collection) SetOnTitleChanged ¶
func (c *Collection) SetOnTitleChanged(f func(string))
func (*Collection) ShowPrompt ¶
Click to show internal directories.
Click to hide internal directories.