Custom icons (test).

This commit is contained in:
Nuno Cruces 2022-05-09 13:50:02 +01:00
parent f63e14da39
commit 9539a7da29
2 changed files with 7 additions and 0 deletions

View file

@ -40,6 +40,13 @@ func ExampleQuestion() {
// Output:
}
func ExampleCustomIcon() {
zenity.Info("All updates are complete.",
zenity.Title("Information"),
zenity.CustomIcon("./testdata/icon.png"))
// Output:
}
var msgFuncs = []struct {
name string
fn func(string, ...zenity.Option) error

BIN
testdata/icon.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB