mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Return window ID of form (later should use attr list liek objects).
This commit is contained in:
parent
8db0307399
commit
4f5eafb0cf
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue