Torsten Schönfeld > Gtk2-1.180 > xs/GtkRadioAction.xs

Download:
Gtk2-1.180.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::RadioAction->new (name => 'one',
                                       tooltip => 'One',
                                       value => 23);

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.