diff options
author | Johan Dahlin <johan@src.gnome.org> | 2005-07-15 20:27:38 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2005-07-15 20:27:38 +0000 |
commit | 233789c73ffcbbe18b8dffdcf91416875f99c3a4 (patch) | |
tree | 4ef38f9033e92b6944827c862e0c0cc0838d0051 /tests/test_dialog.py | |
parent | b06e98fe21c4748d79d9eb966ddb301dc7779c4b (diff) | |
download | pygobject-233789c73ffcbbe18b8dffdcf91416875f99c3a4.tar.gz pygobject-233789c73ffcbbe18b8dffdcf91416875f99c3a4.tar.xz pygobject-233789c73ffcbbe18b8dffdcf91416875f99c3a4.zip |
Allow enums to be specified in the constructor Return flags or enum object
* gobject/gobjectmodule.c: (create_property):
Allow enums to be specified in the constructor
* gobject/pygparamspec.c: (pyg_param_spec_getattr):
Return flags or enum object for pspec.default_value
* tests/test_enum.py: Remove usage of assert statement,
add default_value test, both for flags and enum
Diffstat (limited to 'tests/test_dialog.py')
0 files changed, 0 insertions, 0 deletions