GUI packages, examples, and documentation for building desktop applications with Go and web technologies. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
467 B
Go
20 lines
467 B
Go
package display
|
|
|
|
import "github.com/wailsapp/wails/v3/pkg/application"
|
|
|
|
// ActionOpenWindow is an IPC message used to request a new window. It contains
|
|
// the options for the new window.
|
|
//
|
|
// example:
|
|
//
|
|
// action := display.ActionOpenWindow{
|
|
// WebviewWindowOptions: application.WebviewWindowOptions{
|
|
// Name: "my-window",
|
|
// Title: "My Window",
|
|
// Width: 800,
|
|
// Height: 600,
|
|
// },
|
|
// }
|
|
type ActionOpenWindow struct {
|
|
application.WebviewWindowOptions
|
|
}
|