Re: Stocks list



On Tue, 2005-02-22 at 15:02 -0500, muppet wrote:
Kevin C. Krinke said:
I've attached three scripts that may be of help.

oooooh!

gtk2-gdk-pixbuf-formats - list the known image formats supported
gtk2-perl-enum          - list the known enums (relies on the POD)

you left a "use ODS::Constants" where i think you meant "use Glib qw(TRUE
FALSE)".  ;-)

doh! Fixed script attached.

That's what I get for a quick post after walking in the door :-P

also, Glib::Type->list_values may make your life a lot easier, and works for
any registered enum & flags type, not just the ones listed in Gtk2::enums or
Gnome2::enums.

I can't seem to figure out how to use this effectively. Will look into
it more.

gtk2-perl-stock-id      - list the stock ids

Also don't forget the stock browser built into gtk-demo.

:)

-- 
Kevin C. Krinke <kckrinke opendoorsoftware com>
Open Door Software Inc.

Attachment: gtk2-perl-enum
Description: Perl program



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