Re: [RFC] export TRUE and FALSE from someplace
- From: James Curbo <james teyandei net>
- To: muppet <scott asofyet org>
- Cc: gtk-perl-list gnome org
- Subject: Re: [RFC] export TRUE and FALSE from someplace
- Date: Tue, 20 Jan 2004 15:58:34 -0600
muppet wrote:
to get ridiculous while we're thinking about constant stuff, would it be
advantageous or desirable to define exportable constants for things like
use constant GTK_STOCK_OK => 'gtk-ok';
one thing that can keep you guessing is the rules for translating stock macros
to strings...
I like that idea a lot. It binds the Perl API closer to the C API (not
like it isn't close already) and makes the C API docs even more useful.
Instead of having to guess at which integer to use or using some
transformation like 'gtk-ok', you'd just point people to the
enumerations page in the docs :)
James
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]