pybank r68 - trunk
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: pybank r68 - trunk
- Date: Thu, 21 Aug 2008 19:17:08 +0000 (UTC)
Author: johan
Date: Thu Aug 21 19:17:07 2008
New Revision: 68
URL: http://svn.gnome.org/viewvc/pybank?rev=68&view=rev
Log:
Move setting the label to a separate call
Modified:
trunk/gtktest.py
Modified: trunk/gtktest.py
==============================================================================
--- trunk/gtktest.py (original)
+++ trunk/gtktest.py Thu Aug 21 19:17:07 2008
@@ -3,7 +3,8 @@
import Gtk
window = Gtk.Window(Gtk.WindowType.TOPLEVEL)
-button = Gtk.Button("hello!")
+button = Gtk.Button()
+button.set_label("hello!")
window.add(button)
window.show_all()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]