From f1bf713d0fcd86d38b119d95b276f67245123810 Mon Sep 17 00:00:00 2001 From: Yasumichi Akahoshi Date: Sat, 19 Nov 2011 02:55:00 +0900 Subject: Add mallard pages and update screenshots. Signed-off-by: Yasumichi Akahoshi --- help/C/notification.page | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 help/C/notification.page (limited to 'help/C/notification.page') diff --git a/help/C/notification.page b/help/C/notification.page new file mode 100644 index 00000000..ac556378 --- /dev/null +++ b/help/C/notification.page @@ -0,0 +1,39 @@ + + + + Use the --notification option. + + Notification Icon +

+ Use the --notification option to create a notification icon. +

+ + + + + <cmd>--text</cmd>=<var>text</var> +

Specifies the text that is displayed in the notification area.

+
+ +
+ +

+ The following example script shows how to create a notification icon: +

+ +#!/bin/sh + +zenity --notification\ + --window-icon="info" \ + --text="There are system updates necessary!" + + + +
+ Notification Icon Example + Zenity notification icon example + +
+
-- cgit From 1224a5a18b552d70575371c16df6052c9d17d98b Mon Sep 17 00:00:00 2001 From: Sindhu S Date: Tue, 5 Nov 2013 21:36:33 +0530 Subject: Add user help for --listen, bug 711396 --- help/C/notification.page | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'help/C/notification.page') diff --git a/help/C/notification.page b/help/C/notification.page index ac556378..f6dfd41f 100644 --- a/help/C/notification.page +++ b/help/C/notification.page @@ -16,7 +16,13 @@ <cmd>--text</cmd>=<var>text</var>

Specifies the text that is displayed in the notification area.

- + + <cmd>--listen</cmd>=icon: '<var>text</var>', message: '<var>text</var>', tooltip: '<var>text</var>', visible: '<var>text</var>', +

Listens for commands at standard input. At least one command must be specified. Commands are comma seperated. A command must be followed by a colon and a value.

+ +

The icon command also accepts four stock icon values such as error, info, question and warning.

+
+

@@ -30,10 +36,28 @@ zenity --notification\ --text="There are system updates necessary!" -

Notification Icon Example Zenity notification icon example
- + +

+ The following example script shows how to create a notification icon along with --listen: +

+ + +#!/bin/sh + +cat <<EOH| zenity --notification --listen +message: this is the message text +EOH + + +
+ Notification Icon with <cmd>--listen</cmd> Example + Zenity notification with --listen example + +
+ + \ No newline at end of file -- cgit From df673425214678a75624b8f30ed634b2cedffc6b Mon Sep 17 00:00:00 2001 From: Sindhu S Date: Tue, 22 Apr 2014 22:19:17 +0530 Subject: help: Update notification.page Replace obsolete screenshots with new ones. Fix alignment of mallard tags. Update instructions for --listen. --- help/C/notification.page | 97 ++++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 53 deletions(-) (limited to 'help/C/notification.page') diff --git a/help/C/notification.page b/help/C/notification.page index f6dfd41f..62a63d82 100644 --- a/help/C/notification.page +++ b/help/C/notification.page @@ -6,58 +6,49 @@ Use the --notification option. Notification Icon -

- Use the --notification option to create a notification icon. -

- - - - - <cmd>--text</cmd>=<var>text</var> -

Specifies the text that is displayed in the notification area.

-
- - <cmd>--listen</cmd>=icon: '<var>text</var>', message: '<var>text</var>', tooltip: '<var>text</var>', visible: '<var>text</var>', -

Listens for commands at standard input. At least one command must be specified. Commands are comma seperated. A command must be followed by a colon and a value.

- -

The icon command also accepts four stock icon values such as error, info, question and warning.

-
-
-
- -

- The following example script shows how to create a notification icon: -

- -#!/bin/sh - -zenity --notification\ - --window-icon="info" \ - --text="There are system updates necessary!" - - -
- Notification Icon Example - Zenity notification icon example - -
- -

- The following example script shows how to create a notification icon along with --listen: -

- - -#!/bin/sh - -cat <<EOH| zenity --notification --listen -message: this is the message text -EOH - - -
- Notification Icon with <cmd>--listen</cmd> Example - Zenity notification with --listen example - -
+

Use the --notification option to create a notification icon.

+ + + + <cmd>--text</cmd>=<var>text</var> +

Specifies the text that is displayed in the notification area.

+
+ + <cmd>--listen</cmd>=icon: '<var>text</var>', message: '<var>text</var>', tooltip: '<var>text</var>', visible: '<var>text</var>', +

Listens for commands at standard input. At least one command must be specified. Commands are comma seperated. A command must be followed by a colon and a value.

+ +

The icon command also accepts four stock icon values such as error, info, question and warning.

+
+
+
+ +

The following example script shows how to create a notification icon:

+ + #!/bin/sh + + zenity --notification\ + --window-icon="info" \ + --text="There are system updates necessary!" + + +
+ Notification Icon Example + Zenity notification icon example + +
+ +

The following example script shows how to create a notification icon along with --listen:

+ + #!/bin/sh + cat <<EOH| zenity --notification --listen + message: this is the message text + EOH + + +
+ Notification Icon with <cmd>--listen</cmd> Example + Zenity notification with --listen example + +
\ No newline at end of file -- cgit From 1cdee563a1599d00539f1dc0060c3ee0825274ed Mon Sep 17 00:00:00 2001 From: Anders Jonsson Date: Wed, 1 Apr 2015 15:26:48 +0200 Subject: Fix typo in documentation --- help/C/notification.page | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'help/C/notification.page') diff --git a/help/C/notification.page b/help/C/notification.page index 62a63d82..01a504e2 100644 --- a/help/C/notification.page +++ b/help/C/notification.page @@ -15,7 +15,7 @@ <cmd>--listen</cmd>=icon: '<var>text</var>', message: '<var>text</var>', tooltip: '<var>text</var>', visible: '<var>text</var>', -

Listens for commands at standard input. At least one command must be specified. Commands are comma seperated. A command must be followed by a colon and a value.

+

Listens for commands at standard input. At least one command must be specified. Commands are comma separated. A command must be followed by a colon and a value.

The icon command also accepts four stock icon values such as error, info, question and warning.

@@ -51,4 +51,4 @@ - \ No newline at end of file + -- cgit From d0da299f5145e9a31824f834fd9147d5dda5c0f5 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Sat, 23 Sep 2017 22:48:48 +0200 Subject: help: Remove id parameter from figure element, to pass 'yelp-check validate' --- help/C/notification.page | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'help/C/notification.page') diff --git a/help/C/notification.page b/help/C/notification.page index 01a504e2..c82bd58a 100644 --- a/help/C/notification.page +++ b/help/C/notification.page @@ -31,7 +31,7 @@ --text="There are system updates necessary!" -
+
Notification Icon Example Zenity notification icon example @@ -45,7 +45,7 @@ EOH -
+
Notification Icon with <cmd>--listen</cmd> Example Zenity notification with --listen example -- cgit