summaryrefslogtreecommitdiff
path: root/gtk/gdkcolor.override
Commit message (Collapse)AuthorAgeFilesLines
* Fix wrong gtk.gdk.color_from_hsv definitionArun Raghavan2009-10-311-1/+1
| | | | Bug #594347.
* Add HSV support to gtk.gdk.Color objectsPaul Pogonyshev2009-05-161-0/+83
| | | | | | | Add read-only float attributes for hue, saturation and value of a color. Add a function to create a color objects out of HSV components. Add unit tests and document new features. Part of bug 546019.
* Add floating-point support to gtk.gdk.ColorPaul Pogonyshev2009-05-151-36/+184
| | | | | | Make constructor accept floating-point arguments. Add 'red_float', 'green_float' and 'blue_float' read-write properties. Test and document new features. Part of bug #546019.
* Update the address of the FSF by replacing old bits with new ones. FixesTobias Mueller2009-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-03-30 Tobias Mueller <tobiasmue@gnome.org> Update the address of the FSF by replacing old bits with new ones. Fixes bug 577154. * pango.override: * atkrectangle.override: * ltihooks.py: * gtk/libglade.override: * gtk/gdkcolor.override: * gtk/gdk.override: * gtk/deprecation.py: * gtk/__init__.py: * gtk/_lazyutils.py: * gtk/gdkdraw.override: * gtk/gtk.override: * gtk/gtkcontainer.override: * gtk/gtkwidget.override: * gtk/gtkobject-support.c: * gtk/gtkiconview.override: * gtk/gtk-types.c: * gtk/gtkbuilder.override: * gtk/gdkwindow.override: * gtk/gtktreeview.override: * gtk/pygtktreemodel.c: * gtk/gtkunixprint.override: * gtk/gtkstyle.override: * gtk/gdkevent.override: * gtk/pygtktreemodel.h: * gtk/gtkctree.override: * gtk/libglademodule.c: * gtk/gtkwindow.override: * gtk/keysyms.py: * gtk/gdkgc.override: * gtk/gtkunixprintmodule.c: * gtk/gdkpixbuf.override: * gtk/gdkcairo.override: * gtk/gtkclist.override: * gtk/gtktextview.override: * gtk/pygtkcellrenderer.c: * gtk/gdkrectangle.override: * gtk/compat.py: * gtk/pygtkcellrenderer.h: * gtk/gtkmodule.c: * pangomodule.c: * atk.override: * COPYING: * pangocairomodule.c: * atkmodule.c: svn path=/trunk/; revision=3120
* Bug 526189 – add __str__ and/or __repr__ to several typesPaul Pogonyshev2008-08-281-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-28 Paul Pogonyshev <pogonyshev@gmx.net> Bug 526189 – add __str__ and/or __repr__ to several types * gtk/gdk.override (_wrap_gdk_cursor_tp_repr): New function. * gtk/gdkcolor.override (pygdk_color_to_string_smart) (_wrap_gdk_color_tp_repr, _wrap_gdk_color_tp_str): New functions. * gtk/gdkevent.override (_wrap_gdk_event_tp_repr): New function. * gtk/gdkrectangle.override (_wrap_gdk_rectangle_tp_repr): New function. * tests/test_color.py (Tests.test_repr, Tests.test_str): New tests. (Tests._test_color_list): New helper method. * tests/test_rectangle.py (Tests.test_repr): New test. (Tests._test_rectangle_list): New helper method. 2008-08-28 Paul Pogonyshev <pogonyshev@gmx.net> * pygtk-gdkrectangle.xml: Document __repr__. * pygtk-gdkcolor.xml: Document __repr__ and __str__. * pygtk-gdkevent.xml: Document __repr__. svn path=/trunk/; revision=3029
* Bug 527212 – types with well-defined equality semantics are not properlyPaul Pogonyshev2008-08-021-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-02 Paul Pogonyshev <pogonyshev@gmx.net> Bug 527212 – types with well-defined equality semantics are not properly comparable * gtk/gdk.override (_wrap_pygdk_region_tp_richcompare): New function. * gtk/gdkcolor.override (_wrap_gdk_color_tp_richcompare): New function. * gtk/gdkrectangle.override (_wrap_gdk_rectangle_tp_richcompare): New function. * tests/test_conversion.py (testColorCreation): Move to thematic test file. * tests/Makefile.am: * tests/test_color.py: * tests/test_rectangle.py: Two new test files. 2008-08-02 Paul Pogonyshev <pogonyshev@gmx.net> Bug 527212 – types with well-defined equality semantics are not properly comparable * pygtk-gdkcolor.xml: Document new constructor option. Document proper comparison as of PyGTK 2.14. * pygtk-gdkregion.xml: Document proper comparison as of PyGTK 2.14. * pygtk-gdkrectangle.xml: Document proper comparison as of PyGTK 2.14. svn path=/trunk/; revision=3014
* Add constructor variant similar to what gtk.gdk.color_parse() done. RaisePaul Pogonyshev2008-04-271-8/+30
| | | | | | | | | | | | | 2008-04-27 Paul Pogonyshev <pogonyshev@gmx.net> * gtk/gdkcolor.override (_wrap_gdk_color_new): Add constructor variant similar to what gtk.gdk.color_parse() done. Raise with useful message in case of wrong arguments (bug #527718). * tests/test_conversion.py (Tests.testColorCreation): Test the new constructor with string argument. svn path=/trunk/; revision=2968
* Split out a few more filesJohan Dahlin2006-04-261-0/+201
* gtk/Makefile.am: * gtk/gdk.override: * gtk/gdkcairo.override: * gtk/gdkcolor.override: * gtk/gdkdraw.override: * gtk/gdkevent.override: * gtk/gdkgc.override: * gtk/gdkpixbuf.override: * gtk/gdkrectangle.override: * gtk/gdkwindow.override: * gtk/gtktoolbar.override: Split out a few more files