Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseRenderer ¶
type BaseRenderer struct {
// contains filtered or unexported fields
}
BaseRenderer is a renderer base providing the most common implementations of a part of the widget.Renderer interface.
func NewBaseRenderer ¶
func NewBaseRenderer(objects []fyne.CanvasObject) BaseRenderer
NewBaseRenderer creates a new BaseRenderer.
func (*BaseRenderer) BackgroundColor ¶
func (r *BaseRenderer) BackgroundColor() color.Color
BackgroundColor returns the theme background color. Implements: fyne.WidgetRenderer
func (*BaseRenderer) Destroy ¶
func (r *BaseRenderer) Destroy()
Destroy does nothing in the base implementation. Implements: fyne.WidgetRenderer
func (*BaseRenderer) Objects ¶
func (r *BaseRenderer) Objects() []fyne.CanvasObject
Objects returns the objects that should be rendered. Implements: fyne.WidgetRenderer
func (*BaseRenderer) SetObjects ¶
func (r *BaseRenderer) SetObjects(objects []fyne.CanvasObject)
SetObjects updates the objects of the renderer.
type SelectClickText ¶
可以点击和右选中的文本
func NewSelectClickText ¶
func NewSelectClickText(content string, conf data.Config, index int) *SelectClickText
func (*SelectClickText) Tapped ¶
func (c *SelectClickText) Tapped(e *fyne.PointEvent)
func (*SelectClickText) TappedSecondary ¶
func (c *SelectClickText) TappedSecondary(e *fyne.PointEvent)
Click to show internal directories.
Click to hide internal directories.