[gnome-devel-docs] platform-demos: Add note style tip to work with Strings
- From: Sindhu Sundar <sindhus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] platform-demos: Add note style tip to work with Strings
- Date: Thu, 6 Mar 2014 19:20:06 +0000 (UTC)
commit 0ab0f5e1897b92659d51d3f6acc4fd2a38589d9b
Author: Sindhu S <sindhus live in>
Date: Fri Mar 7 00:03:01 2014 +0530
platform-demos: Add note style tip to work with Strings
platform-demos/C/label.py.page | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/platform-demos/C/label.py.page b/platform-demos/C/label.py.page
index d6996a8..f6538cd 100644
--- a/platform-demos/C/label.py.page
+++ b/platform-demos/C/label.py.page
@@ -79,7 +79,11 @@ class MyApplication(Gtk.Application):
<section id="methods">
<title>Useful methods for a Label widget</title>
- <p>An explanation of how to deal with strings in GTK+ can be found in <link xref="strings.py" />.</p>
+
+ <note style="tip">
+ <p>An explanation of how to work with strings in GTK+ can be found in <link xref="strings.py" />.</p>
+ </note>
+
<list>
<item><p><code>set_line_wrap(True)</code> breaks lines if the text of the label exceeds the size of the
widget.</p></item>
<item><p><code>set_justify(Gtk.Justification.LEFT)</code> (or <code>Gtk.Justification.RIGHT,
Gtk.Justification.CENTER, Gtk.Justification.FILL</code>) sets the alignment of the lines in the text of the
label relative to each other. The method has no effect on a single-line label.</p></item>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]