Gtk+/Perl: GdkColor handling patch + simple drawing demo
- From: "Marin Purgar - PMC" <pmc iskon hr>
- To: "GTK List" <gtk-list redhat com>
- Cc: "Kenneth Albanowski" <kjahds kjahds com>
- Subject: Gtk+/Perl: GdkColor handling patch + simple drawing demo
- Date: Thu, 13 Aug 1998 05:21:37 +0200
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]