Custom icons (test).
This commit is contained in:
parent
f63e14da39
commit
9539a7da29
2 changed files with 7 additions and 0 deletions
|
@ -40,6 +40,13 @@ func ExampleQuestion() {
|
||||||
// Output:
|
// Output:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func ExampleCustomIcon() {
|
||||||
|
zenity.Info("All updates are complete.",
|
||||||
|
zenity.Title("Information"),
|
||||||
|
zenity.CustomIcon("./testdata/icon.png"))
|
||||||
|
// Output:
|
||||||
|
}
|
||||||
|
|
||||||
var msgFuncs = []struct {
|
var msgFuncs = []struct {
|
||||||
name string
|
name string
|
||||||
fn func(string, ...zenity.Option) error
|
fn func(string, ...zenity.Option) error
|
||||||
|
|
BIN
testdata/icon.png
vendored
Normal file
BIN
testdata/icon.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
Loading…
Reference in a new issue