On Sat, Jun 30, 2012 at 5:42 AM, Torsten Schoenfeld <kaffeeti...@gmx.de> wrote:
> On 30.06.2012 01:40, Kevin Ryde wrote:
>>
>> Torsten Schoenfeld <kaffeeti...@gmx.de> writes:
>>>
>>>
>>> Yeah, just Gtk3::RadioMenuItem.
>>
And here I thought this would be easy.  A simple version of my
approach was going to be

sub Gtk3::RadioMenuItem::new {
        my ($class, $group) = @_;

        return Glib::Object::new( $class, group => $group );
}

This returns
(radiomenuitem.pl:29742): Gtk-CRITICAL **:
gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM
(radio_menu_item)' failed

Data::Dumper says it is though:
$VAR1 = bless( {}, 'Gtk3::RadioMenuItem' );

Thanks,
Dave M
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to