Public bug reported:

Once you set a clip mask to any GdkGC in PyGtk, you can not unset the
clip mask.

This makes the GdkGC useless if you need to draw with it again without a
clip mask. The X11 and GdkColor outside of PyGtk accept 0 or None as an
input to GdkGC::set_clip_mask()

To make things worse, this also throws an exception, causing the program
to stop running if it encounters a set_clip_mask(None).

** Affects: pygtk (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: clip exception gc mask none pygtk

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1127820

Title:
  Unable to unset clip mask (gtk.gdk.GC set_clip_mask does not accept
  None)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygtk/+bug/1127820/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to