RadioItems / ItemFactory
- From: Jens Luedicke <jens gcc dyndns org>
- To: gtk-perl-list gnome org
- Subject: RadioItems / ItemFactory
- Date: Sun, 18 Apr 2004 18:38:51 +0200
Hi ...
I want to connect two RadioItems into a group:
my $i1 = $item_factory->get_item("/foo/bar");
my $i2 = $item_factory->get_item("/foo/blub");
$i1->set_group('Modes');
$i2->set_group('Modes');
$i1->set_active(1);
$i2->set_active(0);
It doesn't work, because $i1 isn't a Gtk2::RadioMenuItem
Jens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]