Re: [gtk-list] Gtk+/Perl: GdkColor handling patch + simple drawing demo



On Thu, 13 Aug 1998, Marin Purgar - PMC wrote:

> 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.

I prefer to avoid this sort of thing. As a purely personal choice, none of
my Perl code returns values by modifying arguments.

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

Agreed, this in fact confuses the issue.

-- 
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)




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