| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-21 Johan Dahlin <johan@gnome.org>
* gobject/__init__.py:
* tests/test_properties.py:
Allow gobject.property work with subclasses. Add tests.
(#523352, Tomeu Vizoso)
svn path=/trunk/; revision=752
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-27 Johan Dahlin <jdahlin@async.com.br>
* gobject/__init__.py (GObjectMeta._install_properties):
Refactor a bit to make sure that it is possible to use in subclasses,
fixes #470718 (Marco Giusti)
svn path=/trunk/; revision=699
|
|
|
|
| |
svn path=/trunk/; revision=698
|
|
|
|
| |
svn path=/trunk/; revision=675
|
|
|
|
|
|
|
|
|
|
| |
* gobject/propertyhelper.py:
* tests/test_properties.py:
Store property values in the descriptor per instance, add a test.
svn path=/trunk/; revision=665
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/properties.py:
* gobject/Makefile.am:
* gobject/__init__.py:
* gobject/constants.py.in:
* gobject/generate-constants.c: (main):
* gobject/propertyhelper.py:
* tests/Makefile.am:
* tests/test_enum.py:
* tests/test_interface.py:
* tests/test_properties.py:
Add a property helper, fixes #338098
svn path=/trunk/; revision=662
|
|
|
|
| |
svn path=/trunk/; revision=647
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-11-18 Yevgen Muntyan <muntyan@tamu.edu>
reviewed by: Johan Dahlin <johan@gnome.org>
* gobject/gobjectmodule.c: (create_property):
* gobject/pygparamspec.c: (pyg_param_spec_getattr):
* tests/test_properties.py:
Avoid truncating in pyg_param_spec_getattr, add test for all non-float
numeric types. Fixes #353943
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* gobject/pygobject.c: (PyGProps_setattro),
(pygobject_set_property):
* tests/test_properties.py:
Raise an exception if a construct only property is set after
construction time. Refactor property setting code and add some
more tests.
|
| |
|
|
|