Documentation ¶
Index ¶
- func WriteNotebookFile(path string, notebook *Notebook) error
- type DeleteSelected
- type FocusSlotEvent
- type Notebook
- func (nb *Notebook) AddCells(cells cell.Cells)
- func (nb *Notebook) DeleteCell(i int)
- func (nb *Notebook) DeleteSelected()
- func (nb *Notebook) Event(gtx *Context) interface{}
- func (nb *Notebook) InsertCell(index int, typ cell.Type)
- func (nb *Notebook) Layout(gtx *Context)
- func (nb *Notebook) Size() int
- type SaveNotebookEvent
- type Selection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteNotebookFile ¶
Types ¶
type DeleteSelected ¶
type DeleteSelected struct{}
type FocusSlotEvent ¶
type FocusSlotEvent struct {
Index int
}
type Notebook ¶
func NewNotebook ¶
func NewNotebook() *Notebook
func ReadNotebookFile ¶
func (*Notebook) DeleteCell ¶
func (*Notebook) DeleteSelected ¶
func (nb *Notebook) DeleteSelected()
type SaveNotebookEvent ¶
type SaveNotebookEvent struct{}
type Selection ¶
type Selection struct { Size int // contains filtered or unexported fields }
Select a range of Cells from first to last
func NewSelection ¶
func NewSelection() *Selection
func (*Selection) IsSelected ¶
Click to show internal directories.
Click to hide internal directories.