commit | 4f5eafb0cf0d5144813c4047d934063b64229804 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Sep 13 15:32:37 1991 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Sep 13 15:32:37 1991 +0000 |
tree | 588ada24e2701bd404939b83ed80e3af5f42ce88 | |
parent | 8db030739989c639eb0ecfc8706b2e24380be388 [diff] |
Return window ID of form (later should use attr list liek objects).
diff --git a/Modules/flmodule.c b/Modules/flmodule.c index 2251bbf..a651fda 100644 --- a/Modules/flmodule.c +++ b/Modules/flmodule.c
@@ -1636,6 +1636,8 @@ formobject *f; char *name; { + if (strcmp(name, "window") == 0) + return newintobject(f->ob_form->window); /* XXX check for data attr's: x, y etc. */ return findmethod(form_methods, (object *)f, name); }