Re: Connecting a callback to the title of a clist widget
- From: Gavin Jefferies <gj262 yahoo com>
- To: ALLIX PIERRE <allix fiifo u-psud fr>
- Cc: gtk-perl-list gnome org
- Subject: Re: Connecting a callback to the title of a clist widget
- Date: 26 Mar 2003 11:26:11 -0800
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]