Gtk3: How to invoke gtk_stock_list_ids?

This script
#!/usr/bin/perl -w
use strict;
use Gtk3 -init;
my @stock_items = Gkt3::Stock->list_ids;

produces this error:
Can't locate object method "list_ids" via package "Gkt3::Stock" (perhaps you forgot to load "Gkt3::Stock"?) at line 4.

I tried some variants (upper case / lower case) but all result in errors.

My box is a Debian testing machine with kernel 2.3.5, Perl v5.14.2, Gtk3-0.002 and Glib-Object-Introspection-0.004.

Any hints or ideas?


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