1#!/usr/bin/perl -w 2# vim: set ft=perl : 3 4use strict; 5use Gtk2::TestHelper 6 tests => 3, 7 noinit => 1, 8 at_least_version => [2, 10, 0, "Gtk2::CellRendererAccel is new in 2.10"]; 9 10my $cell = Gtk2::CellRendererAccel->new; 11isa_ok ($cell, 'Gtk2::CellRendererAccel'); 12isa_ok ($cell, 'Gtk2::CellRenderer'); 13 14$cell->set (accel_mode => 'other'); 15is ($cell->get ('accel_mode'), 'other'); 16 17__END__ 18 19Copyright (C) 2006 by the gtk2-perl team (see the file AUTHORS for the 20full list). See LICENSE for more information. 21