Re: Connecting a callback to the title of a clist widget



my $callbackFn = sub {
  my $list = shift;
  my $col = shift;

  # ... sort by col ...

};

# Connect a signal handler:

  $list->signal_connect('click_column', $callbackFn);

# Make the column active:

  $list->column_title_active($col)

ALLIX PIERRE <allix fiifo u-psud fr> writes:

Hello,

How could I connect a callback function to one of the titles of a clist
widget ? for instance to sort a list.
Thanks.
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list



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