Documentation
¶
Index ¶
Constants ¶
const ( // TaskEditorTaskSavedEventKey is the map key to the taskSaved observable TaskEditorTaskSavedEventKey = "task-saved" // TaskEditorEditCancelledEventKey is the map key to the editCancelled observable TaskEditorEditCancelledEventKey = "edit-cancelled" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskEditor ¶
type TaskEditor struct {
widget.DisableableWidget
// contains filtered or unexported fields
}
TaskEditor is the main data structure for the TaskEditor widget
func NewTaskEditor ¶
func NewTaskEditor() *TaskEditor
NewTaskEditor creates and initializes a new TaskEditor widget
func (*TaskEditor) CreateRenderer ¶
func (te *TaskEditor) CreateRenderer() fyne.WidgetRenderer
CreateRenderer creates and initializes a new fyne.WidgetRenderer
func (*TaskEditor) GetDirtyTask ¶
func (te *TaskEditor) GetDirtyTask() *models.TaskData
GetDirtyTask returns the current models.TaskData structure updated with the data from the widget
func (*TaskEditor) IsDirty ¶
func (te *TaskEditor) IsDirty() bool
IsDirty determines if the editor fields have been modified from their original values
func (*TaskEditor) Observables ¶
func (te *TaskEditor) Observables() map[string]rxgo.Observable
Observables returns a map of Observable objects used by this widget
type Tasklist ¶
Tasklist is an extended widget.Select object that adds data binding for displaying a list of tasks
func NewTasklist ¶
func NewTasklist() *Tasklist
func (*Tasklist) SelectionBinding ¶
SelectionBinding returns the Select widget's data binding for the current selection
type TasklistItem ¶
type TasklistItem struct {
widget.BaseWidget
// contains filtered or unexported fields
}
TasklistItem is the data struct for the TasklistItem widget
func NewTasklistItem ¶
func NewTasklistItem() *TasklistItem
NewTasklistItem creates a new tasklistItem widget
func (*TasklistItem) CreateRenderer ¶
func (i *TasklistItem) CreateRenderer() fyne.WidgetRenderer
CreateRenderer creates and returns a new fyne.WidgetRenderer