CONSTRUCTOR

action = Gtk2::Action->new (key=>value,...)

Create and return a new action object. Note that this is the new of Glib::Object, not gtk_action_new. Eg.

    Gtk2::Action->new (name => 'open-foo',
		       stock_id => 'gtk-open',
		       tooltip => 'Start a foo');

The keyword/value style is more flexible and a little clearer than the four direct arguments of gtk_action_new (and also works better for subclasses).