Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextMenuButton ¶
ContextMenuButton : Drop Down Menu
func NewContextMenu ¶
func NewContextMenu(icon fyne.Resource, m *fyne.Menu) *ContextMenuButton
NewContextMenu ...
func (*ContextMenuButton) Tapped ¶
func (C *ContextMenuButton) Tapped(e *fyne.PointEvent)
Tapped : Mouse Event
func (*ContextMenuButton) TappedSecondary ¶
func (C *ContextMenuButton) TappedSecondary(*fyne.PointEvent)
Tapped : Right Click Mouse Event
type CustomButton ¶
type CustomButton struct { widget.BaseWidget Text string TextSize float32 Alignment fyne.TextAlign TextStyle fyne.TextStyle FillColor color.Color TextColor color.Color Padding float32 Icon fyne.Resource OnTapped func() }
CustomButton
func (*CustomButton) CreateRenderer ¶
func (c *CustomButton) CreateRenderer() fyne.WidgetRenderer
CreateRenderer ...
type CustomButtonRender ¶
type CustomButtonRender struct { fyne.WidgetRenderer Padding float32 Text *canvas.Text // Rect *canvas.Rectangle Icon *canvas.Image CButton CustomButton }
CustomButtonRender ...
func (*CustomButtonRender) Layout ¶
func (r *CustomButtonRender) Layout(size fyne.Size)
Layout : Layout the components of the check widget
func (*CustomButtonRender) MinSize ¶
func (r *CustomButtonRender) MinSize() fyne.Size
MinSize calculates the minimum size of a check. This is based on the contained text, the check icon and a standard amount of padding added.
func (*CustomButtonRender) Objects ¶
func (r *CustomButtonRender) Objects() []fyne.CanvasObject
Objects ...
Click to show internal directories.
Click to hide internal directories.