Lines Matching refs:document
16 def randomrect (document):
17 document.rectangle( random.randint(0,1000),
22 def lottarects ( document ):
23 document.pause_updates()
30 document.rectangle( 0, 0, 100, 100)
31 #randomrect(document)
36 document.resume_updates()
70 def testcopypaste (document ):
71 #document.pause_updates()
72 print document.rectangle (400, 500, 100, 100)
73 print document.rectangle (200, 200, 100, 100)
74 document.select_all()
75 document.selection_copy()
76 document.selection_paste()
77 #document.resume_updates()
249 # Get interface for default document
251 doc1 = dbus.Interface(inkdoc1, dbus_interface="org.inkscape.document")
258 doc2 = dbus.Interface(inkdoc2, dbus_interface="org.inkscape.document")
288 # Prevents asking if you want to save when closing document.