Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BorderBox ¶
type BorderBox struct { //These are ratios not values //Ex left = 6 is like use 1/6th available width as left intend //these can be zero LeftIntend float32 //left intend RightIntend float32 TopIntend float32 SpacerSize int //times of default font size }
BorderBox : Custom Layout
type BorderBoxMin ¶
type BorderBoxMin struct { //This will also add intend to Minsize //These are ratios not values //Ex left = 6 is like use 1/6th available width as left intend //these can be zero LeftIntend float32 //left intend RightIntend float32 TopIntend float32 SpacerSize int //times of default font size MenuObject fyne.CanvasObject //present at top right Padding int //This padding will be added to min size }
BorderBoxMin : Custom Layout
func (*BorderBoxMin) AddMenuObj ¶
func (n *BorderBoxMin) AddMenuObj(z fyne.CanvasObject)
AddMenuObj : Adds Custom Menu Object
func (*BorderBoxMin) Layout ¶
func (n *BorderBoxMin) Layout(objects []fyne.CanvasObject, containerSize fyne.Size)
Layout : Defines Arranging of Objects
func (*BorderBoxMin) MinSize ¶
func (n *BorderBoxMin) MinSize(objects []fyne.CanvasObject) fyne.Size
MinSize : This will give maximum of (min width of an object)
type MenuBtnlayout ¶
type MenuBtnlayout struct { }
MenuBtnlayout : Layout to add top right menu btn
func (*MenuBtnlayout) Layout ¶
func (m *MenuBtnlayout) Layout(objects []fyne.CanvasObject, containerSize fyne.Size)
Layout : Defines Arranging of Objects
func (*MenuBtnlayout) MinSize ¶
func (m *MenuBtnlayout) MinSize(objects []fyne.CanvasObject) fyne.Size
MinSize : Get MinSize
type MenuButton ¶
type MenuButton struct{}
MenuBotton : Menu Btn Widget
func (*MenuButton) Layout ¶
func (M *MenuButton) Layout(objects []fyne.CanvasObject, containerSize fyne.Size)
Layout : Defines Arranging of Objects
func (*MenuButton) MinSize ¶
func (M *MenuButton) MinSize(objects []fyne.CanvasObject) fyne.Size
MinSize : Get MinSize
Click to show internal directories.
Click to hide internal directories.