Kaydet (Commit) 4f5eafb0 authored tarafından Guido van Rossum's avatar Guido van Rossum

Return window ID of form (later should use attr list liek objects).

üst 8db03073
......@@ -1636,6 +1636,8 @@ form_getattr(f, name)
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment