Hi all,

I try to change the background color and therefor I create a GdkColor
instance. With python 1.5 that works as expected, with python 2.1.1 I
get some errors when using parameters > 32767. Usually
GdkColor(65535, 65535, 65535) should be white so I can make any bright
colors with that restriction. The error I get is

    return _gtk.gdk_color_new(red, green, blue, pixel)
OverflowError: signed short integer is greater than maximum

any ideas ?

Martin

-- 
Martin Preishuber - IT Expert, Student, SysAdmin
http://www.eclipt.at, mailto:[EMAIL PROTECTED]

Make a wish, it might come true.

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to