Re: Stocks list

Kevin C. Krinke said:
I've attached three scripts that may be of help.


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)".  ;-)

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

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

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

muppet <scott at asofyet dot org>

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