Problem with Gtk2

  • Thread starter Guenther Sohler
  • Start date
G

Guenther Sohler

I have a problem with List Widgets in Gtk2-perl

I have simplified my program to this one.
But it still produces a segmentation fault on my sparc sun solaris 2.9
machine. Do i use it in a wrong way ?

#!/usr/bin/env perl
use Gtk2 '-init';
use strict;

my @list_items = ( new Gtk2::ListItem->new_with_label( "test" ) );
my $lst=new Gtk2::List();
$lst->append_items(@list_items);

my $window = new Gtk2::Window( "toplevel" );
$window->add( $lst ) ;
$window->show_all();
Gtk2->main;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top