Golang Fyne: Difference between revisions

From Adam Colton
Jump to navigation Jump to search
Created page with "* https://github.com/fyne-io/fyne * https://www.youtube.com/c/Fyneio/videos == [https://www.youtube.com/watch?v=1qDimQU3OX4 Live Code Notes App] == Setup * a := app.New() W..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
* Returns fyne.CanvasObject
* Returns fyne.CanvasObject
* widget.NewToolBar(...)
* widget.NewToolBar(...)
* fyne.NewContainerWithLayout(layout.NewBorderLayout())
* fyne.NewContainerWithLayout(layout.NewBorderLayout(...),...)
* split := widget.NewHSplitContainer(side, content)
* split.Offset = 0.25
 


[[Category:Notes]]
[[Category:Notes]]

Latest revision as of 17:05, 15 December 2020

Live Code Notes App

Setup

  • a := app.New()

Widget

  • Returns fyne.CanvasObject
  • widget.NewToolBar(...)
  • fyne.NewContainerWithLayout(layout.NewBorderLayout(...),...)
  • split := widget.NewHSplitContainer(side, content)
  • split.Offset = 0.25