[gnome-devel-docs] tutorials python: gtkapplicationwindow page corrected
- From: Tiffany Antopolski <antopolski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] tutorials python: gtkapplicationwindow page corrected
- Date: Sun, 24 Jun 2012 22:06:18 +0000 (UTC)
commit 87fec41d15b21ffab8d872c2b91af80b6f8754e9
Author: Marta Maria Casetti <mmcasetti gmail com>
Date: Sun Jun 24 18:28:01 2012 +0100
tutorials python: gtkapplicationwindow page corrected
platform-demos/C/GtkApplicationWindow.py.page | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/platform-demos/C/GtkApplicationWindow.py.page b/platform-demos/C/GtkApplicationWindow.py.page
index d4431c4..c0e8f8e 100644
--- a/platform-demos/C/GtkApplicationWindow.py.page
+++ b/platform-demos/C/GtkApplicationWindow.py.page
@@ -35,10 +35,10 @@
</section>
<section id="methods">
<title>Useful methods for a Gtk.ApplicationWindow widget</title>
- <p>These be used in the class MyWindow with or in the function do_activate().</p>
+
<list>
<item><p><code>set_default_size(200, 100)</code> sets the default size of the window to a width of <code>200</code> and a height of <code>100</code>; if instead of a positive number we pass <code>-1</code> we have the default size.</p></item>
- <item><p><code>set_position(Gtk.WindowPosition.CENTER)</code> centers the window. Other options are described in the <link href="http://developer.gnome.org/gtk3/3.4/gtk3-Standard-Enumerations.html#GtkWindowPosition">standard enumerations</link> (with the caveat that they should be changed on the model of Gtk.WindowPosition.CENTER).</p></item>
+ <item><p><code>set_position(Gtk.WindowPosition.CENTER)</code> centers the window. Other options are <code>Gtk.WindowPosition.NONE, Gtk.WindowPosition.MOUSE, Gtk.WindowPosition.CENTER_ALWAYS, Gtk.WindowPosition.CENTER_ON_PARENT</code>.</p></item>
</list>
</section>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]