Skip to content

Commit

Permalink
Add a Since: line
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed May 18, 2024
1 parent 638a493 commit 68aaa24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/testwindow.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ type testWindow struct {
}

// NewTempWindow creates and registers a new window for test purposes.
// This window will get removed automatically once the test ends.
// This window will get removed automatically once the running test ends.
//
// Since: 2.5
func NewTempWindow(t testing.TB, content fyne.CanvasObject) fyne.Window {
window := fyne.CurrentApp().NewWindow("")
window.SetContent(content)
Expand Down

0 comments on commit 68aaa24

Please sign in to comment.