zenity/zenity_darwin.go
2022-12-14 23:53:30 +00:00

12 lines
251 B
Go

package zenity
func isAvailable() bool { return true }
func attach(id any) Option {
switch id.(type) {
case int, string:
default:
panic("interface conversion: expected int or string")
}
return funcOption(func(o *options) { o.attach = id })
}