Upgrade to v2.5
Fyne API v2.5
app
canvas
container
package container
AppTabs
DocTabs
InnerWindow
MultipleWindows
Scroll
ScrollDirection
Split
TabItem
TabLocation
ThemeOverride
data/binding
data/validation
dialog
driver
driver/desktop
driver/mobile
driver/software
lang
layout
storage
storage/repository
test
theme
widget
Fyne API "container.InnerWindow"
container.InnerWindow
import "fyne.io/fyne/v2/container"
Usage
type InnerWindow
type InnerWindow struct {
widget.BaseWidget
CloseIntercept func() `json:"-"`
OnDragged, OnResized func(*fyne.DragEvent) `json:"-"`
OnMinimized, OnMaximized, OnTappedBar, OnTappedIcon func() `json:"-"`
Icon fyne.Resource
}
InnerWindow defines a container that wraps content in a window border - that can then be placed inside a regular container/canvas.
Since:
2.5
func NewInnerWindow
func NewInnerWindow(title string, content fyne.CanvasObject) *InnerWindow
NewInnerWindow creates a new window border around the given content
, displaying the title
along the top. This will behave like a normal contain and will probably want to be added to a MultipleWindows
parent.
Since:
2.5
func (*InnerWindow) Close
func (w *InnerWindow) Close()
func (*InnerWindow) CreateRenderer
func (w *InnerWindow) CreateRenderer() fyne.WidgetRenderer
func (*InnerWindow) SetContent
func (w *InnerWindow) SetContent(obj fyne.CanvasObject)
func (*InnerWindow) SetPadded
func (w *InnerWindow) SetPadded(pad bool)
func (*InnerWindow) SetTitle
func (w *InnerWindow) SetTitle(title string)