Deleting one item in the treeview?
- From: ArtÅras Ålajus <x11 h2o pieva net>
- To: gtk-perl-list gnome org
- Subject: Deleting one item in the treeview?
- Date: Fri, 05 Dec 2003 21:47:57 +0200
hi,
i try to delete one list in simplelist.
delete @{$UserList->{'data'}}[$_] gives empty line.
splice (@{$UserList->{'data'}}, $_, 1) - sometimes it works perfectly,
sometimes it gives:
SPLICE: operation not fully supported at ./gui.pl line 128
Any suggestions?
Simplelist structure:
my $UserList =
Gtk2::SimpleList->new_from_treeview($gladexml->get_widget('UserTree'),
'Icon' => 'pixbuf',
'User' => 'text',
);
--
Sincerely, ArtÅras 'arturaz' Ålajus
You can find me at:
irc.freenode.org: nick arturaz
irc.data.lt: nick arturaz
ICQ: 157929934
Jabber: arturaz akl lt
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]