Re: simplelist sort



On Mon, Oct 19, 2009 at 6:57 AM, Dave M <dave nerd gmail com> wrote:
Hello,

I have a very simple Gtk2::SimpleList inside a Gtk2::ScrolledWindow -
one column of information.

I would like to run a very simple sort subroutine on it when the
header is clicked, but I cannot find what signal to use for this.

Can anyone point me in the right direction?

Thanks,


Ok, I think I have it:

$slist->get_column(0)->signal_connect( clicked =>
                sub { warn "clicked!\n" } );

Thanks,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]