Torsten Schönfeld > Gtk2-1.181 > xs/GtkRecentAction.xs

Download:
Gtk2-1.181.tar.gz

Annotate this POD

CPAN RT

New  3
Open  4
View Bugs
Report a bug
Source   Latest Release: Gtk2-1.203

SYNOPSIS ^

  my $action = Gtk2::RecentAction->new (name => name,
                                        label => label,
                                        tooltip => tooltip,
                                        stock-id => stock_id,
                                        recent-manager => manager);

Note that the constructor slightly deviates from the convenience constructor in the C API. Instead of passing in a list of values for name, label, tooltip, stock-id and value, you just use key => value pairs like with Glib::Object::new.