Commit Graph

8 Commits

Author SHA1 Message Date
Tim Peters 182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Just van Rossum 7ec1c85d7a - "manage" controls created by CreateXxxXxxControl() functions.
- FindControlUnderMouse() returns an existing control, not a new one.
2001-12-13 21:24:37 +00:00
Jack Jansen 1a7d5b12c0 Added a GetControlRect() method to controls which returns the bounding rectangle. To my surprise this call is missing from the C API... 2000-03-21 16:25:23 +00:00
Jack Jansen a1a0fef2ea Unified handle-conversion scheme to
handle = Ctl.as_Resource(ctl)
  ctl = Ctl.as_Control(handle)
and similarly for List, Menu, TE. The old handle.as_Control() methods are
still there for backward compatability.
1999-12-23 14:32:06 +00:00
Jack Jansen e058189040 Added Ctl.as_Control and Menu.as_Menu methods, which take a resource as
argument and return a Control or Menu object.
1999-02-07 14:02:03 +00:00
Jack Jansen a755e68df6 Export type objects to Python 1997-09-20 17:40:22 +00:00
Jack Jansen cfb60ee1e8 Fixed very nasty null-dereferencing bug in DisposeControl/destroy
object.
1996-10-01 10:46:46 +00:00
Jack Jansen 5d56f4b403 Added as_Resource() method to convert ctl object to res object 1995-06-18 20:16:33 +00:00