Documentation ¶
Index ¶
- func New(app fyne.App, x int, y int, data string)
- type Widget
- func (m *Widget) CreateRenderer() fyne.WidgetRenderer
- func (m *Widget) Hide()
- func (m *Widget) Key(event *fyne.KeyEvent)
- func (m *Widget) MinSize() fyne.Size
- func (m *Widget) Move(p fyne.Position)
- func (m *Widget) Position() fyne.Position
- func (m *Widget) Resize(s fyne.Size)
- func (m *Widget) Rune(r rune)
- func (m *Widget) SetData(data string)
- func (m *Widget) SetMapSize(x, y int)
- func (m *Widget) Show()
- func (m *Widget) Size() fyne.Size
- func (m *Widget) Tapped(event *fyne.PointEvent)
- func (m *Widget) TappedSecondary(event *fyne.PointEvent)
- func (m *Widget) Visible() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Widget ¶
type Widget struct {
// contains filtered or unexported fields
}
Widget is a complete map editor as a widget
func NewMapEditorWidget ¶
func NewMapEditorWidget() *Widget
NewMapEditorWidget creates and returns a new map editor widget
func (*Widget) CreateRenderer ¶
func (m *Widget) CreateRenderer() fyne.WidgetRenderer
CreateRenderer creates a renderer for the widget
func (*Widget) SetMapSize ¶
SetMapSize sets the map size by grid units
func (*Widget) Tapped ¶
func (m *Widget) Tapped(event *fyne.PointEvent)
Tapped is called when the user taps the map widget
func (*Widget) TappedSecondary ¶
func (m *Widget) TappedSecondary(event *fyne.PointEvent)
TappedSecondary is called when the user right-taps the map widget
Click to show internal directories.
Click to hide internal directories.