testinggtk r323 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r323 - trunk/tests
- Date: Mon, 30 Jun 2008 19:41:32 +0000 (UTC)
Author: bjornl
Date: Mon Jun 30 19:41:32 2008
New Revision: 323
URL: http://svn.gnome.org/viewvc/testinggtk?rev=323&view=rev
Log:
Test setting and getting the resizable property
Modified:
trunk/tests/test_window.py
Modified: trunk/tests/test_window.py
==============================================================================
--- trunk/tests/test_window.py (original)
+++ trunk/tests/test_window.py Mon Jun 30 19:41:32 2008
@@ -101,3 +101,11 @@
win2.grab_add()
assert data[0] == (win, False)
+
+def test_set_get_resizable():
+ win = gtk.Window()
+ assert win.get_resizable()
+ win.set_resizable(False)
+ assert not win.get_resizable()
+ win.set_resizable(True)
+ assert win.get_resizable()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]