On this page
container.MultipleWindows
import "fyne.io/fyne/v2/container"
Usage
type MultipleWindows
type MultipleWindows struct {
widget.BaseWidget
Windows []*InnerWindow
}
MultipleWindows is a container that handles multiple InnerWindow containers. Each inner window can be dragged, resized and the stacking will change when the title bar is tapped.
Since:
2.5func NewMultipleWindows
func NewMultipleWindows(wins ...*InnerWindow) *MultipleWindows
NewMultipleWindows creates a new MultipleWindows container to manage many inner windows. The initial window list is passed optionally to this constructor function. You can add new more windows to this container by calling Add or updating the Windows field and calling Refresh.
Since:
2.5func (*MultipleWindows) Add
func (m *MultipleWindows) Add(w *InnerWindow)
func (*MultipleWindows) CreateRenderer
func (m *MultipleWindows) CreateRenderer() fyne.WidgetRenderer
func (*MultipleWindows) RaiseToTop
func (m *MultipleWindows) RaiseToTop(w *InnerWindow)
RaiseToTop asks this multiple window container to raise a specific inner window above others.
Since:
2.8func (*MultipleWindows) Refresh
func (m *MultipleWindows) Refresh()
func (*MultipleWindows) Top
func (m *MultipleWindows) Top() *InnerWindow
Top returns the topmost window in this multiple stack (the one visible above all others). If there are no windows it will return nil.
Since:
2.8