Gtk+/Perl: GdkColor handling patch + simple drawing demo



Ho!

OK, I finaly figured out (and learned some more of perlxs, e.g. the OUTPUT
keyword) what's wrong with Gtk::Gdk::Colormap->collor_alloc and some other
GdkColor handling methods. Attached is a patch against 0.2_04 to fix the
update of GdkColor "proxy oobject" if it is changed by the method.

IMHO Gtk::Gdk::Color->red|green|blue|pixel are not needed because it is
easier to access those members directly with $gdkcolor->{red}.

bb4now,
PMC

Gtk.xs-color.patch

chart-demo.pl



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]